Documentation
¶
Overview ¶
Package plex provides primitives to interact with the openapi HTTP API.
Code generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.8.2 DO NOT EDIT.
Package plex provides a client for the Plex Media Server API.
Index ¶
- func NewActivitiesDeleteActivityRequest(server string, activityID string) (*http.Request, error)
- func NewActivitiesGetSlashRequest(server string) (*http.Request, error)
- func NewButlerDeleteSlashRequest(server string) (*http.Request, error)
- func NewButlerDeleteTaskRequest(server string, task ButlerDeleteTaskParamsTask) (*http.Request, error)
- func NewButlerGetSlashRequest(server string) (*http.Request, error)
- func NewButlerPostSlashRequest(server string) (*http.Request, error)
- func NewButlerPostTaskRequest(server string, task ButlerPostTaskParamsTask) (*http.Request, error)
- func NewDeleteMediaProviderRequest(server string, provider string) (*http.Request, error)
- func NewDeleteMetadataAgentProviderGroupItemRequest(server string, groupID int, providerID int) (*http.Request, error)
- func NewDeleteMetadataAgentProviderGroupRequest(server string, groupID int) (*http.Request, error)
- func NewDeleteMetadataAgentProviderRequest(server string, providerID int) (*http.Request, error)
- func NewDownloadQueueDeleteQueueItemsItemRequest(server string, queueID int, itemID []int) (*http.Request, error)
- func NewDownloadQueueGetQueueItemItemDecisionRequest(server string, queueID int, itemID int) (*http.Request, error)
- func NewDownloadQueueGetQueueItemItemMediaRequest(server string, queueID int, itemID int) (*http.Request, error)
- func NewDownloadQueueGetQueueItemsItemRequest(server string, queueID int, itemID []int) (*http.Request, error)
- func NewDownloadQueueGetQueueItemsRequest(server string, queueID int) (*http.Request, error)
- func NewDownloadQueueGetQueueRequest(server string, queueID int) (*http.Request, error)
- func NewDownloadQueuePostQueueAddRequest(server string, queueID int, params *DownloadQueuePostQueueAddParams) (*http.Request, error)
- func NewDownloadQueuePostQueueItemsItemRestartRequest(server string, queueID int, itemID []int) (*http.Request, error)
- func NewDownloadQueuePostRequest(server string) (*http.Request, error)
- func NewEventsourceGetSlashRequest(server string, params *EventsourceGetSlashParams) (*http.Request, error)
- func NewGetIdentityRequest(server string) (*http.Request, error)
- func NewGetMediaProvidersRequest(server string) (*http.Request, error)
- func NewGetMetadataAgentProviderGroupRequest(server string, groupID int) (*http.Request, error)
- func NewGetMetadataAgentProviderGroupsRequest(server string) (*http.Request, error)
- func NewGetMetadataAgentProviderRequest(server string, providerID int) (*http.Request, error)
- func NewGetMetadataAgentProvidersRequest(server string, params *GetMetadataAgentProvidersParams) (*http.Request, error)
- func NewGetSlashRequest(server string) (*http.Request, error)
- func NewHubsGetContinueWatchingRequest(server string, params *HubsGetContinueWatchingParams) (*http.Request, error)
- func NewHubsGetItemsRequest(server string, params *HubsGetItemsParams) (*http.Request, error)
- func NewHubsGetMetadataMetadataPostplayRequest(server string, metadataID int, params *HubsGetMetadataMetadataPostplayParams) (*http.Request, error)
- func NewHubsGetMetadataMetadataRelatedRequest(server string, metadataID int, params *HubsGetMetadataMetadataRelatedParams) (*http.Request, error)
- func NewHubsGetMetadataMetadataRequest(server string, metadataID int, params *HubsGetMetadataMetadataParams) (*http.Request, error)
- func NewHubsGetPopularInLibrariesRequest(server string, params *HubsGetPopularInLibrariesParams) (*http.Request, error)
- func NewHubsGetPromotedRequest(server string, params *HubsGetPromotedParams) (*http.Request, error)
- func NewHubsGetSearchRequest(server string, params *HubsGetSearchParams) (*http.Request, error)
- func NewHubsGetSectionRequest(server string, sectionID int, params *HubsGetSectionParams) (*http.Request, error)
- func NewHubsGetSlashRequest(server string, params *HubsGetSlashParams) (*http.Request, error)
- func NewHubsSearchGetVoiceRequest(server string, params *HubsSearchGetVoiceParams) (*http.Request, error)
- func NewHubsSectionsSectionManageDeleteIdentifierRequest(server string, sectionID int, identifier string) (*http.Request, error)
- func NewHubsSectionsSectionManageDeleteSlashRequest(server string, sectionID int) (*http.Request, error)
- func NewHubsSectionsSectionManageGetSlashRequest(server string, sectionID int, params *HubsSectionsSectionManageGetSlashParams) (*http.Request, error)
- func NewHubsSectionsSectionManagePostSlashRequest(server string, sectionID int, params *HubsSectionsSectionManagePostSlashParams) (*http.Request, error)
- func NewHubsSectionsSectionManagePutIdentifierRequest(server string, sectionID int, identifier string, ...) (*http.Request, error)
- func NewHubsSectionsSectionManagePutMoveRequest(server string, sectionID int, params *HubsSectionsSectionManagePutMoveParams) (*http.Request, error)
- func NewImageTranscodeRequest(server string, params *ImageTranscodeParams) (*http.Request, error)
- func NewLibraryCollectionCollectionGetCompositeRequest(server string, collectionID int, updatedAt int, ...) (*http.Request, error)
- func NewLibraryCollectionCollectionGetItemsRequest(server string, collectionID int) (*http.Request, error)
- func NewLibraryCollectionCollectionPutItemsItemMoveRequest(server string, collectionID int, itemID int, ...) (*http.Request, error)
- func NewLibraryCollectionCollectionPutItemsItemRequest(server string, collectionID int, itemID int) (*http.Request, error)
- func NewLibraryCollectionCollectionPutItemsRequest(server string, collectionID int, ...) (*http.Request, error)
- func NewLibraryCollectionPostSlashRequest(server string, params *LibraryCollectionPostSlashParams) (*http.Request, error)
- func NewLibraryDeleteCachesRequest(server string) (*http.Request, error)
- func NewLibraryDeleteSectionRequest(server string, sectionID string, params *LibraryDeleteSectionParams) (*http.Request, error)
- func NewLibraryDeleteSectionsAllRefreshRequest(server string) (*http.Request, error)
- func NewLibraryDeleteStreamsStreamRequest(server string, streamID int, ext string) (*http.Request, error)
- func NewLibraryGetAllRequest(server string, params *LibraryGetAllParams) (*http.Request, error)
- func NewLibraryGetMatchesRequest(server string, params *LibraryGetMatchesParams) (*http.Request, error)
- func NewLibraryGetMediaMediaChapterImagesChapterRequest(server string, mediaID int, chapter int) (*http.Request, error)
- func NewLibraryGetMetadataAugmentationsAugmentationRequest(server string, augmentationID string, ...) (*http.Request, error)
- func NewLibraryGetPartsPartChangestampFilenameRequest(server string, partID int, changestamp int, filename string, ...) (*http.Request, error)
- func NewLibraryGetPartsPartIndexesIndexOffsetRequest(server string, partID int, ...) (*http.Request, error)
- func NewLibraryGetPartsPartIndexesIndexRequest(server string, partID int, index LibraryGetPartsPartIndexesIndexParamsIndex, ...) (*http.Request, error)
- func NewLibraryGetPeoplePersonMediaRequest(server string, personID struct{ ... }) (*http.Request, error)
- func NewLibraryGetPeoplePersonRequest(server string, personID struct{ ... }) (*http.Request, error)
- func NewLibraryGetRandomArtworkRequest(server string, params *LibraryGetRandomArtworkParams) (*http.Request, error)
- func NewLibraryGetSectionsPrefsRequest(server string, params *LibraryGetSectionsPrefsParams) (*http.Request, error)
- func NewLibraryGetSectionsRequest(server string) (*http.Request, error)
- func NewLibraryGetStreamsStreamLevelsRequest(server string, streamID int, params *LibraryGetStreamsStreamLevelsParams) (*http.Request, error)
- func NewLibraryGetStreamsStreamLoudnessRequest(server string, streamID int, params *LibraryGetStreamsStreamLoudnessParams) (*http.Request, error)
- func NewLibraryGetStreamsStreamRequest(server string, streamID int, ext string, params *LibraryGetStreamsStreamParams) (*http.Request, error)
- func NewLibraryGetTagsRequest(server string, params *LibraryGetTagsParams) (*http.Request, error)
- func NewLibraryMetadataDeleteElementRequest(server string, ids string, element LibraryMetadataDeleteElementParamsElement) (*http.Request, error)
- func NewLibraryMetadataDeleteMarkerMarkerRequest(server string, ids string, marker string) (*http.Request, error)
- func NewLibraryMetadataDeleteMediaMediaItemRequest(server string, ids string, mediaItem string, ...) (*http.Request, error)
- func NewLibraryMetadataDeleteSlashRequest(server string, ids string, params *LibraryMetadataDeleteSlashParams) (*http.Request, error)
- func NewLibraryMetadataGetAllLeavesRequest(server string, ids string) (*http.Request, error)
- func NewLibraryMetadataGetElementRequest(server string, ids string, element LibraryMetadataGetElementParamsElement, ...) (*http.Request, error)
- func NewLibraryMetadataGetExtrasRequest(server string, ids string) (*http.Request, error)
- func NewLibraryMetadataGetFileRequest(server string, ids string, params *LibraryMetadataGetFileParams) (*http.Request, error)
- func NewLibraryMetadataGetMatchesRequest(server string, ids string, params *LibraryMetadataGetMatchesParams) (*http.Request, error)
- func NewLibraryMetadataGetNearestRequest(server string, ids string, params *LibraryMetadataGetNearestParams) (*http.Request, error)
- func NewLibraryMetadataGetRelatedRequest(server string, ids string) (*http.Request, error)
- func NewLibraryMetadataGetSimilarRequest(server string, ids string, params *LibraryMetadataGetSimilarParams) (*http.Request, error)
- func NewLibraryMetadataGetSlashRequest(server string, ids []string, params *LibraryMetadataGetSlashParams) (*http.Request, error)
- func NewLibraryMetadataGetTreeRequest(server string, ids string) (*http.Request, error)
- func NewLibraryMetadataGetUsersTopRequest(server string, ids string) (*http.Request, error)
- func NewLibraryMetadataPostElementRequest(server string, ids string, element LibraryMetadataPostElementParamsElement, ...) (*http.Request, error)
- func NewLibraryMetadataPostExtrasRequest(server string, ids string, params *LibraryMetadataPostExtrasParams) (*http.Request, error)
- func NewLibraryMetadataPostMarkerRequest(server string, ids string, params *LibraryMetadataPostMarkerParams) (*http.Request, error)
- func NewLibraryMetadataPostSubtitlesRequest(server string, ids string, params *LibraryMetadataPostSubtitlesParams) (*http.Request, error)
- func NewLibraryMetadataPutAddetectRequest(server string, ids string) (*http.Request, error)
- func NewLibraryMetadataPutAnalyzeLoudnessRequest(server string, ids string, params *LibraryMetadataPutAnalyzeLoudnessParams) (*http.Request, error)
- func NewLibraryMetadataPutAnalyzeRequest(server string, ids string, params *LibraryMetadataPutAnalyzeParams) (*http.Request, error)
- func NewLibraryMetadataPutChapterThumbsRequest(server string, ids string, params *LibraryMetadataPutChapterThumbsParams) (*http.Request, error)
- func NewLibraryMetadataPutCreditsRequest(server string, ids string, params *LibraryMetadataPutCreditsParams) (*http.Request, error)
- func NewLibraryMetadataPutElementRequest(server string, ids string, element LibraryMetadataPutElementParamsElement, ...) (*http.Request, error)
- func NewLibraryMetadataPutIndexRequest(server string, ids string, params *LibraryMetadataPutIndexParams) (*http.Request, error)
- func NewLibraryMetadataPutIntroRequest(server string, ids string, params *LibraryMetadataPutIntroParams) (*http.Request, error)
- func NewLibraryMetadataPutMarkerMarkerRequest(server string, ids string, marker string, ...) (*http.Request, error)
- func NewLibraryMetadataPutMatchRequest(server string, ids string, params *LibraryMetadataPutMatchParams) (*http.Request, error)
- func NewLibraryMetadataPutMergeRequest(server string, ids string, params *LibraryMetadataPutMergeParams) (*http.Request, error)
- func NewLibraryMetadataPutPrefsRequest(server string, ids string, params *LibraryMetadataPutPrefsParams) (*http.Request, error)
- func NewLibraryMetadataPutRefreshRequest(server string, ids string, params *LibraryMetadataPutRefreshParams) (*http.Request, error)
- func NewLibraryMetadataPutSlashRequest(server string, ids []string, params *LibraryMetadataPutSlashParams) (*http.Request, error)
- func NewLibraryMetadataPutSplitRequest(server string, ids string) (*http.Request, error)
- func NewLibraryMetadataPutUnmatchRequest(server string, ids string) (*http.Request, error)
- func NewLibraryMetadataPutVoiceActivityRequest(server string, ids string, params *LibraryMetadataPutVoiceActivityParams) (*http.Request, error)
- func NewLibraryPostFileRequest(server string, params *LibraryPostFileParams) (*http.Request, error)
- func NewLibraryPostSectionRequest(server string, params *LibraryPostSectionParams) (*http.Request, error)
- func NewLibraryPostSectionsRefreshRequest(server string, params *LibraryPostSectionsRefreshParams) (*http.Request, error)
- func NewLibraryPutCleanBundlesRequest(server string) (*http.Request, error)
- func NewLibraryPutOptimizeRequest(server string, params *LibraryPutOptimizeParams) (*http.Request, error)
- func NewLibraryPutPartsPartRequest(server string, partID int, params *LibraryPutPartsPartParams) (*http.Request, error)
- func NewLibraryPutStreamsStreamRequest(server string, streamID int, ext string, params *LibraryPutStreamsStreamParams) (*http.Request, error)
- func NewLibrarySectionDeleteCollectionCollectionRequest(server string, sectionID int, collectionID int) (*http.Request, error)
- func NewLibrarySectionDeleteIndexesRequest(server string, sectionID int) (*http.Request, error)
- func NewLibrarySectionDeleteIntrosRequest(server string, sectionID int) (*http.Request, error)
- func NewLibrarySectionDeleteRefreshRequest(server string, sectionID int) (*http.Request, error)
- func NewLibrarySectionGetAlbumsRequest(server string, sectionID int) (*http.Request, error)
- func NewLibrarySectionGetAllLeavesRequest(server string, sectionID int) (*http.Request, error)
- func NewLibrarySectionGetAllRequest(server string, sectionID string, params *LibrarySectionGetAllParams) (*http.Request, error)
- func NewLibrarySectionGetArtsRequest(server string, sectionID int) (*http.Request, error)
- func NewLibrarySectionGetAudioCodecsRequest(server string, sectionID int, params *LibrarySectionGetAudioCodecsParams) (*http.Request, error)
- func NewLibrarySectionGetAudioLayoutsRequest(server string, sectionID int, params *LibrarySectionGetAudioLayoutsParams) (*http.Request, error)
- func NewLibrarySectionGetAutocompleteRequest(server string, sectionID int, params *LibrarySectionGetAutocompleteParams) (*http.Request, error)
- func NewLibrarySectionGetCategoriesRequest(server string, sectionID int) (*http.Request, error)
- func NewLibrarySectionGetClusterRequest(server string, sectionID int) (*http.Request, error)
- func NewLibrarySectionGetCollectionsRequest(server string, sectionID int, params *LibrarySectionGetCollectionsParams) (*http.Request, error)
- func NewLibrarySectionGetCommonRequest(server string, sectionID int, params *LibrarySectionGetCommonParams) (*http.Request, error)
- func NewLibrarySectionGetCompositeRequest(server string, sectionID int, updatedAt int, ...) (*http.Request, error)
- func NewLibrarySectionGetComputePathRequest(server string, sectionID int, params *LibrarySectionGetComputePathParams) (*http.Request, error)
- func NewLibrarySectionGetFiltersRequest(server string, sectionID int) (*http.Request, error)
- func NewLibrarySectionGetFirstCharatersRequest(server string, sectionID int, params *LibrarySectionGetFirstCharatersParams) (*http.Request, error)
- func NewLibrarySectionGetLocationsRequest(server string, sectionID int) (*http.Request, error)
- func NewLibrarySectionGetMomentRequest(server string, sectionID int) (*http.Request, error)
- func NewLibrarySectionGetNearestRequest(server string, sectionID int, params *LibrarySectionGetNearestParams) (*http.Request, error)
- func NewLibrarySectionGetPrefsRequest(server string, sectionID int, params *LibrarySectionGetPrefsParams) (*http.Request, error)
- func NewLibrarySectionGetSectionRequest(server string, sectionID string, params *LibrarySectionGetSectionParams) (*http.Request, error)
- func NewLibrarySectionGetSortsRequest(server string, sectionID int) (*http.Request, error)
- func NewLibrarySectionGetSubtitleCodecsRequest(server string, sectionID int, params *LibrarySectionGetSubtitleCodecsParams) (*http.Request, error)
- func NewLibrarySectionGetVideoCodecsRequest(server string, sectionID int, params *LibrarySectionGetVideoCodecsParams) (*http.Request, error)
- func NewLibrarySectionPostRefreshRequest(server string, sectionID int, params *LibrarySectionPostRefreshParams) (*http.Request, error)
- func NewLibrarySectionPutAllRequest(server string, sectionID string, params *LibrarySectionPutAllParams) (*http.Request, error)
- func NewLibrarySectionPutAnalyzeRequest(server string, sectionID int) (*http.Request, error)
- func NewLibrarySectionPutEmptyTrashRequest(server string, sectionID int) (*http.Request, error)
- func NewLibrarySectionPutPrefsRequest(server string, sectionID int, params *LibrarySectionPutPrefsParams) (*http.Request, error)
- func NewLibrarySectionPutSectionRequest(server string, sectionID string, params *LibrarySectionPutSectionParams) (*http.Request, error)
- func NewLivetvDVRDeleteDVRDeviceRequest(server string, dvrid int, deviceID int) (*http.Request, error)
- func NewLivetvDVRDeleteDVRRequest(server string, dvrid int) (*http.Request, error)
- func NewLivetvDVRDeleteLineupRequest(server string, dvrid int, params *LivetvDVRDeleteLineupParams) (*http.Request, error)
- func NewLivetvDVRDeleteReloadGuideRequest(server string, dvrid int) (*http.Request, error)
- func NewLivetvDVRGetDVRRequest(server string, dvrid int) (*http.Request, error)
- func NewLivetvDVRGetSlashRequest(server string) (*http.Request, error)
- func NewLivetvDVRPostChannelsChannelTuneRequest(server string, dvrid int, channel string) (*http.Request, error)
- func NewLivetvDVRPostReloadGuideRequest(server string, dvrid int) (*http.Request, error)
- func NewLivetvDVRPostSlashRequest(server string, params *LivetvDVRPostSlashParams) (*http.Request, error)
- func NewLivetvDVRPutDVRDeviceRequest(server string, dvrid int, deviceID int) (*http.Request, error)
- func NewLivetvDVRPutLineupRequest(server string, dvrid int, params *LivetvDVRPutLineupParams) (*http.Request, error)
- func NewLivetvDVRPutPrefsRequest(server string, dvrid int, params *LivetvDVRPutPrefsParams) (*http.Request, error)
- func NewLivetvEPGGetChannelmapRequest(server string, params *LivetvEPGGetChannelmapParams) (*http.Request, error)
- func NewLivetvEPGGetChannelsRequest(server string, params *LivetvEPGGetChannelsParams) (*http.Request, error)
- func NewLivetvEPGGetCountriesCountryLineupsRequest(server string, country string, epgid string, ...) (*http.Request, error)
- func NewLivetvEPGGetCountriesCountryRegionsRegionLineupsRequest(server string, country string, epgid string, region string) (*http.Request, error)
- func NewLivetvEPGGetCountriesCountryRegionsRequest(server string, country string, epgid string) (*http.Request, error)
- func NewLivetvEPGGetCountriesRequest(server string) (*http.Request, error)
- func NewLivetvEPGGetLanguagesRequest(server string) (*http.Request, error)
- func NewLivetvEPGGetLineupRequest(server string, params *LivetvEPGGetLineupParams) (*http.Request, error)
- func NewLivetvEPGGetLineupchannelsRequest(server string, params *LivetvEPGGetLineupchannelsParams) (*http.Request, error)
- func NewLivetvSessionsGetSessionConsumerIndexRequest(server string, sessionID string, consumerID string) (*http.Request, error)
- func NewLivetvSessionsGetSessionConsumerSegmentRequest(server string, sessionID string, consumerID string, segmentID string) (*http.Request, error)
- func NewLivetvSessionsGetSessionRequest(server string, sessionID string) (*http.Request, error)
- func NewLivetvSessionsGetSlashRequest(server string) (*http.Request, error)
- func NewLogPostPapertrailRequest(server string, params *LogPostPapertrailParams) (*http.Request, error)
- func NewLogPostSlashRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewLogPostSlashRequestWithTextBody(server string, body LogPostSlashTextRequestBody) (*http.Request, error)
- func NewLogPutSlashRequest(server string, params *LogPutSlashParams) (*http.Request, error)
- func NewMediaGrabberDeleteDevicesDeviceScanRequest(server string, deviceID int) (*http.Request, error)
- func NewMediaGrabberDeleteOperationsOperationRequest(server string, operationID string) (*http.Request, error)
- func NewMediaGrabberDevicesDeviceDeleteSlashRequest(server string, deviceID int) (*http.Request, error)
- func NewMediaGrabberDevicesDeviceGetChannelsRequest(server string, deviceID int) (*http.Request, error)
- func NewMediaGrabberDevicesDeviceGetSlashRequest(server string, deviceID int) (*http.Request, error)
- func NewMediaGrabberDevicesDeviceGetThumbVersionRequest(server string, deviceID int, version int) (*http.Request, error)
- func NewMediaGrabberDevicesDevicePostScanRequest(server string, deviceID int, params *MediaGrabberDevicesDevicePostScanParams) (*http.Request, error)
- func NewMediaGrabberDevicesDevicePutChannelmapRequest(server string, deviceID int, ...) (*http.Request, error)
- func NewMediaGrabberDevicesDevicePutPrefsRequest(server string, deviceID int, params *MediaGrabberDevicesDevicePutPrefsParams) (*http.Request, error)
- func NewMediaGrabberDevicesDevicePutSlashRequest(server string, deviceID int, params *MediaGrabberDevicesDevicePutSlashParams) (*http.Request, error)
- func NewMediaGrabberGetDevicesRequest(server string) (*http.Request, error)
- func NewMediaGrabberGetSlashRequest(server string, params *MediaGrabberGetSlashParams) (*http.Request, error)
- func NewMediaGrabberPostDeviceDiscoverRequest(server string) (*http.Request, error)
- func NewMediaGrabberPostDevicesRequest(server string, params *MediaGrabberPostDevicesParams) (*http.Request, error)
- func NewMediaProviderEPGChannelsRequest(server string, identifier MediaProviderEPGChannelsParamsIdentifier, ...) (*http.Request, error)
- func NewMediaProviderEPGGridRequest(server string, identifier MediaProviderEPGGridParamsIdentifier, deviceID int, ...) (*http.Request, error)
- func NewMediaProviderEPGWatchnowAllRequest(server string, identifier MediaProviderEPGWatchnowAllParamsIdentifier, ...) (*http.Request, error)
- func NewMediaProviderEPGWatchnowRequest(server string, identifier MediaProviderEPGWatchnowParamsIdentifier, ...) (*http.Request, error)
- func NewMediaSubscriptionsDeleteSubscriptionRequest(server string, subscriptionID int) (*http.Request, error)
- func NewMediaSubscriptionsGetScheduledRequest(server string) (*http.Request, error)
- func NewMediaSubscriptionsGetSlashRequest(server string, params *MediaSubscriptionsGetSlashParams) (*http.Request, error)
- func NewMediaSubscriptionsGetSubscriptionRequest(server string, subscriptionID int, ...) (*http.Request, error)
- func NewMediaSubscriptionsGetTemplateRequest(server string, params *MediaSubscriptionsGetTemplateParams) (*http.Request, error)
- func NewMediaSubscriptionsPostProcessRequest(server string) (*http.Request, error)
- func NewMediaSubscriptionsPostSlashRequest(server string, params *MediaSubscriptionsPostSlashParams) (*http.Request, error)
- func NewMediaSubscriptionsPutSubscriptionMoveRequest(server string, subscriptionID int, ...) (*http.Request, error)
- func NewMediaSubscriptionsPutSubscriptionRequest(server string, subscriptionID int, ...) (*http.Request, error)
- func NewPlayQueuePlayQueueResetRequest(server string, playQueueID int) (*http.Request, error)
- func NewPlayQueuePostSlashRequest(server string, params *PlayQueuePostSlashParams) (*http.Request, error)
- func NewPlayQueueQueueDeleteItemsItemRequest(server string, playQueueID int, playQueueItemID int) (*http.Request, error)
- func NewPlayQueueQueueDeleteItemsRequest(server string, playQueueID int) (*http.Request, error)
- func NewPlayQueueQueueGetSlashRequest(server string, playQueueID int, params *PlayQueueQueueGetSlashParams) (*http.Request, error)
- func NewPlayQueueQueuePutItemsMoveRequest(server string, playQueueID int, playQueueItemID int, ...) (*http.Request, error)
- func NewPlayQueueQueuePutItemsShuffleRequest(server string, playQueueID int) (*http.Request, error)
- func NewPlayQueueQueuePutItemsUnshuffleRequest(server string, playQueueID int) (*http.Request, error)
- func NewPlayQueueQueuePutSlashRequest(server string, playQueueID int, params *PlayQueueQueuePutSlashParams) (*http.Request, error)
- func NewPlaylistDeleteItemsGeneratorRequest(server string, playlistID int, generatorID int) (*http.Request, error)
- func NewPlaylistDeleteItemsRequest(server string, playlistID int) (*http.Request, error)
- func NewPlaylistDeletePlaylistRequest(server string, playlistID int) (*http.Request, error)
- func NewPlaylistGetGeneratorsRequest(server string, playlistID int) (*http.Request, error)
- func NewPlaylistGetItemsGeneratorItemsRequest(server string, playlistID int, generatorID int) (*http.Request, error)
- func NewPlaylistGetItemsGeneratorRequest(server string, playlistID int, generatorID int) (*http.Request, error)
- func NewPlaylistGetItemsRequest(server string, playlistID int, params *PlaylistGetItemsParams) (*http.Request, error)
- func NewPlaylistGetPlaylistRequest(server string, playlistID int) (*http.Request, error)
- func NewPlaylistGetSlashRequest(server string, params *PlaylistGetSlashParams) (*http.Request, error)
- func NewPlaylistPostSlashRequest(server string, params *PlaylistPostSlashParams) (*http.Request, error)
- func NewPlaylistPostUploadRequest(server string, params *PlaylistPostUploadParams) (*http.Request, error)
- func NewPlaylistPutItemsGeneratorReprocessRequest(server string, playlistID int, generatorID int, metadataID int, ...) (*http.Request, error)
- func NewPlaylistPutItemsGeneratorRequest(server string, playlistID int, generatorID int, ...) (*http.Request, error)
- func NewPlaylistPutItemsMoveRequest(server string, playlistID int, playlistItemID int, ...) (*http.Request, error)
- func NewPlaylistPutItemsRequest(server string, playlistID int, params *PlaylistPutItemsParams) (*http.Request, error)
- func NewPlaylistPutPlaylistRequest(server string, playlistID int) (*http.Request, error)
- func NewPostMediaProvidersRefreshRequest(server string) (*http.Request, error)
- func NewPostMediaProvidersRequest(server string, params *PostMediaProvidersParams) (*http.Request, error)
- func NewPostMetadataAgentProviderGroupsRequest(server string, params *PostMetadataAgentProviderGroupsParams) (*http.Request, error)
- func NewPostMetadataAgentProvidersRequest(server string, params *PostMetadataAgentProvidersParams) (*http.Request, error)
- func NewPreferencesGetGetRequest(server string, params *PreferencesGetGetParams) (*http.Request, error)
- func NewPreferencesGetSlashRequest(server string) (*http.Request, error)
- func NewPreferencesPutSlashRequest(server string, params *PreferencesPutSlashParams) (*http.Request, error)
- func NewPutMetadataAgentProviderGroupItemRequest(server string, groupID int, providerID int, ...) (*http.Request, error)
- func NewPutMetadataAgentProviderGroupRequest(server string, groupID int, params *PutMetadataAgentProviderGroupParams) (*http.Request, error)
- func NewPutMetadataAgentProviderRequest(server string, providerID int, params *PutMetadataAgentProviderParams) (*http.Request, error)
- func NewPutRateRequest(server string, params *PutRateParams) (*http.Request, error)
- func NewPutScrobbleRequest(server string, params *PutScrobbleParams) (*http.Request, error)
- func NewPutUnscrobbleRequest(server string, params *PutUnscrobbleParams) (*http.Request, error)
- func NewSecurityGetResourcesRequest(server string, params *SecurityGetResourcesParams) (*http.Request, error)
- func NewSecurityPostTokenRequest(server string, params *SecurityPostTokenParams) (*http.Request, error)
- func NewStatusDeleteHistoryRequest(server string, historyID int) (*http.Request, error)
- func NewStatusGetBackgroundRequest(server string) (*http.Request, error)
- func NewStatusGetHistoryAllRequest(server string, params *StatusGetHistoryAllParams) (*http.Request, error)
- func NewStatusGetHistoryRequest(server string, historyID int) (*http.Request, error)
- func NewStatusGetSlashRequest(server string) (*http.Request, error)
- func NewStatusPostTerminateRequest(server string, params *StatusPostTerminateParams) (*http.Request, error)
- func NewTimelinePostSlashRequest(server string, params *TimelinePostSlashParams) (*http.Request, error)
- func NewTranscodeDecisionRequest(server string, transcodeType TranscodeDecisionParamsTranscodeType, ...) (*http.Request, error)
- func NewTranscodeFallbackRequest(server string, transcodeType TranscodeFallbackParamsTranscodeType, ...) (*http.Request, error)
- func NewTranscodeStartRequest(server string, transcodeType TranscodeStartParamsTranscodeType, ...) (*http.Request, error)
- func NewTranscodeSubtitlesRequest(server string, transcodeType TranscodeSubtitlesParamsTranscodeType, ...) (*http.Request, error)
- func NewUltraBlurGetColorsRequest(server string, params *UltraBlurGetColorsParams) (*http.Request, error)
- func NewUltraBlurGetImageRequest(server string, params *UltraBlurGetImageParams) (*http.Request, error)
- func NewUpdaterGetStatusRequest(server string) (*http.Request, error)
- func NewUpdaterPutApplyRequest(server string, params *UpdaterPutApplyParams) (*http.Request, error)
- func NewUpdaterPutCheckRequest(server string, params *UpdaterPutCheckParams) (*http.Request, error)
- func NewWebsocketGetSlashRequest(server string, params *WebsocketGetSlashParams) (*http.Request, error)
- type ActivitiesDeleteActivityResponse
- type ActivitiesGetSlashResponse
- type AdvancedSubtitlesParam
- type AllowSync
- type Art
- type AudioBoostParam
- type AudioChannelCountParam
- type AutoAdjustQualityParam
- type AutoAdjustSubtitleParam
- type Bool
- type BoostDialogParam
- type ButlerDeleteSlashResponse
- type ButlerDeleteTaskParamsTask
- type ButlerDeleteTaskResponse
- type ButlerGetSlashResponse
- type ButlerPostSlashResponse
- type ButlerPostTaskParamsTask
- type ButlerPostTaskResponse
- type Channel
- type Client
- func (c *Client) ActivitiesDeleteActivity(ctx context.Context, activityID string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ActivitiesGetSlash(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ButlerDeleteSlash(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ButlerDeleteTask(ctx context.Context, task ButlerDeleteTaskParamsTask, ...) (*http.Response, error)
- func (c *Client) ButlerGetSlash(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ButlerPostSlash(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ButlerPostTask(ctx context.Context, task ButlerPostTaskParamsTask, ...) (*http.Response, error)
- func (c *Client) DeleteMediaProvider(ctx context.Context, provider string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteMetadataAgentProvider(ctx context.Context, providerID int, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteMetadataAgentProviderGroup(ctx context.Context, groupID int, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteMetadataAgentProviderGroupItem(ctx context.Context, groupID int, providerID int, ...) (*http.Response, error)
- func (c *Client) DownloadQueueDeleteQueueItemsItem(ctx context.Context, queueID int, itemID []int, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DownloadQueueGetQueue(ctx context.Context, queueID int, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DownloadQueueGetQueueItemItemDecision(ctx context.Context, queueID int, itemID int, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DownloadQueueGetQueueItemItemMedia(ctx context.Context, queueID int, itemID int, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DownloadQueueGetQueueItems(ctx context.Context, queueID int, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DownloadQueueGetQueueItemsItem(ctx context.Context, queueID int, itemID []int, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DownloadQueuePost(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DownloadQueuePostQueueAdd(ctx context.Context, queueID int, params *DownloadQueuePostQueueAddParams, ...) (*http.Response, error)
- func (c *Client) DownloadQueuePostQueueItemsItemRestart(ctx context.Context, queueID int, itemID []int, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) EventsourceGetSlash(ctx context.Context, params *EventsourceGetSlashParams, ...) (*http.Response, error)
- func (c *Client) GetIdentity(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetMediaProviders(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetMetadataAgentProvider(ctx context.Context, providerID int, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetMetadataAgentProviderGroup(ctx context.Context, groupID int, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetMetadataAgentProviderGroups(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetMetadataAgentProviders(ctx context.Context, params *GetMetadataAgentProvidersParams, ...) (*http.Response, error)
- func (c *Client) GetSlash(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) HubsGetContinueWatching(ctx context.Context, params *HubsGetContinueWatchingParams, ...) (*http.Response, error)
- func (c *Client) HubsGetItems(ctx context.Context, params *HubsGetItemsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) HubsGetMetadataMetadata(ctx context.Context, metadataID int, params *HubsGetMetadataMetadataParams, ...) (*http.Response, error)
- func (c *Client) HubsGetMetadataMetadataPostplay(ctx context.Context, metadataID int, ...) (*http.Response, error)
- func (c *Client) HubsGetMetadataMetadataRelated(ctx context.Context, metadataID int, ...) (*http.Response, error)
- func (c *Client) HubsGetPopularInLibraries(ctx context.Context, params *HubsGetPopularInLibrariesParams, ...) (*http.Response, error)
- func (c *Client) HubsGetPromoted(ctx context.Context, params *HubsGetPromotedParams, ...) (*http.Response, error)
- func (c *Client) HubsGetSearch(ctx context.Context, params *HubsGetSearchParams, ...) (*http.Response, error)
- func (c *Client) HubsGetSection(ctx context.Context, sectionID int, params *HubsGetSectionParams, ...) (*http.Response, error)
- func (c *Client) HubsGetSlash(ctx context.Context, params *HubsGetSlashParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) HubsSearchGetVoice(ctx context.Context, params *HubsSearchGetVoiceParams, ...) (*http.Response, error)
- func (c *Client) HubsSectionsSectionManageDeleteIdentifier(ctx context.Context, sectionID int, identifier string, ...) (*http.Response, error)
- func (c *Client) HubsSectionsSectionManageDeleteSlash(ctx context.Context, sectionID int, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) HubsSectionsSectionManageGetSlash(ctx context.Context, sectionID int, ...) (*http.Response, error)
- func (c *Client) HubsSectionsSectionManagePostSlash(ctx context.Context, sectionID int, ...) (*http.Response, error)
- func (c *Client) HubsSectionsSectionManagePutIdentifier(ctx context.Context, sectionID int, identifier string, ...) (*http.Response, error)
- func (c *Client) HubsSectionsSectionManagePutMove(ctx context.Context, sectionID int, ...) (*http.Response, error)
- func (c *Client) ImageTranscode(ctx context.Context, params *ImageTranscodeParams, ...) (*http.Response, error)
- func (c *Client) LibraryCollectionCollectionGetComposite(ctx context.Context, collectionID int, updatedAt int, ...) (*http.Response, error)
- func (c *Client) LibraryCollectionCollectionGetItems(ctx context.Context, collectionID int, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) LibraryCollectionCollectionPutItems(ctx context.Context, collectionID int, ...) (*http.Response, error)
- func (c *Client) LibraryCollectionCollectionPutItemsItem(ctx context.Context, collectionID int, itemID int, ...) (*http.Response, error)
- func (c *Client) LibraryCollectionCollectionPutItemsItemMove(ctx context.Context, collectionID int, itemID int, ...) (*http.Response, error)
- func (c *Client) LibraryCollectionPostSlash(ctx context.Context, params *LibraryCollectionPostSlashParams, ...) (*http.Response, error)
- func (c *Client) LibraryDeleteCaches(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) LibraryDeleteSection(ctx context.Context, sectionID string, params *LibraryDeleteSectionParams, ...) (*http.Response, error)
- func (c *Client) LibraryDeleteSectionsAllRefresh(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) LibraryDeleteStreamsStream(ctx context.Context, streamID int, ext string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) LibraryGetAll(ctx context.Context, params *LibraryGetAllParams, ...) (*http.Response, error)
- func (c *Client) LibraryGetMatches(ctx context.Context, params *LibraryGetMatchesParams, ...) (*http.Response, error)
- func (c *Client) LibraryGetMediaMediaChapterImagesChapter(ctx context.Context, mediaID int, chapter int, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) LibraryGetMetadataAugmentationsAugmentation(ctx context.Context, augmentationID string, ...) (*http.Response, error)
- func (c *Client) LibraryGetPartsPartChangestampFilename(ctx context.Context, partID int, changestamp int, filename string, ...) (*http.Response, error)
- func (c *Client) LibraryGetPartsPartIndexesIndex(ctx context.Context, partID int, ...) (*http.Response, error)
- func (c *Client) LibraryGetPartsPartIndexesIndexOffset(ctx context.Context, partID int, ...) (*http.Response, error)
- func (c *Client) LibraryGetPeoplePerson(ctx context.Context, personID struct{ ... }, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) LibraryGetPeoplePersonMedia(ctx context.Context, personID struct{ ... }, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) LibraryGetRandomArtwork(ctx context.Context, params *LibraryGetRandomArtworkParams, ...) (*http.Response, error)
- func (c *Client) LibraryGetSections(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) LibraryGetSectionsPrefs(ctx context.Context, params *LibraryGetSectionsPrefsParams, ...) (*http.Response, error)
- func (c *Client) LibraryGetStreamsStream(ctx context.Context, streamID int, ext string, ...) (*http.Response, error)
- func (c *Client) LibraryGetStreamsStreamLevels(ctx context.Context, streamID int, params *LibraryGetStreamsStreamLevelsParams, ...) (*http.Response, error)
- func (c *Client) LibraryGetStreamsStreamLoudness(ctx context.Context, streamID int, ...) (*http.Response, error)
- func (c *Client) LibraryGetTags(ctx context.Context, params *LibraryGetTagsParams, ...) (*http.Response, error)
- func (c *Client) LibraryMetadataDeleteElement(ctx context.Context, ids string, ...) (*http.Response, error)
- func (c *Client) LibraryMetadataDeleteMarkerMarker(ctx context.Context, ids string, marker string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) LibraryMetadataDeleteMediaMediaItem(ctx context.Context, ids string, mediaItem string, ...) (*http.Response, error)
- func (c *Client) LibraryMetadataDeleteSlash(ctx context.Context, ids string, params *LibraryMetadataDeleteSlashParams, ...) (*http.Response, error)
- func (c *Client) LibraryMetadataGetAllLeaves(ctx context.Context, ids string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) LibraryMetadataGetElement(ctx context.Context, ids string, ...) (*http.Response, error)
- func (c *Client) LibraryMetadataGetExtras(ctx context.Context, ids string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) LibraryMetadataGetFile(ctx context.Context, ids string, params *LibraryMetadataGetFileParams, ...) (*http.Response, error)
- func (c *Client) LibraryMetadataGetMatches(ctx context.Context, ids string, params *LibraryMetadataGetMatchesParams, ...) (*http.Response, error)
- func (c *Client) LibraryMetadataGetNearest(ctx context.Context, ids string, params *LibraryMetadataGetNearestParams, ...) (*http.Response, error)
- func (c *Client) LibraryMetadataGetRelated(ctx context.Context, ids string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) LibraryMetadataGetSimilar(ctx context.Context, ids string, params *LibraryMetadataGetSimilarParams, ...) (*http.Response, error)
- func (c *Client) LibraryMetadataGetSlash(ctx context.Context, ids []string, params *LibraryMetadataGetSlashParams, ...) (*http.Response, error)
- func (c *Client) LibraryMetadataGetTree(ctx context.Context, ids string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) LibraryMetadataGetUsersTop(ctx context.Context, ids string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) LibraryMetadataPostElement(ctx context.Context, ids string, ...) (*http.Response, error)
- func (c *Client) LibraryMetadataPostExtras(ctx context.Context, ids string, params *LibraryMetadataPostExtrasParams, ...) (*http.Response, error)
- func (c *Client) LibraryMetadataPostMarker(ctx context.Context, ids string, params *LibraryMetadataPostMarkerParams, ...) (*http.Response, error)
- func (c *Client) LibraryMetadataPostSubtitles(ctx context.Context, ids string, params *LibraryMetadataPostSubtitlesParams, ...) (*http.Response, error)
- func (c *Client) LibraryMetadataPutAddetect(ctx context.Context, ids string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) LibraryMetadataPutAnalyze(ctx context.Context, ids string, params *LibraryMetadataPutAnalyzeParams, ...) (*http.Response, error)
- func (c *Client) LibraryMetadataPutAnalyzeLoudness(ctx context.Context, ids string, ...) (*http.Response, error)
- func (c *Client) LibraryMetadataPutChapterThumbs(ctx context.Context, ids string, params *LibraryMetadataPutChapterThumbsParams, ...) (*http.Response, error)
- func (c *Client) LibraryMetadataPutCredits(ctx context.Context, ids string, params *LibraryMetadataPutCreditsParams, ...) (*http.Response, error)
- func (c *Client) LibraryMetadataPutElement(ctx context.Context, ids string, ...) (*http.Response, error)
- func (c *Client) LibraryMetadataPutIndex(ctx context.Context, ids string, params *LibraryMetadataPutIndexParams, ...) (*http.Response, error)
- func (c *Client) LibraryMetadataPutIntro(ctx context.Context, ids string, params *LibraryMetadataPutIntroParams, ...) (*http.Response, error)
- func (c *Client) LibraryMetadataPutMarkerMarker(ctx context.Context, ids string, marker string, ...) (*http.Response, error)
- func (c *Client) LibraryMetadataPutMatch(ctx context.Context, ids string, params *LibraryMetadataPutMatchParams, ...) (*http.Response, error)
- func (c *Client) LibraryMetadataPutMerge(ctx context.Context, ids string, params *LibraryMetadataPutMergeParams, ...) (*http.Response, error)
- func (c *Client) LibraryMetadataPutPrefs(ctx context.Context, ids string, params *LibraryMetadataPutPrefsParams, ...) (*http.Response, error)
- func (c *Client) LibraryMetadataPutRefresh(ctx context.Context, ids string, params *LibraryMetadataPutRefreshParams, ...) (*http.Response, error)
- func (c *Client) LibraryMetadataPutSlash(ctx context.Context, ids []string, params *LibraryMetadataPutSlashParams, ...) (*http.Response, error)
- func (c *Client) LibraryMetadataPutSplit(ctx context.Context, ids string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) LibraryMetadataPutUnmatch(ctx context.Context, ids string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) LibraryMetadataPutVoiceActivity(ctx context.Context, ids string, params *LibraryMetadataPutVoiceActivityParams, ...) (*http.Response, error)
- func (c *Client) LibraryPostFile(ctx context.Context, params *LibraryPostFileParams, ...) (*http.Response, error)
- func (c *Client) LibraryPostSection(ctx context.Context, params *LibraryPostSectionParams, ...) (*http.Response, error)
- func (c *Client) LibraryPostSectionsRefresh(ctx context.Context, params *LibraryPostSectionsRefreshParams, ...) (*http.Response, error)
- func (c *Client) LibraryPutCleanBundles(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) LibraryPutOptimize(ctx context.Context, params *LibraryPutOptimizeParams, ...) (*http.Response, error)
- func (c *Client) LibraryPutPartsPart(ctx context.Context, partID int, params *LibraryPutPartsPartParams, ...) (*http.Response, error)
- func (c *Client) LibraryPutStreamsStream(ctx context.Context, streamID int, ext string, ...) (*http.Response, error)
- func (c *Client) LibrarySectionDeleteCollectionCollection(ctx context.Context, sectionID int, collectionID int, ...) (*http.Response, error)
- func (c *Client) LibrarySectionDeleteIndexes(ctx context.Context, sectionID int, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) LibrarySectionDeleteIntros(ctx context.Context, sectionID int, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) LibrarySectionDeleteRefresh(ctx context.Context, sectionID int, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) LibrarySectionGetAlbums(ctx context.Context, sectionID int, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) LibrarySectionGetAll(ctx context.Context, sectionID string, params *LibrarySectionGetAllParams, ...) (*http.Response, error)
- func (c *Client) LibrarySectionGetAllLeaves(ctx context.Context, sectionID int, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) LibrarySectionGetArts(ctx context.Context, sectionID int, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) LibrarySectionGetAudioCodecs(ctx context.Context, sectionID int, params *LibrarySectionGetAudioCodecsParams, ...) (*http.Response, error)
- func (c *Client) LibrarySectionGetAudioLayouts(ctx context.Context, sectionID int, ...) (*http.Response, error)
- func (c *Client) LibrarySectionGetAutocomplete(ctx context.Context, sectionID int, ...) (*http.Response, error)
- func (c *Client) LibrarySectionGetCategories(ctx context.Context, sectionID int, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) LibrarySectionGetCluster(ctx context.Context, sectionID int, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) LibrarySectionGetCollections(ctx context.Context, sectionID int, params *LibrarySectionGetCollectionsParams, ...) (*http.Response, error)
- func (c *Client) LibrarySectionGetCommon(ctx context.Context, sectionID int, params *LibrarySectionGetCommonParams, ...) (*http.Response, error)
- func (c *Client) LibrarySectionGetComposite(ctx context.Context, sectionID int, updatedAt int, ...) (*http.Response, error)
- func (c *Client) LibrarySectionGetComputePath(ctx context.Context, sectionID int, params *LibrarySectionGetComputePathParams, ...) (*http.Response, error)
- func (c *Client) LibrarySectionGetFilters(ctx context.Context, sectionID int, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) LibrarySectionGetFirstCharaters(ctx context.Context, sectionID int, ...) (*http.Response, error)
- func (c *Client) LibrarySectionGetLocations(ctx context.Context, sectionID int, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) LibrarySectionGetMoment(ctx context.Context, sectionID int, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) LibrarySectionGetNearest(ctx context.Context, sectionID int, params *LibrarySectionGetNearestParams, ...) (*http.Response, error)
- func (c *Client) LibrarySectionGetPrefs(ctx context.Context, sectionID int, params *LibrarySectionGetPrefsParams, ...) (*http.Response, error)
- func (c *Client) LibrarySectionGetSection(ctx context.Context, sectionID string, params *LibrarySectionGetSectionParams, ...) (*http.Response, error)
- func (c *Client) LibrarySectionGetSorts(ctx context.Context, sectionID int, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) LibrarySectionGetSubtitleCodecs(ctx context.Context, sectionID int, ...) (*http.Response, error)
- func (c *Client) LibrarySectionGetVideoCodecs(ctx context.Context, sectionID int, params *LibrarySectionGetVideoCodecsParams, ...) (*http.Response, error)
- func (c *Client) LibrarySectionPostRefresh(ctx context.Context, sectionID int, params *LibrarySectionPostRefreshParams, ...) (*http.Response, error)
- func (c *Client) LibrarySectionPutAll(ctx context.Context, sectionID string, params *LibrarySectionPutAllParams, ...) (*http.Response, error)
- func (c *Client) LibrarySectionPutAnalyze(ctx context.Context, sectionID int, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) LibrarySectionPutEmptyTrash(ctx context.Context, sectionID int, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) LibrarySectionPutPrefs(ctx context.Context, sectionID int, params *LibrarySectionPutPrefsParams, ...) (*http.Response, error)
- func (c *Client) LibrarySectionPutSection(ctx context.Context, sectionID string, params *LibrarySectionPutSectionParams, ...) (*http.Response, error)
- func (c *Client) LivetvDVRDeleteDVR(ctx context.Context, dvrid int, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) LivetvDVRDeleteDVRDevice(ctx context.Context, dvrid int, deviceID int, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) LivetvDVRDeleteLineup(ctx context.Context, dvrid int, params *LivetvDVRDeleteLineupParams, ...) (*http.Response, error)
- func (c *Client) LivetvDVRDeleteReloadGuide(ctx context.Context, dvrid int, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) LivetvDVRGetDVR(ctx context.Context, dvrid int, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) LivetvDVRGetSlash(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) LivetvDVRPostChannelsChannelTune(ctx context.Context, dvrid int, channel string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) LivetvDVRPostReloadGuide(ctx context.Context, dvrid int, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) LivetvDVRPostSlash(ctx context.Context, params *LivetvDVRPostSlashParams, ...) (*http.Response, error)
- func (c *Client) LivetvDVRPutDVRDevice(ctx context.Context, dvrid int, deviceID int, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) LivetvDVRPutLineup(ctx context.Context, dvrid int, params *LivetvDVRPutLineupParams, ...) (*http.Response, error)
- func (c *Client) LivetvDVRPutPrefs(ctx context.Context, dvrid int, params *LivetvDVRPutPrefsParams, ...) (*http.Response, error)
- func (c *Client) LivetvEPGGetChannelmap(ctx context.Context, params *LivetvEPGGetChannelmapParams, ...) (*http.Response, error)
- func (c *Client) LivetvEPGGetChannels(ctx context.Context, params *LivetvEPGGetChannelsParams, ...) (*http.Response, error)
- func (c *Client) LivetvEPGGetCountries(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) LivetvEPGGetCountriesCountryLineups(ctx context.Context, country string, epgid string, ...) (*http.Response, error)
- func (c *Client) LivetvEPGGetCountriesCountryRegions(ctx context.Context, country string, epgid string, ...) (*http.Response, error)
- func (c *Client) LivetvEPGGetCountriesCountryRegionsRegionLineups(ctx context.Context, country string, epgid string, region string, ...) (*http.Response, error)
- func (c *Client) LivetvEPGGetLanguages(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) LivetvEPGGetLineup(ctx context.Context, params *LivetvEPGGetLineupParams, ...) (*http.Response, error)
- func (c *Client) LivetvEPGGetLineupchannels(ctx context.Context, params *LivetvEPGGetLineupchannelsParams, ...) (*http.Response, error)
- func (c *Client) LivetvSessionsGetSession(ctx context.Context, sessionID string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) LivetvSessionsGetSessionConsumerIndex(ctx context.Context, sessionID string, consumerID string, ...) (*http.Response, error)
- func (c *Client) LivetvSessionsGetSessionConsumerSegment(ctx context.Context, sessionID string, consumerID string, segmentID string, ...) (*http.Response, error)
- func (c *Client) LivetvSessionsGetSlash(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) LogPostPapertrail(ctx context.Context, params *LogPostPapertrailParams, ...) (*http.Response, error)
- func (c *Client) LogPostSlashWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) LogPostSlashWithTextBody(ctx context.Context, body LogPostSlashTextRequestBody, ...) (*http.Response, error)
- func (c *Client) LogPutSlash(ctx context.Context, params *LogPutSlashParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) MediaGrabberDeleteDevicesDeviceScan(ctx context.Context, deviceID int, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) MediaGrabberDeleteOperationsOperation(ctx context.Context, operationID string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) MediaGrabberDevicesDeviceDeleteSlash(ctx context.Context, deviceID int, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) MediaGrabberDevicesDeviceGetChannels(ctx context.Context, deviceID int, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) MediaGrabberDevicesDeviceGetSlash(ctx context.Context, deviceID int, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) MediaGrabberDevicesDeviceGetThumbVersion(ctx context.Context, deviceID int, version int, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) MediaGrabberDevicesDevicePostScan(ctx context.Context, deviceID int, ...) (*http.Response, error)
- func (c *Client) MediaGrabberDevicesDevicePutChannelmap(ctx context.Context, deviceID int, ...) (*http.Response, error)
- func (c *Client) MediaGrabberDevicesDevicePutPrefs(ctx context.Context, deviceID int, ...) (*http.Response, error)
- func (c *Client) MediaGrabberDevicesDevicePutSlash(ctx context.Context, deviceID int, ...) (*http.Response, error)
- func (c *Client) MediaGrabberGetDevices(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) MediaGrabberGetSlash(ctx context.Context, params *MediaGrabberGetSlashParams, ...) (*http.Response, error)
- func (c *Client) MediaGrabberPostDeviceDiscover(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) MediaGrabberPostDevices(ctx context.Context, params *MediaGrabberPostDevicesParams, ...) (*http.Response, error)
- func (c *Client) MediaProviderEPGChannels(ctx context.Context, identifier MediaProviderEPGChannelsParamsIdentifier, ...) (*http.Response, error)
- func (c *Client) MediaProviderEPGGrid(ctx context.Context, identifier MediaProviderEPGGridParamsIdentifier, ...) (*http.Response, error)
- func (c *Client) MediaProviderEPGWatchnow(ctx context.Context, identifier MediaProviderEPGWatchnowParamsIdentifier, ...) (*http.Response, error)
- func (c *Client) MediaProviderEPGWatchnowAll(ctx context.Context, identifier MediaProviderEPGWatchnowAllParamsIdentifier, ...) (*http.Response, error)
- func (c *Client) MediaSubscriptionsDeleteSubscription(ctx context.Context, subscriptionID int, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) MediaSubscriptionsGetScheduled(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) MediaSubscriptionsGetSlash(ctx context.Context, params *MediaSubscriptionsGetSlashParams, ...) (*http.Response, error)
- func (c *Client) MediaSubscriptionsGetSubscription(ctx context.Context, subscriptionID int, ...) (*http.Response, error)
- func (c *Client) MediaSubscriptionsGetTemplate(ctx context.Context, params *MediaSubscriptionsGetTemplateParams, ...) (*http.Response, error)
- func (c *Client) MediaSubscriptionsPostProcess(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) MediaSubscriptionsPostSlash(ctx context.Context, params *MediaSubscriptionsPostSlashParams, ...) (*http.Response, error)
- func (c *Client) MediaSubscriptionsPutSubscription(ctx context.Context, subscriptionID int, ...) (*http.Response, error)
- func (c *Client) MediaSubscriptionsPutSubscriptionMove(ctx context.Context, subscriptionID int, ...) (*http.Response, error)
- func (c *Client) PlayQueuePlayQueueReset(ctx context.Context, playQueueID int, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) PlayQueuePostSlash(ctx context.Context, params *PlayQueuePostSlashParams, ...) (*http.Response, error)
- func (c *Client) PlayQueueQueueDeleteItems(ctx context.Context, playQueueID int, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) PlayQueueQueueDeleteItemsItem(ctx context.Context, playQueueID int, playQueueItemID int, ...) (*http.Response, error)
- func (c *Client) PlayQueueQueueGetSlash(ctx context.Context, playQueueID int, params *PlayQueueQueueGetSlashParams, ...) (*http.Response, error)
- func (c *Client) PlayQueueQueuePutItemsMove(ctx context.Context, playQueueID int, playQueueItemID int, ...) (*http.Response, error)
- func (c *Client) PlayQueueQueuePutItemsShuffle(ctx context.Context, playQueueID int, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) PlayQueueQueuePutItemsUnshuffle(ctx context.Context, playQueueID int, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) PlayQueueQueuePutSlash(ctx context.Context, playQueueID int, params *PlayQueueQueuePutSlashParams, ...) (*http.Response, error)
- func (c *Client) PlaylistDeleteItems(ctx context.Context, playlistID int, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) PlaylistDeleteItemsGenerator(ctx context.Context, playlistID int, generatorID int, ...) (*http.Response, error)
- func (c *Client) PlaylistDeletePlaylist(ctx context.Context, playlistID int, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) PlaylistGetGenerators(ctx context.Context, playlistID int, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) PlaylistGetItems(ctx context.Context, playlistID int, params *PlaylistGetItemsParams, ...) (*http.Response, error)
- func (c *Client) PlaylistGetItemsGenerator(ctx context.Context, playlistID int, generatorID int, ...) (*http.Response, error)
- func (c *Client) PlaylistGetItemsGeneratorItems(ctx context.Context, playlistID int, generatorID int, ...) (*http.Response, error)
- func (c *Client) PlaylistGetPlaylist(ctx context.Context, playlistID int, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) PlaylistGetSlash(ctx context.Context, params *PlaylistGetSlashParams, ...) (*http.Response, error)
- func (c *Client) PlaylistPostSlash(ctx context.Context, params *PlaylistPostSlashParams, ...) (*http.Response, error)
- func (c *Client) PlaylistPostUpload(ctx context.Context, params *PlaylistPostUploadParams, ...) (*http.Response, error)
- func (c *Client) PlaylistPutItems(ctx context.Context, playlistID int, params *PlaylistPutItemsParams, ...) (*http.Response, error)
- func (c *Client) PlaylistPutItemsGenerator(ctx context.Context, playlistID int, generatorID int, ...) (*http.Response, error)
- func (c *Client) PlaylistPutItemsGeneratorReprocess(ctx context.Context, playlistID int, generatorID int, metadataID int, ...) (*http.Response, error)
- func (c *Client) PlaylistPutItemsMove(ctx context.Context, playlistID int, playlistItemID int, ...) (*http.Response, error)
- func (c *Client) PlaylistPutPlaylist(ctx context.Context, playlistID int, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) PostMediaProviders(ctx context.Context, params *PostMediaProvidersParams, ...) (*http.Response, error)
- func (c *Client) PostMediaProvidersRefresh(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) PostMetadataAgentProviderGroups(ctx context.Context, params *PostMetadataAgentProviderGroupsParams, ...) (*http.Response, error)
- func (c *Client) PostMetadataAgentProviders(ctx context.Context, params *PostMetadataAgentProvidersParams, ...) (*http.Response, error)
- func (c *Client) PreferencesGetGet(ctx context.Context, params *PreferencesGetGetParams, ...) (*http.Response, error)
- func (c *Client) PreferencesGetSlash(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) PreferencesPutSlash(ctx context.Context, params *PreferencesPutSlashParams, ...) (*http.Response, error)
- func (c *Client) PutMetadataAgentProvider(ctx context.Context, providerID int, params *PutMetadataAgentProviderParams, ...) (*http.Response, error)
- func (c *Client) PutMetadataAgentProviderGroup(ctx context.Context, groupID int, params *PutMetadataAgentProviderGroupParams, ...) (*http.Response, error)
- func (c *Client) PutMetadataAgentProviderGroupItem(ctx context.Context, groupID int, providerID int, ...) (*http.Response, error)
- func (c *Client) PutRate(ctx context.Context, params *PutRateParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) PutScrobble(ctx context.Context, params *PutScrobbleParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) PutUnscrobble(ctx context.Context, params *PutUnscrobbleParams, ...) (*http.Response, error)
- func (c *Client) SecurityGetResources(ctx context.Context, params *SecurityGetResourcesParams, ...) (*http.Response, error)
- func (c *Client) SecurityPostToken(ctx context.Context, params *SecurityPostTokenParams, ...) (*http.Response, error)
- func (c *Client) StatusDeleteHistory(ctx context.Context, historyID int, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) StatusGetBackground(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) StatusGetHistory(ctx context.Context, historyID int, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) StatusGetHistoryAll(ctx context.Context, params *StatusGetHistoryAllParams, ...) (*http.Response, error)
- func (c *Client) StatusGetSlash(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) StatusPostTerminate(ctx context.Context, params *StatusPostTerminateParams, ...) (*http.Response, error)
- func (c *Client) TimelinePostSlash(ctx context.Context, params *TimelinePostSlashParams, ...) (*http.Response, error)
- func (c *Client) TranscodeDecision(ctx context.Context, transcodeType TranscodeDecisionParamsTranscodeType, ...) (*http.Response, error)
- func (c *Client) TranscodeFallback(ctx context.Context, transcodeType TranscodeFallbackParamsTranscodeType, ...) (*http.Response, error)
- func (c *Client) TranscodeStart(ctx context.Context, transcodeType TranscodeStartParamsTranscodeType, ...) (*http.Response, error)
- func (c *Client) TranscodeSubtitles(ctx context.Context, transcodeType TranscodeSubtitlesParamsTranscodeType, ...) (*http.Response, error)
- func (c *Client) UltraBlurGetColors(ctx context.Context, params *UltraBlurGetColorsParams, ...) (*http.Response, error)
- func (c *Client) UltraBlurGetImage(ctx context.Context, params *UltraBlurGetImageParams, ...) (*http.Response, error)
- func (c *Client) UpdaterGetStatus(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) UpdaterPutApply(ctx context.Context, params *UpdaterPutApplyParams, ...) (*http.Response, error)
- func (c *Client) UpdaterPutCheck(ctx context.Context, params *UpdaterPutCheckParams, ...) (*http.Response, error)
- func (c *Client) WebsocketGetSlash(ctx context.Context, params *WebsocketGetSlashParams, ...) (*http.Response, error)
- type ClientInterface
- type ClientOption
- func WithBaseURL(baseURL string) ClientOption
- func WithClientIdentifier(id string) ClientOption
- func WithHTTPClient(doer HttpRequestDoer) ClientOption
- func WithProduct(product, version string) ClientOption
- func WithRequestEditorFn(fn RequestEditorFn) ClientOption
- func WithToken(token string) ClientOption
- func WithUserAgent(agent string) ClientOption
- type ClientWithResponses
- func (c *ClientWithResponses) ActivitiesDeleteActivityWithResponse(ctx context.Context, activityID string, reqEditors ...RequestEditorFn) (*ActivitiesDeleteActivityResponse, error)
- func (c *ClientWithResponses) ActivitiesGetSlashWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ActivitiesGetSlashResponse, error)
- func (c *ClientWithResponses) ButlerDeleteSlashWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ButlerDeleteSlashResponse, error)
- func (c *ClientWithResponses) ButlerDeleteTaskWithResponse(ctx context.Context, task ButlerDeleteTaskParamsTask, ...) (*ButlerDeleteTaskResponse, error)
- func (c *ClientWithResponses) ButlerGetSlashWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ButlerGetSlashResponse, error)
- func (c *ClientWithResponses) ButlerPostSlashWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ButlerPostSlashResponse, error)
- func (c *ClientWithResponses) ButlerPostTaskWithResponse(ctx context.Context, task ButlerPostTaskParamsTask, ...) (*ButlerPostTaskResponse, error)
- func (c *ClientWithResponses) DeleteMediaProviderWithResponse(ctx context.Context, provider string, reqEditors ...RequestEditorFn) (*DeleteMediaProviderResponse, error)
- func (c *ClientWithResponses) DeleteMetadataAgentProviderGroupItemWithResponse(ctx context.Context, groupID int, providerID int, ...) (*DeleteMetadataAgentProviderGroupItemResponse, error)
- func (c *ClientWithResponses) DeleteMetadataAgentProviderGroupWithResponse(ctx context.Context, groupID int, reqEditors ...RequestEditorFn) (*DeleteMetadataAgentProviderGroupResponse, error)
- func (c *ClientWithResponses) DeleteMetadataAgentProviderWithResponse(ctx context.Context, providerID int, reqEditors ...RequestEditorFn) (*DeleteMetadataAgentProviderResponse, error)
- func (c *ClientWithResponses) DownloadQueueDeleteQueueItemsItemWithResponse(ctx context.Context, queueID int, itemID []int, reqEditors ...RequestEditorFn) (*DownloadQueueDeleteQueueItemsItemResponse, error)
- func (c *ClientWithResponses) DownloadQueueGetQueueItemItemDecisionWithResponse(ctx context.Context, queueID int, itemID int, reqEditors ...RequestEditorFn) (*DownloadQueueGetQueueItemItemDecisionResponse, error)
- func (c *ClientWithResponses) DownloadQueueGetQueueItemItemMediaWithResponse(ctx context.Context, queueID int, itemID int, reqEditors ...RequestEditorFn) (*DownloadQueueGetQueueItemItemMediaResponse, error)
- func (c *ClientWithResponses) DownloadQueueGetQueueItemsItemWithResponse(ctx context.Context, queueID int, itemID []int, reqEditors ...RequestEditorFn) (*DownloadQueueGetQueueItemsItemResponse, error)
- func (c *ClientWithResponses) DownloadQueueGetQueueItemsWithResponse(ctx context.Context, queueID int, reqEditors ...RequestEditorFn) (*DownloadQueueGetQueueItemsResponse, error)
- func (c *ClientWithResponses) DownloadQueueGetQueueWithResponse(ctx context.Context, queueID int, reqEditors ...RequestEditorFn) (*DownloadQueueGetQueueResponse, error)
- func (c *ClientWithResponses) DownloadQueuePostQueueAddWithResponse(ctx context.Context, queueID int, params *DownloadQueuePostQueueAddParams, ...) (*DownloadQueuePostQueueAddResponse, error)
- func (c *ClientWithResponses) DownloadQueuePostQueueItemsItemRestartWithResponse(ctx context.Context, queueID int, itemID []int, reqEditors ...RequestEditorFn) (*DownloadQueuePostQueueItemsItemRestartResponse, error)
- func (c *ClientWithResponses) DownloadQueuePostWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DownloadQueuePostResponse, error)
- func (c *ClientWithResponses) EventsourceGetSlashWithResponse(ctx context.Context, params *EventsourceGetSlashParams, ...) (*EventsourceGetSlashResponse, error)
- func (c *ClientWithResponses) GetIdentityWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetIdentityResponse, error)
- func (c *ClientWithResponses) GetMediaProvidersWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetMediaProvidersResponse, error)
- func (c *ClientWithResponses) GetMetadataAgentProviderGroupWithResponse(ctx context.Context, groupID int, reqEditors ...RequestEditorFn) (*GetMetadataAgentProviderGroupResponse, error)
- func (c *ClientWithResponses) GetMetadataAgentProviderGroupsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetMetadataAgentProviderGroupsResponse, error)
- func (c *ClientWithResponses) GetMetadataAgentProviderWithResponse(ctx context.Context, providerID int, reqEditors ...RequestEditorFn) (*GetMetadataAgentProviderResponse, error)
- func (c *ClientWithResponses) GetMetadataAgentProvidersWithResponse(ctx context.Context, params *GetMetadataAgentProvidersParams, ...) (*GetMetadataAgentProvidersResponse, error)
- func (c *ClientWithResponses) GetSlashWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetSlashResponse, error)
- func (c *ClientWithResponses) HubsGetContinueWatchingWithResponse(ctx context.Context, params *HubsGetContinueWatchingParams, ...) (*HubsGetContinueWatchingResponse, error)
- func (c *ClientWithResponses) HubsGetItemsWithResponse(ctx context.Context, params *HubsGetItemsParams, reqEditors ...RequestEditorFn) (*HubsGetItemsResponse, error)
- func (c *ClientWithResponses) HubsGetMetadataMetadataPostplayWithResponse(ctx context.Context, metadataID int, ...) (*HubsGetMetadataMetadataPostplayResponse, error)
- func (c *ClientWithResponses) HubsGetMetadataMetadataRelatedWithResponse(ctx context.Context, metadataID int, ...) (*HubsGetMetadataMetadataRelatedResponse, error)
- func (c *ClientWithResponses) HubsGetMetadataMetadataWithResponse(ctx context.Context, metadataID int, params *HubsGetMetadataMetadataParams, ...) (*HubsGetMetadataMetadataResponse, error)
- func (c *ClientWithResponses) HubsGetPopularInLibrariesWithResponse(ctx context.Context, params *HubsGetPopularInLibrariesParams, ...) (*HubsGetPopularInLibrariesResponse, error)
- func (c *ClientWithResponses) HubsGetPromotedWithResponse(ctx context.Context, params *HubsGetPromotedParams, ...) (*HubsGetPromotedResponse, error)
- func (c *ClientWithResponses) HubsGetSearchWithResponse(ctx context.Context, params *HubsGetSearchParams, ...) (*HubsGetSearchResponse, error)
- func (c *ClientWithResponses) HubsGetSectionWithResponse(ctx context.Context, sectionID int, params *HubsGetSectionParams, ...) (*HubsGetSectionResponse, error)
- func (c *ClientWithResponses) HubsGetSlashWithResponse(ctx context.Context, params *HubsGetSlashParams, reqEditors ...RequestEditorFn) (*HubsGetSlashResponse, error)
- func (c *ClientWithResponses) HubsSearchGetVoiceWithResponse(ctx context.Context, params *HubsSearchGetVoiceParams, ...) (*HubsSearchGetVoiceResponse, error)
- func (c *ClientWithResponses) HubsSectionsSectionManageDeleteIdentifierWithResponse(ctx context.Context, sectionID int, identifier string, ...) (*HubsSectionsSectionManageDeleteIdentifierResponse, error)
- func (c *ClientWithResponses) HubsSectionsSectionManageDeleteSlashWithResponse(ctx context.Context, sectionID int, reqEditors ...RequestEditorFn) (*HubsSectionsSectionManageDeleteSlashResponse, error)
- func (c *ClientWithResponses) HubsSectionsSectionManageGetSlashWithResponse(ctx context.Context, sectionID int, ...) (*HubsSectionsSectionManageGetSlashResponse, error)
- func (c *ClientWithResponses) HubsSectionsSectionManagePostSlashWithResponse(ctx context.Context, sectionID int, ...) (*HubsSectionsSectionManagePostSlashResponse, error)
- func (c *ClientWithResponses) HubsSectionsSectionManagePutIdentifierWithResponse(ctx context.Context, sectionID int, identifier string, ...) (*HubsSectionsSectionManagePutIdentifierResponse, error)
- func (c *ClientWithResponses) HubsSectionsSectionManagePutMoveWithResponse(ctx context.Context, sectionID int, ...) (*HubsSectionsSectionManagePutMoveResponse, error)
- func (c *ClientWithResponses) ImageTranscodeWithResponse(ctx context.Context, params *ImageTranscodeParams, ...) (*ImageTranscodeResponse, error)
- func (c *ClientWithResponses) LibraryCollectionCollectionGetCompositeWithResponse(ctx context.Context, collectionID int, updatedAt int, ...) (*LibraryCollectionCollectionGetCompositeResponse, error)
- func (c *ClientWithResponses) LibraryCollectionCollectionGetItemsWithResponse(ctx context.Context, collectionID int, reqEditors ...RequestEditorFn) (*LibraryCollectionCollectionGetItemsResponse, error)
- func (c *ClientWithResponses) LibraryCollectionCollectionPutItemsItemMoveWithResponse(ctx context.Context, collectionID int, itemID int, ...) (*LibraryCollectionCollectionPutItemsItemMoveResponse, error)
- func (c *ClientWithResponses) LibraryCollectionCollectionPutItemsItemWithResponse(ctx context.Context, collectionID int, itemID int, ...) (*LibraryCollectionCollectionPutItemsItemResponse, error)
- func (c *ClientWithResponses) LibraryCollectionCollectionPutItemsWithResponse(ctx context.Context, collectionID int, ...) (*LibraryCollectionCollectionPutItemsResponse, error)
- func (c *ClientWithResponses) LibraryCollectionPostSlashWithResponse(ctx context.Context, params *LibraryCollectionPostSlashParams, ...) (*LibraryCollectionPostSlashResponse, error)
- func (c *ClientWithResponses) LibraryDeleteCachesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*LibraryDeleteCachesResponse, error)
- func (c *ClientWithResponses) LibraryDeleteSectionWithResponse(ctx context.Context, sectionID string, params *LibraryDeleteSectionParams, ...) (*LibraryDeleteSectionResponse, error)
- func (c *ClientWithResponses) LibraryDeleteSectionsAllRefreshWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*LibraryDeleteSectionsAllRefreshResponse, error)
- func (c *ClientWithResponses) LibraryDeleteStreamsStreamWithResponse(ctx context.Context, streamID int, ext string, reqEditors ...RequestEditorFn) (*LibraryDeleteStreamsStreamResponse, error)
- func (c *ClientWithResponses) LibraryGetAllWithResponse(ctx context.Context, params *LibraryGetAllParams, ...) (*LibraryGetAllResponse, error)
- func (c *ClientWithResponses) LibraryGetMatchesWithResponse(ctx context.Context, params *LibraryGetMatchesParams, ...) (*LibraryGetMatchesResponse, error)
- func (c *ClientWithResponses) LibraryGetMediaMediaChapterImagesChapterWithResponse(ctx context.Context, mediaID int, chapter int, reqEditors ...RequestEditorFn) (*LibraryGetMediaMediaChapterImagesChapterResponse, error)
- func (c *ClientWithResponses) LibraryGetMetadataAugmentationsAugmentationWithResponse(ctx context.Context, augmentationID string, ...) (*LibraryGetMetadataAugmentationsAugmentationResponse, error)
- func (c *ClientWithResponses) LibraryGetPartsPartChangestampFilenameWithResponse(ctx context.Context, partID int, changestamp int, filename string, ...) (*LibraryGetPartsPartChangestampFilenameResponse, error)
- func (c *ClientWithResponses) LibraryGetPartsPartIndexesIndexOffsetWithResponse(ctx context.Context, partID int, ...) (*LibraryGetPartsPartIndexesIndexOffsetResponse, error)
- func (c *ClientWithResponses) LibraryGetPartsPartIndexesIndexWithResponse(ctx context.Context, partID int, ...) (*LibraryGetPartsPartIndexesIndexResponse, error)
- func (c *ClientWithResponses) LibraryGetPeoplePersonMediaWithResponse(ctx context.Context, personID struct{ ... }, reqEditors ...RequestEditorFn) (*LibraryGetPeoplePersonMediaResponse, error)
- func (c *ClientWithResponses) LibraryGetPeoplePersonWithResponse(ctx context.Context, personID struct{ ... }, reqEditors ...RequestEditorFn) (*LibraryGetPeoplePersonResponse, error)
- func (c *ClientWithResponses) LibraryGetRandomArtworkWithResponse(ctx context.Context, params *LibraryGetRandomArtworkParams, ...) (*LibraryGetRandomArtworkResponse, error)
- func (c *ClientWithResponses) LibraryGetSectionsPrefsWithResponse(ctx context.Context, params *LibraryGetSectionsPrefsParams, ...) (*LibraryGetSectionsPrefsResponse, error)
- func (c *ClientWithResponses) LibraryGetSectionsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*LibraryGetSectionsResponse, error)
- func (c *ClientWithResponses) LibraryGetStreamsStreamLevelsWithResponse(ctx context.Context, streamID int, params *LibraryGetStreamsStreamLevelsParams, ...) (*LibraryGetStreamsStreamLevelsResponse, error)
- func (c *ClientWithResponses) LibraryGetStreamsStreamLoudnessWithResponse(ctx context.Context, streamID int, ...) (*LibraryGetStreamsStreamLoudnessResponse, error)
- func (c *ClientWithResponses) LibraryGetStreamsStreamWithResponse(ctx context.Context, streamID int, ext string, ...) (*LibraryGetStreamsStreamResponse, error)
- func (c *ClientWithResponses) LibraryGetTagsWithResponse(ctx context.Context, params *LibraryGetTagsParams, ...) (*LibraryGetTagsResponse, error)
- func (c *ClientWithResponses) LibraryMetadataDeleteElementWithResponse(ctx context.Context, ids string, ...) (*LibraryMetadataDeleteElementResponse, error)
- func (c *ClientWithResponses) LibraryMetadataDeleteMarkerMarkerWithResponse(ctx context.Context, ids string, marker string, reqEditors ...RequestEditorFn) (*LibraryMetadataDeleteMarkerMarkerResponse, error)
- func (c *ClientWithResponses) LibraryMetadataDeleteMediaMediaItemWithResponse(ctx context.Context, ids string, mediaItem string, ...) (*LibraryMetadataDeleteMediaMediaItemResponse, error)
- func (c *ClientWithResponses) LibraryMetadataDeleteSlashWithResponse(ctx context.Context, ids string, params *LibraryMetadataDeleteSlashParams, ...) (*LibraryMetadataDeleteSlashResponse, error)
- func (c *ClientWithResponses) LibraryMetadataGetAllLeavesWithResponse(ctx context.Context, ids string, reqEditors ...RequestEditorFn) (*LibraryMetadataGetAllLeavesResponse, error)
- func (c *ClientWithResponses) LibraryMetadataGetElementWithResponse(ctx context.Context, ids string, ...) (*LibraryMetadataGetElementResponse, error)
- func (c *ClientWithResponses) LibraryMetadataGetExtrasWithResponse(ctx context.Context, ids string, reqEditors ...RequestEditorFn) (*LibraryMetadataGetExtrasResponse, error)
- func (c *ClientWithResponses) LibraryMetadataGetFileWithResponse(ctx context.Context, ids string, params *LibraryMetadataGetFileParams, ...) (*LibraryMetadataGetFileResponse, error)
- func (c *ClientWithResponses) LibraryMetadataGetMatchesWithResponse(ctx context.Context, ids string, params *LibraryMetadataGetMatchesParams, ...) (*LibraryMetadataGetMatchesResponse, error)
- func (c *ClientWithResponses) LibraryMetadataGetNearestWithResponse(ctx context.Context, ids string, params *LibraryMetadataGetNearestParams, ...) (*LibraryMetadataGetNearestResponse, error)
- func (c *ClientWithResponses) LibraryMetadataGetRelatedWithResponse(ctx context.Context, ids string, reqEditors ...RequestEditorFn) (*LibraryMetadataGetRelatedResponse, error)
- func (c *ClientWithResponses) LibraryMetadataGetSimilarWithResponse(ctx context.Context, ids string, params *LibraryMetadataGetSimilarParams, ...) (*LibraryMetadataGetSimilarResponse, error)
- func (c *ClientWithResponses) LibraryMetadataGetSlashWithResponse(ctx context.Context, ids []string, params *LibraryMetadataGetSlashParams, ...) (*LibraryMetadataGetSlashResponse, error)
- func (c *ClientWithResponses) LibraryMetadataGetTreeWithResponse(ctx context.Context, ids string, reqEditors ...RequestEditorFn) (*LibraryMetadataGetTreeResponse, error)
- func (c *ClientWithResponses) LibraryMetadataGetUsersTopWithResponse(ctx context.Context, ids string, reqEditors ...RequestEditorFn) (*LibraryMetadataGetUsersTopResponse, error)
- func (c *ClientWithResponses) LibraryMetadataPostElementWithResponse(ctx context.Context, ids string, ...) (*LibraryMetadataPostElementResponse, error)
- func (c *ClientWithResponses) LibraryMetadataPostExtrasWithResponse(ctx context.Context, ids string, params *LibraryMetadataPostExtrasParams, ...) (*LibraryMetadataPostExtrasResponse, error)
- func (c *ClientWithResponses) LibraryMetadataPostMarkerWithResponse(ctx context.Context, ids string, params *LibraryMetadataPostMarkerParams, ...) (*LibraryMetadataPostMarkerResponse, error)
- func (c *ClientWithResponses) LibraryMetadataPostSubtitlesWithResponse(ctx context.Context, ids string, params *LibraryMetadataPostSubtitlesParams, ...) (*LibraryMetadataPostSubtitlesResponse, error)
- func (c *ClientWithResponses) LibraryMetadataPutAddetectWithResponse(ctx context.Context, ids string, reqEditors ...RequestEditorFn) (*LibraryMetadataPutAddetectResponse, error)
- func (c *ClientWithResponses) LibraryMetadataPutAnalyzeLoudnessWithResponse(ctx context.Context, ids string, ...) (*LibraryMetadataPutAnalyzeLoudnessResponse, error)
- func (c *ClientWithResponses) LibraryMetadataPutAnalyzeWithResponse(ctx context.Context, ids string, params *LibraryMetadataPutAnalyzeParams, ...) (*LibraryMetadataPutAnalyzeResponse, error)
- func (c *ClientWithResponses) LibraryMetadataPutChapterThumbsWithResponse(ctx context.Context, ids string, params *LibraryMetadataPutChapterThumbsParams, ...) (*LibraryMetadataPutChapterThumbsResponse, error)
- func (c *ClientWithResponses) LibraryMetadataPutCreditsWithResponse(ctx context.Context, ids string, params *LibraryMetadataPutCreditsParams, ...) (*LibraryMetadataPutCreditsResponse, error)
- func (c *ClientWithResponses) LibraryMetadataPutElementWithResponse(ctx context.Context, ids string, ...) (*LibraryMetadataPutElementResponse, error)
- func (c *ClientWithResponses) LibraryMetadataPutIndexWithResponse(ctx context.Context, ids string, params *LibraryMetadataPutIndexParams, ...) (*LibraryMetadataPutIndexResponse, error)
- func (c *ClientWithResponses) LibraryMetadataPutIntroWithResponse(ctx context.Context, ids string, params *LibraryMetadataPutIntroParams, ...) (*LibraryMetadataPutIntroResponse, error)
- func (c *ClientWithResponses) LibraryMetadataPutMarkerMarkerWithResponse(ctx context.Context, ids string, marker string, ...) (*LibraryMetadataPutMarkerMarkerResponse, error)
- func (c *ClientWithResponses) LibraryMetadataPutMatchWithResponse(ctx context.Context, ids string, params *LibraryMetadataPutMatchParams, ...) (*LibraryMetadataPutMatchResponse, error)
- func (c *ClientWithResponses) LibraryMetadataPutMergeWithResponse(ctx context.Context, ids string, params *LibraryMetadataPutMergeParams, ...) (*LibraryMetadataPutMergeResponse, error)
- func (c *ClientWithResponses) LibraryMetadataPutPrefsWithResponse(ctx context.Context, ids string, params *LibraryMetadataPutPrefsParams, ...) (*LibraryMetadataPutPrefsResponse, error)
- func (c *ClientWithResponses) LibraryMetadataPutRefreshWithResponse(ctx context.Context, ids string, params *LibraryMetadataPutRefreshParams, ...) (*LibraryMetadataPutRefreshResponse, error)
- func (c *ClientWithResponses) LibraryMetadataPutSlashWithResponse(ctx context.Context, ids []string, params *LibraryMetadataPutSlashParams, ...) (*LibraryMetadataPutSlashResponse, error)
- func (c *ClientWithResponses) LibraryMetadataPutSplitWithResponse(ctx context.Context, ids string, reqEditors ...RequestEditorFn) (*LibraryMetadataPutSplitResponse, error)
- func (c *ClientWithResponses) LibraryMetadataPutUnmatchWithResponse(ctx context.Context, ids string, reqEditors ...RequestEditorFn) (*LibraryMetadataPutUnmatchResponse, error)
- func (c *ClientWithResponses) LibraryMetadataPutVoiceActivityWithResponse(ctx context.Context, ids string, params *LibraryMetadataPutVoiceActivityParams, ...) (*LibraryMetadataPutVoiceActivityResponse, error)
- func (c *ClientWithResponses) LibraryPostFileWithResponse(ctx context.Context, params *LibraryPostFileParams, ...) (*LibraryPostFileResponse, error)
- func (c *ClientWithResponses) LibraryPostSectionWithResponse(ctx context.Context, params *LibraryPostSectionParams, ...) (*LibraryPostSectionResponse, error)
- func (c *ClientWithResponses) LibraryPostSectionsRefreshWithResponse(ctx context.Context, params *LibraryPostSectionsRefreshParams, ...) (*LibraryPostSectionsRefreshResponse, error)
- func (c *ClientWithResponses) LibraryPutCleanBundlesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*LibraryPutCleanBundlesResponse, error)
- func (c *ClientWithResponses) LibraryPutOptimizeWithResponse(ctx context.Context, params *LibraryPutOptimizeParams, ...) (*LibraryPutOptimizeResponse, error)
- func (c *ClientWithResponses) LibraryPutPartsPartWithResponse(ctx context.Context, partID int, params *LibraryPutPartsPartParams, ...) (*LibraryPutPartsPartResponse, error)
- func (c *ClientWithResponses) LibraryPutStreamsStreamWithResponse(ctx context.Context, streamID int, ext string, ...) (*LibraryPutStreamsStreamResponse, error)
- func (c *ClientWithResponses) LibrarySectionDeleteCollectionCollectionWithResponse(ctx context.Context, sectionID int, collectionID int, ...) (*LibrarySectionDeleteCollectionCollectionResponse, error)
- func (c *ClientWithResponses) LibrarySectionDeleteIndexesWithResponse(ctx context.Context, sectionID int, reqEditors ...RequestEditorFn) (*LibrarySectionDeleteIndexesResponse, error)
- func (c *ClientWithResponses) LibrarySectionDeleteIntrosWithResponse(ctx context.Context, sectionID int, reqEditors ...RequestEditorFn) (*LibrarySectionDeleteIntrosResponse, error)
- func (c *ClientWithResponses) LibrarySectionDeleteRefreshWithResponse(ctx context.Context, sectionID int, reqEditors ...RequestEditorFn) (*LibrarySectionDeleteRefreshResponse, error)
- func (c *ClientWithResponses) LibrarySectionGetAlbumsWithResponse(ctx context.Context, sectionID int, reqEditors ...RequestEditorFn) (*LibrarySectionGetAlbumsResponse, error)
- func (c *ClientWithResponses) LibrarySectionGetAllLeavesWithResponse(ctx context.Context, sectionID int, reqEditors ...RequestEditorFn) (*LibrarySectionGetAllLeavesResponse, error)
- func (c *ClientWithResponses) LibrarySectionGetAllWithResponse(ctx context.Context, sectionID string, params *LibrarySectionGetAllParams, ...) (*LibrarySectionGetAllResponse, error)
- func (c *ClientWithResponses) LibrarySectionGetArtsWithResponse(ctx context.Context, sectionID int, reqEditors ...RequestEditorFn) (*LibrarySectionGetArtsResponse, error)
- func (c *ClientWithResponses) LibrarySectionGetAudioCodecsWithResponse(ctx context.Context, sectionID int, params *LibrarySectionGetAudioCodecsParams, ...) (*LibrarySectionGetAudioCodecsResponse, error)
- func (c *ClientWithResponses) LibrarySectionGetAudioLayoutsWithResponse(ctx context.Context, sectionID int, ...) (*LibrarySectionGetAudioLayoutsResponse, error)
- func (c *ClientWithResponses) LibrarySectionGetAutocompleteWithResponse(ctx context.Context, sectionID int, ...) (*LibrarySectionGetAutocompleteResponse, error)
- func (c *ClientWithResponses) LibrarySectionGetCategoriesWithResponse(ctx context.Context, sectionID int, reqEditors ...RequestEditorFn) (*LibrarySectionGetCategoriesResponse, error)
- func (c *ClientWithResponses) LibrarySectionGetClusterWithResponse(ctx context.Context, sectionID int, reqEditors ...RequestEditorFn) (*LibrarySectionGetClusterResponse, error)
- func (c *ClientWithResponses) LibrarySectionGetCollectionsWithResponse(ctx context.Context, sectionID int, params *LibrarySectionGetCollectionsParams, ...) (*LibrarySectionGetCollectionsResponse, error)
- func (c *ClientWithResponses) LibrarySectionGetCommonWithResponse(ctx context.Context, sectionID int, params *LibrarySectionGetCommonParams, ...) (*LibrarySectionGetCommonResponse, error)
- func (c *ClientWithResponses) LibrarySectionGetCompositeWithResponse(ctx context.Context, sectionID int, updatedAt int, ...) (*LibrarySectionGetCompositeResponse, error)
- func (c *ClientWithResponses) LibrarySectionGetComputePathWithResponse(ctx context.Context, sectionID int, params *LibrarySectionGetComputePathParams, ...) (*LibrarySectionGetComputePathResponse, error)
- func (c *ClientWithResponses) LibrarySectionGetFiltersWithResponse(ctx context.Context, sectionID int, reqEditors ...RequestEditorFn) (*LibrarySectionGetFiltersResponse, error)
- func (c *ClientWithResponses) LibrarySectionGetFirstCharatersWithResponse(ctx context.Context, sectionID int, ...) (*LibrarySectionGetFirstCharatersResponse, error)
- func (c *ClientWithResponses) LibrarySectionGetLocationsWithResponse(ctx context.Context, sectionID int, reqEditors ...RequestEditorFn) (*LibrarySectionGetLocationsResponse, error)
- func (c *ClientWithResponses) LibrarySectionGetMomentWithResponse(ctx context.Context, sectionID int, reqEditors ...RequestEditorFn) (*LibrarySectionGetMomentResponse, error)
- func (c *ClientWithResponses) LibrarySectionGetNearestWithResponse(ctx context.Context, sectionID int, params *LibrarySectionGetNearestParams, ...) (*LibrarySectionGetNearestResponse, error)
- func (c *ClientWithResponses) LibrarySectionGetPrefsWithResponse(ctx context.Context, sectionID int, params *LibrarySectionGetPrefsParams, ...) (*LibrarySectionGetPrefsResponse, error)
- func (c *ClientWithResponses) LibrarySectionGetSectionWithResponse(ctx context.Context, sectionID string, params *LibrarySectionGetSectionParams, ...) (*LibrarySectionGetSectionResponse, error)
- func (c *ClientWithResponses) LibrarySectionGetSortsWithResponse(ctx context.Context, sectionID int, reqEditors ...RequestEditorFn) (*LibrarySectionGetSortsResponse, error)
- func (c *ClientWithResponses) LibrarySectionGetSubtitleCodecsWithResponse(ctx context.Context, sectionID int, ...) (*LibrarySectionGetSubtitleCodecsResponse, error)
- func (c *ClientWithResponses) LibrarySectionGetVideoCodecsWithResponse(ctx context.Context, sectionID int, params *LibrarySectionGetVideoCodecsParams, ...) (*LibrarySectionGetVideoCodecsResponse, error)
- func (c *ClientWithResponses) LibrarySectionPostRefreshWithResponse(ctx context.Context, sectionID int, params *LibrarySectionPostRefreshParams, ...) (*LibrarySectionPostRefreshResponse, error)
- func (c *ClientWithResponses) LibrarySectionPutAllWithResponse(ctx context.Context, sectionID string, params *LibrarySectionPutAllParams, ...) (*LibrarySectionPutAllResponse, error)
- func (c *ClientWithResponses) LibrarySectionPutAnalyzeWithResponse(ctx context.Context, sectionID int, reqEditors ...RequestEditorFn) (*LibrarySectionPutAnalyzeResponse, error)
- func (c *ClientWithResponses) LibrarySectionPutEmptyTrashWithResponse(ctx context.Context, sectionID int, reqEditors ...RequestEditorFn) (*LibrarySectionPutEmptyTrashResponse, error)
- func (c *ClientWithResponses) LibrarySectionPutPrefsWithResponse(ctx context.Context, sectionID int, params *LibrarySectionPutPrefsParams, ...) (*LibrarySectionPutPrefsResponse, error)
- func (c *ClientWithResponses) LibrarySectionPutSectionWithResponse(ctx context.Context, sectionID string, params *LibrarySectionPutSectionParams, ...) (*LibrarySectionPutSectionResponse, error)
- func (c *ClientWithResponses) LivetvDVRDeleteDVRDeviceWithResponse(ctx context.Context, dvrid int, deviceID int, reqEditors ...RequestEditorFn) (*LivetvDVRDeleteDVRDeviceResponse, error)
- func (c *ClientWithResponses) LivetvDVRDeleteDVRWithResponse(ctx context.Context, dvrid int, reqEditors ...RequestEditorFn) (*LivetvDVRDeleteDVRResponse, error)
- func (c *ClientWithResponses) LivetvDVRDeleteLineupWithResponse(ctx context.Context, dvrid int, params *LivetvDVRDeleteLineupParams, ...) (*LivetvDVRDeleteLineupResponse, error)
- func (c *ClientWithResponses) LivetvDVRDeleteReloadGuideWithResponse(ctx context.Context, dvrid int, reqEditors ...RequestEditorFn) (*LivetvDVRDeleteReloadGuideResponse, error)
- func (c *ClientWithResponses) LivetvDVRGetDVRWithResponse(ctx context.Context, dvrid int, reqEditors ...RequestEditorFn) (*LivetvDVRGetDVRResponse, error)
- func (c *ClientWithResponses) LivetvDVRGetSlashWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*LivetvDVRGetSlashResponse, error)
- func (c *ClientWithResponses) LivetvDVRPostChannelsChannelTuneWithResponse(ctx context.Context, dvrid int, channel string, reqEditors ...RequestEditorFn) (*LivetvDVRPostChannelsChannelTuneResponse, error)
- func (c *ClientWithResponses) LivetvDVRPostReloadGuideWithResponse(ctx context.Context, dvrid int, reqEditors ...RequestEditorFn) (*LivetvDVRPostReloadGuideResponse, error)
- func (c *ClientWithResponses) LivetvDVRPostSlashWithResponse(ctx context.Context, params *LivetvDVRPostSlashParams, ...) (*LivetvDVRPostSlashResponse, error)
- func (c *ClientWithResponses) LivetvDVRPutDVRDeviceWithResponse(ctx context.Context, dvrid int, deviceID int, reqEditors ...RequestEditorFn) (*LivetvDVRPutDVRDeviceResponse, error)
- func (c *ClientWithResponses) LivetvDVRPutLineupWithResponse(ctx context.Context, dvrid int, params *LivetvDVRPutLineupParams, ...) (*LivetvDVRPutLineupResponse, error)
- func (c *ClientWithResponses) LivetvDVRPutPrefsWithResponse(ctx context.Context, dvrid int, params *LivetvDVRPutPrefsParams, ...) (*LivetvDVRPutPrefsResponse, error)
- func (c *ClientWithResponses) LivetvEPGGetChannelmapWithResponse(ctx context.Context, params *LivetvEPGGetChannelmapParams, ...) (*LivetvEPGGetChannelmapResponse, error)
- func (c *ClientWithResponses) LivetvEPGGetChannelsWithResponse(ctx context.Context, params *LivetvEPGGetChannelsParams, ...) (*LivetvEPGGetChannelsResponse, error)
- func (c *ClientWithResponses) LivetvEPGGetCountriesCountryLineupsWithResponse(ctx context.Context, country string, epgid string, ...) (*LivetvEPGGetCountriesCountryLineupsResponse, error)
- func (c *ClientWithResponses) LivetvEPGGetCountriesCountryRegionsRegionLineupsWithResponse(ctx context.Context, country string, epgid string, region string, ...) (*LivetvEPGGetCountriesCountryRegionsRegionLineupsResponse, error)
- func (c *ClientWithResponses) LivetvEPGGetCountriesCountryRegionsWithResponse(ctx context.Context, country string, epgid string, ...) (*LivetvEPGGetCountriesCountryRegionsResponse, error)
- func (c *ClientWithResponses) LivetvEPGGetCountriesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*LivetvEPGGetCountriesResponse, error)
- func (c *ClientWithResponses) LivetvEPGGetLanguagesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*LivetvEPGGetLanguagesResponse, error)
- func (c *ClientWithResponses) LivetvEPGGetLineupWithResponse(ctx context.Context, params *LivetvEPGGetLineupParams, ...) (*LivetvEPGGetLineupResponse, error)
- func (c *ClientWithResponses) LivetvEPGGetLineupchannelsWithResponse(ctx context.Context, params *LivetvEPGGetLineupchannelsParams, ...) (*LivetvEPGGetLineupchannelsResponse, error)
- func (c *ClientWithResponses) LivetvSessionsGetSessionConsumerIndexWithResponse(ctx context.Context, sessionID string, consumerID string, ...) (*LivetvSessionsGetSessionConsumerIndexResponse, error)
- func (c *ClientWithResponses) LivetvSessionsGetSessionConsumerSegmentWithResponse(ctx context.Context, sessionID string, consumerID string, segmentID string, ...) (*LivetvSessionsGetSessionConsumerSegmentResponse, error)
- func (c *ClientWithResponses) LivetvSessionsGetSessionWithResponse(ctx context.Context, sessionID string, reqEditors ...RequestEditorFn) (*LivetvSessionsGetSessionResponse, error)
- func (c *ClientWithResponses) LivetvSessionsGetSlashWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*LivetvSessionsGetSlashResponse, error)
- func (c *ClientWithResponses) LogPostPapertrailWithResponse(ctx context.Context, params *LogPostPapertrailParams, ...) (*LogPostPapertrailResponse, error)
- func (c *ClientWithResponses) LogPostSlashWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*LogPostSlashResponse, error)
- func (c *ClientWithResponses) LogPostSlashWithTextBodyWithResponse(ctx context.Context, body LogPostSlashTextRequestBody, ...) (*LogPostSlashResponse, error)
- func (c *ClientWithResponses) LogPutSlashWithResponse(ctx context.Context, params *LogPutSlashParams, reqEditors ...RequestEditorFn) (*LogPutSlashResponse, error)
- func (c *ClientWithResponses) MediaGrabberDeleteDevicesDeviceScanWithResponse(ctx context.Context, deviceID int, reqEditors ...RequestEditorFn) (*MediaGrabberDeleteDevicesDeviceScanResponse, error)
- func (c *ClientWithResponses) MediaGrabberDeleteOperationsOperationWithResponse(ctx context.Context, operationID string, reqEditors ...RequestEditorFn) (*MediaGrabberDeleteOperationsOperationResponse, error)
- func (c *ClientWithResponses) MediaGrabberDevicesDeviceDeleteSlashWithResponse(ctx context.Context, deviceID int, reqEditors ...RequestEditorFn) (*MediaGrabberDevicesDeviceDeleteSlashResponse, error)
- func (c *ClientWithResponses) MediaGrabberDevicesDeviceGetChannelsWithResponse(ctx context.Context, deviceID int, reqEditors ...RequestEditorFn) (*MediaGrabberDevicesDeviceGetChannelsResponse, error)
- func (c *ClientWithResponses) MediaGrabberDevicesDeviceGetSlashWithResponse(ctx context.Context, deviceID int, reqEditors ...RequestEditorFn) (*MediaGrabberDevicesDeviceGetSlashResponse, error)
- func (c *ClientWithResponses) MediaGrabberDevicesDeviceGetThumbVersionWithResponse(ctx context.Context, deviceID int, version int, reqEditors ...RequestEditorFn) (*MediaGrabberDevicesDeviceGetThumbVersionResponse, error)
- func (c *ClientWithResponses) MediaGrabberDevicesDevicePostScanWithResponse(ctx context.Context, deviceID int, ...) (*MediaGrabberDevicesDevicePostScanResponse, error)
- func (c *ClientWithResponses) MediaGrabberDevicesDevicePutChannelmapWithResponse(ctx context.Context, deviceID int, ...) (*MediaGrabberDevicesDevicePutChannelmapResponse, error)
- func (c *ClientWithResponses) MediaGrabberDevicesDevicePutPrefsWithResponse(ctx context.Context, deviceID int, ...) (*MediaGrabberDevicesDevicePutPrefsResponse, error)
- func (c *ClientWithResponses) MediaGrabberDevicesDevicePutSlashWithResponse(ctx context.Context, deviceID int, ...) (*MediaGrabberDevicesDevicePutSlashResponse, error)
- func (c *ClientWithResponses) MediaGrabberGetDevicesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*MediaGrabberGetDevicesResponse, error)
- func (c *ClientWithResponses) MediaGrabberGetSlashWithResponse(ctx context.Context, params *MediaGrabberGetSlashParams, ...) (*MediaGrabberGetSlashResponse, error)
- func (c *ClientWithResponses) MediaGrabberPostDeviceDiscoverWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*MediaGrabberPostDeviceDiscoverResponse, error)
- func (c *ClientWithResponses) MediaGrabberPostDevicesWithResponse(ctx context.Context, params *MediaGrabberPostDevicesParams, ...) (*MediaGrabberPostDevicesResponse, error)
- func (c *ClientWithResponses) MediaProviderEPGChannelsWithResponse(ctx context.Context, identifier MediaProviderEPGChannelsParamsIdentifier, ...) (*MediaProviderEPGChannelsResponse, error)
- func (c *ClientWithResponses) MediaProviderEPGGridWithResponse(ctx context.Context, identifier MediaProviderEPGGridParamsIdentifier, ...) (*MediaProviderEPGGridResponse, error)
- func (c *ClientWithResponses) MediaProviderEPGWatchnowAllWithResponse(ctx context.Context, identifier MediaProviderEPGWatchnowAllParamsIdentifier, ...) (*MediaProviderEPGWatchnowAllResponse, error)
- func (c *ClientWithResponses) MediaProviderEPGWatchnowWithResponse(ctx context.Context, identifier MediaProviderEPGWatchnowParamsIdentifier, ...) (*MediaProviderEPGWatchnowResponse, error)
- func (c *ClientWithResponses) MediaSubscriptionsDeleteSubscriptionWithResponse(ctx context.Context, subscriptionID int, reqEditors ...RequestEditorFn) (*MediaSubscriptionsDeleteSubscriptionResponse, error)
- func (c *ClientWithResponses) MediaSubscriptionsGetScheduledWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*MediaSubscriptionsGetScheduledResponse, error)
- func (c *ClientWithResponses) MediaSubscriptionsGetSlashWithResponse(ctx context.Context, params *MediaSubscriptionsGetSlashParams, ...) (*MediaSubscriptionsGetSlashResponse, error)
- func (c *ClientWithResponses) MediaSubscriptionsGetSubscriptionWithResponse(ctx context.Context, subscriptionID int, ...) (*MediaSubscriptionsGetSubscriptionResponse, error)
- func (c *ClientWithResponses) MediaSubscriptionsGetTemplateWithResponse(ctx context.Context, params *MediaSubscriptionsGetTemplateParams, ...) (*MediaSubscriptionsGetTemplateResponse, error)
- func (c *ClientWithResponses) MediaSubscriptionsPostProcessWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*MediaSubscriptionsPostProcessResponse, error)
- func (c *ClientWithResponses) MediaSubscriptionsPostSlashWithResponse(ctx context.Context, params *MediaSubscriptionsPostSlashParams, ...) (*MediaSubscriptionsPostSlashResponse, error)
- func (c *ClientWithResponses) MediaSubscriptionsPutSubscriptionMoveWithResponse(ctx context.Context, subscriptionID int, ...) (*MediaSubscriptionsPutSubscriptionMoveResponse, error)
- func (c *ClientWithResponses) MediaSubscriptionsPutSubscriptionWithResponse(ctx context.Context, subscriptionID int, ...) (*MediaSubscriptionsPutSubscriptionResponse, error)
- func (c *ClientWithResponses) PlayQueuePlayQueueResetWithResponse(ctx context.Context, playQueueID int, reqEditors ...RequestEditorFn) (*PlayQueuePlayQueueResetResponse, error)
- func (c *ClientWithResponses) PlayQueuePostSlashWithResponse(ctx context.Context, params *PlayQueuePostSlashParams, ...) (*PlayQueuePostSlashResponse, error)
- func (c *ClientWithResponses) PlayQueueQueueDeleteItemsItemWithResponse(ctx context.Context, playQueueID int, playQueueItemID int, ...) (*PlayQueueQueueDeleteItemsItemResponse, error)
- func (c *ClientWithResponses) PlayQueueQueueDeleteItemsWithResponse(ctx context.Context, playQueueID int, reqEditors ...RequestEditorFn) (*PlayQueueQueueDeleteItemsResponse, error)
- func (c *ClientWithResponses) PlayQueueQueueGetSlashWithResponse(ctx context.Context, playQueueID int, params *PlayQueueQueueGetSlashParams, ...) (*PlayQueueQueueGetSlashResponse, error)
- func (c *ClientWithResponses) PlayQueueQueuePutItemsMoveWithResponse(ctx context.Context, playQueueID int, playQueueItemID int, ...) (*PlayQueueQueuePutItemsMoveResponse, error)
- func (c *ClientWithResponses) PlayQueueQueuePutItemsShuffleWithResponse(ctx context.Context, playQueueID int, reqEditors ...RequestEditorFn) (*PlayQueueQueuePutItemsShuffleResponse, error)
- func (c *ClientWithResponses) PlayQueueQueuePutItemsUnshuffleWithResponse(ctx context.Context, playQueueID int, reqEditors ...RequestEditorFn) (*PlayQueueQueuePutItemsUnshuffleResponse, error)
- func (c *ClientWithResponses) PlayQueueQueuePutSlashWithResponse(ctx context.Context, playQueueID int, params *PlayQueueQueuePutSlashParams, ...) (*PlayQueueQueuePutSlashResponse, error)
- func (c *ClientWithResponses) PlaylistDeleteItemsGeneratorWithResponse(ctx context.Context, playlistID int, generatorID int, ...) (*PlaylistDeleteItemsGeneratorResponse, error)
- func (c *ClientWithResponses) PlaylistDeleteItemsWithResponse(ctx context.Context, playlistID int, reqEditors ...RequestEditorFn) (*PlaylistDeleteItemsResponse, error)
- func (c *ClientWithResponses) PlaylistDeletePlaylistWithResponse(ctx context.Context, playlistID int, reqEditors ...RequestEditorFn) (*PlaylistDeletePlaylistResponse, error)
- func (c *ClientWithResponses) PlaylistGetGeneratorsWithResponse(ctx context.Context, playlistID int, reqEditors ...RequestEditorFn) (*PlaylistGetGeneratorsResponse, error)
- func (c *ClientWithResponses) PlaylistGetItemsGeneratorItemsWithResponse(ctx context.Context, playlistID int, generatorID int, ...) (*PlaylistGetItemsGeneratorItemsResponse, error)
- func (c *ClientWithResponses) PlaylistGetItemsGeneratorWithResponse(ctx context.Context, playlistID int, generatorID int, ...) (*PlaylistGetItemsGeneratorResponse, error)
- func (c *ClientWithResponses) PlaylistGetItemsWithResponse(ctx context.Context, playlistID int, params *PlaylistGetItemsParams, ...) (*PlaylistGetItemsResponse, error)
- func (c *ClientWithResponses) PlaylistGetPlaylistWithResponse(ctx context.Context, playlistID int, reqEditors ...RequestEditorFn) (*PlaylistGetPlaylistResponse, error)
- func (c *ClientWithResponses) PlaylistGetSlashWithResponse(ctx context.Context, params *PlaylistGetSlashParams, ...) (*PlaylistGetSlashResponse, error)
- func (c *ClientWithResponses) PlaylistPostSlashWithResponse(ctx context.Context, params *PlaylistPostSlashParams, ...) (*PlaylistPostSlashResponse, error)
- func (c *ClientWithResponses) PlaylistPostUploadWithResponse(ctx context.Context, params *PlaylistPostUploadParams, ...) (*PlaylistPostUploadResponse, error)
- func (c *ClientWithResponses) PlaylistPutItemsGeneratorReprocessWithResponse(ctx context.Context, playlistID int, generatorID int, metadataID int, ...) (*PlaylistPutItemsGeneratorReprocessResponse, error)
- func (c *ClientWithResponses) PlaylistPutItemsGeneratorWithResponse(ctx context.Context, playlistID int, generatorID int, ...) (*PlaylistPutItemsGeneratorResponse, error)
- func (c *ClientWithResponses) PlaylistPutItemsMoveWithResponse(ctx context.Context, playlistID int, playlistItemID int, ...) (*PlaylistPutItemsMoveResponse, error)
- func (c *ClientWithResponses) PlaylistPutItemsWithResponse(ctx context.Context, playlistID int, params *PlaylistPutItemsParams, ...) (*PlaylistPutItemsResponse, error)
- func (c *ClientWithResponses) PlaylistPutPlaylistWithResponse(ctx context.Context, playlistID int, reqEditors ...RequestEditorFn) (*PlaylistPutPlaylistResponse, error)
- func (c *ClientWithResponses) PostMediaProvidersRefreshWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PostMediaProvidersRefreshResponse, error)
- func (c *ClientWithResponses) PostMediaProvidersWithResponse(ctx context.Context, params *PostMediaProvidersParams, ...) (*PostMediaProvidersResponse, error)
- func (c *ClientWithResponses) PostMetadataAgentProviderGroupsWithResponse(ctx context.Context, params *PostMetadataAgentProviderGroupsParams, ...) (*PostMetadataAgentProviderGroupsResponse, error)
- func (c *ClientWithResponses) PostMetadataAgentProvidersWithResponse(ctx context.Context, params *PostMetadataAgentProvidersParams, ...) (*PostMetadataAgentProvidersResponse, error)
- func (c *ClientWithResponses) PreferencesGetGetWithResponse(ctx context.Context, params *PreferencesGetGetParams, ...) (*PreferencesGetGetResponse, error)
- func (c *ClientWithResponses) PreferencesGetSlashWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PreferencesGetSlashResponse, error)
- func (c *ClientWithResponses) PreferencesPutSlashWithResponse(ctx context.Context, params *PreferencesPutSlashParams, ...) (*PreferencesPutSlashResponse, error)
- func (c *ClientWithResponses) PutMetadataAgentProviderGroupItemWithResponse(ctx context.Context, groupID int, providerID int, ...) (*PutMetadataAgentProviderGroupItemResponse, error)
- func (c *ClientWithResponses) PutMetadataAgentProviderGroupWithResponse(ctx context.Context, groupID int, params *PutMetadataAgentProviderGroupParams, ...) (*PutMetadataAgentProviderGroupResponse, error)
- func (c *ClientWithResponses) PutMetadataAgentProviderWithResponse(ctx context.Context, providerID int, params *PutMetadataAgentProviderParams, ...) (*PutMetadataAgentProviderResponse, error)
- func (c *ClientWithResponses) PutRateWithResponse(ctx context.Context, params *PutRateParams, reqEditors ...RequestEditorFn) (*PutRateResponse, error)
- func (c *ClientWithResponses) PutScrobbleWithResponse(ctx context.Context, params *PutScrobbleParams, reqEditors ...RequestEditorFn) (*PutScrobbleResponse, error)
- func (c *ClientWithResponses) PutUnscrobbleWithResponse(ctx context.Context, params *PutUnscrobbleParams, ...) (*PutUnscrobbleResponse, error)
- func (c *ClientWithResponses) SecurityGetResourcesWithResponse(ctx context.Context, params *SecurityGetResourcesParams, ...) (*SecurityGetResourcesResponse, error)
- func (c *ClientWithResponses) SecurityPostTokenWithResponse(ctx context.Context, params *SecurityPostTokenParams, ...) (*SecurityPostTokenResponse, error)
- func (c *ClientWithResponses) StatusDeleteHistoryWithResponse(ctx context.Context, historyID int, reqEditors ...RequestEditorFn) (*StatusDeleteHistoryResponse, error)
- func (c *ClientWithResponses) StatusGetBackgroundWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*StatusGetBackgroundResponse, error)
- func (c *ClientWithResponses) StatusGetHistoryAllWithResponse(ctx context.Context, params *StatusGetHistoryAllParams, ...) (*StatusGetHistoryAllResponse, error)
- func (c *ClientWithResponses) StatusGetHistoryWithResponse(ctx context.Context, historyID int, reqEditors ...RequestEditorFn) (*StatusGetHistoryResponse, error)
- func (c *ClientWithResponses) StatusGetSlashWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*StatusGetSlashResponse, error)
- func (c *ClientWithResponses) StatusPostTerminateWithResponse(ctx context.Context, params *StatusPostTerminateParams, ...) (*StatusPostTerminateResponse, error)
- func (c *ClientWithResponses) TimelinePostSlashWithResponse(ctx context.Context, params *TimelinePostSlashParams, ...) (*TimelinePostSlashResponse, error)
- func (c *ClientWithResponses) TranscodeDecisionWithResponse(ctx context.Context, transcodeType TranscodeDecisionParamsTranscodeType, ...) (*TranscodeDecisionResponse, error)
- func (c *ClientWithResponses) TranscodeFallbackWithResponse(ctx context.Context, transcodeType TranscodeFallbackParamsTranscodeType, ...) (*TranscodeFallbackResponse, error)
- func (c *ClientWithResponses) TranscodeStartWithResponse(ctx context.Context, transcodeType TranscodeStartParamsTranscodeType, ...) (*TranscodeStartResponse, error)
- func (c *ClientWithResponses) TranscodeSubtitlesWithResponse(ctx context.Context, transcodeType TranscodeSubtitlesParamsTranscodeType, ...) (*TranscodeSubtitlesResponse, error)
- func (c *ClientWithResponses) UltraBlurGetColorsWithResponse(ctx context.Context, params *UltraBlurGetColorsParams, ...) (*UltraBlurGetColorsResponse, error)
- func (c *ClientWithResponses) UltraBlurGetImageWithResponse(ctx context.Context, params *UltraBlurGetImageParams, ...) (*UltraBlurGetImageResponse, error)
- func (c *ClientWithResponses) UpdaterGetStatusWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*UpdaterGetStatusResponse, error)
- func (c *ClientWithResponses) UpdaterPutApplyWithResponse(ctx context.Context, params *UpdaterPutApplyParams, ...) (*UpdaterPutApplyResponse, error)
- func (c *ClientWithResponses) UpdaterPutCheckWithResponse(ctx context.Context, params *UpdaterPutCheckParams, ...) (*UpdaterPutCheckResponse, error)
- func (c *ClientWithResponses) WebsocketGetSlashWithResponse(ctx context.Context, params *WebsocketGetSlashParams, ...) (*WebsocketGetSlashResponse, error)
- type ClientWithResponsesInterface
- type Composite
- type Content
- type DVRRequestHandlerSlashGetResponses200
- type DeleteMediaProviderResponse
- type DeleteMetadataAgentProviderGroupItemResponse
- type DeleteMetadataAgentProviderGroupResponse
- type DeleteMetadataAgentProviderResponse
- type DeviceItems
- type DirectPlayParam
- type DirectStreamAudioParam
- type DirectStreamParam
- type Directory
- type DisableResolutionRotationParam
- type DownloadQueueDeleteQueueItemsItemResponse
- type DownloadQueueGetQueue200JSONResponseBodyMediaContainerDownloadQueueStatus
- type DownloadQueueGetQueueItemItemDecisionResponse
- func (r DownloadQueueGetQueueItemItemDecisionResponse) ContentType() string
- func (r DownloadQueueGetQueueItemItemDecisionResponse) GetBody() []byte
- func (r DownloadQueueGetQueueItemItemDecisionResponse) GetJSON200() *MediaContainerWithDecision
- func (r DownloadQueueGetQueueItemItemDecisionResponse) Status() string
- func (r DownloadQueueGetQueueItemItemDecisionResponse) StatusCode() int
- type DownloadQueueGetQueueItemItemMediaResponse
- type DownloadQueueGetQueueItemItemMediaResponse503Headers
- type DownloadQueueGetQueueItems200JSONResponseBodyMediaContainerDownloadQueueItemStatus
- type DownloadQueueGetQueueItemsItem200JSONResponseBodyMediaContainerDownloadQueueItemStatus
- type DownloadQueueGetQueueItemsItemResponse
- func (r DownloadQueueGetQueueItemsItemResponse) ContentType() string
- func (r DownloadQueueGetQueueItemsItemResponse) GetBody() []byte
- func (r DownloadQueueGetQueueItemsItemResponse) GetJSON200() ...
- func (r DownloadQueueGetQueueItemsItemResponse) Status() string
- func (r DownloadQueueGetQueueItemsItemResponse) StatusCode() int
- type DownloadQueueGetQueueItemsResponse
- func (r DownloadQueueGetQueueItemsResponse) ContentType() string
- func (r DownloadQueueGetQueueItemsResponse) GetBody() []byte
- func (r DownloadQueueGetQueueItemsResponse) GetJSON200() ...
- func (r DownloadQueueGetQueueItemsResponse) Status() string
- func (r DownloadQueueGetQueueItemsResponse) StatusCode() int
- type DownloadQueueGetQueueResponse
- type DownloadQueuePost200JSONResponseBodyMediaContainerDownloadQueueStatus
- type DownloadQueuePostQueueAddParams
- type DownloadQueuePostQueueAddParamsAdvancedSubtitles
- type DownloadQueuePostQueueAddParamsAutoAdjustQuality
- type DownloadQueuePostQueueAddParamsAutoAdjustSubtitle
- type DownloadQueuePostQueueAddParamsBoostDialog
- type DownloadQueuePostQueueAddParamsDirectPlay
- type DownloadQueuePostQueueAddParamsDirectStream
- type DownloadQueuePostQueueAddParamsDirectStreamAudio
- type DownloadQueuePostQueueAddParamsDisableResolutionRotation
- type DownloadQueuePostQueueAddParamsHasMDE
- type DownloadQueuePostQueueAddParamsLocation
- type DownloadQueuePostQueueAddParamsNormalizeLoudness
- type DownloadQueuePostQueueAddParamsProtocol
- type DownloadQueuePostQueueAddParamsSubtitles
- type DownloadQueuePostQueueAddResponse
- func (r DownloadQueuePostQueueAddResponse) ContentType() string
- func (r DownloadQueuePostQueueAddResponse) GetBody() []byte
- func (r DownloadQueuePostQueueAddResponse) GetJSON200() ...
- func (r DownloadQueuePostQueueAddResponse) Status() string
- func (r DownloadQueuePostQueueAddResponse) StatusCode() int
- type DownloadQueuePostQueueItemsItemRestartResponse
- type DownloadQueuePostResponse
- type EventsourceGetSlashParams
- type EventsourceGetSlashResponse
- type Filter
- type GUID
- type GetIdentityResponse
- type GetMediaProvidersResponse
- type GetMetadataAgentProviderGroupResponse
- func (r GetMetadataAgentProviderGroupResponse) ContentType() string
- func (r GetMetadataAgentProviderGroupResponse) GetBody() []byte
- func (r GetMetadataAgentProviderGroupResponse) GetJSON200() ...
- func (r GetMetadataAgentProviderGroupResponse) Status() string
- func (r GetMetadataAgentProviderGroupResponse) StatusCode() int
- type GetMetadataAgentProviderGroupsResponse
- func (r GetMetadataAgentProviderGroupsResponse) ContentType() string
- func (r GetMetadataAgentProviderGroupsResponse) GetBody() []byte
- func (r GetMetadataAgentProviderGroupsResponse) GetJSON200() ...
- func (r GetMetadataAgentProviderGroupsResponse) Status() string
- func (r GetMetadataAgentProviderGroupsResponse) StatusCode() int
- type GetMetadataAgentProviderResponse
- func (r GetMetadataAgentProviderResponse) ContentType() string
- func (r GetMetadataAgentProviderResponse) GetBody() []byte
- func (r GetMetadataAgentProviderResponse) GetJSON200() *MetadataAgentProviderManagerSlashGetResponses200
- func (r GetMetadataAgentProviderResponse) Status() string
- func (r GetMetadataAgentProviderResponse) StatusCode() int
- type GetMetadataAgentProvidersParams
- type GetMetadataAgentProvidersResponse
- func (r GetMetadataAgentProvidersResponse) ContentType() string
- func (r GetMetadataAgentProvidersResponse) GetBody() []byte
- func (r GetMetadataAgentProvidersResponse) GetJSON200() ...
- func (r GetMetadataAgentProvidersResponse) Status() string
- func (r GetMetadataAgentProvidersResponse) StatusCode() int
- type GetResponses200
- type GetResponses200MediaContainerHubHomeVisibility
- type GetResponses200MediaContainerHubRecommendationsVisibility
- type GetSlashResponse
- type HasMDEParam
- type HistoryAllGetResponses200
- type HistoryAllGetResponses200_MediaContainer
- func (a HistoryAllGetResponses200_MediaContainer) Get(fieldName string) (value interface{}, found bool)
- func (a HistoryAllGetResponses200_MediaContainer) MarshalJSON() ([]byte, error)
- func (a *HistoryAllGetResponses200_MediaContainer) Set(fieldName string, value interface{})
- func (a *HistoryAllGetResponses200_MediaContainer) UnmarshalJSON(b []byte) error
- type HttpRequestDoer
- type Hub
- type HubsGetContinueWatchingParams
- type HubsGetContinueWatchingResponse
- type HubsGetContinueWatchingResponse200Headers
- type HubsGetItemsParams
- type HubsGetItemsResponse
- type HubsGetItemsResponse200Headers
- type HubsGetMetadataMetadataParams
- type HubsGetMetadataMetadataParamsOnlyTransient
- type HubsGetMetadataMetadataPostplayParams
- type HubsGetMetadataMetadataPostplayParamsOnlyTransient
- type HubsGetMetadataMetadataPostplayResponse
- func (r HubsGetMetadataMetadataPostplayResponse) ContentType() string
- func (r HubsGetMetadataMetadataPostplayResponse) GetBody() []byte
- func (r HubsGetMetadataMetadataPostplayResponse) GetJSON200() *Responses200
- func (r HubsGetMetadataMetadataPostplayResponse) Status() string
- func (r HubsGetMetadataMetadataPostplayResponse) StatusCode() int
- type HubsGetMetadataMetadataPostplayResponse200Headers
- type HubsGetMetadataMetadataRelatedParams
- type HubsGetMetadataMetadataRelatedParamsOnlyTransient
- type HubsGetMetadataMetadataRelatedResponse
- func (r HubsGetMetadataMetadataRelatedResponse) ContentType() string
- func (r HubsGetMetadataMetadataRelatedResponse) GetBody() []byte
- func (r HubsGetMetadataMetadataRelatedResponse) GetJSON200() *Responses200
- func (r HubsGetMetadataMetadataRelatedResponse) Status() string
- func (r HubsGetMetadataMetadataRelatedResponse) StatusCode() int
- type HubsGetMetadataMetadataRelatedResponse200Headers
- type HubsGetMetadataMetadataResponse
- func (r HubsGetMetadataMetadataResponse) ContentType() string
- func (r HubsGetMetadataMetadataResponse) GetBody() []byte
- func (r HubsGetMetadataMetadataResponse) GetJSON200() *Responses200
- func (r HubsGetMetadataMetadataResponse) Status() string
- func (r HubsGetMetadataMetadataResponse) StatusCode() int
- type HubsGetMetadataMetadataResponse200Headers
- type HubsGetPopularInLibrariesParams
- type HubsGetPopularInLibrariesResponse
- func (r HubsGetPopularInLibrariesResponse) ContentType() string
- func (r HubsGetPopularInLibrariesResponse) GetBody() []byte
- func (r HubsGetPopularInLibrariesResponse) GetJSON200() ...
- func (r HubsGetPopularInLibrariesResponse) Status() string
- func (r HubsGetPopularInLibrariesResponse) StatusCode() int
- type HubsGetPopularInLibrariesResponse200Headers
- type HubsGetPromotedParams
- type HubsGetPromotedResponse
- type HubsGetPromotedResponse200Headers
- type HubsGetSearchParams
- type HubsGetSearchResponse
- type HubsGetSearchResponse200Headers
- type HubsGetSectionParams
- type HubsGetSectionParamsOnlyTransient
- type HubsGetSectionResponse
- type HubsGetSectionResponse200Headers
- type HubsGetSlashParams
- type HubsGetSlashParamsOnlyTransient
- type HubsGetSlashResponse
- type HubsGetSlashResponse200Headers
- type HubsSearchGetVoiceParams
- type HubsSearchGetVoiceResponse
- type HubsSearchGetVoiceResponse200Headers
- type HubsSectionsSectionManageDeleteIdentifierResponse
- func (r HubsSectionsSectionManageDeleteIdentifierResponse) ContentType() string
- func (r HubsSectionsSectionManageDeleteIdentifierResponse) GetBody() []byte
- func (r HubsSectionsSectionManageDeleteIdentifierResponse) Status() string
- func (r HubsSectionsSectionManageDeleteIdentifierResponse) StatusCode() int
- type HubsSectionsSectionManageDeleteSlashResponse
- type HubsSectionsSectionManageGetSlash200JSONResponseBodyMediaContainerHubHomeVisibility
- type HubsSectionsSectionManageGetSlash200JSONResponseBodyMediaContainerHubRecommendationsVisibility
- type HubsSectionsSectionManageGetSlashParams
- type HubsSectionsSectionManageGetSlashResponse
- func (r HubsSectionsSectionManageGetSlashResponse) ContentType() string
- func (r HubsSectionsSectionManageGetSlashResponse) GetBody() []byte
- func (r HubsSectionsSectionManageGetSlashResponse) GetJSON200() ...
- func (r HubsSectionsSectionManageGetSlashResponse) Status() string
- func (r HubsSectionsSectionManageGetSlashResponse) StatusCode() int
- type HubsSectionsSectionManageGetSlashResponse200Headers
- type HubsSectionsSectionManagePostSlashParams
- type HubsSectionsSectionManagePostSlashParamsPromotedToOwnHome
- type HubsSectionsSectionManagePostSlashParamsPromotedToRecommended
- type HubsSectionsSectionManagePostSlashParamsPromotedToSharedHome
- type HubsSectionsSectionManagePostSlashResponse
- type HubsSectionsSectionManagePutIdentifierParams
- type HubsSectionsSectionManagePutIdentifierParamsPromotedToOwnHome
- type HubsSectionsSectionManagePutIdentifierParamsPromotedToRecommended
- type HubsSectionsSectionManagePutIdentifierParamsPromotedToSharedHome
- type HubsSectionsSectionManagePutIdentifierResponse
- type HubsSectionsSectionManagePutMove200JSONResponseBodyMediaContainerHubHomeVisibility
- type HubsSectionsSectionManagePutMove200JSONResponseBodyMediaContainerHubRecommendationsVisibility
- type HubsSectionsSectionManagePutMoveParams
- type HubsSectionsSectionManagePutMoveResponse
- func (r HubsSectionsSectionManagePutMoveResponse) ContentType() string
- func (r HubsSectionsSectionManagePutMoveResponse) GetBody() []byte
- func (r HubsSectionsSectionManagePutMoveResponse) GetJSON200() *GetResponses200
- func (r HubsSectionsSectionManagePutMoveResponse) Status() string
- func (r HubsSectionsSectionManagePutMoveResponse) StatusCode() int
- type HubsSectionsSectionManagePutMoveResponse200Headers
- type Image
- type ImageTranscodeParams
- type ImageTranscodeParamsChromaSubsampling
- type ImageTranscodeParamsFormat
- type ImageTranscodeParamsMinSize
- type ImageTranscodeParamsRotate
- type ImageTranscodeParamsUpscale
- type ImageTranscodeResponse
- type ImageType
- type Items
- type Key
- type LibraryCollectionCollectionGetCompositeParams
- type LibraryCollectionCollectionGetCompositeParamsCompositeCrop
- type LibraryCollectionCollectionGetCompositeParamsCompositeFormat
- type LibraryCollectionCollectionGetCompositeParamsCompositeMedia
- type LibraryCollectionCollectionGetCompositeResponse
- type LibraryCollectionCollectionGetItemsResponse
- func (r LibraryCollectionCollectionGetItemsResponse) ContentType() string
- func (r LibraryCollectionCollectionGetItemsResponse) GetBody() []byte
- func (r LibraryCollectionCollectionGetItemsResponse) GetJSON200() *MediaContainerWithMetadata
- func (r LibraryCollectionCollectionGetItemsResponse) Status() string
- func (r LibraryCollectionCollectionGetItemsResponse) StatusCode() int
- type LibraryCollectionCollectionPutItemsItemMoveParams
- type LibraryCollectionCollectionPutItemsItemMoveResponse
- func (r LibraryCollectionCollectionPutItemsItemMoveResponse) ContentType() string
- func (r LibraryCollectionCollectionPutItemsItemMoveResponse) GetBody() []byte
- func (r LibraryCollectionCollectionPutItemsItemMoveResponse) GetJSON200() *MediaContainerWithMetadata
- func (r LibraryCollectionCollectionPutItemsItemMoveResponse) Status() string
- func (r LibraryCollectionCollectionPutItemsItemMoveResponse) StatusCode() int
- type LibraryCollectionCollectionPutItemsItemResponse
- func (r LibraryCollectionCollectionPutItemsItemResponse) ContentType() string
- func (r LibraryCollectionCollectionPutItemsItemResponse) GetBody() []byte
- func (r LibraryCollectionCollectionPutItemsItemResponse) GetJSON200() *MediaContainerWithMetadata
- func (r LibraryCollectionCollectionPutItemsItemResponse) Status() string
- func (r LibraryCollectionCollectionPutItemsItemResponse) StatusCode() int
- type LibraryCollectionCollectionPutItemsParams
- type LibraryCollectionCollectionPutItemsResponse
- func (r LibraryCollectionCollectionPutItemsResponse) ContentType() string
- func (r LibraryCollectionCollectionPutItemsResponse) GetBody() []byte
- func (r LibraryCollectionCollectionPutItemsResponse) GetJSON200() *MediaContainerWithMetadata
- func (r LibraryCollectionCollectionPutItemsResponse) Status() string
- func (r LibraryCollectionCollectionPutItemsResponse) StatusCode() int
- type LibraryCollectionPostSlashParams
- type LibraryCollectionPostSlashResponse
- func (r LibraryCollectionPostSlashResponse) ContentType() string
- func (r LibraryCollectionPostSlashResponse) GetBody() []byte
- func (r LibraryCollectionPostSlashResponse) GetJSON200() *MediaContainerWithMetadata
- func (r LibraryCollectionPostSlashResponse) Status() string
- func (r LibraryCollectionPostSlashResponse) StatusCode() int
- type LibraryDeleteCachesResponse
- type LibraryDeleteSectionParams
- type LibraryDeleteSectionParamsAsync
- type LibraryDeleteSectionResponse
- type LibraryDeleteSectionsAllRefreshResponse
- func (r LibraryDeleteSectionsAllRefreshResponse) ContentType() string
- func (r LibraryDeleteSectionsAllRefreshResponse) GetBody() []byte
- func (r LibraryDeleteSectionsAllRefreshResponse) GetJSON200() *RequestHandlerSlashGetResponses200
- func (r LibraryDeleteSectionsAllRefreshResponse) Status() string
- func (r LibraryDeleteSectionsAllRefreshResponse) StatusCode() int
- type LibraryDeleteStreamsStreamResponse
- type LibraryGetAllParams
- type LibraryGetAllResponse
- type LibraryGetAllResponse200Headers
- type LibraryGetMatchesParams
- type LibraryGetMatchesParamsIncludeAlternateMetadataSources
- type LibraryGetMatchesParamsIncludeAncestorMetadata
- type LibraryGetMatchesParamsIncludeFullMetadata
- type LibraryGetMatchesResponse
- type LibraryGetMatchesResponse200Headers
- type LibraryGetMediaMediaChapterImagesChapterResponse
- func (r LibraryGetMediaMediaChapterImagesChapterResponse) ContentType() string
- func (r LibraryGetMediaMediaChapterImagesChapterResponse) GetBody() []byte
- func (r LibraryGetMediaMediaChapterImagesChapterResponse) Status() string
- func (r LibraryGetMediaMediaChapterImagesChapterResponse) StatusCode() int
- type LibraryGetMetadataAugmentationsAugmentationParams
- type LibraryGetMetadataAugmentationsAugmentationParamsWait
- type LibraryGetMetadataAugmentationsAugmentationResponse
- func (r LibraryGetMetadataAugmentationsAugmentationResponse) ContentType() string
- func (r LibraryGetMetadataAugmentationsAugmentationResponse) GetBody() []byte
- func (r LibraryGetMetadataAugmentationsAugmentationResponse) Status() string
- func (r LibraryGetMetadataAugmentationsAugmentationResponse) StatusCode() int
- type LibraryGetPartsPartChangestampFilenameParams
- type LibraryGetPartsPartChangestampFilenameParamsDownload
- type LibraryGetPartsPartChangestampFilenameResponse
- type LibraryGetPartsPartChangestampFilenameResponse200Headers
- type LibraryGetPartsPartIndexesIndexOffsetParamsIndex
- type LibraryGetPartsPartIndexesIndexOffsetResponse
- type LibraryGetPartsPartIndexesIndexParams
- type LibraryGetPartsPartIndexesIndexParamsIndex
- type LibraryGetPartsPartIndexesIndexResponse
- type LibraryGetPeoplePersonMediaParamsPersonID0
- type LibraryGetPeoplePersonMediaParamsPersonID1
- type LibraryGetPeoplePersonMediaResponse
- func (r LibraryGetPeoplePersonMediaResponse) ContentType() string
- func (r LibraryGetPeoplePersonMediaResponse) GetBody() []byte
- func (r LibraryGetPeoplePersonMediaResponse) GetJSON200() *MediaContainerWithMetadata
- func (r LibraryGetPeoplePersonMediaResponse) Status() string
- func (r LibraryGetPeoplePersonMediaResponse) StatusCode() int
- type LibraryGetPeoplePersonParamsPersonID0
- type LibraryGetPeoplePersonParamsPersonID1
- type LibraryGetPeoplePersonResponse
- type LibraryGetRandomArtworkParams
- type LibraryGetRandomArtworkResponse
- func (r LibraryGetRandomArtworkResponse) ContentType() string
- func (r LibraryGetRandomArtworkResponse) GetBody() []byte
- func (r LibraryGetRandomArtworkResponse) GetJSON200() *MediaContainerWithArtwork
- func (r LibraryGetRandomArtworkResponse) Status() string
- func (r LibraryGetRandomArtworkResponse) StatusCode() int
- type LibraryGetSectionsPrefsParams
- type LibraryGetSectionsPrefsResponse
- func (r LibraryGetSectionsPrefsResponse) ContentType() string
- func (r LibraryGetSectionsPrefsResponse) GetBody() []byte
- func (r LibraryGetSectionsPrefsResponse) GetJSON200() *RequestHandlerSlashGetResponses200
- func (r LibraryGetSectionsPrefsResponse) Status() string
- func (r LibraryGetSectionsPrefsResponse) StatusCode() int
- type LibraryGetSectionsResponse
- type LibraryGetSectionsResponse200Headers
- type LibraryGetStreamsStreamLevelsParams
- type LibraryGetStreamsStreamLevelsResponse
- func (r LibraryGetStreamsStreamLevelsResponse) ContentType() string
- func (r LibraryGetStreamsStreamLevelsResponse) GetBody() []byte
- func (r LibraryGetStreamsStreamLevelsResponse) GetJSON200() ...
- func (r LibraryGetStreamsStreamLevelsResponse) Status() string
- func (r LibraryGetStreamsStreamLevelsResponse) StatusCode() int
- type LibraryGetStreamsStreamLoudnessParams
- type LibraryGetStreamsStreamLoudnessResponse
- type LibraryGetStreamsStreamParams
- type LibraryGetStreamsStreamParamsAutoAdjustSubtitle
- type LibraryGetStreamsStreamResponse
- type LibraryGetTagsParams
- type LibraryGetTagsResponse
- type LibraryMetadataDeleteElementParamsElement
- type LibraryMetadataDeleteElementResponse
- type LibraryMetadataDeleteMarkerMarkerResponse
- type LibraryMetadataDeleteMediaMediaItemParams
- type LibraryMetadataDeleteMediaMediaItemParamsProxy
- type LibraryMetadataDeleteMediaMediaItemResponse
- type LibraryMetadataDeleteSlashParams
- type LibraryMetadataDeleteSlashParamsProxy
- type LibraryMetadataDeleteSlashResponse
- type LibraryMetadataGetAllLeavesResponse
- func (r LibraryMetadataGetAllLeavesResponse) ContentType() string
- func (r LibraryMetadataGetAllLeavesResponse) GetBody() []byte
- func (r LibraryMetadataGetAllLeavesResponse) GetJSON200() *MediaContainerWithMetadata
- func (r LibraryMetadataGetAllLeavesResponse) Status() string
- func (r LibraryMetadataGetAllLeavesResponse) StatusCode() int
- type LibraryMetadataGetAllLeavesResponse200Headers
- type LibraryMetadataGetElementParamsElement
- type LibraryMetadataGetElementResponse
- type LibraryMetadataGetExtrasResponse
- func (r LibraryMetadataGetExtrasResponse) ContentType() string
- func (r LibraryMetadataGetExtrasResponse) GetBody() []byte
- func (r LibraryMetadataGetExtrasResponse) GetJSON200() *MediaContainerWithMetadata
- func (r LibraryMetadataGetExtrasResponse) Status() string
- func (r LibraryMetadataGetExtrasResponse) StatusCode() int
- type LibraryMetadataGetExtrasResponse200Headers
- type LibraryMetadataGetFileParams
- type LibraryMetadataGetFileResponse
- type LibraryMetadataGetMatchesParams
- type LibraryMetadataGetMatchesParamsManual
- type LibraryMetadataGetMatchesResponse
- func (r LibraryMetadataGetMatchesResponse) ContentType() string
- func (r LibraryMetadataGetMatchesResponse) GetBody() []byte
- func (r LibraryMetadataGetMatchesResponse) GetJSON200() *MediaContainerWithMetadata
- func (r LibraryMetadataGetMatchesResponse) Status() string
- func (r LibraryMetadataGetMatchesResponse) StatusCode() int
- type LibraryMetadataGetNearestParams
- type LibraryMetadataGetNearestResponse
- func (r LibraryMetadataGetNearestResponse) ContentType() string
- func (r LibraryMetadataGetNearestResponse) GetBody() []byte
- func (r LibraryMetadataGetNearestResponse) GetJSON200() *MediaContainerWithMetadata
- func (r LibraryMetadataGetNearestResponse) Status() string
- func (r LibraryMetadataGetNearestResponse) StatusCode() int
- type LibraryMetadataGetRelatedResponse
- func (r LibraryMetadataGetRelatedResponse) ContentType() string
- func (r LibraryMetadataGetRelatedResponse) GetBody() []byte
- func (r LibraryMetadataGetRelatedResponse) GetJSON200() ...
- func (r LibraryMetadataGetRelatedResponse) Status() string
- func (r LibraryMetadataGetRelatedResponse) StatusCode() int
- type LibraryMetadataGetSimilarParams
- type LibraryMetadataGetSimilarResponse
- func (r LibraryMetadataGetSimilarResponse) ContentType() string
- func (r LibraryMetadataGetSimilarResponse) GetBody() []byte
- func (r LibraryMetadataGetSimilarResponse) GetJSON200() *MediaContainerWithMetadata
- func (r LibraryMetadataGetSimilarResponse) Status() string
- func (r LibraryMetadataGetSimilarResponse) StatusCode() int
- type LibraryMetadataGetSlashParams
- type LibraryMetadataGetSlashParamsAsyncAugmentMetadata
- type LibraryMetadataGetSlashParamsAsyncCheckFiles
- type LibraryMetadataGetSlashParamsAsyncRefreshAnalysis
- type LibraryMetadataGetSlashParamsAsyncRefreshLocalMediaAgent
- type LibraryMetadataGetSlashParamsAugmentCount
- type LibraryMetadataGetSlashParamsCheckFileAvailability
- type LibraryMetadataGetSlashParamsCheckFiles
- type LibraryMetadataGetSlashParamsSkipRefresh
- type LibraryMetadataGetSlashResponse
- func (r LibraryMetadataGetSlashResponse) ContentType() string
- func (r LibraryMetadataGetSlashResponse) GetBody() []byte
- func (r LibraryMetadataGetSlashResponse) GetJSON200() *MediaContainerWithMetadata
- func (r LibraryMetadataGetSlashResponse) Status() string
- func (r LibraryMetadataGetSlashResponse) StatusCode() int
- type LibraryMetadataGetSlashResponse200Headers
- type LibraryMetadataGetTreeResponse
- func (r LibraryMetadataGetTreeResponse) ContentType() string
- func (r LibraryMetadataGetTreeResponse) GetBody() []byte
- func (r LibraryMetadataGetTreeResponse) GetJSON200() *MediaContainerWithNestedMetadata
- func (r LibraryMetadataGetTreeResponse) Status() string
- func (r LibraryMetadataGetTreeResponse) StatusCode() int
- type LibraryMetadataGetUsersTopResponse
- func (r LibraryMetadataGetUsersTopResponse) ContentType() string
- func (r LibraryMetadataGetUsersTopResponse) GetBody() []byte
- func (r LibraryMetadataGetUsersTopResponse) GetJSON200() ...
- func (r LibraryMetadataGetUsersTopResponse) Status() string
- func (r LibraryMetadataGetUsersTopResponse) StatusCode() int
- type LibraryMetadataPostElementParams
- type LibraryMetadataPostElementParamsElement
- type LibraryMetadataPostElementResponse
- type LibraryMetadataPostExtrasParams
- type LibraryMetadataPostExtrasResponse
- type LibraryMetadataPostMarker200JSONResponseBodyMediaContainerType
- type LibraryMetadataPostMarker200JSONResponseBody_MediaContainer
- func (a LibraryMetadataPostMarker200JSONResponseBody_MediaContainer) Get(fieldName string) (value interface{}, found bool)
- func (a LibraryMetadataPostMarker200JSONResponseBody_MediaContainer) MarshalJSON() ([]byte, error)
- func (a *LibraryMetadataPostMarker200JSONResponseBody_MediaContainer) Set(fieldName string, value interface{})
- func (a *LibraryMetadataPostMarker200JSONResponseBody_MediaContainer) UnmarshalJSON(b []byte) error
- type LibraryMetadataPostMarkerParams
- type LibraryMetadataPostMarkerResponse
- func (r LibraryMetadataPostMarkerResponse) ContentType() string
- func (r LibraryMetadataPostMarkerResponse) GetBody() []byte
- func (r LibraryMetadataPostMarkerResponse) GetJSON200() ...
- func (r LibraryMetadataPostMarkerResponse) Status() string
- func (r LibraryMetadataPostMarkerResponse) StatusCode() int
- type LibraryMetadataPostSubtitlesParams
- type LibraryMetadataPostSubtitlesParamsForced
- type LibraryMetadataPostSubtitlesParamsHearingImpaired
- type LibraryMetadataPostSubtitlesResponse
- type LibraryMetadataPutAddetectResponse
- type LibraryMetadataPutAnalyzeLoudnessParams
- type LibraryMetadataPutAnalyzeLoudnessParamsForce
- type LibraryMetadataPutAnalyzeLoudnessParamsManual
- type LibraryMetadataPutAnalyzeLoudnessResponse
- type LibraryMetadataPutAnalyzeParams
- type LibraryMetadataPutAnalyzeResponse
- type LibraryMetadataPutChapterThumbsParams
- type LibraryMetadataPutChapterThumbsParamsForce
- type LibraryMetadataPutChapterThumbsResponse
- type LibraryMetadataPutCreditsParams
- type LibraryMetadataPutCreditsParamsForce
- type LibraryMetadataPutCreditsParamsManual
- type LibraryMetadataPutCreditsResponse
- type LibraryMetadataPutElementParams
- type LibraryMetadataPutElementParamsElement
- type LibraryMetadataPutElementResponse
- type LibraryMetadataPutIndexParams
- type LibraryMetadataPutIndexParamsForce
- type LibraryMetadataPutIndexResponse
- type LibraryMetadataPutIntroParams
- type LibraryMetadataPutIntroParamsForce
- type LibraryMetadataPutIntroResponse
- type LibraryMetadataPutMarkerMarker200JSONResponseBodyMediaContainerType
- type LibraryMetadataPutMarkerMarker200JSONResponseBody_MediaContainer
- func (a LibraryMetadataPutMarkerMarker200JSONResponseBody_MediaContainer) Get(fieldName string) (value interface{}, found bool)
- func (a LibraryMetadataPutMarkerMarker200JSONResponseBody_MediaContainer) MarshalJSON() ([]byte, error)
- func (a *LibraryMetadataPutMarkerMarker200JSONResponseBody_MediaContainer) Set(fieldName string, value interface{})
- func (a *LibraryMetadataPutMarkerMarker200JSONResponseBody_MediaContainer) UnmarshalJSON(b []byte) error
- type LibraryMetadataPutMarkerMarkerParams
- type LibraryMetadataPutMarkerMarkerResponse
- func (r LibraryMetadataPutMarkerMarkerResponse) ContentType() string
- func (r LibraryMetadataPutMarkerMarkerResponse) GetBody() []byte
- func (r LibraryMetadataPutMarkerMarkerResponse) GetJSON200() *PostResponses200
- func (r LibraryMetadataPutMarkerMarkerResponse) Status() string
- func (r LibraryMetadataPutMarkerMarkerResponse) StatusCode() int
- type LibraryMetadataPutMatchParams
- type LibraryMetadataPutMatchResponse
- type LibraryMetadataPutMergeParams
- type LibraryMetadataPutMergeResponse
- type LibraryMetadataPutPrefsParams
- type LibraryMetadataPutPrefsResponse
- type LibraryMetadataPutRefreshParams
- type LibraryMetadataPutRefreshParamsMarkUpdated
- type LibraryMetadataPutRefreshResponse
- type LibraryMetadataPutSlashParams
- type LibraryMetadataPutSlashResponse
- type LibraryMetadataPutSplitResponse
- type LibraryMetadataPutUnmatchResponse
- type LibraryMetadataPutVoiceActivityParams
- type LibraryMetadataPutVoiceActivityParamsForce
- type LibraryMetadataPutVoiceActivityParamsManual
- type LibraryMetadataPutVoiceActivityResponse
- type LibraryPostFileParams
- type LibraryPostFileParamsComputeHashes
- type LibraryPostFileParamsIngestNonMatches
- type LibraryPostFileResponse
- type LibraryPostFileResponse200Headers
- type LibraryPostSectionParams
- type LibraryPostSectionParamsImportFromiTunes
- type LibraryPostSectionParamsRelative
- type LibraryPostSectionResponse
- type LibraryPostSectionsRefreshParams
- type LibraryPostSectionsRefreshResponse
- type LibraryPutCleanBundlesResponse
- type LibraryPutOptimizeParams
- type LibraryPutOptimizeParamsAsync
- type LibraryPutOptimizeResponse
- type LibraryPutPartsPartParams
- type LibraryPutPartsPartParamsAllParts
- type LibraryPutPartsPartResponse
- type LibraryPutStreamsStreamParams
- type LibraryPutStreamsStreamResponse
- type LibrarySection
- type LibrarySectionDeleteCollectionCollectionResponse
- func (r LibrarySectionDeleteCollectionCollectionResponse) ContentType() string
- func (r LibrarySectionDeleteCollectionCollectionResponse) GetBody() []byte
- func (r LibrarySectionDeleteCollectionCollectionResponse) Status() string
- func (r LibrarySectionDeleteCollectionCollectionResponse) StatusCode() int
- type LibrarySectionDeleteIndexesResponse
- type LibrarySectionDeleteIntrosResponse
- type LibrarySectionDeleteRefreshResponse
- type LibrarySectionGetAlbumsResponse
- func (r LibrarySectionGetAlbumsResponse) ContentType() string
- func (r LibrarySectionGetAlbumsResponse) GetBody() []byte
- func (r LibrarySectionGetAlbumsResponse) GetJSON200() *MediaContainerWithMetadata
- func (r LibrarySectionGetAlbumsResponse) Status() string
- func (r LibrarySectionGetAlbumsResponse) StatusCode() int
- type LibrarySectionGetAllLeavesResponse
- func (r LibrarySectionGetAllLeavesResponse) ContentType() string
- func (r LibrarySectionGetAllLeavesResponse) GetBody() []byte
- func (r LibrarySectionGetAllLeavesResponse) GetJSON200() *MediaContainerWithMetadata
- func (r LibrarySectionGetAllLeavesResponse) Status() string
- func (r LibrarySectionGetAllLeavesResponse) StatusCode() int
- type LibrarySectionGetAllParams
- type LibrarySectionGetAllResponse
- func (r LibrarySectionGetAllResponse) ContentType() string
- func (r LibrarySectionGetAllResponse) GetBody() []byte
- func (r LibrarySectionGetAllResponse) GetJSON200() *MediaContainerWithMetadata
- func (r LibrarySectionGetAllResponse) Status() string
- func (r LibrarySectionGetAllResponse) StatusCode() int
- type LibrarySectionGetAllResponse200Headers
- type LibrarySectionGetArtsResponse
- func (r LibrarySectionGetArtsResponse) ContentType() string
- func (r LibrarySectionGetArtsResponse) GetBody() []byte
- func (r LibrarySectionGetArtsResponse) GetJSON200() *MediaContainerWithArtwork
- func (r LibrarySectionGetArtsResponse) Status() string
- func (r LibrarySectionGetArtsResponse) StatusCode() int
- type LibrarySectionGetAudioCodecsParams
- type LibrarySectionGetAudioCodecsResponse
- func (r LibrarySectionGetAudioCodecsResponse) ContentType() string
- func (r LibrarySectionGetAudioCodecsResponse) GetBody() []byte
- func (r LibrarySectionGetAudioCodecsResponse) GetJSON200() ...
- func (r LibrarySectionGetAudioCodecsResponse) Status() string
- func (r LibrarySectionGetAudioCodecsResponse) StatusCode() int
- type LibrarySectionGetAudioLayoutsParams
- type LibrarySectionGetAudioLayoutsResponse
- func (r LibrarySectionGetAudioLayoutsResponse) ContentType() string
- func (r LibrarySectionGetAudioLayoutsResponse) GetBody() []byte
- func (r LibrarySectionGetAudioLayoutsResponse) GetJSON200() ...
- func (r LibrarySectionGetAudioLayoutsResponse) Status() string
- func (r LibrarySectionGetAudioLayoutsResponse) StatusCode() int
- type LibrarySectionGetAutocompleteParams
- type LibrarySectionGetAutocompleteResponse
- func (r LibrarySectionGetAutocompleteResponse) ContentType() string
- func (r LibrarySectionGetAutocompleteResponse) GetBody() []byte
- func (r LibrarySectionGetAutocompleteResponse) GetJSON200() *MediaContainerWithMetadata
- func (r LibrarySectionGetAutocompleteResponse) Status() string
- func (r LibrarySectionGetAutocompleteResponse) StatusCode() int
- type LibrarySectionGetAutocompleteResponse200Headers
- type LibrarySectionGetCategoriesResponse
- func (r LibrarySectionGetCategoriesResponse) ContentType() string
- func (r LibrarySectionGetCategoriesResponse) GetBody() []byte
- func (r LibrarySectionGetCategoriesResponse) GetJSON200() *MediaContainerWithArtwork
- func (r LibrarySectionGetCategoriesResponse) Status() string
- func (r LibrarySectionGetCategoriesResponse) StatusCode() int
- type LibrarySectionGetClusterResponse
- func (r LibrarySectionGetClusterResponse) ContentType() string
- func (r LibrarySectionGetClusterResponse) GetBody() []byte
- func (r LibrarySectionGetClusterResponse) GetJSON200() *MediaContainerWithArtwork
- func (r LibrarySectionGetClusterResponse) Status() string
- func (r LibrarySectionGetClusterResponse) StatusCode() int
- type LibrarySectionGetCollectionsParams
- type LibrarySectionGetCollectionsResponse
- func (r LibrarySectionGetCollectionsResponse) ContentType() string
- func (r LibrarySectionGetCollectionsResponse) GetBody() []byte
- func (r LibrarySectionGetCollectionsResponse) GetJSON200() *MediaContainerWithMetadata
- func (r LibrarySectionGetCollectionsResponse) Status() string
- func (r LibrarySectionGetCollectionsResponse) StatusCode() int
- type LibrarySectionGetCollectionsResponse200Headers
- type LibrarySectionGetCommonParams
- type LibrarySectionGetCommonResponse
- func (r LibrarySectionGetCommonResponse) ContentType() string
- func (r LibrarySectionGetCommonResponse) GetBody() []byte
- func (r LibrarySectionGetCommonResponse) GetJSON200() *MediaContainerWithMetadata
- func (r LibrarySectionGetCommonResponse) Status() string
- func (r LibrarySectionGetCommonResponse) StatusCode() int
- type LibrarySectionGetCommonResponse200Headers
- type LibrarySectionGetCompositeParams
- type LibrarySectionGetCompositeParamsCompositeCrop
- type LibrarySectionGetCompositeParamsCompositeFormat
- type LibrarySectionGetCompositeParamsCompositeMedia
- type LibrarySectionGetCompositeResponse
- type LibrarySectionGetComputePathParams
- type LibrarySectionGetComputePathResponse
- func (r LibrarySectionGetComputePathResponse) ContentType() string
- func (r LibrarySectionGetComputePathResponse) GetBody() []byte
- func (r LibrarySectionGetComputePathResponse) GetJSON200() *MediaContainerWithMetadata
- func (r LibrarySectionGetComputePathResponse) Status() string
- func (r LibrarySectionGetComputePathResponse) StatusCode() int
- type LibrarySectionGetFiltersResponse
- type LibrarySectionGetFirstCharatersParams
- type LibrarySectionGetFirstCharatersResponse
- func (r LibrarySectionGetFirstCharatersResponse) ContentType() string
- func (r LibrarySectionGetFirstCharatersResponse) GetBody() []byte
- func (r LibrarySectionGetFirstCharatersResponse) GetJSON200() ...
- func (r LibrarySectionGetFirstCharatersResponse) Status() string
- func (r LibrarySectionGetFirstCharatersResponse) StatusCode() int
- type LibrarySectionGetLocationsResponse
- func (r LibrarySectionGetLocationsResponse) ContentType() string
- func (r LibrarySectionGetLocationsResponse) GetBody() []byte
- func (r LibrarySectionGetLocationsResponse) GetJSON200() ...
- func (r LibrarySectionGetLocationsResponse) Status() string
- func (r LibrarySectionGetLocationsResponse) StatusCode() int
- type LibrarySectionGetMomentResponse
- func (r LibrarySectionGetMomentResponse) ContentType() string
- func (r LibrarySectionGetMomentResponse) GetBody() []byte
- func (r LibrarySectionGetMomentResponse) GetJSON200() *MediaContainerWithArtwork
- func (r LibrarySectionGetMomentResponse) Status() string
- func (r LibrarySectionGetMomentResponse) StatusCode() int
- type LibrarySectionGetNearestParams
- type LibrarySectionGetNearestResponse
- func (r LibrarySectionGetNearestResponse) ContentType() string
- func (r LibrarySectionGetNearestResponse) GetBody() []byte
- func (r LibrarySectionGetNearestResponse) GetJSON200() *MediaContainerWithMetadata
- func (r LibrarySectionGetNearestResponse) Status() string
- func (r LibrarySectionGetNearestResponse) StatusCode() int
- type LibrarySectionGetPrefsParams
- type LibrarySectionGetPrefsResponse
- func (r LibrarySectionGetPrefsResponse) ContentType() string
- func (r LibrarySectionGetPrefsResponse) GetBody() []byte
- func (r LibrarySectionGetPrefsResponse) GetJSON200() *MediaContainerWithSettings
- func (r LibrarySectionGetPrefsResponse) Status() string
- func (r LibrarySectionGetPrefsResponse) StatusCode() int
- type LibrarySectionGetSectionParams
- type LibrarySectionGetSectionParamsIncludeDetails
- type LibrarySectionGetSectionResponse
- type LibrarySectionGetSortsResponse
- type LibrarySectionGetSubtitleCodecsParams
- type LibrarySectionGetSubtitleCodecsResponse
- func (r LibrarySectionGetSubtitleCodecsResponse) ContentType() string
- func (r LibrarySectionGetSubtitleCodecsResponse) GetBody() []byte
- func (r LibrarySectionGetSubtitleCodecsResponse) GetJSON200() ...
- func (r LibrarySectionGetSubtitleCodecsResponse) Status() string
- func (r LibrarySectionGetSubtitleCodecsResponse) StatusCode() int
- type LibrarySectionGetVideoCodecsParams
- type LibrarySectionGetVideoCodecsResponse
- func (r LibrarySectionGetVideoCodecsResponse) ContentType() string
- func (r LibrarySectionGetVideoCodecsResponse) GetBody() []byte
- func (r LibrarySectionGetVideoCodecsResponse) GetJSON200() ...
- func (r LibrarySectionGetVideoCodecsResponse) Status() string
- func (r LibrarySectionGetVideoCodecsResponse) StatusCode() int
- type LibrarySectionPostRefreshParams
- type LibrarySectionPostRefreshParamsForce
- type LibrarySectionPostRefreshResponse
- type LibrarySectionPutAllParams
- type LibrarySectionPutAllParamsFieldLocked
- type LibrarySectionPutAllResponse
- type LibrarySectionPutAnalyzeResponse
- type LibrarySectionPutEmptyTrashResponse
- type LibrarySectionPutPrefsParams
- type LibrarySectionPutPrefsResponse
- type LibrarySectionPutSectionParams
- type LibrarySectionPutSectionResponse
- type LineupItems
- type LineupItemsLineupType
- type LivetvDVRDeleteDVRDeviceResponse
- type LivetvDVRDeleteDVRDeviceResponse200Headers
- type LivetvDVRDeleteDVRResponse
- type LivetvDVRDeleteLineupParams
- type LivetvDVRDeleteLineupResponse
- type LivetvDVRDeleteLineupResponse200Headers
- type LivetvDVRDeleteReloadGuideResponse
- type LivetvDVRGetDVRResponse
- type LivetvDVRGetDVRResponse200Headers
- type LivetvDVRGetSlashResponse
- type LivetvDVRGetSlashResponse200Headers
- type LivetvDVRPostChannelsChannelTuneResponse
- func (r LivetvDVRPostChannelsChannelTuneResponse) ContentType() string
- func (r LivetvDVRPostChannelsChannelTuneResponse) GetBody() []byte
- func (r LivetvDVRPostChannelsChannelTuneResponse) GetJSON200() *MediaContainerWithMetadata
- func (r LivetvDVRPostChannelsChannelTuneResponse) Status() string
- func (r LivetvDVRPostChannelsChannelTuneResponse) StatusCode() int
- type LivetvDVRPostChannelsChannelTuneResponse200Headers
- type LivetvDVRPostReloadGuideResponse
- type LivetvDVRPostReloadGuideResponse200Headers
- type LivetvDVRPostSlashParams
- type LivetvDVRPostSlashResponse
- func (r LivetvDVRPostSlashResponse) ContentType() string
- func (r LivetvDVRPostSlashResponse) GetBody() []byte
- func (r LivetvDVRPostSlashResponse) GetJSON200() *DVRRequestHandlerSlashGetResponses200
- func (r LivetvDVRPostSlashResponse) Status() string
- func (r LivetvDVRPostSlashResponse) StatusCode() int
- type LivetvDVRPostSlashResponse200Headers
- type LivetvDVRPutDVRDeviceResponse
- type LivetvDVRPutDVRDeviceResponse200Headers
- type LivetvDVRPutLineupParams
- type LivetvDVRPutLineupResponse
- type LivetvDVRPutLineupResponse200Headers
- type LivetvDVRPutPrefsParams
- type LivetvDVRPutPrefsResponse
- type LivetvDVRPutPrefsResponse200Headers
- type LivetvEPGGetChannelmapParams
- type LivetvEPGGetChannelmapResponse
- type LivetvEPGGetChannelmapResponse200Headers
- type LivetvEPGGetChannelsParams
- type LivetvEPGGetChannelsResponse
- type LivetvEPGGetChannelsResponse200Headers
- type LivetvEPGGetCountries200JSONResponseBodyMediaContainerCountryFlavor
- type LivetvEPGGetCountriesCountryLineupsParams
- type LivetvEPGGetCountriesCountryLineupsResponse
- func (r LivetvEPGGetCountriesCountryLineupsResponse) ContentType() string
- func (r LivetvEPGGetCountriesCountryLineupsResponse) GetBody() []byte
- func (r LivetvEPGGetCountriesCountryLineupsResponse) GetJSON200() *MediaContainerWithLineup
- func (r LivetvEPGGetCountriesCountryLineupsResponse) Status() string
- func (r LivetvEPGGetCountriesCountryLineupsResponse) StatusCode() int
- type LivetvEPGGetCountriesCountryRegionsRegionLineupsResponse
- func (r LivetvEPGGetCountriesCountryRegionsRegionLineupsResponse) ContentType() string
- func (r LivetvEPGGetCountriesCountryRegionsRegionLineupsResponse) GetBody() []byte
- func (r LivetvEPGGetCountriesCountryRegionsRegionLineupsResponse) GetJSON200() *MediaContainerWithLineup
- func (r LivetvEPGGetCountriesCountryRegionsRegionLineupsResponse) Status() string
- func (r LivetvEPGGetCountriesCountryRegionsRegionLineupsResponse) StatusCode() int
- type LivetvEPGGetCountriesCountryRegionsRegionLineupsResponse200Headers
- type LivetvEPGGetCountriesCountryRegionsResponse
- func (r LivetvEPGGetCountriesCountryRegionsResponse) ContentType() string
- func (r LivetvEPGGetCountriesCountryRegionsResponse) GetBody() []byte
- func (r LivetvEPGGetCountriesCountryRegionsResponse) GetJSON200() ...
- func (r LivetvEPGGetCountriesCountryRegionsResponse) Status() string
- func (r LivetvEPGGetCountriesCountryRegionsResponse) StatusCode() int
- type LivetvEPGGetCountriesCountryRegionsResponse200Headers
- type LivetvEPGGetCountriesResponse
- type LivetvEPGGetCountriesResponse200Headers
- type LivetvEPGGetLanguagesResponse
- type LivetvEPGGetLanguagesResponse200Headers
- type LivetvEPGGetLineupParams
- type LivetvEPGGetLineupResponse
- type LivetvEPGGetLineupResponse200Headers
- type LivetvEPGGetLineupchannels200JSONResponseBodyMediaContainerLineupLineupType
- type LivetvEPGGetLineupchannelsParams
- type LivetvEPGGetLineupchannelsResponse
- func (r LivetvEPGGetLineupchannelsResponse) ContentType() string
- func (r LivetvEPGGetLineupchannelsResponse) GetBody() []byte
- func (r LivetvEPGGetLineupchannelsResponse) GetJSON200() ...
- func (r LivetvEPGGetLineupchannelsResponse) Status() string
- func (r LivetvEPGGetLineupchannelsResponse) StatusCode() int
- type LivetvSessionsGetSessionConsumerIndexResponse
- type LivetvSessionsGetSessionConsumerSegmentResponse
- type LivetvSessionsGetSessionResponse
- func (r LivetvSessionsGetSessionResponse) ContentType() string
- func (r LivetvSessionsGetSessionResponse) GetBody() []byte
- func (r LivetvSessionsGetSessionResponse) GetJSON200() *MediaContainerWithMetadata
- func (r LivetvSessionsGetSessionResponse) Status() string
- func (r LivetvSessionsGetSessionResponse) StatusCode() int
- type LivetvSessionsGetSessionResponse200Headers
- type LivetvSessionsGetSlashResponse
- func (r LivetvSessionsGetSlashResponse) ContentType() string
- func (r LivetvSessionsGetSlashResponse) GetBody() []byte
- func (r LivetvSessionsGetSlashResponse) GetJSON200() *MediaContainerWithMetadata
- func (r LivetvSessionsGetSlashResponse) Status() string
- func (r LivetvSessionsGetSlashResponse) StatusCode() int
- type LivetvSessionsGetSlashResponse200Headers
- type LocationParam
- type LogPostPapertrailParams
- type LogPostPapertrailResponse
- type LogPostSlashResponse
- type LogPostSlashTextBody
- type LogPostSlashTextRequestBody
- type LogPutSlashParams
- type LogPutSlashParamsLevel
- type LogPutSlashResponse
- type Media
- type MediaBufferSizeParam
- type MediaContainer
- type MediaContainerRoot
- type MediaContainerWithArtwork
- type MediaContainerWithArtworkMediaContainerMetadataType
- type MediaContainerWithArtwork_MediaContainer_Metadata_Item
- func (a MediaContainerWithArtwork_MediaContainer_Metadata_Item) Get(fieldName string) (value interface{}, found bool)
- func (a MediaContainerWithArtwork_MediaContainer_Metadata_Item) MarshalJSON() ([]byte, error)
- func (a *MediaContainerWithArtwork_MediaContainer_Metadata_Item) Set(fieldName string, value interface{})
- func (a *MediaContainerWithArtwork_MediaContainer_Metadata_Item) UnmarshalJSON(b []byte) error
- type MediaContainerWithDecision
- type MediaContainerWithDecisionMediaContainerMetadataMediaPartDecision
- type MediaContainerWithDecisionMediaContainerMetadataMediaPartStreamDecision
- type MediaContainerWithDecisionMediaContainerMetadataMediaPartStreamLocation
- type MediaContainerWithDecision_MediaContainer
- func (a MediaContainerWithDecision_MediaContainer) Get(fieldName string) (value interface{}, found bool)
- func (a MediaContainerWithDecision_MediaContainer) MarshalJSON() ([]byte, error)
- func (a *MediaContainerWithDecision_MediaContainer) Set(fieldName string, value interface{})
- func (a *MediaContainerWithDecision_MediaContainer) UnmarshalJSON(b []byte) error
- type MediaContainerWithDecision_MediaContainer_Metadata_Item
- func (a MediaContainerWithDecision_MediaContainer_Metadata_Item) Get(fieldName string) (value interface{}, found bool)
- func (a MediaContainerWithDecision_MediaContainer_Metadata_Item) MarshalJSON() ([]byte, error)
- func (a *MediaContainerWithDecision_MediaContainer_Metadata_Item) Set(fieldName string, value interface{})
- func (a *MediaContainerWithDecision_MediaContainer_Metadata_Item) UnmarshalJSON(b []byte) error
- type MediaContainerWithDecision_MediaContainer_Metadata_Media_Item
- func (a MediaContainerWithDecision_MediaContainer_Metadata_Media_Item) Get(fieldName string) (value interface{}, found bool)
- func (a MediaContainerWithDecision_MediaContainer_Metadata_Media_Item) MarshalJSON() ([]byte, error)
- func (a *MediaContainerWithDecision_MediaContainer_Metadata_Media_Item) Set(fieldName string, value interface{})
- func (a *MediaContainerWithDecision_MediaContainer_Metadata_Media_Item) UnmarshalJSON(b []byte) error
- type MediaContainerWithDecision_MediaContainer_Metadata_Media_Part_Item
- func (a MediaContainerWithDecision_MediaContainer_Metadata_Media_Part_Item) Get(fieldName string) (value interface{}, found bool)
- func (a MediaContainerWithDecision_MediaContainer_Metadata_Media_Part_Item) MarshalJSON() ([]byte, error)
- func (a *MediaContainerWithDecision_MediaContainer_Metadata_Media_Part_Item) Set(fieldName string, value interface{})
- func (a *MediaContainerWithDecision_MediaContainer_Metadata_Media_Part_Item) UnmarshalJSON(b []byte) error
- type MediaContainerWithDecision_MediaContainer_Metadata_Media_Part_Stream_Item
- func (a MediaContainerWithDecision_MediaContainer_Metadata_Media_Part_Stream_Item) Get(fieldName string) (value interface{}, found bool)
- func (a MediaContainerWithDecision_MediaContainer_Metadata_Media_Part_Stream_Item) MarshalJSON() ([]byte, error)
- func (a *MediaContainerWithDecision_MediaContainer_Metadata_Media_Part_Stream_Item) Set(fieldName string, value interface{})
- func (a *MediaContainerWithDecision_MediaContainer_Metadata_Media_Part_Stream_Item) UnmarshalJSON(b []byte) error
- type MediaContainerWithDevice
- type MediaContainerWithLineup
- type MediaContainerWithLineupMediaContainerLineupLineupType
- type MediaContainerWithMetadata
- type MediaContainerWithMetadata_MediaContainer
- func (a MediaContainerWithMetadata_MediaContainer) Get(fieldName string) (value interface{}, found bool)
- func (a MediaContainerWithMetadata_MediaContainer) MarshalJSON() ([]byte, error)
- func (a *MediaContainerWithMetadata_MediaContainer) Set(fieldName string, value interface{})
- func (a *MediaContainerWithMetadata_MediaContainer) UnmarshalJSON(b []byte) error
- type MediaContainerWithNestedMetadata
- type MediaContainerWithNestedMetadata_MediaContainer_MetadataItem_Item
- func (a MediaContainerWithNestedMetadata_MediaContainer_MetadataItem_Item) Get(fieldName string) (value interface{}, found bool)
- func (a MediaContainerWithNestedMetadata_MediaContainer_MetadataItem_Item) MarshalJSON() ([]byte, error)
- func (a *MediaContainerWithNestedMetadata_MediaContainer_MetadataItem_Item) Set(fieldName string, value interface{})
- func (a *MediaContainerWithNestedMetadata_MediaContainer_MetadataItem_Item) UnmarshalJSON(b []byte) error
- type MediaContainerWithPlaylistMetadata
- type MediaContainerWithPlaylistMetadataMediaContainerMetadataPlaylistType
- type MediaContainerWithPlaylistMetadata_MediaContainer
- func (a MediaContainerWithPlaylistMetadata_MediaContainer) Get(fieldName string) (value interface{}, found bool)
- func (a MediaContainerWithPlaylistMetadata_MediaContainer) MarshalJSON() ([]byte, error)
- func (a *MediaContainerWithPlaylistMetadata_MediaContainer) Set(fieldName string, value interface{})
- func (a *MediaContainerWithPlaylistMetadata_MediaContainer) UnmarshalJSON(b []byte) error
- type MediaContainerWithPlaylistMetadata_MediaContainer_Metadata_Item
- func (a MediaContainerWithPlaylistMetadata_MediaContainer_Metadata_Item) Get(fieldName string) (value interface{}, found bool)
- func (a MediaContainerWithPlaylistMetadata_MediaContainer_Metadata_Item) MarshalJSON() ([]byte, error)
- func (a *MediaContainerWithPlaylistMetadata_MediaContainer_Metadata_Item) Set(fieldName string, value interface{})
- func (a *MediaContainerWithPlaylistMetadata_MediaContainer_Metadata_Item) UnmarshalJSON(b []byte) error
- type MediaContainerWithSettings
- type MediaContainerWithSettingsMediaContainerSettingDefault0
- type MediaContainerWithSettingsMediaContainerSettingDefault1
- type MediaContainerWithSettingsMediaContainerSettingDefault2
- type MediaContainerWithSettingsMediaContainerSettingType
- type MediaContainerWithSettingsMediaContainerSettingValue0
- type MediaContainerWithSettingsMediaContainerSettingValue1
- type MediaContainerWithSettingsMediaContainerSettingValue2
- type MediaContainerWithSettings_MediaContainer_Setting_Default
- func (t MediaContainerWithSettings_MediaContainer_Setting_Default) AsMediaContainerWithSettingsMediaContainerSettingDefault0() (MediaContainerWithSettingsMediaContainerSettingDefault0, error)
- func (t MediaContainerWithSettings_MediaContainer_Setting_Default) AsMediaContainerWithSettingsMediaContainerSettingDefault1() (MediaContainerWithSettingsMediaContainerSettingDefault1, error)
- func (t MediaContainerWithSettings_MediaContainer_Setting_Default) AsMediaContainerWithSettingsMediaContainerSettingDefault2() (MediaContainerWithSettingsMediaContainerSettingDefault2, error)
- func (t *MediaContainerWithSettings_MediaContainer_Setting_Default) FromMediaContainerWithSettingsMediaContainerSettingDefault0(v MediaContainerWithSettingsMediaContainerSettingDefault0) error
- func (t *MediaContainerWithSettings_MediaContainer_Setting_Default) FromMediaContainerWithSettingsMediaContainerSettingDefault1(v MediaContainerWithSettingsMediaContainerSettingDefault1) error
- func (t *MediaContainerWithSettings_MediaContainer_Setting_Default) FromMediaContainerWithSettingsMediaContainerSettingDefault2(v MediaContainerWithSettingsMediaContainerSettingDefault2) error
- func (t MediaContainerWithSettings_MediaContainer_Setting_Default) MarshalJSON() ([]byte, error)
- func (t *MediaContainerWithSettings_MediaContainer_Setting_Default) MergeMediaContainerWithSettingsMediaContainerSettingDefault0(v MediaContainerWithSettingsMediaContainerSettingDefault0) error
- func (t *MediaContainerWithSettings_MediaContainer_Setting_Default) MergeMediaContainerWithSettingsMediaContainerSettingDefault1(v MediaContainerWithSettingsMediaContainerSettingDefault1) error
- func (t *MediaContainerWithSettings_MediaContainer_Setting_Default) MergeMediaContainerWithSettingsMediaContainerSettingDefault2(v MediaContainerWithSettingsMediaContainerSettingDefault2) error
- func (t *MediaContainerWithSettings_MediaContainer_Setting_Default) UnmarshalJSON(b []byte) error
- type MediaContainerWithSettings_MediaContainer_Setting_Value
- func (t MediaContainerWithSettings_MediaContainer_Setting_Value) AsMediaContainerWithSettingsMediaContainerSettingValue0() (MediaContainerWithSettingsMediaContainerSettingValue0, error)
- func (t MediaContainerWithSettings_MediaContainer_Setting_Value) AsMediaContainerWithSettingsMediaContainerSettingValue1() (MediaContainerWithSettingsMediaContainerSettingValue1, error)
- func (t MediaContainerWithSettings_MediaContainer_Setting_Value) AsMediaContainerWithSettingsMediaContainerSettingValue2() (MediaContainerWithSettingsMediaContainerSettingValue2, error)
- func (t *MediaContainerWithSettings_MediaContainer_Setting_Value) FromMediaContainerWithSettingsMediaContainerSettingValue0(v MediaContainerWithSettingsMediaContainerSettingValue0) error
- func (t *MediaContainerWithSettings_MediaContainer_Setting_Value) FromMediaContainerWithSettingsMediaContainerSettingValue1(v MediaContainerWithSettingsMediaContainerSettingValue1) error
- func (t *MediaContainerWithSettings_MediaContainer_Setting_Value) FromMediaContainerWithSettingsMediaContainerSettingValue2(v MediaContainerWithSettingsMediaContainerSettingValue2) error
- func (t MediaContainerWithSettings_MediaContainer_Setting_Value) MarshalJSON() ([]byte, error)
- func (t *MediaContainerWithSettings_MediaContainer_Setting_Value) MergeMediaContainerWithSettingsMediaContainerSettingValue0(v MediaContainerWithSettingsMediaContainerSettingValue0) error
- func (t *MediaContainerWithSettings_MediaContainer_Setting_Value) MergeMediaContainerWithSettingsMediaContainerSettingValue1(v MediaContainerWithSettingsMediaContainerSettingValue1) error
- func (t *MediaContainerWithSettings_MediaContainer_Setting_Value) MergeMediaContainerWithSettingsMediaContainerSettingValue2(v MediaContainerWithSettingsMediaContainerSettingValue2) error
- func (t *MediaContainerWithSettings_MediaContainer_Setting_Value) UnmarshalJSON(b []byte) error
- type MediaContainerWithStatusPropertiesMediaContainer
- type MediaContainerWithSubscription
- type MediaGrabOperation
- type MediaGrabOperationStatus
- type MediaGrabberDeleteDevicesDeviceScanResponse
- func (r MediaGrabberDeleteDevicesDeviceScanResponse) ContentType() string
- func (r MediaGrabberDeleteDevicesDeviceScanResponse) GetBody() []byte
- func (r MediaGrabberDeleteDevicesDeviceScanResponse) GetJSON200() *MediaContainerWithDevice
- func (r MediaGrabberDeleteDevicesDeviceScanResponse) Status() string
- func (r MediaGrabberDeleteDevicesDeviceScanResponse) StatusCode() int
- type MediaGrabberDeleteOperationsOperationResponse
- type MediaGrabberDevicesDeviceDeleteSlashResponse
- func (r MediaGrabberDevicesDeviceDeleteSlashResponse) ContentType() string
- func (r MediaGrabberDevicesDeviceDeleteSlashResponse) GetBody() []byte
- func (r MediaGrabberDevicesDeviceDeleteSlashResponse) GetJSON200() ...
- func (r MediaGrabberDevicesDeviceDeleteSlashResponse) Status() string
- func (r MediaGrabberDevicesDeviceDeleteSlashResponse) StatusCode() int
- type MediaGrabberDevicesDeviceDeleteSlashResponse200Headers
- type MediaGrabberDevicesDeviceGetChannelsResponse
- func (r MediaGrabberDevicesDeviceGetChannelsResponse) ContentType() string
- func (r MediaGrabberDevicesDeviceGetChannelsResponse) GetBody() []byte
- func (r MediaGrabberDevicesDeviceGetChannelsResponse) GetJSON200() ...
- func (r MediaGrabberDevicesDeviceGetChannelsResponse) Status() string
- func (r MediaGrabberDevicesDeviceGetChannelsResponse) StatusCode() int
- type MediaGrabberDevicesDeviceGetChannelsResponse200Headers
- type MediaGrabberDevicesDeviceGetSlashResponse
- func (r MediaGrabberDevicesDeviceGetSlashResponse) ContentType() string
- func (r MediaGrabberDevicesDeviceGetSlashResponse) GetBody() []byte
- func (r MediaGrabberDevicesDeviceGetSlashResponse) GetJSON200() *MediaContainerWithDevice
- func (r MediaGrabberDevicesDeviceGetSlashResponse) Status() string
- func (r MediaGrabberDevicesDeviceGetSlashResponse) StatusCode() int
- type MediaGrabberDevicesDeviceGetThumbVersionResponse
- func (r MediaGrabberDevicesDeviceGetThumbVersionResponse) ContentType() string
- func (r MediaGrabberDevicesDeviceGetThumbVersionResponse) GetBody() []byte
- func (r MediaGrabberDevicesDeviceGetThumbVersionResponse) Status() string
- func (r MediaGrabberDevicesDeviceGetThumbVersionResponse) StatusCode() int
- type MediaGrabberDevicesDevicePostScanParams
- type MediaGrabberDevicesDevicePostScanResponse
- func (r MediaGrabberDevicesDevicePostScanResponse) ContentType() string
- func (r MediaGrabberDevicesDevicePostScanResponse) GetBody() []byte
- func (r MediaGrabberDevicesDevicePostScanResponse) GetJSON200() *MediaContainerWithDevice
- func (r MediaGrabberDevicesDevicePostScanResponse) Status() string
- func (r MediaGrabberDevicesDevicePostScanResponse) StatusCode() int
- type MediaGrabberDevicesDevicePostScanResponse200Headers
- type MediaGrabberDevicesDevicePutChannelmapParams
- type MediaGrabberDevicesDevicePutChannelmapResponse
- func (r MediaGrabberDevicesDevicePutChannelmapResponse) ContentType() string
- func (r MediaGrabberDevicesDevicePutChannelmapResponse) GetBody() []byte
- func (r MediaGrabberDevicesDevicePutChannelmapResponse) GetJSON200() *MediaContainerWithDevice
- func (r MediaGrabberDevicesDevicePutChannelmapResponse) Status() string
- func (r MediaGrabberDevicesDevicePutChannelmapResponse) StatusCode() int
- type MediaGrabberDevicesDevicePutPrefsParams
- type MediaGrabberDevicesDevicePutPrefsResponse
- type MediaGrabberDevicesDevicePutSlashParams
- type MediaGrabberDevicesDevicePutSlashParamsEnabled
- type MediaGrabberDevicesDevicePutSlashResponse
- func (r MediaGrabberDevicesDevicePutSlashResponse) ContentType() string
- func (r MediaGrabberDevicesDevicePutSlashResponse) GetBody() []byte
- func (r MediaGrabberDevicesDevicePutSlashResponse) GetJSON200() ...
- func (r MediaGrabberDevicesDevicePutSlashResponse) Status() string
- func (r MediaGrabberDevicesDevicePutSlashResponse) StatusCode() int
- type MediaGrabberDevicesDevicePutSlashResponse200Headers
- type MediaGrabberGetDevicesResponse
- func (r MediaGrabberGetDevicesResponse) ContentType() string
- func (r MediaGrabberGetDevicesResponse) GetBody() []byte
- func (r MediaGrabberGetDevicesResponse) GetJSON200() *MediaContainerWithDevice
- func (r MediaGrabberGetDevicesResponse) Status() string
- func (r MediaGrabberGetDevicesResponse) StatusCode() int
- type MediaGrabberGetDevicesResponse200Headers
- type MediaGrabberGetSlashParams
- type MediaGrabberGetSlashResponse
- type MediaGrabberGetSlashResponse200Headers
- type MediaGrabberPostDeviceDiscoverResponse
- func (r MediaGrabberPostDeviceDiscoverResponse) ContentType() string
- func (r MediaGrabberPostDeviceDiscoverResponse) GetBody() []byte
- func (r MediaGrabberPostDeviceDiscoverResponse) GetJSON200() *MediaContainerWithDevice
- func (r MediaGrabberPostDeviceDiscoverResponse) Status() string
- func (r MediaGrabberPostDeviceDiscoverResponse) StatusCode() int
- type MediaGrabberPostDevicesParams
- type MediaGrabberPostDevicesResponse
- func (r MediaGrabberPostDevicesResponse) ContentType() string
- func (r MediaGrabberPostDevicesResponse) GetBody() []byte
- func (r MediaGrabberPostDevicesResponse) GetJSON200() *MediaContainerWithDevice
- func (r MediaGrabberPostDevicesResponse) Status() string
- func (r MediaGrabberPostDevicesResponse) StatusCode() int
- type MediaIndexParam
- type MediaProviderEPGChannelsParams
- type MediaProviderEPGChannelsParamsIdentifier
- type MediaProviderEPGChannelsResponse
- type MediaProviderEPGChannelsResponse200Headers
- type MediaProviderEPGGridParams
- type MediaProviderEPGGridParamsIdentifier
- type MediaProviderEPGGridResponse
- func (r MediaProviderEPGGridResponse) ContentType() string
- func (r MediaProviderEPGGridResponse) GetBody() []byte
- func (r MediaProviderEPGGridResponse) GetJSON200() *MediaContainerWithMetadata
- func (r MediaProviderEPGGridResponse) Status() string
- func (r MediaProviderEPGGridResponse) StatusCode() int
- type MediaProviderEPGGridResponse200Headers
- type MediaProviderEPGWatchnowAllParamsIdentifier
- type MediaProviderEPGWatchnowAllResponse
- func (r MediaProviderEPGWatchnowAllResponse) ContentType() string
- func (r MediaProviderEPGWatchnowAllResponse) GetBody() []byte
- func (r MediaProviderEPGWatchnowAllResponse) GetJSON200() *MediaContainerWithMetadata
- func (r MediaProviderEPGWatchnowAllResponse) Status() string
- func (r MediaProviderEPGWatchnowAllResponse) StatusCode() int
- type MediaProviderEPGWatchnowAllResponse200Headers
- type MediaProviderEPGWatchnowParamsIdentifier
- type MediaProviderEPGWatchnowResponse
- type MediaProviderEPGWatchnowResponse200Headers
- type MediaQuery
- type MediaSubscription
- type MediaSubscriptionAiringsType
- type MediaSubscriptionSettingDefault0
- type MediaSubscriptionSettingDefault1
- type MediaSubscriptionSettingDefault2
- type MediaSubscriptionSettingType
- type MediaSubscriptionSettingValue0
- type MediaSubscriptionSettingValue1
- type MediaSubscriptionSettingValue2
- type MediaSubscription_Setting_Default
- func (t MediaSubscription_Setting_Default) AsMediaSubscriptionSettingDefault0() (MediaSubscriptionSettingDefault0, error)
- func (t MediaSubscription_Setting_Default) AsMediaSubscriptionSettingDefault1() (MediaSubscriptionSettingDefault1, error)
- func (t MediaSubscription_Setting_Default) AsMediaSubscriptionSettingDefault2() (MediaSubscriptionSettingDefault2, error)
- func (t *MediaSubscription_Setting_Default) FromMediaSubscriptionSettingDefault0(v MediaSubscriptionSettingDefault0) error
- func (t *MediaSubscription_Setting_Default) FromMediaSubscriptionSettingDefault1(v MediaSubscriptionSettingDefault1) error
- func (t *MediaSubscription_Setting_Default) FromMediaSubscriptionSettingDefault2(v MediaSubscriptionSettingDefault2) error
- func (t MediaSubscription_Setting_Default) MarshalJSON() ([]byte, error)
- func (t *MediaSubscription_Setting_Default) MergeMediaSubscriptionSettingDefault0(v MediaSubscriptionSettingDefault0) error
- func (t *MediaSubscription_Setting_Default) MergeMediaSubscriptionSettingDefault1(v MediaSubscriptionSettingDefault1) error
- func (t *MediaSubscription_Setting_Default) MergeMediaSubscriptionSettingDefault2(v MediaSubscriptionSettingDefault2) error
- func (t *MediaSubscription_Setting_Default) UnmarshalJSON(b []byte) error
- type MediaSubscription_Setting_Value
- func (t MediaSubscription_Setting_Value) AsMediaSubscriptionSettingValue0() (MediaSubscriptionSettingValue0, error)
- func (t MediaSubscription_Setting_Value) AsMediaSubscriptionSettingValue1() (MediaSubscriptionSettingValue1, error)
- func (t MediaSubscription_Setting_Value) AsMediaSubscriptionSettingValue2() (MediaSubscriptionSettingValue2, error)
- func (t *MediaSubscription_Setting_Value) FromMediaSubscriptionSettingValue0(v MediaSubscriptionSettingValue0) error
- func (t *MediaSubscription_Setting_Value) FromMediaSubscriptionSettingValue1(v MediaSubscriptionSettingValue1) error
- func (t *MediaSubscription_Setting_Value) FromMediaSubscriptionSettingValue2(v MediaSubscriptionSettingValue2) error
- func (t MediaSubscription_Setting_Value) MarshalJSON() ([]byte, error)
- func (t *MediaSubscription_Setting_Value) MergeMediaSubscriptionSettingValue0(v MediaSubscriptionSettingValue0) error
- func (t *MediaSubscription_Setting_Value) MergeMediaSubscriptionSettingValue1(v MediaSubscriptionSettingValue1) error
- func (t *MediaSubscription_Setting_Value) MergeMediaSubscriptionSettingValue2(v MediaSubscriptionSettingValue2) error
- func (t *MediaSubscription_Setting_Value) UnmarshalJSON(b []byte) error
- type MediaSubscriptionsDeleteSubscriptionResponse
- type MediaSubscriptionsGetScheduledResponse
- func (r MediaSubscriptionsGetScheduledResponse) ContentType() string
- func (r MediaSubscriptionsGetScheduledResponse) GetBody() []byte
- func (r MediaSubscriptionsGetScheduledResponse) GetJSON200() ...
- func (r MediaSubscriptionsGetScheduledResponse) Status() string
- func (r MediaSubscriptionsGetScheduledResponse) StatusCode() int
- type MediaSubscriptionsGetScheduledResponse200Headers
- type MediaSubscriptionsGetSlashParams
- type MediaSubscriptionsGetSlashParamsIncludeGrabs
- type MediaSubscriptionsGetSlashParamsIncludeStorage
- type MediaSubscriptionsGetSlashResponse
- func (r MediaSubscriptionsGetSlashResponse) ContentType() string
- func (r MediaSubscriptionsGetSlashResponse) GetBody() []byte
- func (r MediaSubscriptionsGetSlashResponse) GetJSON200() *MediaContainerWithSubscription
- func (r MediaSubscriptionsGetSlashResponse) Status() string
- func (r MediaSubscriptionsGetSlashResponse) StatusCode() int
- type MediaSubscriptionsGetSlashResponse200Headers
- type MediaSubscriptionsGetSubscriptionParams
- type MediaSubscriptionsGetSubscriptionParamsIncludeGrabs
- type MediaSubscriptionsGetSubscriptionParamsIncludeStorage
- type MediaSubscriptionsGetSubscriptionResponse
- func (r MediaSubscriptionsGetSubscriptionResponse) ContentType() string
- func (r MediaSubscriptionsGetSubscriptionResponse) GetBody() []byte
- func (r MediaSubscriptionsGetSubscriptionResponse) GetJSON200() *MediaContainerWithSubscription
- func (r MediaSubscriptionsGetSubscriptionResponse) Status() string
- func (r MediaSubscriptionsGetSubscriptionResponse) StatusCode() int
- type MediaSubscriptionsGetTemplate200JSONResponseBodyMediaContainerSubscriptionTemplateMediaSubscriptionSettingDefault0
- type MediaSubscriptionsGetTemplate200JSONResponseBodyMediaContainerSubscriptionTemplateMediaSubscriptionSettingDefault1
- type MediaSubscriptionsGetTemplate200JSONResponseBodyMediaContainerSubscriptionTemplateMediaSubscriptionSettingDefault2
- type MediaSubscriptionsGetTemplate200JSONResponseBodyMediaContainerSubscriptionTemplateMediaSubscriptionSettingType
- type MediaSubscriptionsGetTemplate200JSONResponseBodyMediaContainerSubscriptionTemplateMediaSubscriptionSettingValue0
- type MediaSubscriptionsGetTemplate200JSONResponseBodyMediaContainerSubscriptionTemplateMediaSubscriptionSettingValue1
- type MediaSubscriptionsGetTemplate200JSONResponseBodyMediaContainerSubscriptionTemplateMediaSubscriptionSettingValue2
- type MediaSubscriptionsGetTemplate200JSONResponseBody_MediaContainer_SubscriptionTemplate_MediaSubscription_Setting_Default
- func (t MediaSubscriptionsGetTemplate200JSONResponseBody_MediaContainer_SubscriptionTemplate_MediaSubscription_Setting_Default) AsMediaSubscriptionsGetTemplate200JSONResponseBodyMediaContainerSubscriptionTemplateMediaSubscriptionSettingDefault0() (...)
- func (t MediaSubscriptionsGetTemplate200JSONResponseBody_MediaContainer_SubscriptionTemplate_MediaSubscription_Setting_Default) AsMediaSubscriptionsGetTemplate200JSONResponseBodyMediaContainerSubscriptionTemplateMediaSubscriptionSettingDefault1() (...)
- func (t MediaSubscriptionsGetTemplate200JSONResponseBody_MediaContainer_SubscriptionTemplate_MediaSubscription_Setting_Default) AsMediaSubscriptionsGetTemplate200JSONResponseBodyMediaContainerSubscriptionTemplateMediaSubscriptionSettingDefault2() (...)
- func (t *MediaSubscriptionsGetTemplate200JSONResponseBody_MediaContainer_SubscriptionTemplate_MediaSubscription_Setting_Default) FromMediaSubscriptionsGetTemplate200JSONResponseBodyMediaContainerSubscriptionTemplateMediaSubscriptionSettingDefault0(...) error
- func (t *MediaSubscriptionsGetTemplate200JSONResponseBody_MediaContainer_SubscriptionTemplate_MediaSubscription_Setting_Default) FromMediaSubscriptionsGetTemplate200JSONResponseBodyMediaContainerSubscriptionTemplateMediaSubscriptionSettingDefault1(...) error
- func (t *MediaSubscriptionsGetTemplate200JSONResponseBody_MediaContainer_SubscriptionTemplate_MediaSubscription_Setting_Default) FromMediaSubscriptionsGetTemplate200JSONResponseBodyMediaContainerSubscriptionTemplateMediaSubscriptionSettingDefault2(...) error
- func (t MediaSubscriptionsGetTemplate200JSONResponseBody_MediaContainer_SubscriptionTemplate_MediaSubscription_Setting_Default) MarshalJSON() ([]byte, error)
- func (t *MediaSubscriptionsGetTemplate200JSONResponseBody_MediaContainer_SubscriptionTemplate_MediaSubscription_Setting_Default) MergeMediaSubscriptionsGetTemplate200JSONResponseBodyMediaContainerSubscriptionTemplateMediaSubscriptionSettingDefault0(...) error
- func (t *MediaSubscriptionsGetTemplate200JSONResponseBody_MediaContainer_SubscriptionTemplate_MediaSubscription_Setting_Default) MergeMediaSubscriptionsGetTemplate200JSONResponseBodyMediaContainerSubscriptionTemplateMediaSubscriptionSettingDefault1(...) error
- func (t *MediaSubscriptionsGetTemplate200JSONResponseBody_MediaContainer_SubscriptionTemplate_MediaSubscription_Setting_Default) MergeMediaSubscriptionsGetTemplate200JSONResponseBodyMediaContainerSubscriptionTemplateMediaSubscriptionSettingDefault2(...) error
- func (t *MediaSubscriptionsGetTemplate200JSONResponseBody_MediaContainer_SubscriptionTemplate_MediaSubscription_Setting_Default) UnmarshalJSON(b []byte) error
- type MediaSubscriptionsGetTemplate200JSONResponseBody_MediaContainer_SubscriptionTemplate_MediaSubscription_Setting_Value
- func (t MediaSubscriptionsGetTemplate200JSONResponseBody_MediaContainer_SubscriptionTemplate_MediaSubscription_Setting_Value) AsMediaSubscriptionsGetTemplate200JSONResponseBodyMediaContainerSubscriptionTemplateMediaSubscriptionSettingValue0() (...)
- func (t MediaSubscriptionsGetTemplate200JSONResponseBody_MediaContainer_SubscriptionTemplate_MediaSubscription_Setting_Value) AsMediaSubscriptionsGetTemplate200JSONResponseBodyMediaContainerSubscriptionTemplateMediaSubscriptionSettingValue1() (...)
- func (t MediaSubscriptionsGetTemplate200JSONResponseBody_MediaContainer_SubscriptionTemplate_MediaSubscription_Setting_Value) AsMediaSubscriptionsGetTemplate200JSONResponseBodyMediaContainerSubscriptionTemplateMediaSubscriptionSettingValue2() (...)
- func (t *MediaSubscriptionsGetTemplate200JSONResponseBody_MediaContainer_SubscriptionTemplate_MediaSubscription_Setting_Value) FromMediaSubscriptionsGetTemplate200JSONResponseBodyMediaContainerSubscriptionTemplateMediaSubscriptionSettingValue0(...) error
- func (t *MediaSubscriptionsGetTemplate200JSONResponseBody_MediaContainer_SubscriptionTemplate_MediaSubscription_Setting_Value) FromMediaSubscriptionsGetTemplate200JSONResponseBodyMediaContainerSubscriptionTemplateMediaSubscriptionSettingValue1(...) error
- func (t *MediaSubscriptionsGetTemplate200JSONResponseBody_MediaContainer_SubscriptionTemplate_MediaSubscription_Setting_Value) FromMediaSubscriptionsGetTemplate200JSONResponseBodyMediaContainerSubscriptionTemplateMediaSubscriptionSettingValue2(...) error
- func (t MediaSubscriptionsGetTemplate200JSONResponseBody_MediaContainer_SubscriptionTemplate_MediaSubscription_Setting_Value) MarshalJSON() ([]byte, error)
- func (t *MediaSubscriptionsGetTemplate200JSONResponseBody_MediaContainer_SubscriptionTemplate_MediaSubscription_Setting_Value) MergeMediaSubscriptionsGetTemplate200JSONResponseBodyMediaContainerSubscriptionTemplateMediaSubscriptionSettingValue0(...) error
- func (t *MediaSubscriptionsGetTemplate200JSONResponseBody_MediaContainer_SubscriptionTemplate_MediaSubscription_Setting_Value) MergeMediaSubscriptionsGetTemplate200JSONResponseBodyMediaContainerSubscriptionTemplateMediaSubscriptionSettingValue1(...) error
- func (t *MediaSubscriptionsGetTemplate200JSONResponseBody_MediaContainer_SubscriptionTemplate_MediaSubscription_Setting_Value) MergeMediaSubscriptionsGetTemplate200JSONResponseBodyMediaContainerSubscriptionTemplateMediaSubscriptionSettingValue2(...) error
- func (t *MediaSubscriptionsGetTemplate200JSONResponseBody_MediaContainer_SubscriptionTemplate_MediaSubscription_Setting_Value) UnmarshalJSON(b []byte) error
- type MediaSubscriptionsGetTemplateParams
- type MediaSubscriptionsGetTemplateResponse
- func (r MediaSubscriptionsGetTemplateResponse) ContentType() string
- func (r MediaSubscriptionsGetTemplateResponse) GetBody() []byte
- func (r MediaSubscriptionsGetTemplateResponse) GetJSON200() ...
- func (r MediaSubscriptionsGetTemplateResponse) Status() string
- func (r MediaSubscriptionsGetTemplateResponse) StatusCode() int
- type MediaSubscriptionsGetTemplateResponse200Headers
- type MediaSubscriptionsPostProcessResponse
- type MediaSubscriptionsPostProcessResponse200Headers
- type MediaSubscriptionsPostSlashParams
- type MediaSubscriptionsPostSlashResponse
- func (r MediaSubscriptionsPostSlashResponse) ContentType() string
- func (r MediaSubscriptionsPostSlashResponse) GetBody() []byte
- func (r MediaSubscriptionsPostSlashResponse) GetJSON200() ...
- func (r MediaSubscriptionsPostSlashResponse) Status() string
- func (r MediaSubscriptionsPostSlashResponse) StatusCode() int
- type MediaSubscriptionsPostSlashResponse200Headers
- type MediaSubscriptionsPutSubscriptionMoveParams
- type MediaSubscriptionsPutSubscriptionMoveResponse
- func (r MediaSubscriptionsPutSubscriptionMoveResponse) ContentType() string
- func (r MediaSubscriptionsPutSubscriptionMoveResponse) GetBody() []byte
- func (r MediaSubscriptionsPutSubscriptionMoveResponse) GetJSON200() *MediaContainerWithSubscription
- func (r MediaSubscriptionsPutSubscriptionMoveResponse) Status() string
- func (r MediaSubscriptionsPutSubscriptionMoveResponse) StatusCode() int
- type MediaSubscriptionsPutSubscriptionParams
- type MediaSubscriptionsPutSubscriptionResponse
- func (r MediaSubscriptionsPutSubscriptionResponse) ContentType() string
- func (r MediaSubscriptionsPutSubscriptionResponse) GetBody() []byte
- func (r MediaSubscriptionsPutSubscriptionResponse) GetJSON200() *MediaContainerWithSubscription
- func (r MediaSubscriptionsPutSubscriptionResponse) Status() string
- func (r MediaSubscriptionsPutSubscriptionResponse) StatusCode() int
- type Metadata
- type MetadataAgentProvider
- type MetadataAgentProviderAgentType
- type MetadataAgentProviderGroup
- type MetadataAgentProviderGroupItem
- type MetadataAgentProviderManagerSlashGetResponses200
- type MusicBitrateParam
- type NormalizeLoudnessParam
- type OffsetParam
- type Part
- type PartIndexParam
- type PathParam
- type PeakBitrateParam
- type PhotoResolutionParam
- type PlayQueuePlayQueueResetResponse
- func (r PlayQueuePlayQueueResetResponse) ContentType() string
- func (r PlayQueuePlayQueueResetResponse) GetBody() []byte
- func (r PlayQueuePlayQueueResetResponse) GetJSON200() *SlashPostResponses200
- func (r PlayQueuePlayQueueResetResponse) Status() string
- func (r PlayQueuePlayQueueResetResponse) StatusCode() int
- type PlayQueuePostSlash200JSONResponseBody_MediaContainer
- func (a PlayQueuePostSlash200JSONResponseBody_MediaContainer) Get(fieldName string) (value interface{}, found bool)
- func (a PlayQueuePostSlash200JSONResponseBody_MediaContainer) MarshalJSON() ([]byte, error)
- func (a *PlayQueuePostSlash200JSONResponseBody_MediaContainer) Set(fieldName string, value interface{})
- func (a *PlayQueuePostSlash200JSONResponseBody_MediaContainer) UnmarshalJSON(b []byte) error
- type PlayQueuePostSlashParams
- type PlayQueuePostSlashParamsContinuous
- type PlayQueuePostSlashParamsOnDeck
- type PlayQueuePostSlashParamsRecursive
- type PlayQueuePostSlashParamsRepeat
- type PlayQueuePostSlashParamsShuffle
- type PlayQueuePostSlashParamsType
- type PlayQueuePostSlashResponse
- type PlayQueuePostSlashResponse200Headers
- type PlayQueueQueueDeleteItemsItemResponse
- func (r PlayQueueQueueDeleteItemsItemResponse) ContentType() string
- func (r PlayQueueQueueDeleteItemsItemResponse) GetBody() []byte
- func (r PlayQueueQueueDeleteItemsItemResponse) GetJSON200() *SlashPostResponses200
- func (r PlayQueueQueueDeleteItemsItemResponse) Status() string
- func (r PlayQueueQueueDeleteItemsItemResponse) StatusCode() int
- type PlayQueueQueueDeleteItemsResponse
- func (r PlayQueueQueueDeleteItemsResponse) ContentType() string
- func (r PlayQueueQueueDeleteItemsResponse) GetBody() []byte
- func (r PlayQueueQueueDeleteItemsResponse) GetJSON200() *MediaContainerWithPlaylistMetadata
- func (r PlayQueueQueueDeleteItemsResponse) Status() string
- func (r PlayQueueQueueDeleteItemsResponse) StatusCode() int
- type PlayQueueQueueGetSlashParams
- type PlayQueueQueueGetSlashParamsIncludeAfter
- type PlayQueueQueueGetSlashParamsIncludeBefore
- type PlayQueueQueueGetSlashParamsOwn
- type PlayQueueQueueGetSlashResponse
- func (r PlayQueueQueueGetSlashResponse) ContentType() string
- func (r PlayQueueQueueGetSlashResponse) GetBody() []byte
- func (r PlayQueueQueueGetSlashResponse) GetJSON200() *SlashPostResponses200
- func (r PlayQueueQueueGetSlashResponse) Status() string
- func (r PlayQueueQueueGetSlashResponse) StatusCode() int
- type PlayQueueQueuePutItemsMoveParams
- type PlayQueueQueuePutItemsMoveResponse
- func (r PlayQueueQueuePutItemsMoveResponse) ContentType() string
- func (r PlayQueueQueuePutItemsMoveResponse) GetBody() []byte
- func (r PlayQueueQueuePutItemsMoveResponse) GetJSON200() *SlashPostResponses200
- func (r PlayQueueQueuePutItemsMoveResponse) Status() string
- func (r PlayQueueQueuePutItemsMoveResponse) StatusCode() int
- type PlayQueueQueuePutItemsShuffleResponse
- func (r PlayQueueQueuePutItemsShuffleResponse) ContentType() string
- func (r PlayQueueQueuePutItemsShuffleResponse) GetBody() []byte
- func (r PlayQueueQueuePutItemsShuffleResponse) GetJSON200() *MediaContainerWithPlaylistMetadata
- func (r PlayQueueQueuePutItemsShuffleResponse) Status() string
- func (r PlayQueueQueuePutItemsShuffleResponse) StatusCode() int
- type PlayQueueQueuePutItemsUnshuffleResponse
- func (r PlayQueueQueuePutItemsUnshuffleResponse) ContentType() string
- func (r PlayQueueQueuePutItemsUnshuffleResponse) GetBody() []byte
- func (r PlayQueueQueuePutItemsUnshuffleResponse) GetJSON200() *SlashPostResponses200
- func (r PlayQueueQueuePutItemsUnshuffleResponse) Status() string
- func (r PlayQueueQueuePutItemsUnshuffleResponse) StatusCode() int
- type PlayQueueQueuePutSlashParams
- type PlayQueueQueuePutSlashParamsNext
- type PlayQueueQueuePutSlashResponse
- func (r PlayQueueQueuePutSlashResponse) ContentType() string
- func (r PlayQueueQueuePutSlashResponse) GetBody() []byte
- func (r PlayQueueQueuePutSlashResponse) GetJSON200() *SlashPostResponses200
- func (r PlayQueueQueuePutSlashResponse) Status() string
- func (r PlayQueueQueuePutSlashResponse) StatusCode() int
- type PlaylistDeleteItemsGeneratorResponse
- func (r PlaylistDeleteItemsGeneratorResponse) ContentType() string
- func (r PlaylistDeleteItemsGeneratorResponse) GetBody() []byte
- func (r PlaylistDeleteItemsGeneratorResponse) GetJSON200() *SlashPostResponses200
- func (r PlaylistDeleteItemsGeneratorResponse) Status() string
- func (r PlaylistDeleteItemsGeneratorResponse) StatusCode() int
- type PlaylistDeleteItemsResponse
- type PlaylistDeletePlaylistResponse
- type PlaylistGetGenerators200JSONResponseBodyMediaContainerPlayQueueGeneratorType
- type PlaylistGetGeneratorsResponse
- type PlaylistGetItemsGenerator200JSONResponseBodyMediaContainerItemMediaSettingsAdvancedSubtitles
- type PlaylistGetItemsGenerator200JSONResponseBodyMediaContainerItemMediaSettingsSubtitles
- type PlaylistGetItemsGenerator200JSONResponseBodyMediaContainerItemPolicyScope
- type PlaylistGetItemsGenerator200JSONResponseBodyMediaContainerItemStatusState
- type PlaylistGetItemsGenerator200JSONResponseBodyMediaContainerItemType
- type PlaylistGetItemsGeneratorItems200JSONResponseBodyMediaContainerMetadataProcessingState
- type PlaylistGetItemsGeneratorItems200JSONResponseBodyMediaContainerMetadataProcessingStateContext
- type PlaylistGetItemsGeneratorItems200JSONResponseBody_MediaContainer_Metadata
- func (a PlaylistGetItemsGeneratorItems200JSONResponseBody_MediaContainer_Metadata) Get(fieldName string) (value interface{}, found bool)
- func (a PlaylistGetItemsGeneratorItems200JSONResponseBody_MediaContainer_Metadata) MarshalJSON() ([]byte, error)
- func (a *PlaylistGetItemsGeneratorItems200JSONResponseBody_MediaContainer_Metadata) Set(fieldName string, value interface{})
- func (a *PlaylistGetItemsGeneratorItems200JSONResponseBody_MediaContainer_Metadata) UnmarshalJSON(b []byte) error
- type PlaylistGetItemsGeneratorItemsResponse
- func (r PlaylistGetItemsGeneratorItemsResponse) ContentType() string
- func (r PlaylistGetItemsGeneratorItemsResponse) GetBody() []byte
- func (r PlaylistGetItemsGeneratorItemsResponse) GetJSON200() ...
- func (r PlaylistGetItemsGeneratorItemsResponse) Status() string
- func (r PlaylistGetItemsGeneratorItemsResponse) StatusCode() int
- type PlaylistGetItemsGeneratorResponse
- func (r PlaylistGetItemsGeneratorResponse) ContentType() string
- func (r PlaylistGetItemsGeneratorResponse) GetBody() []byte
- func (r PlaylistGetItemsGeneratorResponse) GetJSON200() ...
- func (r PlaylistGetItemsGeneratorResponse) Status() string
- func (r PlaylistGetItemsGeneratorResponse) StatusCode() int
- type PlaylistGetItemsParams
- type PlaylistGetItemsResponse
- type PlaylistGetItemsResponse200Headers
- type PlaylistGetPlaylistResponse
- func (r PlaylistGetPlaylistResponse) ContentType() string
- func (r PlaylistGetPlaylistResponse) GetBody() []byte
- func (r PlaylistGetPlaylistResponse) GetJSON200() *MediaContainerWithPlaylistMetadata
- func (r PlaylistGetPlaylistResponse) Status() string
- func (r PlaylistGetPlaylistResponse) StatusCode() int
- type PlaylistGetSlashParams
- type PlaylistGetSlashParamsPlaylistType
- type PlaylistGetSlashParamsSmart
- type PlaylistGetSlashResponse
- type PlaylistGetSlashResponse200Headers
- type PlaylistPostSlashParams
- type PlaylistPostSlashResponse
- type PlaylistPostUploadParams
- type PlaylistPostUploadParamsForce
- type PlaylistPostUploadResponse
- type PlaylistPutItemsGeneratorParams
- type PlaylistPutItemsGeneratorParamsItemPolicyScope
- type PlaylistPutItemsGeneratorParamsItemPolicyUnwatched
- type PlaylistPutItemsGeneratorReprocessParamsAction
- type PlaylistPutItemsGeneratorReprocessResponse
- type PlaylistPutItemsGeneratorResponse
- func (r PlaylistPutItemsGeneratorResponse) ContentType() string
- func (r PlaylistPutItemsGeneratorResponse) GetBody() []byte
- func (r PlaylistPutItemsGeneratorResponse) GetJSON200() *SlashPostResponses200
- func (r PlaylistPutItemsGeneratorResponse) Status() string
- func (r PlaylistPutItemsGeneratorResponse) StatusCode() int
- type PlaylistPutItemsMoveParams
- type PlaylistPutItemsMoveResponse
- type PlaylistPutItemsParams
- type PlaylistPutItemsResponse
- type PlaylistPutPlaylistResponse
- type PostMediaProvidersParams
- type PostMediaProvidersRefreshResponse
- type PostMediaProvidersResponse
- type PostMetadataAgentProviderGroupsParams
- type PostMetadataAgentProviderGroupsResponse
- func (r PostMetadataAgentProviderGroupsResponse) ContentType() string
- func (r PostMetadataAgentProviderGroupsResponse) GetBody() []byte
- func (r PostMetadataAgentProviderGroupsResponse) GetJSON200() ...
- func (r PostMetadataAgentProviderGroupsResponse) Status() string
- func (r PostMetadataAgentProviderGroupsResponse) StatusCode() int
- type PostMetadataAgentProvidersParams
- type PostMetadataAgentProvidersResponse
- func (r PostMetadataAgentProvidersResponse) ContentType() string
- func (r PostMetadataAgentProvidersResponse) GetBody() []byte
- func (r PostMetadataAgentProvidersResponse) GetJSON200() *MetadataAgentProviderManagerSlashGetResponses200
- func (r PostMetadataAgentProvidersResponse) Status() string
- func (r PostMetadataAgentProvidersResponse) StatusCode() int
- type PostResponses200
- type PostResponses200MediaContainerType
- type PostResponses200_MediaContainer
- func (a PostResponses200_MediaContainer) Get(fieldName string) (value interface{}, found bool)
- func (a PostResponses200_MediaContainer) MarshalJSON() ([]byte, error)
- func (a *PostResponses200_MediaContainer) Set(fieldName string, value interface{})
- func (a *PostResponses200_MediaContainer) UnmarshalJSON(b []byte) error
- type PreferencesGetGetParams
- type PreferencesGetGetResponse
- type PreferencesGetSlashResponse
- type PreferencesPutSlashParams
- type PreferencesPutSlashResponse
- type PropertiesMediaContainer
- type ProtocolParam
- type PutMetadataAgentProviderGroupItemParams
- type PutMetadataAgentProviderGroupItemResponse
- func (r PutMetadataAgentProviderGroupItemResponse) ContentType() string
- func (r PutMetadataAgentProviderGroupItemResponse) GetBody() []byte
- func (r PutMetadataAgentProviderGroupItemResponse) GetJSON200() ...
- func (r PutMetadataAgentProviderGroupItemResponse) Status() string
- func (r PutMetadataAgentProviderGroupItemResponse) StatusCode() int
- type PutMetadataAgentProviderGroupParams
- type PutMetadataAgentProviderGroupResponse
- func (r PutMetadataAgentProviderGroupResponse) ContentType() string
- func (r PutMetadataAgentProviderGroupResponse) GetBody() []byte
- func (r PutMetadataAgentProviderGroupResponse) GetJSON200() ...
- func (r PutMetadataAgentProviderGroupResponse) Status() string
- func (r PutMetadataAgentProviderGroupResponse) StatusCode() int
- type PutMetadataAgentProviderParams
- type PutMetadataAgentProviderResponse
- type PutRateParams
- type PutRateResponse
- type PutScrobbleParams
- type PutScrobbleResponse
- type PutUnscrobbleParams
- type PutUnscrobbleResponse
- type RequestEditorFn
- type RequestHandlerSlashGetResponses200
- type Responses200
- type SecondsPerSegmentParam
- type SecurityGetResourcesParams
- type SecurityGetResourcesParamsRefresh
- type SecurityGetResourcesResponse
- type SecurityPostTokenParams
- type SecurityPostTokenParamsScope
- type SecurityPostTokenParamsType
- type SecurityPostTokenResponse
- type ServerConfiguration
- type SlashGetResponses200
- type SlashPostResponses200
- type Sort
- type SortDefault
- type SortDefaultDirection
- type StatusDeleteHistoryResponse
- type StatusDeleteHistoryResponse200Headers
- type StatusGetBackground200JSONResponseBodyMediaContainerTranscodeJobType
- type StatusGetBackgroundResponse
- type StatusGetHistory200JSONResponseBody_MediaContainer
- func (a StatusGetHistory200JSONResponseBody_MediaContainer) Get(fieldName string) (value interface{}, found bool)
- func (a StatusGetHistory200JSONResponseBody_MediaContainer) MarshalJSON() ([]byte, error)
- func (a *StatusGetHistory200JSONResponseBody_MediaContainer) Set(fieldName string, value interface{})
- func (a *StatusGetHistory200JSONResponseBody_MediaContainer) UnmarshalJSON(b []byte) error
- type StatusGetHistoryAll200JSONResponseBody_MediaContainer
- func (a StatusGetHistoryAll200JSONResponseBody_MediaContainer) Get(fieldName string) (value interface{}, found bool)
- func (a StatusGetHistoryAll200JSONResponseBody_MediaContainer) MarshalJSON() ([]byte, error)
- func (a *StatusGetHistoryAll200JSONResponseBody_MediaContainer) Set(fieldName string, value interface{})
- func (a *StatusGetHistoryAll200JSONResponseBody_MediaContainer) UnmarshalJSON(b []byte) error
- type StatusGetHistoryAllParams
- type StatusGetHistoryAllResponse
- type StatusGetHistoryAllResponse200Headers
- type StatusGetHistoryResponse
- type StatusGetHistoryResponse200Headers
- type StatusGetSlash200JSONResponseBodyMediaContainerMetadataSessionLocation
- type StatusGetSlash200JSONResponseBody_MediaContainer
- func (a StatusGetSlash200JSONResponseBody_MediaContainer) Get(fieldName string) (value interface{}, found bool)
- func (a StatusGetSlash200JSONResponseBody_MediaContainer) MarshalJSON() ([]byte, error)
- func (a *StatusGetSlash200JSONResponseBody_MediaContainer) Set(fieldName string, value interface{})
- func (a *StatusGetSlash200JSONResponseBody_MediaContainer) UnmarshalJSON(b []byte) error
- type StatusGetSlash200JSONResponseBody_MediaContainer_Metadata_Item
- func (a StatusGetSlash200JSONResponseBody_MediaContainer_Metadata_Item) Get(fieldName string) (value interface{}, found bool)
- func (a StatusGetSlash200JSONResponseBody_MediaContainer_Metadata_Item) MarshalJSON() ([]byte, error)
- func (a *StatusGetSlash200JSONResponseBody_MediaContainer_Metadata_Item) Set(fieldName string, value interface{})
- func (a *StatusGetSlash200JSONResponseBody_MediaContainer_Metadata_Item) UnmarshalJSON(b []byte) error
- type StatusGetSlashResponse
- type StatusGetSlashResponse200Headers
- type StatusPostTerminateParams
- type StatusPostTerminateResponse
- type Stream
- type SubtitleSizeParam
- type SubtitlesParam
- type Tag
- type Thumb
- type TimelinePostSlashParams
- type TimelinePostSlashParamsContinuing
- type TimelinePostSlashParamsOffline
- type TimelinePostSlashParamsState
- type TimelinePostSlashResponse
- type Title
- type TranscodeDecisionParams
- type TranscodeDecisionParamsAdvancedSubtitles
- type TranscodeDecisionParamsAutoAdjustQuality
- type TranscodeDecisionParamsAutoAdjustSubtitle
- type TranscodeDecisionParamsBoostDialog
- type TranscodeDecisionParamsDirectPlay
- type TranscodeDecisionParamsDirectStream
- type TranscodeDecisionParamsDirectStreamAudio
- type TranscodeDecisionParamsDisableResolutionRotation
- type TranscodeDecisionParamsHasMDE
- type TranscodeDecisionParamsLocation
- type TranscodeDecisionParamsNormalizeLoudness
- type TranscodeDecisionParamsProtocol
- type TranscodeDecisionParamsSubtitles
- type TranscodeDecisionParamsTranscodeType
- type TranscodeDecisionResponse
- type TranscodeFallbackParams
- type TranscodeFallbackParamsTranscodeType
- type TranscodeFallbackResponse
- type TranscodeSessionID
- type TranscodeStartParams
- type TranscodeStartParamsAdvancedSubtitles
- type TranscodeStartParamsAutoAdjustQuality
- type TranscodeStartParamsAutoAdjustSubtitle
- type TranscodeStartParamsBoostDialog
- type TranscodeStartParamsDirectPlay
- type TranscodeStartParamsDirectStream
- type TranscodeStartParamsDirectStreamAudio
- type TranscodeStartParamsDisableResolutionRotation
- type TranscodeStartParamsHasMDE
- type TranscodeStartParamsLocation
- type TranscodeStartParamsNormalizeLoudness
- type TranscodeStartParamsProtocol
- type TranscodeStartParamsSubtitles
- type TranscodeStartParamsTranscodeType
- type TranscodeStartResponse
- type TranscodeSubtitlesParams
- type TranscodeSubtitlesParamsAdvancedSubtitles
- type TranscodeSubtitlesParamsAutoAdjustQuality
- type TranscodeSubtitlesParamsAutoAdjustSubtitle
- type TranscodeSubtitlesParamsBoostDialog
- type TranscodeSubtitlesParamsDirectPlay
- type TranscodeSubtitlesParamsDirectStream
- type TranscodeSubtitlesParamsDirectStreamAudio
- type TranscodeSubtitlesParamsDisableResolutionRotation
- type TranscodeSubtitlesParamsHasMDE
- type TranscodeSubtitlesParamsLocation
- type TranscodeSubtitlesParamsNormalizeLoudness
- type TranscodeSubtitlesParamsProtocol
- type TranscodeSubtitlesParamsSubtitles
- type TranscodeSubtitlesParamsTranscodeType
- type TranscodeSubtitlesResponse
- type TranscodeType
- type Type
- type UltraBlurGetColorsParams
- type UltraBlurGetColorsResponse
- type UltraBlurGetImageParams
- type UltraBlurGetImageParamsNoise
- type UltraBlurGetImageResponse
- type UpdaterGetStatus200JSONResponseBodyMediaContainerReleaseState
- type UpdaterGetStatusResponse
- type UpdaterPutApplyParams
- type UpdaterPutApplyParamsSkip
- type UpdaterPutApplyParamsTonight
- type UpdaterPutApplyResponse
- type UpdaterPutCheckParams
- type UpdaterPutCheckParamsDownload
- type UpdaterPutCheckResponse
- type VideoBitrateParam
- type VideoQualityParam
- type VideoResolutionParam
- type WebsocketGetSlashParams
- type WebsocketGetSlashResponse
- type XPlexClientIdentifierParam
- type XPlexClientProfileExtraParam
- type XPlexClientProfileNameParam
- type XPlexDeviceParam
- type XPlexModelParam
- type XPlexPlatformParam
Examples ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewActivitiesDeleteActivityRequest ¶
NewActivitiesDeleteActivityRequest constructs an http.Request for the ActivitiesDeleteActivity method
func NewActivitiesGetSlashRequest ¶
NewActivitiesGetSlashRequest constructs an http.Request for the ActivitiesGetSlash method
func NewButlerDeleteSlashRequest ¶
NewButlerDeleteSlashRequest constructs an http.Request for the ButlerDeleteSlash method
func NewButlerDeleteTaskRequest ¶
func NewButlerDeleteTaskRequest(server string, task ButlerDeleteTaskParamsTask) (*http.Request, error)
NewButlerDeleteTaskRequest constructs an http.Request for the ButlerDeleteTask method
func NewButlerGetSlashRequest ¶
NewButlerGetSlashRequest constructs an http.Request for the ButlerGetSlash method
func NewButlerPostSlashRequest ¶
NewButlerPostSlashRequest constructs an http.Request for the ButlerPostSlash method
func NewButlerPostTaskRequest ¶
func NewButlerPostTaskRequest(server string, task ButlerPostTaskParamsTask) (*http.Request, error)
NewButlerPostTaskRequest constructs an http.Request for the ButlerPostTask method
func NewDeleteMediaProviderRequest ¶
NewDeleteMediaProviderRequest constructs an http.Request for the DeleteMediaProvider method
func NewDeleteMetadataAgentProviderGroupItemRequest ¶
func NewDeleteMetadataAgentProviderGroupItemRequest(server string, groupID int, providerID int) (*http.Request, error)
NewDeleteMetadataAgentProviderGroupItemRequest constructs an http.Request for the DeleteMetadataAgentProviderGroupItem method
func NewDeleteMetadataAgentProviderGroupRequest ¶
NewDeleteMetadataAgentProviderGroupRequest constructs an http.Request for the DeleteMetadataAgentProviderGroup method
func NewDeleteMetadataAgentProviderRequest ¶
NewDeleteMetadataAgentProviderRequest constructs an http.Request for the DeleteMetadataAgentProvider method
func NewDownloadQueueDeleteQueueItemsItemRequest ¶
func NewDownloadQueueDeleteQueueItemsItemRequest(server string, queueID int, itemID []int) (*http.Request, error)
NewDownloadQueueDeleteQueueItemsItemRequest constructs an http.Request for the DownloadQueueDeleteQueueItemsItem method
func NewDownloadQueueGetQueueItemItemDecisionRequest ¶
func NewDownloadQueueGetQueueItemItemDecisionRequest(server string, queueID int, itemID int) (*http.Request, error)
NewDownloadQueueGetQueueItemItemDecisionRequest constructs an http.Request for the DownloadQueueGetQueueItemItemDecision method
func NewDownloadQueueGetQueueItemItemMediaRequest ¶
func NewDownloadQueueGetQueueItemItemMediaRequest(server string, queueID int, itemID int) (*http.Request, error)
NewDownloadQueueGetQueueItemItemMediaRequest constructs an http.Request for the DownloadQueueGetQueueItemItemMedia method
func NewDownloadQueueGetQueueItemsItemRequest ¶
func NewDownloadQueueGetQueueItemsItemRequest(server string, queueID int, itemID []int) (*http.Request, error)
NewDownloadQueueGetQueueItemsItemRequest constructs an http.Request for the DownloadQueueGetQueueItemsItem method
func NewDownloadQueueGetQueueItemsRequest ¶
NewDownloadQueueGetQueueItemsRequest constructs an http.Request for the DownloadQueueGetQueueItems method
func NewDownloadQueueGetQueueRequest ¶
NewDownloadQueueGetQueueRequest constructs an http.Request for the DownloadQueueGetQueue method
func NewDownloadQueuePostQueueAddRequest ¶
func NewDownloadQueuePostQueueAddRequest(server string, queueID int, params *DownloadQueuePostQueueAddParams) (*http.Request, error)
NewDownloadQueuePostQueueAddRequest constructs an http.Request for the DownloadQueuePostQueueAdd method
func NewDownloadQueuePostQueueItemsItemRestartRequest ¶
func NewDownloadQueuePostQueueItemsItemRestartRequest(server string, queueID int, itemID []int) (*http.Request, error)
NewDownloadQueuePostQueueItemsItemRestartRequest constructs an http.Request for the DownloadQueuePostQueueItemsItemRestart method
func NewDownloadQueuePostRequest ¶
NewDownloadQueuePostRequest constructs an http.Request for the DownloadQueuePost method
func NewEventsourceGetSlashRequest ¶
func NewEventsourceGetSlashRequest(server string, params *EventsourceGetSlashParams) (*http.Request, error)
NewEventsourceGetSlashRequest constructs an http.Request for the EventsourceGetSlash method
func NewGetIdentityRequest ¶
NewGetIdentityRequest constructs an http.Request for the GetIdentity method
func NewGetMediaProvidersRequest ¶
NewGetMediaProvidersRequest constructs an http.Request for the GetMediaProviders method
func NewGetMetadataAgentProviderGroupRequest ¶
NewGetMetadataAgentProviderGroupRequest constructs an http.Request for the GetMetadataAgentProviderGroup method
func NewGetMetadataAgentProviderGroupsRequest ¶
NewGetMetadataAgentProviderGroupsRequest constructs an http.Request for the GetMetadataAgentProviderGroups method
func NewGetMetadataAgentProviderRequest ¶
NewGetMetadataAgentProviderRequest constructs an http.Request for the GetMetadataAgentProvider method
func NewGetMetadataAgentProvidersRequest ¶
func NewGetMetadataAgentProvidersRequest(server string, params *GetMetadataAgentProvidersParams) (*http.Request, error)
NewGetMetadataAgentProvidersRequest constructs an http.Request for the GetMetadataAgentProviders method
func NewGetSlashRequest ¶
NewGetSlashRequest constructs an http.Request for the GetSlash method
func NewHubsGetContinueWatchingRequest ¶
func NewHubsGetContinueWatchingRequest(server string, params *HubsGetContinueWatchingParams) (*http.Request, error)
NewHubsGetContinueWatchingRequest constructs an http.Request for the HubsGetContinueWatching method
func NewHubsGetItemsRequest ¶
func NewHubsGetItemsRequest(server string, params *HubsGetItemsParams) (*http.Request, error)
NewHubsGetItemsRequest constructs an http.Request for the HubsGetItems method
func NewHubsGetMetadataMetadataPostplayRequest ¶
func NewHubsGetMetadataMetadataPostplayRequest(server string, metadataID int, params *HubsGetMetadataMetadataPostplayParams) (*http.Request, error)
NewHubsGetMetadataMetadataPostplayRequest constructs an http.Request for the HubsGetMetadataMetadataPostplay method
func NewHubsGetMetadataMetadataRelatedRequest ¶
func NewHubsGetMetadataMetadataRelatedRequest(server string, metadataID int, params *HubsGetMetadataMetadataRelatedParams) (*http.Request, error)
NewHubsGetMetadataMetadataRelatedRequest constructs an http.Request for the HubsGetMetadataMetadataRelated method
func NewHubsGetMetadataMetadataRequest ¶
func NewHubsGetMetadataMetadataRequest(server string, metadataID int, params *HubsGetMetadataMetadataParams) (*http.Request, error)
NewHubsGetMetadataMetadataRequest constructs an http.Request for the HubsGetMetadataMetadata method
func NewHubsGetPopularInLibrariesRequest ¶
func NewHubsGetPopularInLibrariesRequest(server string, params *HubsGetPopularInLibrariesParams) (*http.Request, error)
NewHubsGetPopularInLibrariesRequest constructs an http.Request for the HubsGetPopularInLibraries method
func NewHubsGetPromotedRequest ¶
func NewHubsGetPromotedRequest(server string, params *HubsGetPromotedParams) (*http.Request, error)
NewHubsGetPromotedRequest constructs an http.Request for the HubsGetPromoted method
func NewHubsGetSearchRequest ¶
func NewHubsGetSearchRequest(server string, params *HubsGetSearchParams) (*http.Request, error)
NewHubsGetSearchRequest constructs an http.Request for the HubsGetSearch method
func NewHubsGetSectionRequest ¶
func NewHubsGetSectionRequest(server string, sectionID int, params *HubsGetSectionParams) (*http.Request, error)
NewHubsGetSectionRequest constructs an http.Request for the HubsGetSection method
func NewHubsGetSlashRequest ¶
func NewHubsGetSlashRequest(server string, params *HubsGetSlashParams) (*http.Request, error)
NewHubsGetSlashRequest constructs an http.Request for the HubsGetSlash method
func NewHubsSearchGetVoiceRequest ¶
func NewHubsSearchGetVoiceRequest(server string, params *HubsSearchGetVoiceParams) (*http.Request, error)
NewHubsSearchGetVoiceRequest constructs an http.Request for the HubsSearchGetVoice method
func NewHubsSectionsSectionManageDeleteIdentifierRequest ¶
func NewHubsSectionsSectionManageDeleteIdentifierRequest(server string, sectionID int, identifier string) (*http.Request, error)
NewHubsSectionsSectionManageDeleteIdentifierRequest constructs an http.Request for the HubsSectionsSectionManageDeleteIdentifier method
func NewHubsSectionsSectionManageDeleteSlashRequest ¶
func NewHubsSectionsSectionManageDeleteSlashRequest(server string, sectionID int) (*http.Request, error)
NewHubsSectionsSectionManageDeleteSlashRequest constructs an http.Request for the HubsSectionsSectionManageDeleteSlash method
func NewHubsSectionsSectionManageGetSlashRequest ¶
func NewHubsSectionsSectionManageGetSlashRequest(server string, sectionID int, params *HubsSectionsSectionManageGetSlashParams) (*http.Request, error)
NewHubsSectionsSectionManageGetSlashRequest constructs an http.Request for the HubsSectionsSectionManageGetSlash method
func NewHubsSectionsSectionManagePostSlashRequest ¶
func NewHubsSectionsSectionManagePostSlashRequest(server string, sectionID int, params *HubsSectionsSectionManagePostSlashParams) (*http.Request, error)
NewHubsSectionsSectionManagePostSlashRequest constructs an http.Request for the HubsSectionsSectionManagePostSlash method
func NewHubsSectionsSectionManagePutIdentifierRequest ¶
func NewHubsSectionsSectionManagePutIdentifierRequest(server string, sectionID int, identifier string, params *HubsSectionsSectionManagePutIdentifierParams) (*http.Request, error)
NewHubsSectionsSectionManagePutIdentifierRequest constructs an http.Request for the HubsSectionsSectionManagePutIdentifier method
func NewHubsSectionsSectionManagePutMoveRequest ¶
func NewHubsSectionsSectionManagePutMoveRequest(server string, sectionID int, params *HubsSectionsSectionManagePutMoveParams) (*http.Request, error)
NewHubsSectionsSectionManagePutMoveRequest constructs an http.Request for the HubsSectionsSectionManagePutMove method
func NewImageTranscodeRequest ¶
func NewImageTranscodeRequest(server string, params *ImageTranscodeParams) (*http.Request, error)
NewImageTranscodeRequest constructs an http.Request for the ImageTranscode method
func NewLibraryCollectionCollectionGetCompositeRequest ¶
func NewLibraryCollectionCollectionGetCompositeRequest(server string, collectionID int, updatedAt int, params *LibraryCollectionCollectionGetCompositeParams) (*http.Request, error)
NewLibraryCollectionCollectionGetCompositeRequest constructs an http.Request for the LibraryCollectionCollectionGetComposite method
func NewLibraryCollectionCollectionGetItemsRequest ¶
func NewLibraryCollectionCollectionGetItemsRequest(server string, collectionID int) (*http.Request, error)
NewLibraryCollectionCollectionGetItemsRequest constructs an http.Request for the LibraryCollectionCollectionGetItems method
func NewLibraryCollectionCollectionPutItemsItemMoveRequest ¶
func NewLibraryCollectionCollectionPutItemsItemMoveRequest(server string, collectionID int, itemID int, params *LibraryCollectionCollectionPutItemsItemMoveParams) (*http.Request, error)
NewLibraryCollectionCollectionPutItemsItemMoveRequest constructs an http.Request for the LibraryCollectionCollectionPutItemsItemMove method
func NewLibraryCollectionCollectionPutItemsItemRequest ¶
func NewLibraryCollectionCollectionPutItemsItemRequest(server string, collectionID int, itemID int) (*http.Request, error)
NewLibraryCollectionCollectionPutItemsItemRequest constructs an http.Request for the LibraryCollectionCollectionPutItemsItem method
func NewLibraryCollectionCollectionPutItemsRequest ¶
func NewLibraryCollectionCollectionPutItemsRequest(server string, collectionID int, params *LibraryCollectionCollectionPutItemsParams) (*http.Request, error)
NewLibraryCollectionCollectionPutItemsRequest constructs an http.Request for the LibraryCollectionCollectionPutItems method
func NewLibraryCollectionPostSlashRequest ¶
func NewLibraryCollectionPostSlashRequest(server string, params *LibraryCollectionPostSlashParams) (*http.Request, error)
NewLibraryCollectionPostSlashRequest constructs an http.Request for the LibraryCollectionPostSlash method
func NewLibraryDeleteCachesRequest ¶
NewLibraryDeleteCachesRequest constructs an http.Request for the LibraryDeleteCaches method
func NewLibraryDeleteSectionRequest ¶
func NewLibraryDeleteSectionRequest(server string, sectionID string, params *LibraryDeleteSectionParams) (*http.Request, error)
NewLibraryDeleteSectionRequest constructs an http.Request for the LibraryDeleteSection method
func NewLibraryDeleteSectionsAllRefreshRequest ¶
NewLibraryDeleteSectionsAllRefreshRequest constructs an http.Request for the LibraryDeleteSectionsAllRefresh method
func NewLibraryDeleteStreamsStreamRequest ¶
func NewLibraryDeleteStreamsStreamRequest(server string, streamID int, ext string) (*http.Request, error)
NewLibraryDeleteStreamsStreamRequest constructs an http.Request for the LibraryDeleteStreamsStream method
func NewLibraryGetAllRequest ¶
func NewLibraryGetAllRequest(server string, params *LibraryGetAllParams) (*http.Request, error)
NewLibraryGetAllRequest constructs an http.Request for the LibraryGetAll method
func NewLibraryGetMatchesRequest ¶
func NewLibraryGetMatchesRequest(server string, params *LibraryGetMatchesParams) (*http.Request, error)
NewLibraryGetMatchesRequest constructs an http.Request for the LibraryGetMatches method
func NewLibraryGetMediaMediaChapterImagesChapterRequest ¶
func NewLibraryGetMediaMediaChapterImagesChapterRequest(server string, mediaID int, chapter int) (*http.Request, error)
NewLibraryGetMediaMediaChapterImagesChapterRequest constructs an http.Request for the LibraryGetMediaMediaChapterImagesChapter method
func NewLibraryGetMetadataAugmentationsAugmentationRequest ¶
func NewLibraryGetMetadataAugmentationsAugmentationRequest(server string, augmentationID string, params *LibraryGetMetadataAugmentationsAugmentationParams) (*http.Request, error)
NewLibraryGetMetadataAugmentationsAugmentationRequest constructs an http.Request for the LibraryGetMetadataAugmentationsAugmentation method
func NewLibraryGetPartsPartChangestampFilenameRequest ¶
func NewLibraryGetPartsPartChangestampFilenameRequest(server string, partID int, changestamp int, filename string, params *LibraryGetPartsPartChangestampFilenameParams) (*http.Request, error)
NewLibraryGetPartsPartChangestampFilenameRequest constructs an http.Request for the LibraryGetPartsPartChangestampFilename method
func NewLibraryGetPartsPartIndexesIndexOffsetRequest ¶
func NewLibraryGetPartsPartIndexesIndexOffsetRequest(server string, partID int, index LibraryGetPartsPartIndexesIndexOffsetParamsIndex, offset int) (*http.Request, error)
NewLibraryGetPartsPartIndexesIndexOffsetRequest constructs an http.Request for the LibraryGetPartsPartIndexesIndexOffset method
func NewLibraryGetPartsPartIndexesIndexRequest ¶
func NewLibraryGetPartsPartIndexesIndexRequest(server string, partID int, index LibraryGetPartsPartIndexesIndexParamsIndex, params *LibraryGetPartsPartIndexesIndexParams) (*http.Request, error)
NewLibraryGetPartsPartIndexesIndexRequest constructs an http.Request for the LibraryGetPartsPartIndexesIndex method
func NewLibraryGetPeoplePersonMediaRequest ¶
func NewLibraryGetPeoplePersonMediaRequest(server string, personID struct { union json.RawMessage }) (*http.Request, error)
NewLibraryGetPeoplePersonMediaRequest constructs an http.Request for the LibraryGetPeoplePersonMedia method
func NewLibraryGetPeoplePersonRequest ¶
func NewLibraryGetPeoplePersonRequest(server string, personID struct { union json.RawMessage }) (*http.Request, error)
NewLibraryGetPeoplePersonRequest constructs an http.Request for the LibraryGetPeoplePerson method
func NewLibraryGetRandomArtworkRequest ¶
func NewLibraryGetRandomArtworkRequest(server string, params *LibraryGetRandomArtworkParams) (*http.Request, error)
NewLibraryGetRandomArtworkRequest constructs an http.Request for the LibraryGetRandomArtwork method
func NewLibraryGetSectionsPrefsRequest ¶
func NewLibraryGetSectionsPrefsRequest(server string, params *LibraryGetSectionsPrefsParams) (*http.Request, error)
NewLibraryGetSectionsPrefsRequest constructs an http.Request for the LibraryGetSectionsPrefs method
func NewLibraryGetSectionsRequest ¶
NewLibraryGetSectionsRequest constructs an http.Request for the LibraryGetSections method
func NewLibraryGetStreamsStreamLevelsRequest ¶
func NewLibraryGetStreamsStreamLevelsRequest(server string, streamID int, params *LibraryGetStreamsStreamLevelsParams) (*http.Request, error)
NewLibraryGetStreamsStreamLevelsRequest constructs an http.Request for the LibraryGetStreamsStreamLevels method
func NewLibraryGetStreamsStreamLoudnessRequest ¶
func NewLibraryGetStreamsStreamLoudnessRequest(server string, streamID int, params *LibraryGetStreamsStreamLoudnessParams) (*http.Request, error)
NewLibraryGetStreamsStreamLoudnessRequest constructs an http.Request for the LibraryGetStreamsStreamLoudness method
func NewLibraryGetStreamsStreamRequest ¶
func NewLibraryGetStreamsStreamRequest(server string, streamID int, ext string, params *LibraryGetStreamsStreamParams) (*http.Request, error)
NewLibraryGetStreamsStreamRequest constructs an http.Request for the LibraryGetStreamsStream method
func NewLibraryGetTagsRequest ¶
func NewLibraryGetTagsRequest(server string, params *LibraryGetTagsParams) (*http.Request, error)
NewLibraryGetTagsRequest constructs an http.Request for the LibraryGetTags method
func NewLibraryMetadataDeleteElementRequest ¶
func NewLibraryMetadataDeleteElementRequest(server string, ids string, element LibraryMetadataDeleteElementParamsElement) (*http.Request, error)
NewLibraryMetadataDeleteElementRequest constructs an http.Request for the LibraryMetadataDeleteElement method
func NewLibraryMetadataDeleteMarkerMarkerRequest ¶
func NewLibraryMetadataDeleteMarkerMarkerRequest(server string, ids string, marker string) (*http.Request, error)
NewLibraryMetadataDeleteMarkerMarkerRequest constructs an http.Request for the LibraryMetadataDeleteMarkerMarker method
func NewLibraryMetadataDeleteMediaMediaItemRequest ¶
func NewLibraryMetadataDeleteMediaMediaItemRequest(server string, ids string, mediaItem string, params *LibraryMetadataDeleteMediaMediaItemParams) (*http.Request, error)
NewLibraryMetadataDeleteMediaMediaItemRequest constructs an http.Request for the LibraryMetadataDeleteMediaMediaItem method
func NewLibraryMetadataDeleteSlashRequest ¶
func NewLibraryMetadataDeleteSlashRequest(server string, ids string, params *LibraryMetadataDeleteSlashParams) (*http.Request, error)
NewLibraryMetadataDeleteSlashRequest constructs an http.Request for the LibraryMetadataDeleteSlash method
func NewLibraryMetadataGetAllLeavesRequest ¶
NewLibraryMetadataGetAllLeavesRequest constructs an http.Request for the LibraryMetadataGetAllLeaves method
func NewLibraryMetadataGetElementRequest ¶
func NewLibraryMetadataGetElementRequest(server string, ids string, element LibraryMetadataGetElementParamsElement, timestamp int) (*http.Request, error)
NewLibraryMetadataGetElementRequest constructs an http.Request for the LibraryMetadataGetElement method
func NewLibraryMetadataGetExtrasRequest ¶
NewLibraryMetadataGetExtrasRequest constructs an http.Request for the LibraryMetadataGetExtras method
func NewLibraryMetadataGetFileRequest ¶
func NewLibraryMetadataGetFileRequest(server string, ids string, params *LibraryMetadataGetFileParams) (*http.Request, error)
NewLibraryMetadataGetFileRequest constructs an http.Request for the LibraryMetadataGetFile method
func NewLibraryMetadataGetMatchesRequest ¶
func NewLibraryMetadataGetMatchesRequest(server string, ids string, params *LibraryMetadataGetMatchesParams) (*http.Request, error)
NewLibraryMetadataGetMatchesRequest constructs an http.Request for the LibraryMetadataGetMatches method
func NewLibraryMetadataGetNearestRequest ¶
func NewLibraryMetadataGetNearestRequest(server string, ids string, params *LibraryMetadataGetNearestParams) (*http.Request, error)
NewLibraryMetadataGetNearestRequest constructs an http.Request for the LibraryMetadataGetNearest method
func NewLibraryMetadataGetRelatedRequest ¶
NewLibraryMetadataGetRelatedRequest constructs an http.Request for the LibraryMetadataGetRelated method
func NewLibraryMetadataGetSimilarRequest ¶
func NewLibraryMetadataGetSimilarRequest(server string, ids string, params *LibraryMetadataGetSimilarParams) (*http.Request, error)
NewLibraryMetadataGetSimilarRequest constructs an http.Request for the LibraryMetadataGetSimilar method
func NewLibraryMetadataGetSlashRequest ¶
func NewLibraryMetadataGetSlashRequest(server string, ids []string, params *LibraryMetadataGetSlashParams) (*http.Request, error)
NewLibraryMetadataGetSlashRequest constructs an http.Request for the LibraryMetadataGetSlash method
func NewLibraryMetadataGetTreeRequest ¶
NewLibraryMetadataGetTreeRequest constructs an http.Request for the LibraryMetadataGetTree method
func NewLibraryMetadataGetUsersTopRequest ¶
NewLibraryMetadataGetUsersTopRequest constructs an http.Request for the LibraryMetadataGetUsersTop method
func NewLibraryMetadataPostElementRequest ¶
func NewLibraryMetadataPostElementRequest(server string, ids string, element LibraryMetadataPostElementParamsElement, params *LibraryMetadataPostElementParams) (*http.Request, error)
NewLibraryMetadataPostElementRequest constructs an http.Request for the LibraryMetadataPostElement method
func NewLibraryMetadataPostExtrasRequest ¶
func NewLibraryMetadataPostExtrasRequest(server string, ids string, params *LibraryMetadataPostExtrasParams) (*http.Request, error)
NewLibraryMetadataPostExtrasRequest constructs an http.Request for the LibraryMetadataPostExtras method
func NewLibraryMetadataPostMarkerRequest ¶
func NewLibraryMetadataPostMarkerRequest(server string, ids string, params *LibraryMetadataPostMarkerParams) (*http.Request, error)
NewLibraryMetadataPostMarkerRequest constructs an http.Request for the LibraryMetadataPostMarker method
func NewLibraryMetadataPostSubtitlesRequest ¶
func NewLibraryMetadataPostSubtitlesRequest(server string, ids string, params *LibraryMetadataPostSubtitlesParams) (*http.Request, error)
NewLibraryMetadataPostSubtitlesRequest constructs an http.Request for the LibraryMetadataPostSubtitles method
func NewLibraryMetadataPutAddetectRequest ¶
NewLibraryMetadataPutAddetectRequest constructs an http.Request for the LibraryMetadataPutAddetect method
func NewLibraryMetadataPutAnalyzeLoudnessRequest ¶
func NewLibraryMetadataPutAnalyzeLoudnessRequest(server string, ids string, params *LibraryMetadataPutAnalyzeLoudnessParams) (*http.Request, error)
NewLibraryMetadataPutAnalyzeLoudnessRequest constructs an http.Request for the LibraryMetadataPutAnalyzeLoudness method
func NewLibraryMetadataPutAnalyzeRequest ¶
func NewLibraryMetadataPutAnalyzeRequest(server string, ids string, params *LibraryMetadataPutAnalyzeParams) (*http.Request, error)
NewLibraryMetadataPutAnalyzeRequest constructs an http.Request for the LibraryMetadataPutAnalyze method
func NewLibraryMetadataPutChapterThumbsRequest ¶
func NewLibraryMetadataPutChapterThumbsRequest(server string, ids string, params *LibraryMetadataPutChapterThumbsParams) (*http.Request, error)
NewLibraryMetadataPutChapterThumbsRequest constructs an http.Request for the LibraryMetadataPutChapterThumbs method
func NewLibraryMetadataPutCreditsRequest ¶
func NewLibraryMetadataPutCreditsRequest(server string, ids string, params *LibraryMetadataPutCreditsParams) (*http.Request, error)
NewLibraryMetadataPutCreditsRequest constructs an http.Request for the LibraryMetadataPutCredits method
func NewLibraryMetadataPutElementRequest ¶
func NewLibraryMetadataPutElementRequest(server string, ids string, element LibraryMetadataPutElementParamsElement, params *LibraryMetadataPutElementParams) (*http.Request, error)
NewLibraryMetadataPutElementRequest constructs an http.Request for the LibraryMetadataPutElement method
func NewLibraryMetadataPutIndexRequest ¶
func NewLibraryMetadataPutIndexRequest(server string, ids string, params *LibraryMetadataPutIndexParams) (*http.Request, error)
NewLibraryMetadataPutIndexRequest constructs an http.Request for the LibraryMetadataPutIndex method
func NewLibraryMetadataPutIntroRequest ¶
func NewLibraryMetadataPutIntroRequest(server string, ids string, params *LibraryMetadataPutIntroParams) (*http.Request, error)
NewLibraryMetadataPutIntroRequest constructs an http.Request for the LibraryMetadataPutIntro method
func NewLibraryMetadataPutMarkerMarkerRequest ¶
func NewLibraryMetadataPutMarkerMarkerRequest(server string, ids string, marker string, params *LibraryMetadataPutMarkerMarkerParams) (*http.Request, error)
NewLibraryMetadataPutMarkerMarkerRequest constructs an http.Request for the LibraryMetadataPutMarkerMarker method
func NewLibraryMetadataPutMatchRequest ¶
func NewLibraryMetadataPutMatchRequest(server string, ids string, params *LibraryMetadataPutMatchParams) (*http.Request, error)
NewLibraryMetadataPutMatchRequest constructs an http.Request for the LibraryMetadataPutMatch method
func NewLibraryMetadataPutMergeRequest ¶
func NewLibraryMetadataPutMergeRequest(server string, ids string, params *LibraryMetadataPutMergeParams) (*http.Request, error)
NewLibraryMetadataPutMergeRequest constructs an http.Request for the LibraryMetadataPutMerge method
func NewLibraryMetadataPutPrefsRequest ¶
func NewLibraryMetadataPutPrefsRequest(server string, ids string, params *LibraryMetadataPutPrefsParams) (*http.Request, error)
NewLibraryMetadataPutPrefsRequest constructs an http.Request for the LibraryMetadataPutPrefs method
func NewLibraryMetadataPutRefreshRequest ¶
func NewLibraryMetadataPutRefreshRequest(server string, ids string, params *LibraryMetadataPutRefreshParams) (*http.Request, error)
NewLibraryMetadataPutRefreshRequest constructs an http.Request for the LibraryMetadataPutRefresh method
func NewLibraryMetadataPutSlashRequest ¶
func NewLibraryMetadataPutSlashRequest(server string, ids []string, params *LibraryMetadataPutSlashParams) (*http.Request, error)
NewLibraryMetadataPutSlashRequest constructs an http.Request for the LibraryMetadataPutSlash method
func NewLibraryMetadataPutSplitRequest ¶
NewLibraryMetadataPutSplitRequest constructs an http.Request for the LibraryMetadataPutSplit method
func NewLibraryMetadataPutUnmatchRequest ¶
NewLibraryMetadataPutUnmatchRequest constructs an http.Request for the LibraryMetadataPutUnmatch method
func NewLibraryMetadataPutVoiceActivityRequest ¶
func NewLibraryMetadataPutVoiceActivityRequest(server string, ids string, params *LibraryMetadataPutVoiceActivityParams) (*http.Request, error)
NewLibraryMetadataPutVoiceActivityRequest constructs an http.Request for the LibraryMetadataPutVoiceActivity method
func NewLibraryPostFileRequest ¶
func NewLibraryPostFileRequest(server string, params *LibraryPostFileParams) (*http.Request, error)
NewLibraryPostFileRequest constructs an http.Request for the LibraryPostFile method
func NewLibraryPostSectionRequest ¶
func NewLibraryPostSectionRequest(server string, params *LibraryPostSectionParams) (*http.Request, error)
NewLibraryPostSectionRequest constructs an http.Request for the LibraryPostSection method
func NewLibraryPostSectionsRefreshRequest ¶
func NewLibraryPostSectionsRefreshRequest(server string, params *LibraryPostSectionsRefreshParams) (*http.Request, error)
NewLibraryPostSectionsRefreshRequest constructs an http.Request for the LibraryPostSectionsRefresh method
func NewLibraryPutCleanBundlesRequest ¶
NewLibraryPutCleanBundlesRequest constructs an http.Request for the LibraryPutCleanBundles method
func NewLibraryPutOptimizeRequest ¶
func NewLibraryPutOptimizeRequest(server string, params *LibraryPutOptimizeParams) (*http.Request, error)
NewLibraryPutOptimizeRequest constructs an http.Request for the LibraryPutOptimize method
func NewLibraryPutPartsPartRequest ¶
func NewLibraryPutPartsPartRequest(server string, partID int, params *LibraryPutPartsPartParams) (*http.Request, error)
NewLibraryPutPartsPartRequest constructs an http.Request for the LibraryPutPartsPart method
func NewLibraryPutStreamsStreamRequest ¶
func NewLibraryPutStreamsStreamRequest(server string, streamID int, ext string, params *LibraryPutStreamsStreamParams) (*http.Request, error)
NewLibraryPutStreamsStreamRequest constructs an http.Request for the LibraryPutStreamsStream method
func NewLibrarySectionDeleteCollectionCollectionRequest ¶
func NewLibrarySectionDeleteCollectionCollectionRequest(server string, sectionID int, collectionID int) (*http.Request, error)
NewLibrarySectionDeleteCollectionCollectionRequest constructs an http.Request for the LibrarySectionDeleteCollectionCollection method
func NewLibrarySectionDeleteIndexesRequest ¶
NewLibrarySectionDeleteIndexesRequest constructs an http.Request for the LibrarySectionDeleteIndexes method
func NewLibrarySectionDeleteIntrosRequest ¶
NewLibrarySectionDeleteIntrosRequest constructs an http.Request for the LibrarySectionDeleteIntros method
func NewLibrarySectionDeleteRefreshRequest ¶
NewLibrarySectionDeleteRefreshRequest constructs an http.Request for the LibrarySectionDeleteRefresh method
func NewLibrarySectionGetAlbumsRequest ¶
NewLibrarySectionGetAlbumsRequest constructs an http.Request for the LibrarySectionGetAlbums method
func NewLibrarySectionGetAllLeavesRequest ¶
NewLibrarySectionGetAllLeavesRequest constructs an http.Request for the LibrarySectionGetAllLeaves method
func NewLibrarySectionGetAllRequest ¶
func NewLibrarySectionGetAllRequest(server string, sectionID string, params *LibrarySectionGetAllParams) (*http.Request, error)
NewLibrarySectionGetAllRequest constructs an http.Request for the LibrarySectionGetAll method
func NewLibrarySectionGetArtsRequest ¶
NewLibrarySectionGetArtsRequest constructs an http.Request for the LibrarySectionGetArts method
func NewLibrarySectionGetAudioCodecsRequest ¶
func NewLibrarySectionGetAudioCodecsRequest(server string, sectionID int, params *LibrarySectionGetAudioCodecsParams) (*http.Request, error)
NewLibrarySectionGetAudioCodecsRequest constructs an http.Request for the LibrarySectionGetAudioCodecs method
func NewLibrarySectionGetAudioLayoutsRequest ¶
func NewLibrarySectionGetAudioLayoutsRequest(server string, sectionID int, params *LibrarySectionGetAudioLayoutsParams) (*http.Request, error)
NewLibrarySectionGetAudioLayoutsRequest constructs an http.Request for the LibrarySectionGetAudioLayouts method
func NewLibrarySectionGetAutocompleteRequest ¶
func NewLibrarySectionGetAutocompleteRequest(server string, sectionID int, params *LibrarySectionGetAutocompleteParams) (*http.Request, error)
NewLibrarySectionGetAutocompleteRequest constructs an http.Request for the LibrarySectionGetAutocomplete method
func NewLibrarySectionGetCategoriesRequest ¶
NewLibrarySectionGetCategoriesRequest constructs an http.Request for the LibrarySectionGetCategories method
func NewLibrarySectionGetClusterRequest ¶
NewLibrarySectionGetClusterRequest constructs an http.Request for the LibrarySectionGetCluster method
func NewLibrarySectionGetCollectionsRequest ¶
func NewLibrarySectionGetCollectionsRequest(server string, sectionID int, params *LibrarySectionGetCollectionsParams) (*http.Request, error)
NewLibrarySectionGetCollectionsRequest constructs an http.Request for the LibrarySectionGetCollections method
func NewLibrarySectionGetCommonRequest ¶
func NewLibrarySectionGetCommonRequest(server string, sectionID int, params *LibrarySectionGetCommonParams) (*http.Request, error)
NewLibrarySectionGetCommonRequest constructs an http.Request for the LibrarySectionGetCommon method
func NewLibrarySectionGetCompositeRequest ¶
func NewLibrarySectionGetCompositeRequest(server string, sectionID int, updatedAt int, params *LibrarySectionGetCompositeParams) (*http.Request, error)
NewLibrarySectionGetCompositeRequest constructs an http.Request for the LibrarySectionGetComposite method
func NewLibrarySectionGetComputePathRequest ¶
func NewLibrarySectionGetComputePathRequest(server string, sectionID int, params *LibrarySectionGetComputePathParams) (*http.Request, error)
NewLibrarySectionGetComputePathRequest constructs an http.Request for the LibrarySectionGetComputePath method
func NewLibrarySectionGetFiltersRequest ¶
NewLibrarySectionGetFiltersRequest constructs an http.Request for the LibrarySectionGetFilters method
func NewLibrarySectionGetFirstCharatersRequest ¶
func NewLibrarySectionGetFirstCharatersRequest(server string, sectionID int, params *LibrarySectionGetFirstCharatersParams) (*http.Request, error)
NewLibrarySectionGetFirstCharatersRequest constructs an http.Request for the LibrarySectionGetFirstCharaters method
func NewLibrarySectionGetLocationsRequest ¶
NewLibrarySectionGetLocationsRequest constructs an http.Request for the LibrarySectionGetLocations method
func NewLibrarySectionGetMomentRequest ¶
NewLibrarySectionGetMomentRequest constructs an http.Request for the LibrarySectionGetMoment method
func NewLibrarySectionGetNearestRequest ¶
func NewLibrarySectionGetNearestRequest(server string, sectionID int, params *LibrarySectionGetNearestParams) (*http.Request, error)
NewLibrarySectionGetNearestRequest constructs an http.Request for the LibrarySectionGetNearest method
func NewLibrarySectionGetPrefsRequest ¶
func NewLibrarySectionGetPrefsRequest(server string, sectionID int, params *LibrarySectionGetPrefsParams) (*http.Request, error)
NewLibrarySectionGetPrefsRequest constructs an http.Request for the LibrarySectionGetPrefs method
func NewLibrarySectionGetSectionRequest ¶
func NewLibrarySectionGetSectionRequest(server string, sectionID string, params *LibrarySectionGetSectionParams) (*http.Request, error)
NewLibrarySectionGetSectionRequest constructs an http.Request for the LibrarySectionGetSection method
func NewLibrarySectionGetSortsRequest ¶
NewLibrarySectionGetSortsRequest constructs an http.Request for the LibrarySectionGetSorts method
func NewLibrarySectionGetSubtitleCodecsRequest ¶
func NewLibrarySectionGetSubtitleCodecsRequest(server string, sectionID int, params *LibrarySectionGetSubtitleCodecsParams) (*http.Request, error)
NewLibrarySectionGetSubtitleCodecsRequest constructs an http.Request for the LibrarySectionGetSubtitleCodecs method
func NewLibrarySectionGetVideoCodecsRequest ¶
func NewLibrarySectionGetVideoCodecsRequest(server string, sectionID int, params *LibrarySectionGetVideoCodecsParams) (*http.Request, error)
NewLibrarySectionGetVideoCodecsRequest constructs an http.Request for the LibrarySectionGetVideoCodecs method
func NewLibrarySectionPostRefreshRequest ¶
func NewLibrarySectionPostRefreshRequest(server string, sectionID int, params *LibrarySectionPostRefreshParams) (*http.Request, error)
NewLibrarySectionPostRefreshRequest constructs an http.Request for the LibrarySectionPostRefresh method
func NewLibrarySectionPutAllRequest ¶
func NewLibrarySectionPutAllRequest(server string, sectionID string, params *LibrarySectionPutAllParams) (*http.Request, error)
NewLibrarySectionPutAllRequest constructs an http.Request for the LibrarySectionPutAll method
func NewLibrarySectionPutAnalyzeRequest ¶
NewLibrarySectionPutAnalyzeRequest constructs an http.Request for the LibrarySectionPutAnalyze method
func NewLibrarySectionPutEmptyTrashRequest ¶
NewLibrarySectionPutEmptyTrashRequest constructs an http.Request for the LibrarySectionPutEmptyTrash method
func NewLibrarySectionPutPrefsRequest ¶
func NewLibrarySectionPutPrefsRequest(server string, sectionID int, params *LibrarySectionPutPrefsParams) (*http.Request, error)
NewLibrarySectionPutPrefsRequest constructs an http.Request for the LibrarySectionPutPrefs method
func NewLibrarySectionPutSectionRequest ¶
func NewLibrarySectionPutSectionRequest(server string, sectionID string, params *LibrarySectionPutSectionParams) (*http.Request, error)
NewLibrarySectionPutSectionRequest constructs an http.Request for the LibrarySectionPutSection method
func NewLivetvDVRDeleteDVRDeviceRequest ¶
func NewLivetvDVRDeleteDVRDeviceRequest(server string, dvrid int, deviceID int) (*http.Request, error)
NewLivetvDVRDeleteDVRDeviceRequest constructs an http.Request for the LivetvDVRDeleteDVRDevice method
func NewLivetvDVRDeleteDVRRequest ¶
NewLivetvDVRDeleteDVRRequest constructs an http.Request for the LivetvDVRDeleteDVR method
func NewLivetvDVRDeleteLineupRequest ¶
func NewLivetvDVRDeleteLineupRequest(server string, dvrid int, params *LivetvDVRDeleteLineupParams) (*http.Request, error)
NewLivetvDVRDeleteLineupRequest constructs an http.Request for the LivetvDVRDeleteLineup method
func NewLivetvDVRDeleteReloadGuideRequest ¶
NewLivetvDVRDeleteReloadGuideRequest constructs an http.Request for the LivetvDVRDeleteReloadGuide method
func NewLivetvDVRGetDVRRequest ¶
NewLivetvDVRGetDVRRequest constructs an http.Request for the LivetvDVRGetDVR method
func NewLivetvDVRGetSlashRequest ¶
NewLivetvDVRGetSlashRequest constructs an http.Request for the LivetvDVRGetSlash method
func NewLivetvDVRPostChannelsChannelTuneRequest ¶
func NewLivetvDVRPostChannelsChannelTuneRequest(server string, dvrid int, channel string) (*http.Request, error)
NewLivetvDVRPostChannelsChannelTuneRequest constructs an http.Request for the LivetvDVRPostChannelsChannelTune method
func NewLivetvDVRPostReloadGuideRequest ¶
NewLivetvDVRPostReloadGuideRequest constructs an http.Request for the LivetvDVRPostReloadGuide method
func NewLivetvDVRPostSlashRequest ¶
func NewLivetvDVRPostSlashRequest(server string, params *LivetvDVRPostSlashParams) (*http.Request, error)
NewLivetvDVRPostSlashRequest constructs an http.Request for the LivetvDVRPostSlash method
func NewLivetvDVRPutDVRDeviceRequest ¶
NewLivetvDVRPutDVRDeviceRequest constructs an http.Request for the LivetvDVRPutDVRDevice method
func NewLivetvDVRPutLineupRequest ¶
func NewLivetvDVRPutLineupRequest(server string, dvrid int, params *LivetvDVRPutLineupParams) (*http.Request, error)
NewLivetvDVRPutLineupRequest constructs an http.Request for the LivetvDVRPutLineup method
func NewLivetvDVRPutPrefsRequest ¶
func NewLivetvDVRPutPrefsRequest(server string, dvrid int, params *LivetvDVRPutPrefsParams) (*http.Request, error)
NewLivetvDVRPutPrefsRequest constructs an http.Request for the LivetvDVRPutPrefs method
func NewLivetvEPGGetChannelmapRequest ¶
func NewLivetvEPGGetChannelmapRequest(server string, params *LivetvEPGGetChannelmapParams) (*http.Request, error)
NewLivetvEPGGetChannelmapRequest constructs an http.Request for the LivetvEPGGetChannelmap method
func NewLivetvEPGGetChannelsRequest ¶
func NewLivetvEPGGetChannelsRequest(server string, params *LivetvEPGGetChannelsParams) (*http.Request, error)
NewLivetvEPGGetChannelsRequest constructs an http.Request for the LivetvEPGGetChannels method
func NewLivetvEPGGetCountriesCountryLineupsRequest ¶
func NewLivetvEPGGetCountriesCountryLineupsRequest(server string, country string, epgid string, params *LivetvEPGGetCountriesCountryLineupsParams) (*http.Request, error)
NewLivetvEPGGetCountriesCountryLineupsRequest constructs an http.Request for the LivetvEPGGetCountriesCountryLineups method
func NewLivetvEPGGetCountriesCountryRegionsRegionLineupsRequest ¶
func NewLivetvEPGGetCountriesCountryRegionsRegionLineupsRequest(server string, country string, epgid string, region string) (*http.Request, error)
NewLivetvEPGGetCountriesCountryRegionsRegionLineupsRequest constructs an http.Request for the LivetvEPGGetCountriesCountryRegionsRegionLineups method
func NewLivetvEPGGetCountriesCountryRegionsRequest ¶
func NewLivetvEPGGetCountriesCountryRegionsRequest(server string, country string, epgid string) (*http.Request, error)
NewLivetvEPGGetCountriesCountryRegionsRequest constructs an http.Request for the LivetvEPGGetCountriesCountryRegions method
func NewLivetvEPGGetCountriesRequest ¶
NewLivetvEPGGetCountriesRequest constructs an http.Request for the LivetvEPGGetCountries method
func NewLivetvEPGGetLanguagesRequest ¶
NewLivetvEPGGetLanguagesRequest constructs an http.Request for the LivetvEPGGetLanguages method
func NewLivetvEPGGetLineupRequest ¶
func NewLivetvEPGGetLineupRequest(server string, params *LivetvEPGGetLineupParams) (*http.Request, error)
NewLivetvEPGGetLineupRequest constructs an http.Request for the LivetvEPGGetLineup method
func NewLivetvEPGGetLineupchannelsRequest ¶
func NewLivetvEPGGetLineupchannelsRequest(server string, params *LivetvEPGGetLineupchannelsParams) (*http.Request, error)
NewLivetvEPGGetLineupchannelsRequest constructs an http.Request for the LivetvEPGGetLineupchannels method
func NewLivetvSessionsGetSessionConsumerIndexRequest ¶
func NewLivetvSessionsGetSessionConsumerIndexRequest(server string, sessionID string, consumerID string) (*http.Request, error)
NewLivetvSessionsGetSessionConsumerIndexRequest constructs an http.Request for the LivetvSessionsGetSessionConsumerIndex method
func NewLivetvSessionsGetSessionConsumerSegmentRequest ¶
func NewLivetvSessionsGetSessionConsumerSegmentRequest(server string, sessionID string, consumerID string, segmentID string) (*http.Request, error)
NewLivetvSessionsGetSessionConsumerSegmentRequest constructs an http.Request for the LivetvSessionsGetSessionConsumerSegment method
func NewLivetvSessionsGetSessionRequest ¶
NewLivetvSessionsGetSessionRequest constructs an http.Request for the LivetvSessionsGetSession method
func NewLivetvSessionsGetSlashRequest ¶
NewLivetvSessionsGetSlashRequest constructs an http.Request for the LivetvSessionsGetSlash method
func NewLogPostPapertrailRequest ¶
func NewLogPostPapertrailRequest(server string, params *LogPostPapertrailParams) (*http.Request, error)
NewLogPostPapertrailRequest constructs an http.Request for the LogPostPapertrail method
func NewLogPostSlashRequestWithBody ¶
func NewLogPostSlashRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewLogPostSlashRequestWithBody constructs an http.Request for the LogPostSlash method, with any body, and a specified content type
func NewLogPostSlashRequestWithTextBody ¶
func NewLogPostSlashRequestWithTextBody(server string, body LogPostSlashTextRequestBody) (*http.Request, error)
NewLogPostSlashRequestWithTextBody calls the generic LogPostSlash builder with text/plain body
func NewLogPutSlashRequest ¶
func NewLogPutSlashRequest(server string, params *LogPutSlashParams) (*http.Request, error)
NewLogPutSlashRequest constructs an http.Request for the LogPutSlash method
func NewMediaGrabberDeleteDevicesDeviceScanRequest ¶
func NewMediaGrabberDeleteDevicesDeviceScanRequest(server string, deviceID int) (*http.Request, error)
NewMediaGrabberDeleteDevicesDeviceScanRequest constructs an http.Request for the MediaGrabberDeleteDevicesDeviceScan method
func NewMediaGrabberDeleteOperationsOperationRequest ¶
func NewMediaGrabberDeleteOperationsOperationRequest(server string, operationID string) (*http.Request, error)
NewMediaGrabberDeleteOperationsOperationRequest constructs an http.Request for the MediaGrabberDeleteOperationsOperation method
func NewMediaGrabberDevicesDeviceDeleteSlashRequest ¶
func NewMediaGrabberDevicesDeviceDeleteSlashRequest(server string, deviceID int) (*http.Request, error)
NewMediaGrabberDevicesDeviceDeleteSlashRequest constructs an http.Request for the MediaGrabberDevicesDeviceDeleteSlash method
func NewMediaGrabberDevicesDeviceGetChannelsRequest ¶
func NewMediaGrabberDevicesDeviceGetChannelsRequest(server string, deviceID int) (*http.Request, error)
NewMediaGrabberDevicesDeviceGetChannelsRequest constructs an http.Request for the MediaGrabberDevicesDeviceGetChannels method
func NewMediaGrabberDevicesDeviceGetSlashRequest ¶
func NewMediaGrabberDevicesDeviceGetSlashRequest(server string, deviceID int) (*http.Request, error)
NewMediaGrabberDevicesDeviceGetSlashRequest constructs an http.Request for the MediaGrabberDevicesDeviceGetSlash method
func NewMediaGrabberDevicesDeviceGetThumbVersionRequest ¶
func NewMediaGrabberDevicesDeviceGetThumbVersionRequest(server string, deviceID int, version int) (*http.Request, error)
NewMediaGrabberDevicesDeviceGetThumbVersionRequest constructs an http.Request for the MediaGrabberDevicesDeviceGetThumbVersion method
func NewMediaGrabberDevicesDevicePostScanRequest ¶
func NewMediaGrabberDevicesDevicePostScanRequest(server string, deviceID int, params *MediaGrabberDevicesDevicePostScanParams) (*http.Request, error)
NewMediaGrabberDevicesDevicePostScanRequest constructs an http.Request for the MediaGrabberDevicesDevicePostScan method
func NewMediaGrabberDevicesDevicePutChannelmapRequest ¶
func NewMediaGrabberDevicesDevicePutChannelmapRequest(server string, deviceID int, params *MediaGrabberDevicesDevicePutChannelmapParams) (*http.Request, error)
NewMediaGrabberDevicesDevicePutChannelmapRequest constructs an http.Request for the MediaGrabberDevicesDevicePutChannelmap method
func NewMediaGrabberDevicesDevicePutPrefsRequest ¶
func NewMediaGrabberDevicesDevicePutPrefsRequest(server string, deviceID int, params *MediaGrabberDevicesDevicePutPrefsParams) (*http.Request, error)
NewMediaGrabberDevicesDevicePutPrefsRequest constructs an http.Request for the MediaGrabberDevicesDevicePutPrefs method
func NewMediaGrabberDevicesDevicePutSlashRequest ¶
func NewMediaGrabberDevicesDevicePutSlashRequest(server string, deviceID int, params *MediaGrabberDevicesDevicePutSlashParams) (*http.Request, error)
NewMediaGrabberDevicesDevicePutSlashRequest constructs an http.Request for the MediaGrabberDevicesDevicePutSlash method
func NewMediaGrabberGetDevicesRequest ¶
NewMediaGrabberGetDevicesRequest constructs an http.Request for the MediaGrabberGetDevices method
func NewMediaGrabberGetSlashRequest ¶
func NewMediaGrabberGetSlashRequest(server string, params *MediaGrabberGetSlashParams) (*http.Request, error)
NewMediaGrabberGetSlashRequest constructs an http.Request for the MediaGrabberGetSlash method
func NewMediaGrabberPostDeviceDiscoverRequest ¶
NewMediaGrabberPostDeviceDiscoverRequest constructs an http.Request for the MediaGrabberPostDeviceDiscover method
func NewMediaGrabberPostDevicesRequest ¶
func NewMediaGrabberPostDevicesRequest(server string, params *MediaGrabberPostDevicesParams) (*http.Request, error)
NewMediaGrabberPostDevicesRequest constructs an http.Request for the MediaGrabberPostDevices method
func NewMediaProviderEPGChannelsRequest ¶
func NewMediaProviderEPGChannelsRequest(server string, identifier MediaProviderEPGChannelsParamsIdentifier, deviceID int, params *MediaProviderEPGChannelsParams) (*http.Request, error)
NewMediaProviderEPGChannelsRequest constructs an http.Request for the MediaProviderEPGChannels method
func NewMediaProviderEPGGridRequest ¶
func NewMediaProviderEPGGridRequest(server string, identifier MediaProviderEPGGridParamsIdentifier, deviceID int, params *MediaProviderEPGGridParams) (*http.Request, error)
NewMediaProviderEPGGridRequest constructs an http.Request for the MediaProviderEPGGrid method
func NewMediaProviderEPGWatchnowAllRequest ¶
func NewMediaProviderEPGWatchnowAllRequest(server string, identifier MediaProviderEPGWatchnowAllParamsIdentifier, deviceID int) (*http.Request, error)
NewMediaProviderEPGWatchnowAllRequest constructs an http.Request for the MediaProviderEPGWatchnowAll method
func NewMediaProviderEPGWatchnowRequest ¶
func NewMediaProviderEPGWatchnowRequest(server string, identifier MediaProviderEPGWatchnowParamsIdentifier, deviceID int) (*http.Request, error)
NewMediaProviderEPGWatchnowRequest constructs an http.Request for the MediaProviderEPGWatchnow method
func NewMediaSubscriptionsDeleteSubscriptionRequest ¶
func NewMediaSubscriptionsDeleteSubscriptionRequest(server string, subscriptionID int) (*http.Request, error)
NewMediaSubscriptionsDeleteSubscriptionRequest constructs an http.Request for the MediaSubscriptionsDeleteSubscription method
func NewMediaSubscriptionsGetScheduledRequest ¶
NewMediaSubscriptionsGetScheduledRequest constructs an http.Request for the MediaSubscriptionsGetScheduled method
func NewMediaSubscriptionsGetSlashRequest ¶
func NewMediaSubscriptionsGetSlashRequest(server string, params *MediaSubscriptionsGetSlashParams) (*http.Request, error)
NewMediaSubscriptionsGetSlashRequest constructs an http.Request for the MediaSubscriptionsGetSlash method
func NewMediaSubscriptionsGetSubscriptionRequest ¶
func NewMediaSubscriptionsGetSubscriptionRequest(server string, subscriptionID int, params *MediaSubscriptionsGetSubscriptionParams) (*http.Request, error)
NewMediaSubscriptionsGetSubscriptionRequest constructs an http.Request for the MediaSubscriptionsGetSubscription method
func NewMediaSubscriptionsGetTemplateRequest ¶
func NewMediaSubscriptionsGetTemplateRequest(server string, params *MediaSubscriptionsGetTemplateParams) (*http.Request, error)
NewMediaSubscriptionsGetTemplateRequest constructs an http.Request for the MediaSubscriptionsGetTemplate method
func NewMediaSubscriptionsPostProcessRequest ¶
NewMediaSubscriptionsPostProcessRequest constructs an http.Request for the MediaSubscriptionsPostProcess method
func NewMediaSubscriptionsPostSlashRequest ¶
func NewMediaSubscriptionsPostSlashRequest(server string, params *MediaSubscriptionsPostSlashParams) (*http.Request, error)
NewMediaSubscriptionsPostSlashRequest constructs an http.Request for the MediaSubscriptionsPostSlash method
func NewMediaSubscriptionsPutSubscriptionMoveRequest ¶
func NewMediaSubscriptionsPutSubscriptionMoveRequest(server string, subscriptionID int, params *MediaSubscriptionsPutSubscriptionMoveParams) (*http.Request, error)
NewMediaSubscriptionsPutSubscriptionMoveRequest constructs an http.Request for the MediaSubscriptionsPutSubscriptionMove method
func NewMediaSubscriptionsPutSubscriptionRequest ¶
func NewMediaSubscriptionsPutSubscriptionRequest(server string, subscriptionID int, params *MediaSubscriptionsPutSubscriptionParams) (*http.Request, error)
NewMediaSubscriptionsPutSubscriptionRequest constructs an http.Request for the MediaSubscriptionsPutSubscription method
func NewPlayQueuePlayQueueResetRequest ¶
NewPlayQueuePlayQueueResetRequest constructs an http.Request for the PlayQueuePlayQueueReset method
func NewPlayQueuePostSlashRequest ¶
func NewPlayQueuePostSlashRequest(server string, params *PlayQueuePostSlashParams) (*http.Request, error)
NewPlayQueuePostSlashRequest constructs an http.Request for the PlayQueuePostSlash method
func NewPlayQueueQueueDeleteItemsItemRequest ¶
func NewPlayQueueQueueDeleteItemsItemRequest(server string, playQueueID int, playQueueItemID int) (*http.Request, error)
NewPlayQueueQueueDeleteItemsItemRequest constructs an http.Request for the PlayQueueQueueDeleteItemsItem method
func NewPlayQueueQueueDeleteItemsRequest ¶
NewPlayQueueQueueDeleteItemsRequest constructs an http.Request for the PlayQueueQueueDeleteItems method
func NewPlayQueueQueueGetSlashRequest ¶
func NewPlayQueueQueueGetSlashRequest(server string, playQueueID int, params *PlayQueueQueueGetSlashParams) (*http.Request, error)
NewPlayQueueQueueGetSlashRequest constructs an http.Request for the PlayQueueQueueGetSlash method
func NewPlayQueueQueuePutItemsMoveRequest ¶
func NewPlayQueueQueuePutItemsMoveRequest(server string, playQueueID int, playQueueItemID int, params *PlayQueueQueuePutItemsMoveParams) (*http.Request, error)
NewPlayQueueQueuePutItemsMoveRequest constructs an http.Request for the PlayQueueQueuePutItemsMove method
func NewPlayQueueQueuePutItemsShuffleRequest ¶
NewPlayQueueQueuePutItemsShuffleRequest constructs an http.Request for the PlayQueueQueuePutItemsShuffle method
func NewPlayQueueQueuePutItemsUnshuffleRequest ¶
func NewPlayQueueQueuePutItemsUnshuffleRequest(server string, playQueueID int) (*http.Request, error)
NewPlayQueueQueuePutItemsUnshuffleRequest constructs an http.Request for the PlayQueueQueuePutItemsUnshuffle method
func NewPlayQueueQueuePutSlashRequest ¶
func NewPlayQueueQueuePutSlashRequest(server string, playQueueID int, params *PlayQueueQueuePutSlashParams) (*http.Request, error)
NewPlayQueueQueuePutSlashRequest constructs an http.Request for the PlayQueueQueuePutSlash method
func NewPlaylistDeleteItemsGeneratorRequest ¶
func NewPlaylistDeleteItemsGeneratorRequest(server string, playlistID int, generatorID int) (*http.Request, error)
NewPlaylistDeleteItemsGeneratorRequest constructs an http.Request for the PlaylistDeleteItemsGenerator method
func NewPlaylistDeleteItemsRequest ¶
NewPlaylistDeleteItemsRequest constructs an http.Request for the PlaylistDeleteItems method
func NewPlaylistDeletePlaylistRequest ¶
NewPlaylistDeletePlaylistRequest constructs an http.Request for the PlaylistDeletePlaylist method
func NewPlaylistGetGeneratorsRequest ¶
NewPlaylistGetGeneratorsRequest constructs an http.Request for the PlaylistGetGenerators method
func NewPlaylistGetItemsGeneratorItemsRequest ¶
func NewPlaylistGetItemsGeneratorItemsRequest(server string, playlistID int, generatorID int) (*http.Request, error)
NewPlaylistGetItemsGeneratorItemsRequest constructs an http.Request for the PlaylistGetItemsGeneratorItems method
func NewPlaylistGetItemsGeneratorRequest ¶
func NewPlaylistGetItemsGeneratorRequest(server string, playlistID int, generatorID int) (*http.Request, error)
NewPlaylistGetItemsGeneratorRequest constructs an http.Request for the PlaylistGetItemsGenerator method
func NewPlaylistGetItemsRequest ¶
func NewPlaylistGetItemsRequest(server string, playlistID int, params *PlaylistGetItemsParams) (*http.Request, error)
NewPlaylistGetItemsRequest constructs an http.Request for the PlaylistGetItems method
func NewPlaylistGetPlaylistRequest ¶
NewPlaylistGetPlaylistRequest constructs an http.Request for the PlaylistGetPlaylist method
func NewPlaylistGetSlashRequest ¶
func NewPlaylistGetSlashRequest(server string, params *PlaylistGetSlashParams) (*http.Request, error)
NewPlaylistGetSlashRequest constructs an http.Request for the PlaylistGetSlash method
func NewPlaylistPostSlashRequest ¶
func NewPlaylistPostSlashRequest(server string, params *PlaylistPostSlashParams) (*http.Request, error)
NewPlaylistPostSlashRequest constructs an http.Request for the PlaylistPostSlash method
func NewPlaylistPostUploadRequest ¶
func NewPlaylistPostUploadRequest(server string, params *PlaylistPostUploadParams) (*http.Request, error)
NewPlaylistPostUploadRequest constructs an http.Request for the PlaylistPostUpload method
func NewPlaylistPutItemsGeneratorReprocessRequest ¶
func NewPlaylistPutItemsGeneratorReprocessRequest(server string, playlistID int, generatorID int, metadataID int, action PlaylistPutItemsGeneratorReprocessParamsAction) (*http.Request, error)
NewPlaylistPutItemsGeneratorReprocessRequest constructs an http.Request for the PlaylistPutItemsGeneratorReprocess method
func NewPlaylistPutItemsGeneratorRequest ¶
func NewPlaylistPutItemsGeneratorRequest(server string, playlistID int, generatorID int, params *PlaylistPutItemsGeneratorParams) (*http.Request, error)
NewPlaylistPutItemsGeneratorRequest constructs an http.Request for the PlaylistPutItemsGenerator method
func NewPlaylistPutItemsMoveRequest ¶
func NewPlaylistPutItemsMoveRequest(server string, playlistID int, playlistItemID int, params *PlaylistPutItemsMoveParams) (*http.Request, error)
NewPlaylistPutItemsMoveRequest constructs an http.Request for the PlaylistPutItemsMove method
func NewPlaylistPutItemsRequest ¶
func NewPlaylistPutItemsRequest(server string, playlistID int, params *PlaylistPutItemsParams) (*http.Request, error)
NewPlaylistPutItemsRequest constructs an http.Request for the PlaylistPutItems method
func NewPlaylistPutPlaylistRequest ¶
NewPlaylistPutPlaylistRequest constructs an http.Request for the PlaylistPutPlaylist method
func NewPostMediaProvidersRefreshRequest ¶
NewPostMediaProvidersRefreshRequest constructs an http.Request for the PostMediaProvidersRefresh method
func NewPostMediaProvidersRequest ¶
func NewPostMediaProvidersRequest(server string, params *PostMediaProvidersParams) (*http.Request, error)
NewPostMediaProvidersRequest constructs an http.Request for the PostMediaProviders method
func NewPostMetadataAgentProviderGroupsRequest ¶
func NewPostMetadataAgentProviderGroupsRequest(server string, params *PostMetadataAgentProviderGroupsParams) (*http.Request, error)
NewPostMetadataAgentProviderGroupsRequest constructs an http.Request for the PostMetadataAgentProviderGroups method
func NewPostMetadataAgentProvidersRequest ¶
func NewPostMetadataAgentProvidersRequest(server string, params *PostMetadataAgentProvidersParams) (*http.Request, error)
NewPostMetadataAgentProvidersRequest constructs an http.Request for the PostMetadataAgentProviders method
func NewPreferencesGetGetRequest ¶
func NewPreferencesGetGetRequest(server string, params *PreferencesGetGetParams) (*http.Request, error)
NewPreferencesGetGetRequest constructs an http.Request for the PreferencesGetGet method
func NewPreferencesGetSlashRequest ¶
NewPreferencesGetSlashRequest constructs an http.Request for the PreferencesGetSlash method
func NewPreferencesPutSlashRequest ¶
func NewPreferencesPutSlashRequest(server string, params *PreferencesPutSlashParams) (*http.Request, error)
NewPreferencesPutSlashRequest constructs an http.Request for the PreferencesPutSlash method
func NewPutMetadataAgentProviderGroupItemRequest ¶
func NewPutMetadataAgentProviderGroupItemRequest(server string, groupID int, providerID int, params *PutMetadataAgentProviderGroupItemParams) (*http.Request, error)
NewPutMetadataAgentProviderGroupItemRequest constructs an http.Request for the PutMetadataAgentProviderGroupItem method
func NewPutMetadataAgentProviderGroupRequest ¶
func NewPutMetadataAgentProviderGroupRequest(server string, groupID int, params *PutMetadataAgentProviderGroupParams) (*http.Request, error)
NewPutMetadataAgentProviderGroupRequest constructs an http.Request for the PutMetadataAgentProviderGroup method
func NewPutMetadataAgentProviderRequest ¶
func NewPutMetadataAgentProviderRequest(server string, providerID int, params *PutMetadataAgentProviderParams) (*http.Request, error)
NewPutMetadataAgentProviderRequest constructs an http.Request for the PutMetadataAgentProvider method
func NewPutRateRequest ¶
func NewPutRateRequest(server string, params *PutRateParams) (*http.Request, error)
NewPutRateRequest constructs an http.Request for the PutRate method
func NewPutScrobbleRequest ¶
func NewPutScrobbleRequest(server string, params *PutScrobbleParams) (*http.Request, error)
NewPutScrobbleRequest constructs an http.Request for the PutScrobble method
func NewPutUnscrobbleRequest ¶
func NewPutUnscrobbleRequest(server string, params *PutUnscrobbleParams) (*http.Request, error)
NewPutUnscrobbleRequest constructs an http.Request for the PutUnscrobble method
func NewSecurityGetResourcesRequest ¶
func NewSecurityGetResourcesRequest(server string, params *SecurityGetResourcesParams) (*http.Request, error)
NewSecurityGetResourcesRequest constructs an http.Request for the SecurityGetResources method
func NewSecurityPostTokenRequest ¶
func NewSecurityPostTokenRequest(server string, params *SecurityPostTokenParams) (*http.Request, error)
NewSecurityPostTokenRequest constructs an http.Request for the SecurityPostToken method
func NewStatusDeleteHistoryRequest ¶
NewStatusDeleteHistoryRequest constructs an http.Request for the StatusDeleteHistory method
func NewStatusGetBackgroundRequest ¶
NewStatusGetBackgroundRequest constructs an http.Request for the StatusGetBackground method
func NewStatusGetHistoryAllRequest ¶
func NewStatusGetHistoryAllRequest(server string, params *StatusGetHistoryAllParams) (*http.Request, error)
NewStatusGetHistoryAllRequest constructs an http.Request for the StatusGetHistoryAll method
func NewStatusGetHistoryRequest ¶
NewStatusGetHistoryRequest constructs an http.Request for the StatusGetHistory method
func NewStatusGetSlashRequest ¶
NewStatusGetSlashRequest constructs an http.Request for the StatusGetSlash method
func NewStatusPostTerminateRequest ¶
func NewStatusPostTerminateRequest(server string, params *StatusPostTerminateParams) (*http.Request, error)
NewStatusPostTerminateRequest constructs an http.Request for the StatusPostTerminate method
func NewTimelinePostSlashRequest ¶
func NewTimelinePostSlashRequest(server string, params *TimelinePostSlashParams) (*http.Request, error)
NewTimelinePostSlashRequest constructs an http.Request for the TimelinePostSlash method
func NewTranscodeDecisionRequest ¶
func NewTranscodeDecisionRequest(server string, transcodeType TranscodeDecisionParamsTranscodeType, params *TranscodeDecisionParams) (*http.Request, error)
NewTranscodeDecisionRequest constructs an http.Request for the TranscodeDecision method
func NewTranscodeFallbackRequest ¶
func NewTranscodeFallbackRequest(server string, transcodeType TranscodeFallbackParamsTranscodeType, params *TranscodeFallbackParams) (*http.Request, error)
NewTranscodeFallbackRequest constructs an http.Request for the TranscodeFallback method
func NewTranscodeStartRequest ¶
func NewTranscodeStartRequest(server string, transcodeType TranscodeStartParamsTranscodeType, params *TranscodeStartParams) (*http.Request, error)
NewTranscodeStartRequest constructs an http.Request for the TranscodeStart method
func NewTranscodeSubtitlesRequest ¶
func NewTranscodeSubtitlesRequest(server string, transcodeType TranscodeSubtitlesParamsTranscodeType, params *TranscodeSubtitlesParams) (*http.Request, error)
NewTranscodeSubtitlesRequest constructs an http.Request for the TranscodeSubtitles method
func NewUltraBlurGetColorsRequest ¶
func NewUltraBlurGetColorsRequest(server string, params *UltraBlurGetColorsParams) (*http.Request, error)
NewUltraBlurGetColorsRequest constructs an http.Request for the UltraBlurGetColors method
func NewUltraBlurGetImageRequest ¶
func NewUltraBlurGetImageRequest(server string, params *UltraBlurGetImageParams) (*http.Request, error)
NewUltraBlurGetImageRequest constructs an http.Request for the UltraBlurGetImage method
func NewUpdaterGetStatusRequest ¶
NewUpdaterGetStatusRequest constructs an http.Request for the UpdaterGetStatus method
func NewUpdaterPutApplyRequest ¶
func NewUpdaterPutApplyRequest(server string, params *UpdaterPutApplyParams) (*http.Request, error)
NewUpdaterPutApplyRequest constructs an http.Request for the UpdaterPutApply method
func NewUpdaterPutCheckRequest ¶
func NewUpdaterPutCheckRequest(server string, params *UpdaterPutCheckParams) (*http.Request, error)
NewUpdaterPutCheckRequest constructs an http.Request for the UpdaterPutCheck method
func NewWebsocketGetSlashRequest ¶
func NewWebsocketGetSlashRequest(server string, params *WebsocketGetSlashParams) (*http.Request, error)
NewWebsocketGetSlashRequest constructs an http.Request for the WebsocketGetSlash method
Types ¶
type ActivitiesDeleteActivityResponse ¶
func ParseActivitiesDeleteActivityResponse ¶
func ParseActivitiesDeleteActivityResponse(rsp *http.Response) (*ActivitiesDeleteActivityResponse, error)
ParseActivitiesDeleteActivityResponse parses an HTTP response from a ActivitiesDeleteActivityWithResponse call
func (ActivitiesDeleteActivityResponse) ContentType ¶
func (r ActivitiesDeleteActivityResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ActivitiesDeleteActivityResponse) GetBody ¶
func (r ActivitiesDeleteActivityResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ActivitiesDeleteActivityResponse) Status ¶
func (r ActivitiesDeleteActivityResponse) Status() string
Status returns HTTPResponse.Status
func (ActivitiesDeleteActivityResponse) StatusCode ¶
func (r ActivitiesDeleteActivityResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ActivitiesGetSlashResponse ¶
type ActivitiesGetSlashResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *struct {
MediaContainer struct {
Activity []struct {
// Context An object with additional values
Context map[string]interface{} `json:"Context,omitempty,omitzero"`
// Response An object with the response to the async opperation
Response map[string]interface{} `json:"Response,omitempty,omitzero"`
// Cancellable Indicates whether this activity can be cancelled
Cancellable bool `json:"cancellable,omitempty,omitzero"`
// Progress A progress percentage. A value of -1 means the progress is indeterminate
Progress float32 `json:"progress,omitempty,omitzero"`
// Subtitle A user-friendly sub-title for this activity
Subtitle string `json:"subtitle,omitempty,omitzero"`
// Title A user-friendly title for this activity
Title string `json:"title,omitempty,omitzero"`
// Type The type of activity
Type string `json:"type,omitempty,omitzero"`
// UserID The user this activity belongs to
UserID int `json:"userID,omitempty,omitzero"`
// UUID The ID of the activity
UUID string `json:"uuid,omitempty,omitzero"`
} `json:"Activity,omitempty,omitzero"`
} `json:"MediaContainer,omitempty,omitzero"`
}
}
func ParseActivitiesGetSlashResponse ¶
func ParseActivitiesGetSlashResponse(rsp *http.Response) (*ActivitiesGetSlashResponse, error)
ParseActivitiesGetSlashResponse parses an HTTP response from a ActivitiesGetSlashWithResponse call
func (ActivitiesGetSlashResponse) ContentType ¶
func (r ActivitiesGetSlashResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ActivitiesGetSlashResponse) GetBody ¶
func (r ActivitiesGetSlashResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ActivitiesGetSlashResponse) GetJSON200 ¶
func (r ActivitiesGetSlashResponse) GetJSON200() *struct { MediaContainer struct { Activity []struct { // Context An object with additional values Context map[string]interface{} `json:"Context,omitempty,omitzero"` // Response An object with the response to the async opperation Response map[string]interface{} `json:"Response,omitempty,omitzero"` // Cancellable Indicates whether this activity can be cancelled Cancellable bool `json:"cancellable,omitempty,omitzero"` // Progress A progress percentage. A value of -1 means the progress is indeterminate Progress float32 `json:"progress,omitempty,omitzero"` // Subtitle A user-friendly sub-title for this activity Subtitle string `json:"subtitle,omitempty,omitzero"` // Title A user-friendly title for this activity Title string `json:"title,omitempty,omitzero"` // Type The type of activity Type string `json:"type,omitempty,omitzero"` // UserID The user this activity belongs to UserID int `json:"userID,omitempty,omitzero"` // UUID The ID of the activity UUID string `json:"uuid,omitempty,omitzero"` } `json:"Activity,omitempty,omitzero"` } `json:"MediaContainer,omitempty,omitzero"` }
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ActivitiesGetSlashResponse) Status ¶
func (r ActivitiesGetSlashResponse) Status() string
Status returns HTTPResponse.Status
func (ActivitiesGetSlashResponse) StatusCode ¶
func (r ActivitiesGetSlashResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AdvancedSubtitlesParam ¶
type AdvancedSubtitlesParam string
AdvancedSubtitlesParam defines model for 2.
const ( AdvancedSubtitlesParamBurn AdvancedSubtitlesParam = "burn" AdvancedSubtitlesParamText AdvancedSubtitlesParam = "text" AdvancedSubtitlesParamUnknown AdvancedSubtitlesParam = "unknown" )
Defines values for AdvancedSubtitlesParam.
func (AdvancedSubtitlesParam) Valid ¶
func (e AdvancedSubtitlesParam) Valid() bool
Valid indicates whether the value is a known member of the AdvancedSubtitlesParam enum.
type AudioChannelCountParam ¶
type AudioChannelCountParam = int
AudioChannelCountParam defines model for 4.
type AutoAdjustQualityParam ¶
type AutoAdjustQualityParam int
AutoAdjustQualityParam defines model for 7.
const ( AutoAdjustQualityParamN0 AutoAdjustQualityParam = 0 AutoAdjustQualityParamN1 AutoAdjustQualityParam = 1 )
Defines values for AutoAdjustQualityParam.
func (AutoAdjustQualityParam) Valid ¶
func (e AutoAdjustQualityParam) Valid() bool
Valid indicates whether the value is a known member of the AutoAdjustQualityParam enum.
type AutoAdjustSubtitleParam ¶
type AutoAdjustSubtitleParam int
AutoAdjustSubtitleParam defines model for 8.
const ( AutoAdjustSubtitleParamN0 AutoAdjustSubtitleParam = 0 AutoAdjustSubtitleParamN1 AutoAdjustSubtitleParam = 1 )
Defines values for AutoAdjustSubtitleParam.
func (AutoAdjustSubtitleParam) Valid ¶
func (e AutoAdjustSubtitleParam) Valid() bool
Valid indicates whether the value is a known member of the AutoAdjustSubtitleParam enum.
type Bool ¶ added in v0.1.1
type Bool bool
Bool is a boolean that also decodes from the numbers 0 and 1.
Plex Media Server converts its XML attributes to JSON and does not always emit the type its specification declares: some fields documented as boolean are sent as 0 or 1. Fields known to do this use Bool instead of bool. Bool encodes as a JSON boolean.
func (*Bool) UnmarshalJSON ¶ added in v0.1.1
UnmarshalJSON implements json.Unmarshaler. It accepts true, false, 0, 1, and the same values as JSON strings. A JSON null leaves b unchanged.
type BoostDialogParam ¶
type BoostDialogParam int
BoostDialogParam defines model for 6.
const ( BoostDialogParamN0 BoostDialogParam = 0 BoostDialogParamN1 BoostDialogParam = 1 )
Defines values for BoostDialogParam.
func (BoostDialogParam) Valid ¶
func (e BoostDialogParam) Valid() bool
Valid indicates whether the value is a known member of the BoostDialogParam enum.
type ButlerDeleteSlashResponse ¶
func ParseButlerDeleteSlashResponse ¶
func ParseButlerDeleteSlashResponse(rsp *http.Response) (*ButlerDeleteSlashResponse, error)
ParseButlerDeleteSlashResponse parses an HTTP response from a ButlerDeleteSlashWithResponse call
func (ButlerDeleteSlashResponse) ContentType ¶
func (r ButlerDeleteSlashResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ButlerDeleteSlashResponse) GetBody ¶
func (r ButlerDeleteSlashResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ButlerDeleteSlashResponse) Status ¶
func (r ButlerDeleteSlashResponse) Status() string
Status returns HTTPResponse.Status
func (ButlerDeleteSlashResponse) StatusCode ¶
func (r ButlerDeleteSlashResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ButlerDeleteTaskParamsTask ¶
type ButlerDeleteTaskParamsTask string
ButlerDeleteTaskParamsTask defines parameters for ButlerDeleteTask.
const ( ButlerDeleteTaskParamsTaskAutomaticUpdates ButlerDeleteTaskParamsTask = "AutomaticUpdates" ButlerDeleteTaskParamsTaskBackupDatabase ButlerDeleteTaskParamsTask = "BackupDatabase" ButlerDeleteTaskParamsTaskButlerTaskGenerateAdMarkers ButlerDeleteTaskParamsTask = "ButlerTaskGenerateAdMarkers" ButlerDeleteTaskParamsTaskButlerTaskGenerateCreditsMarkers ButlerDeleteTaskParamsTask = "ButlerTaskGenerateCreditsMarkers" ButlerDeleteTaskParamsTaskButlerTaskGenerateIntroMarkers ButlerDeleteTaskParamsTask = "ButlerTaskGenerateIntroMarkers" ButlerDeleteTaskParamsTaskButlerTaskGenerateVoiceActivity ButlerDeleteTaskParamsTask = "ButlerTaskGenerateVoiceActivity" ButlerDeleteTaskParamsTaskCleanOldBundles ButlerDeleteTaskParamsTask = "CleanOldBundles" ButlerDeleteTaskParamsTaskCleanOldCacheFiles ButlerDeleteTaskParamsTask = "CleanOldCacheFiles" ButlerDeleteTaskParamsTaskDeepMediaAnalysis ButlerDeleteTaskParamsTask = "DeepMediaAnalysis" ButlerDeleteTaskParamsTaskGarbageCollectBlobs ButlerDeleteTaskParamsTask = "GarbageCollectBlobs" ButlerDeleteTaskParamsTaskGarbageCollectLibraryMedia ButlerDeleteTaskParamsTask = "GarbageCollectLibraryMedia" ButlerDeleteTaskParamsTaskGenerateBlurHashes ButlerDeleteTaskParamsTask = "GenerateBlurHashes" ButlerDeleteTaskParamsTaskGenerateChapterThumbs ButlerDeleteTaskParamsTask = "GenerateChapterThumbs" ButlerDeleteTaskParamsTaskGenerateMediaIndexFiles ButlerDeleteTaskParamsTask = "GenerateMediaIndexFiles" ButlerDeleteTaskParamsTaskLoudnessAnalysis ButlerDeleteTaskParamsTask = "LoudnessAnalysis" ButlerDeleteTaskParamsTaskMusicAnalysis ButlerDeleteTaskParamsTask = "MusicAnalysis" ButlerDeleteTaskParamsTaskOptimizeDatabase ButlerDeleteTaskParamsTask = "OptimizeDatabase" ButlerDeleteTaskParamsTaskRefreshEPGGuides ButlerDeleteTaskParamsTask = "RefreshEpgGuides" ButlerDeleteTaskParamsTaskRefreshLibraries ButlerDeleteTaskParamsTask = "RefreshLibraries" ButlerDeleteTaskParamsTaskRefreshLocalMedia ButlerDeleteTaskParamsTask = "RefreshLocalMedia" ButlerDeleteTaskParamsTaskRefreshPeriodicMetadata ButlerDeleteTaskParamsTask = "RefreshPeriodicMetadata" ButlerDeleteTaskParamsTaskUpgradeMediaAnalysis ButlerDeleteTaskParamsTask = "UpgradeMediaAnalysis" )
Defines values for ButlerDeleteTaskParamsTask.
func (ButlerDeleteTaskParamsTask) Valid ¶
func (e ButlerDeleteTaskParamsTask) Valid() bool
Valid indicates whether the value is a known member of the ButlerDeleteTaskParamsTask enum.
type ButlerDeleteTaskResponse ¶
func ParseButlerDeleteTaskResponse ¶
func ParseButlerDeleteTaskResponse(rsp *http.Response) (*ButlerDeleteTaskResponse, error)
ParseButlerDeleteTaskResponse parses an HTTP response from a ButlerDeleteTaskWithResponse call
func (ButlerDeleteTaskResponse) ContentType ¶
func (r ButlerDeleteTaskResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ButlerDeleteTaskResponse) GetBody ¶
func (r ButlerDeleteTaskResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ButlerDeleteTaskResponse) Status ¶
func (r ButlerDeleteTaskResponse) Status() string
Status returns HTTPResponse.Status
func (ButlerDeleteTaskResponse) StatusCode ¶
func (r ButlerDeleteTaskResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ButlerGetSlashResponse ¶
type ButlerGetSlashResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *struct {
ButlerTasks struct {
ButlerTask []struct {
// Description A user-friendly description of the task
Description string `json:"description,omitempty,omitzero"`
// Enabled Whether this task is enabled or not
Enabled bool `json:"enabled,omitempty,omitzero"`
// Interval The interval (in days) of when this task is run. A value of 1 is run every day, 7 is every week, etc.
Interval int `json:"interval,omitempty,omitzero"`
// Name The name of the task
Name string `json:"name,omitempty,omitzero"`
// ScheduleRandomized Indicates whether the timing of the task is randomized within the butler interval
ScheduleRandomized bool `json:"scheduleRandomized,omitempty,omitzero"`
// Title A user-friendly title of the task
Title string `json:"title,omitempty,omitzero"`
} `json:"ButlerTask,omitempty,omitzero"`
} `json:"ButlerTasks,omitempty,omitzero"`
}
}
func ParseButlerGetSlashResponse ¶
func ParseButlerGetSlashResponse(rsp *http.Response) (*ButlerGetSlashResponse, error)
ParseButlerGetSlashResponse parses an HTTP response from a ButlerGetSlashWithResponse call
func (ButlerGetSlashResponse) ContentType ¶
func (r ButlerGetSlashResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ButlerGetSlashResponse) GetBody ¶
func (r ButlerGetSlashResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ButlerGetSlashResponse) GetJSON200 ¶
func (r ButlerGetSlashResponse) GetJSON200() *struct { ButlerTasks struct { ButlerTask []struct { // Description A user-friendly description of the task Description string `json:"description,omitempty,omitzero"` // Enabled Whether this task is enabled or not Enabled bool `json:"enabled,omitempty,omitzero"` // Interval The interval (in days) of when this task is run. A value of 1 is run every day, 7 is every week, etc. Interval int `json:"interval,omitempty,omitzero"` // Name The name of the task Name string `json:"name,omitempty,omitzero"` // ScheduleRandomized Indicates whether the timing of the task is randomized within the butler interval ScheduleRandomized bool `json:"scheduleRandomized,omitempty,omitzero"` // Title A user-friendly title of the task Title string `json:"title,omitempty,omitzero"` } `json:"ButlerTask,omitempty,omitzero"` } `json:"ButlerTasks,omitempty,omitzero"` }
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ButlerGetSlashResponse) Status ¶
func (r ButlerGetSlashResponse) Status() string
Status returns HTTPResponse.Status
func (ButlerGetSlashResponse) StatusCode ¶
func (r ButlerGetSlashResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ButlerPostSlashResponse ¶
func ParseButlerPostSlashResponse ¶
func ParseButlerPostSlashResponse(rsp *http.Response) (*ButlerPostSlashResponse, error)
ParseButlerPostSlashResponse parses an HTTP response from a ButlerPostSlashWithResponse call
func (ButlerPostSlashResponse) ContentType ¶
func (r ButlerPostSlashResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ButlerPostSlashResponse) GetBody ¶
func (r ButlerPostSlashResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ButlerPostSlashResponse) Status ¶
func (r ButlerPostSlashResponse) Status() string
Status returns HTTPResponse.Status
func (ButlerPostSlashResponse) StatusCode ¶
func (r ButlerPostSlashResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ButlerPostTaskParamsTask ¶
type ButlerPostTaskParamsTask string
ButlerPostTaskParamsTask defines parameters for ButlerPostTask.
const ( ButlerPostTaskParamsTaskAutomaticUpdates ButlerPostTaskParamsTask = "AutomaticUpdates" ButlerPostTaskParamsTaskBackupDatabase ButlerPostTaskParamsTask = "BackupDatabase" ButlerPostTaskParamsTaskButlerTaskGenerateAdMarkers ButlerPostTaskParamsTask = "ButlerTaskGenerateAdMarkers" ButlerPostTaskParamsTaskButlerTaskGenerateCreditsMarkers ButlerPostTaskParamsTask = "ButlerTaskGenerateCreditsMarkers" ButlerPostTaskParamsTaskButlerTaskGenerateIntroMarkers ButlerPostTaskParamsTask = "ButlerTaskGenerateIntroMarkers" ButlerPostTaskParamsTaskButlerTaskGenerateVoiceActivity ButlerPostTaskParamsTask = "ButlerTaskGenerateVoiceActivity" ButlerPostTaskParamsTaskCleanOldBundles ButlerPostTaskParamsTask = "CleanOldBundles" ButlerPostTaskParamsTaskCleanOldCacheFiles ButlerPostTaskParamsTask = "CleanOldCacheFiles" ButlerPostTaskParamsTaskDeepMediaAnalysis ButlerPostTaskParamsTask = "DeepMediaAnalysis" ButlerPostTaskParamsTaskGarbageCollectBlobs ButlerPostTaskParamsTask = "GarbageCollectBlobs" ButlerPostTaskParamsTaskGarbageCollectLibraryMedia ButlerPostTaskParamsTask = "GarbageCollectLibraryMedia" ButlerPostTaskParamsTaskGenerateBlurHashes ButlerPostTaskParamsTask = "GenerateBlurHashes" ButlerPostTaskParamsTaskGenerateChapterThumbs ButlerPostTaskParamsTask = "GenerateChapterThumbs" ButlerPostTaskParamsTaskGenerateMediaIndexFiles ButlerPostTaskParamsTask = "GenerateMediaIndexFiles" ButlerPostTaskParamsTaskLoudnessAnalysis ButlerPostTaskParamsTask = "LoudnessAnalysis" ButlerPostTaskParamsTaskMusicAnalysis ButlerPostTaskParamsTask = "MusicAnalysis" ButlerPostTaskParamsTaskOptimizeDatabase ButlerPostTaskParamsTask = "OptimizeDatabase" ButlerPostTaskParamsTaskRefreshEPGGuides ButlerPostTaskParamsTask = "RefreshEpgGuides" ButlerPostTaskParamsTaskRefreshLibraries ButlerPostTaskParamsTask = "RefreshLibraries" ButlerPostTaskParamsTaskRefreshLocalMedia ButlerPostTaskParamsTask = "RefreshLocalMedia" ButlerPostTaskParamsTaskRefreshPeriodicMetadata ButlerPostTaskParamsTask = "RefreshPeriodicMetadata" ButlerPostTaskParamsTaskUpgradeMediaAnalysis ButlerPostTaskParamsTask = "UpgradeMediaAnalysis" )
Defines values for ButlerPostTaskParamsTask.
func (ButlerPostTaskParamsTask) Valid ¶
func (e ButlerPostTaskParamsTask) Valid() bool
Valid indicates whether the value is a known member of the ButlerPostTaskParamsTask enum.
type ButlerPostTaskResponse ¶
func ParseButlerPostTaskResponse ¶
func ParseButlerPostTaskResponse(rsp *http.Response) (*ButlerPostTaskResponse, error)
ParseButlerPostTaskResponse parses an HTTP response from a ButlerPostTaskWithResponse call
func (ButlerPostTaskResponse) ContentType ¶
func (r ButlerPostTaskResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ButlerPostTaskResponse) GetBody ¶
func (r ButlerPostTaskResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ButlerPostTaskResponse) Status ¶
func (r ButlerPostTaskResponse) Status() string
Status returns HTTPResponse.Status
func (ButlerPostTaskResponse) StatusCode ¶
func (r ButlerPostTaskResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type Channel ¶
type Channel struct {
CallSign string `json:"callSign,omitempty,omitzero"`
ChannelVcn string `json:"channelVcn,omitempty,omitzero"`
Hd bool `json:"hd,omitempty,omitzero"`
Identifier string `json:"identifier,omitempty,omitzero"`
Key string `json:"key,omitempty,omitzero"`
Language string `json:"language,omitempty,omitzero"`
Thumb string `json:"thumb,omitempty,omitzero"`
Title string `json:"title,omitempty,omitzero"`
}
Channel defines model for channel.
type Client ¶
type Client struct {
// The endpoint of the server conforming to this interface, with scheme,
// https://api.deepmap.com for example. This can contain a path relative
// to the server, such as https://api.deepmap.com/dev-test, and all the
// paths in the swagger spec will be appended to the server.
Server string
// Doer for performing requests, typically a *http.Client with any
// customized settings, such as certificate chains.
Client HttpRequestDoer
// A list of callbacks for modifying requests which are generated before sending over
// the network.
RequestEditors []RequestEditorFn
}
Client which conforms to the OpenAPI3 specification for this service.
func NewClient ¶
func NewClient(server string, opts ...ClientOption) (*Client, error)
Creates a new Client, with reasonable defaults
func (*Client) ActivitiesDeleteActivity ¶
func (c *Client) ActivitiesDeleteActivity(ctx context.Context, activityID string, reqEditors ...RequestEditorFn) (*http.Response, error)
ActivitiesDeleteActivity Cancel a running activity
Cancel a running activity. Admins can cancel all activities but other users can only cancel their own
Corresponds with DELETE /activities/{activityId} (the `ActivitiesDeleteActivity` operationId).
func (*Client) ActivitiesGetSlash ¶
func (c *Client) ActivitiesGetSlash(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
ActivitiesGetSlash Get all activities
List all activities on the server. Admins can see all activities but other users can only see their own
Corresponds with GET /activities (the `ActivitiesGetSlash` operationId).
func (*Client) ButlerDeleteSlash ¶
func (c *Client) ButlerDeleteSlash(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
ButlerDeleteSlash Stop all Butler tasks
This endpoint will stop all currently running tasks and remove any scheduled tasks from the queue.
Corresponds with DELETE /butler (the `ButlerDeleteSlash` operationId).
func (*Client) ButlerDeleteTask ¶
func (c *Client) ButlerDeleteTask(ctx context.Context, task ButlerDeleteTaskParamsTask, reqEditors ...RequestEditorFn) (*http.Response, error)
ButlerDeleteTask Stop a single Butler task
This endpoint will stop a currently running task by name, or remove it from the list of scheduled tasks if it exists ¶
Corresponds with DELETE /butler/{task} (the `ButlerDeleteTask` operationId).
func (*Client) ButlerGetSlash ¶
func (c *Client) ButlerGetSlash(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
ButlerGetSlash Get all Butler tasks
Get the list of butler tasks and their scheduling.
Corresponds with GET /butler (the `ButlerGetSlash` operationId).
func (*Client) ButlerPostSlash ¶
func (c *Client) ButlerPostSlash(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
ButlerPostSlash Start all Butler tasks
This endpoint will attempt to start all Butler tasks that are enabled in the settings. Butler tasks normally run automatically during a time window configured on the server's Settings page but can be manually started using this endpoint. Tasks will run with the following criteria:
- Any tasks not scheduled to run on the current day will be skipped.
- If a task is configured to run at a random time during the configured window and we are outside that window, the task will start immediately.
- If a task is configured to run at a random time during the configured window and we are within that window, the task will be scheduled at a random time within the window.
- If we are outside the configured window, the task will start immediately.
Corresponds with POST /butler (the `ButlerPostSlash` operationId).
func (*Client) ButlerPostTask ¶
func (c *Client) ButlerPostTask(ctx context.Context, task ButlerPostTaskParamsTask, reqEditors ...RequestEditorFn) (*http.Response, error)
ButlerPostTask Start a single Butler task
This endpoint will attempt to start a specific Butler task by name.
Corresponds with POST /butler/{task} (the `ButlerPostTask` operationId).
func (*Client) DeleteMediaProvider ¶
func (c *Client) DeleteMediaProvider(ctx context.Context, provider string, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteMediaProvider Delete a media provider
Deletes a media provider with the given id.
Corresponds with DELETE /media/providers/{provider} (the `DeleteMediaProvider` operationId).
func (*Client) DeleteMetadataAgentProvider ¶
func (c *Client) DeleteMetadataAgentProvider(ctx context.Context, providerID int, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteMetadataAgentProvider Delete a metadata agent provider
Deletes a metadata agent provider with the given id. This will fail if the provider is being used inside a MetadataAgentGroup.
Corresponds with DELETE /media/providers/metadata/{providerId} (the `DeleteMetadataAgentProvider` operationId).
func (*Client) DeleteMetadataAgentProviderGroup ¶
func (c *Client) DeleteMetadataAgentProviderGroup(ctx context.Context, groupID int, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteMetadataAgentProviderGroup Delete a metadata agent provider group
Deletes a metadata agent provider group with the given id. This will also delete any MetadataAgentGroupItem objects associated with the group.
Corresponds with DELETE /media/providers/metadata/group/{groupId} (the `DeleteMetadataAgentProviderGroup` operationId).
func (*Client) DeleteMetadataAgentProviderGroupItem ¶
func (c *Client) DeleteMetadataAgentProviderGroupItem(ctx context.Context, groupID int, providerID int, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteMetadataAgentProviderGroupItem Delete a metadata agent provider group item
Deletes a metadata agent provider group item with the given id.
Corresponds with DELETE /media/providers/metadata/group/{groupId}/items/{providerId} (the `DeleteMetadataAgentProviderGroupItem` operationId).
func (*Client) DownloadQueueDeleteQueueItemsItem ¶
func (c *Client) DownloadQueueDeleteQueueItemsItem(ctx context.Context, queueID int, itemID []int, reqEditors ...RequestEditorFn) (*http.Response, error)
DownloadQueueDeleteQueueItemsItem Delete download queue items
delete items from a download queue.
Corresponds with DELETE /downloadQueue/{queueId}/items/{itemId} (the `DownloadQueueDeleteQueueItemsItem` operationId).
func (*Client) DownloadQueueGetQueue ¶
func (c *Client) DownloadQueueGetQueue(ctx context.Context, queueID int, reqEditors ...RequestEditorFn) (*http.Response, error)
DownloadQueueGetQueue Get a download queue
Available: 0.2.0
Get a download queue by its id ¶
Corresponds with GET /downloadQueue/{queueId} (the `DownloadQueueGetQueue` operationId).
func (*Client) DownloadQueueGetQueueItemItemDecision ¶
func (c *Client) DownloadQueueGetQueueItemItemDecision(ctx context.Context, queueID int, itemID int, reqEditors ...RequestEditorFn) (*http.Response, error)
DownloadQueueGetQueueItemItemDecision Grab download queue item decision
Available: 0.2.0
Grab the decision for a download queue item ¶
Corresponds with GET /downloadQueue/{queueId}/item/{itemId}/decision (the `DownloadQueueGetQueueItemItemDecision` operationId).
func (*Client) DownloadQueueGetQueueItemItemMedia ¶
func (c *Client) DownloadQueueGetQueueItemItemMedia(ctx context.Context, queueID int, itemID int, reqEditors ...RequestEditorFn) (*http.Response, error)
DownloadQueueGetQueueItemItemMedia Grab download queue media
Available: 0.2.0
Grab the media for a download queue item ¶
Corresponds with GET /downloadQueue/{queueId}/item/{itemId}/media (the `DownloadQueueGetQueueItemItemMedia` operationId).
func (*Client) DownloadQueueGetQueueItems ¶
func (c *Client) DownloadQueueGetQueueItems(ctx context.Context, queueID int, reqEditors ...RequestEditorFn) (*http.Response, error)
DownloadQueueGetQueueItems Get download queue items
Available: 0.2.0
Get items from a download queue ¶
Corresponds with GET /downloadQueue/{queueId}/items (the `DownloadQueueGetQueueItems` operationId).
func (*Client) DownloadQueueGetQueueItemsItem ¶
func (c *Client) DownloadQueueGetQueueItemsItem(ctx context.Context, queueID int, itemID []int, reqEditors ...RequestEditorFn) (*http.Response, error)
DownloadQueueGetQueueItemsItem Get download queue items
Available: 0.2.0
Get items from a download queue ¶
Corresponds with GET /downloadQueue/{queueId}/items/{itemId} (the `DownloadQueueGetQueueItemsItem` operationId).
func (*Client) DownloadQueuePost ¶
func (c *Client) DownloadQueuePost(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
DownloadQueuePost Get or create a download queue
Available: 0.2.0
Get or create a download queue for this client by its client id and for this user as identified by the token ¶
Corresponds with POST /downloadQueue (the `DownloadQueuePost` operationId).
func (*Client) DownloadQueuePostQueueAdd ¶
func (c *Client) DownloadQueuePostQueueAdd(ctx context.Context, queueID int, params *DownloadQueuePostQueueAddParams, reqEditors ...RequestEditorFn) (*http.Response, error)
DownloadQueuePostQueueAdd Add to download queue
Available: 0.2.0
Add items to the download queue ¶
Corresponds with POST /downloadQueue/{queueId}/add (the `DownloadQueuePostQueueAdd` operationId).
func (*Client) DownloadQueuePostQueueItemsItemRestart ¶
func (c *Client) DownloadQueuePostQueueItemsItemRestart(ctx context.Context, queueID int, itemID []int, reqEditors ...RequestEditorFn) (*http.Response, error)
DownloadQueuePostQueueItemsItemRestart Restart processing of items from the decision
Available: 0.2.0
Reprocess download queue items with previous decision parameters ¶
Corresponds with POST /downloadQueue/{queueId}/items/{itemId}/restart (the `DownloadQueuePostQueueItemsItemRestart` operationId).
func (*Client) EventsourceGetSlash ¶
func (c *Client) EventsourceGetSlash(ctx context.Context, params *EventsourceGetSlashParams, reqEditors ...RequestEditorFn) (*http.Response, error)
EventsourceGetSlash Connect to Eventsource
Connect to the event source to get a stream of events.
Corresponds with GET /:/eventsource/notifications (the `EventsourceGetSlash` operationId).
func (*Client) GetIdentity ¶
func (c *Client) GetIdentity(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
GetIdentity Get PMS identity
Get details about this PMS's identity.
Corresponds with GET /identity (the `GetIdentity` operationId).
func (*Client) GetMediaProviders ¶
func (c *Client) GetMediaProviders(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
GetMediaProviders Get the list of available media providers
Get the list of all available media providers for this PMS. This will generally include the library provider and possibly EPG if DVR is set up.
Corresponds with GET /media/providers (the `GetMediaProviders` operationId).
func (*Client) GetMetadataAgentProvider ¶
func (c *Client) GetMetadataAgentProvider(ctx context.Context, providerID int, reqEditors ...RequestEditorFn) (*http.Response, error)
GetMetadataAgentProvider Get a metadata agent provider
Get the metadata agent provider with the given id.
Corresponds with GET /media/providers/metadata/{providerId} (the `GetMetadataAgentProvider` operationId).
func (*Client) GetMetadataAgentProviderGroup ¶
func (c *Client) GetMetadataAgentProviderGroup(ctx context.Context, groupID int, reqEditors ...RequestEditorFn) (*http.Response, error)
GetMetadataAgentProviderGroup Get a metadata agent provider group
Get the metadata agent provider group with the given id.
Corresponds with GET /media/providers/metadata/group/{groupId} (the `GetMetadataAgentProviderGroup` operationId).
func (*Client) GetMetadataAgentProviderGroups ¶
func (c *Client) GetMetadataAgentProviderGroups(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
GetMetadataAgentProviderGroups Get the list of available metadata agent provider groups
Get the list of all available metadata agent provider groups for this PMS.
Corresponds with GET /media/providers/metadata/group (the `GetMetadataAgentProviderGroups` operationId).
func (*Client) GetMetadataAgentProviders ¶
func (c *Client) GetMetadataAgentProviders(ctx context.Context, params *GetMetadataAgentProvidersParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetMetadataAgentProviders Get the list of available metadata agent providers
Get the list of all available metadata agent providers for this PMS.
Corresponds with GET /media/providers/metadata (the `GetMetadataAgentProviders` operationId).
func (*Client) GetSlash ¶
func (c *Client) GetSlash(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
GetSlash Get PMS info
Information about this PMS setup and configuration.
Corresponds with GET / (the `GetSlash` operationId).
func (*Client) HubsGetContinueWatching ¶
func (c *Client) HubsGetContinueWatching(ctx context.Context, params *HubsGetContinueWatchingParams, reqEditors ...RequestEditorFn) (*http.Response, error)
HubsGetContinueWatching Get the continue watching hub
Get the global continue watching hub.
Corresponds with GET /hubs/continueWatching (the `HubsGetContinueWatching` operationId).
func (*Client) HubsGetItems ¶
func (c *Client) HubsGetItems(ctx context.Context, params *HubsGetItemsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
HubsGetItems Get a hub's items
Get the items within a single hub specified by identifier.
Corresponds with GET /hubs/items (the `HubsGetItems` operationId).
func (*Client) HubsGetMetadataMetadata ¶
func (c *Client) HubsGetMetadataMetadata(ctx context.Context, metadataID int, params *HubsGetMetadataMetadataParams, reqEditors ...RequestEditorFn) (*http.Response, error)
HubsGetMetadataMetadata Get hubs for a section by metadata item
Get the hubs for a section by metadata item. Currently only for music sections
Corresponds with GET /hubs/metadata/{metadataId} (the `HubsGetMetadataMetadata` operationId).
func (*Client) HubsGetMetadataMetadataPostplay ¶
func (c *Client) HubsGetMetadataMetadataPostplay(ctx context.Context, metadataID int, params *HubsGetMetadataMetadataPostplayParams, reqEditors ...RequestEditorFn) (*http.Response, error)
HubsGetMetadataMetadataPostplay Get postplay hubs
Get the hubs for a metadata to be displayed in post play.
Corresponds with GET /hubs/metadata/{metadataId}/postplay (the `HubsGetMetadataMetadataPostplay` operationId).
func (*Client) HubsGetMetadataMetadataRelated ¶
func (c *Client) HubsGetMetadataMetadataRelated(ctx context.Context, metadataID int, params *HubsGetMetadataMetadataRelatedParams, reqEditors ...RequestEditorFn) (*http.Response, error)
HubsGetMetadataMetadataRelated Get related hubs
Get the hubs for a metadata related to the provided metadata item.
Corresponds with GET /hubs/metadata/{metadataId}/related (the `HubsGetMetadataMetadataRelated` operationId).
func (*Client) HubsGetPopularInLibraries ¶
func (c *Client) HubsGetPopularInLibraries(ctx context.Context, params *HubsGetPopularInLibrariesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
HubsGetPopularInLibraries Get the popular in your libraries hub
Get the global popular in your libraries hub.
Corresponds with GET /hubs/popularInLibraries (the `HubsGetPopularInLibraries` operationId).
func (*Client) HubsGetPromoted ¶
func (c *Client) HubsGetPromoted(ctx context.Context, params *HubsGetPromotedParams, reqEditors ...RequestEditorFn) (*http.Response, error)
HubsGetPromoted Get the hubs which are promoted
Get the global hubs which are promoted (should be displayed on the home screen).
Corresponds with GET /hubs/promoted (the `HubsGetPromoted` operationId).
func (*Client) HubsGetSearch ¶
func (c *Client) HubsGetSearch(ctx context.Context, params *HubsGetSearchParams, reqEditors ...RequestEditorFn) (*http.Response, error)
HubsGetSearch Search Hub
Perform a search and get the result as hubs ¶
This endpoint performs a search across all library sections, or a single section, and returns matches as hubs, split up by type. It performs spell checking, looks for partial matches, and orders the hubs based on quality of results. In addition, based on matches, it will return other related matches (e.g. for a genre match, it may return movies in that genre, or for an actor match, movies with that actor).
In the response's items, the following extra attributes are returned to further describe or disambiguate the result:
- `reason`: The reason for the result, if not because of a direct search term match; can be either:
- `section`: There are multiple identical results from different sections.
- `originalTitle`: There was a search term match from the original title field (sometimes those can be very different or in a foreign language).
- `<hub identifier>`: If the reason for the result is due to a result in another hub, the source hub identifier is returned. For example, if the search is for "dylan" then Bob Dylan may be returned as an artist result, an a few of his albums returned as album results with a reason code of `artist` (the identifier of that particular hub). Or if the search is for "arnold", there might be movie results returned with a reason of `actor`
- `reasonTitle`: The string associated with the reason code. For a section reason, it'll be the section name; For a hub identifier, it'll be a string associated with the match (e.g. `Arnold Schwarzenegger` for movies which were returned because the search was for "arnold"). - `reasonID`: The ID of the item associated with the reason for the result. This might be a section ID, a tag ID, an artist ID, or a show ID.
This request is intended to be very fast, and called as the user types.
Corresponds with GET /hubs/search (the `HubsGetSearch` operationId).
func (*Client) HubsGetSection ¶
func (c *Client) HubsGetSection(ctx context.Context, sectionID int, params *HubsGetSectionParams, reqEditors ...RequestEditorFn) (*http.Response, error)
HubsGetSection Get section hubs
Get the hubs for a single section.
Corresponds with GET /hubs/sections/{sectionId} (the `HubsGetSection` operationId).
func (*Client) HubsGetSlash ¶
func (c *Client) HubsGetSlash(ctx context.Context, params *HubsGetSlashParams, reqEditors ...RequestEditorFn) (*http.Response, error)
HubsGetSlash Get global hubs
Get the global hubs in this PMS.
Corresponds with GET /hubs (the `HubsGetSlash` operationId).
func (*Client) HubsSearchGetVoice ¶
func (c *Client) HubsSearchGetVoice(ctx context.Context, params *HubsSearchGetVoiceParams, reqEditors ...RequestEditorFn) (*http.Response, error)
HubsSearchGetVoice Voice Search Hub
Perform a search tailored to voice input and get the result as hubs ¶
This endpoint performs a search specifically tailored towards voice or other imprecise input which may work badly with the substring and spell-checking heuristics used by the `/hubs/search` endpoint. It uses a [Levenshtein distance](https://en.wikipedia.org/wiki/Levenshtein_distance) heuristic to search titles, and as such is much slower than the other search endpoint. Whenever possible, clients should limit the search to the appropriate type.
Results, as well as their containing per-type hubs, contain a `distance` attribute which can be used to judge result quality.
Corresponds with GET /hubs/search/voice (the `HubsSearchGetVoice` operationId).
func (*Client) HubsSectionsSectionManageDeleteIdentifier ¶
func (c *Client) HubsSectionsSectionManageDeleteIdentifier(ctx context.Context, sectionID int, identifier string, reqEditors ...RequestEditorFn) (*http.Response, error)
HubsSectionsSectionManageDeleteIdentifier Delete a custom hub
Delete a custom hub from the server.
Corresponds with DELETE /hubs/sections/{sectionId}/manage/{identifier} (the `HubsSectionsSectionManageDeleteIdentifier` operationId).
func (*Client) HubsSectionsSectionManageDeleteSlash ¶
func (c *Client) HubsSectionsSectionManageDeleteSlash(ctx context.Context, sectionID int, reqEditors ...RequestEditorFn) (*http.Response, error)
HubsSectionsSectionManageDeleteSlash Reset hubs to defaults
Reset hubs for this section to defaults and delete custom hubs.
Corresponds with DELETE /hubs/sections/{sectionId}/manage (the `HubsSectionsSectionManageDeleteSlash` operationId).
func (*Client) HubsSectionsSectionManageGetSlash ¶
func (c *Client) HubsSectionsSectionManageGetSlash(ctx context.Context, sectionID int, params *HubsSectionsSectionManageGetSlashParams, reqEditors ...RequestEditorFn) (*http.Response, error)
HubsSectionsSectionManageGetSlash Get hubs
Get the list of hubs including both built-in and custom.
Corresponds with GET /hubs/sections/{sectionId}/manage (the `HubsSectionsSectionManageGetSlash` operationId).
func (*Client) HubsSectionsSectionManagePostSlash ¶
func (c *Client) HubsSectionsSectionManagePostSlash(ctx context.Context, sectionID int, params *HubsSectionsSectionManagePostSlashParams, reqEditors ...RequestEditorFn) (*http.Response, error)
HubsSectionsSectionManagePostSlash Create a custom hub
Create a custom hub based on a metadata item.
Corresponds with POST /hubs/sections/{sectionId}/manage (the `HubsSectionsSectionManagePostSlash` operationId).
func (*Client) HubsSectionsSectionManagePutIdentifier ¶
func (c *Client) HubsSectionsSectionManagePutIdentifier(ctx context.Context, sectionID int, identifier string, params *HubsSectionsSectionManagePutIdentifierParams, reqEditors ...RequestEditorFn) (*http.Response, error)
HubsSectionsSectionManagePutIdentifier Change hub visibility
Changed the visibility of a hub for both the admin and shared users.
Corresponds with PUT /hubs/sections/{sectionId}/manage/{identifier} (the `HubsSectionsSectionManagePutIdentifier` operationId).
func (*Client) HubsSectionsSectionManagePutMove ¶
func (c *Client) HubsSectionsSectionManagePutMove(ctx context.Context, sectionID int, params *HubsSectionsSectionManagePutMoveParams, reqEditors ...RequestEditorFn) (*http.Response, error)
HubsSectionsSectionManagePutMove Move Hub
Changed the ordering of a hub among others hubs.
Corresponds with PUT /hubs/sections/{sectionId}/manage/move (the `HubsSectionsSectionManagePutMove` operationId).
func (*Client) ImageTranscode ¶
func (c *Client) ImageTranscode(ctx context.Context, params *ImageTranscodeParams, reqEditors ...RequestEditorFn) (*http.Response, error)
ImageTranscode Transcode an image
Transcode an image, possibly changing format or size ¶
Corresponds with GET /photo/:/transcode (the `ImageTranscode` operationId).
func (*Client) LibraryCollectionCollectionGetComposite ¶
func (c *Client) LibraryCollectionCollectionGetComposite(ctx context.Context, collectionID int, updatedAt int, params *LibraryCollectionCollectionGetCompositeParams, reqEditors ...RequestEditorFn) (*http.Response, error)
LibraryCollectionCollectionGetComposite Get a collection's image
Get an image for the collection based on the items within.
Corresponds with GET /library/collections/{collectionId}/composite/{updatedAt} (the `LibraryCollectionCollectionGetComposite` operationId).
func (*Client) LibraryCollectionCollectionGetItems ¶
func (c *Client) LibraryCollectionCollectionGetItems(ctx context.Context, collectionID int, reqEditors ...RequestEditorFn) (*http.Response, error)
LibraryCollectionCollectionGetItems Get items in a collection
Get items in a collection. Note if this collection contains more than 100 items, paging must be used.
Corresponds with GET /library/collections/{collectionId}/items (the `LibraryCollectionCollectionGetItems` operationId).
func (*Client) LibraryCollectionCollectionPutItems ¶
func (c *Client) LibraryCollectionCollectionPutItems(ctx context.Context, collectionID int, params *LibraryCollectionCollectionPutItemsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
LibraryCollectionCollectionPutItems Add items to a collection
Add items to a collection by uri.
Corresponds with PUT /library/collections/{collectionId}/items (the `LibraryCollectionCollectionPutItems` operationId).
func (*Client) LibraryCollectionCollectionPutItemsItem ¶
func (c *Client) LibraryCollectionCollectionPutItemsItem(ctx context.Context, collectionID int, itemID int, reqEditors ...RequestEditorFn) (*http.Response, error)
LibraryCollectionCollectionPutItemsItem Delete an item from a collection
Corresponds with PUT /library/collections/{collectionId}/items/{itemId} (the `LibraryCollectionCollectionPutItemsItem` operationId).
func (*Client) LibraryCollectionCollectionPutItemsItemMove ¶
func (c *Client) LibraryCollectionCollectionPutItemsItemMove(ctx context.Context, collectionID int, itemID int, params *LibraryCollectionCollectionPutItemsItemMoveParams, reqEditors ...RequestEditorFn) (*http.Response, error)
LibraryCollectionCollectionPutItemsItemMove Reorder an item in the collection
Reorder items in a collection with one item after another.
Corresponds with PUT /library/collections/{collectionId}/items/{itemId}/move (the `LibraryCollectionCollectionPutItemsItemMove` operationId).
func (*Client) LibraryCollectionPostSlash ¶
func (c *Client) LibraryCollectionPostSlash(ctx context.Context, params *LibraryCollectionPostSlashParams, reqEditors ...RequestEditorFn) (*http.Response, error)
LibraryCollectionPostSlash Create a collection
Create a collection in the library.
Corresponds with POST /library/collections (the `LibraryCollectionPostSlash` operationId).
func (*Client) LibraryDeleteCaches ¶
func (c *Client) LibraryDeleteCaches(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
LibraryDeleteCaches Delete library caches
Delete the hub caches so they are recomputed on next request.
Corresponds with DELETE /library/caches (the `LibraryDeleteCaches` operationId).
func (*Client) LibraryDeleteSection ¶
func (c *Client) LibraryDeleteSection(ctx context.Context, sectionID string, params *LibraryDeleteSectionParams, reqEditors ...RequestEditorFn) (*http.Response, error)
LibraryDeleteSection Delete a library section
Delete a library section by id.
Corresponds with DELETE /library/sections/{sectionId} (the `LibraryDeleteSection` operationId).
func (*Client) LibraryDeleteSectionsAllRefresh ¶
func (c *Client) LibraryDeleteSectionsAllRefresh(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
LibraryDeleteSectionsAllRefresh Stop refresh
Stop all refreshes across all sections.
Corresponds with DELETE /library/sections/all/refresh (the `LibraryDeleteSectionsAllRefresh` operationId).
func (*Client) LibraryDeleteStreamsStream ¶
func (c *Client) LibraryDeleteStreamsStream(ctx context.Context, streamID int, ext string, reqEditors ...RequestEditorFn) (*http.Response, error)
LibraryDeleteStreamsStream Delete a stream
Delete a stream. Only applies to downloaded subtitle streams or a sidecar subtitle when media deletion is enabled.
Corresponds with DELETE /library/streams/{streamId}.{ext} (the `LibraryDeleteStreamsStream` operationId).
func (*Client) LibraryGetAll ¶
func (c *Client) LibraryGetAll(ctx context.Context, params *LibraryGetAllParams, reqEditors ...RequestEditorFn) (*http.Response, error)
LibraryGetAll Get all items in library
Request all metadata items according to a query.
Corresponds with GET /library/all (the `LibraryGetAll` operationId).
func (*Client) LibraryGetMatches ¶
func (c *Client) LibraryGetMatches(ctx context.Context, params *LibraryGetMatchesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
LibraryGetMatches Get library matches
The matches endpoint is used to match content external to the library with content inside the library. This is done by passing a series of semantic "hints" about the content (its type, name, or release year). Each type (e.g. movie) has a canonical set of minimal required hints. This ability to match content is useful in a variety of scenarios. For example, in the DVR, the EPG uses the endpoint to match recording rules against airing content. And in the cloud, the UMP uses the endpoint to match up a piece of media with rich metadata. The endpoint response can including multiple matches, if there is ambiguity, each one containing a `score` from 0 to 100. For somewhat historical reasons, anything over 85 is considered a positive match (we prefer false negatives over false positives in general for matching). The `guid` hint is somewhat special, in that it generally represents a unique identity for a piece of media (e.g. the IMDB `ttXXX`) identifier, in contrast with other hints which can be much more ambiguous (e.g. a title of `Jane Eyre`, which could refer to the 1943 or the 2011 version). Episodes require either a season/episode pair, or an air date (or both). Either the path must be sent, or the show title
Corresponds with GET /library/matches (the `LibraryGetMatches` operationId).
func (*Client) LibraryGetMediaMediaChapterImagesChapter ¶
func (c *Client) LibraryGetMediaMediaChapterImagesChapter(ctx context.Context, mediaID int, chapter int, reqEditors ...RequestEditorFn) (*http.Response, error)
LibraryGetMediaMediaChapterImagesChapter Get a chapter image
Get a single chapter image for a piece of media.
Corresponds with GET /library/media/{mediaId}/chapterImages/{chapter} (the `LibraryGetMediaMediaChapterImagesChapter` operationId).
func (*Client) LibraryGetMetadataAugmentationsAugmentation ¶
func (c *Client) LibraryGetMetadataAugmentationsAugmentation(ctx context.Context, augmentationID string, params *LibraryGetMetadataAugmentationsAugmentationParams, reqEditors ...RequestEditorFn) (*http.Response, error)
LibraryGetMetadataAugmentationsAugmentation Get augmentation status
Get augmentation status and potentially wait for completion.
Corresponds with GET /library/metadata/augmentations/{augmentationId} (the `LibraryGetMetadataAugmentationsAugmentation` operationId).
func (*Client) LibraryGetPartsPartChangestampFilename ¶
func (c *Client) LibraryGetPartsPartChangestampFilename(ctx context.Context, partID int, changestamp int, filename string, params *LibraryGetPartsPartChangestampFilenameParams, reqEditors ...RequestEditorFn) (*http.Response, error)
LibraryGetPartsPartChangestampFilename Get a media part
Get a media part for streaming or download.
- streaming: This is the default scenario. Bandwidth usage on this endpoint will be guaranteed (on the server's end) to be at least the bandwidth reservation given in the decision. If no decision exists, an ad-hoc decision will be created if sufficient bandwidth exists. Clients should not rely on ad-hoc decisions being made as this may be removed in the future.
- download: Indicated if the query parameter indicates this is a download. Bandwidth will be prioritized behind playbacks and will get a fair share of what remains.
Corresponds with GET /library/parts/{partId}/{changestamp}/{filename} (the `LibraryGetPartsPartChangestampFilename` operationId).
func (*Client) LibraryGetPartsPartIndexesIndex ¶
func (c *Client) LibraryGetPartsPartIndexesIndex(ctx context.Context, partID int, index LibraryGetPartsPartIndexesIndexParamsIndex, params *LibraryGetPartsPartIndexesIndexParams, reqEditors ...RequestEditorFn) (*http.Response, error)
LibraryGetPartsPartIndexesIndex Get BIF index for a part
Get BIF index for a part by index type.
Corresponds with GET /library/parts/{partId}/indexes/{index} (the `LibraryGetPartsPartIndexesIndex` operationId).
func (*Client) LibraryGetPartsPartIndexesIndexOffset ¶
func (c *Client) LibraryGetPartsPartIndexesIndexOffset(ctx context.Context, partID int, index LibraryGetPartsPartIndexesIndexOffsetParamsIndex, offset int, reqEditors ...RequestEditorFn) (*http.Response, error)
LibraryGetPartsPartIndexesIndexOffset Get an image from part BIF
Extract an image from the BIF for a part at a particular offset.
Corresponds with GET /library/parts/{partId}/indexes/{index}/{offset} (the `LibraryGetPartsPartIndexesIndexOffset` operationId).
func (*Client) LibraryGetPeoplePerson ¶
func (c *Client) LibraryGetPeoplePerson(ctx context.Context, personID struct { union json.RawMessage }, reqEditors ...RequestEditorFn) (*http.Response, error)
LibraryGetPeoplePerson Get person details
Get details for a single actor.
Corresponds with GET /library/people/{personId} (the `LibraryGetPeoplePerson` operationId).
func (*Client) LibraryGetPeoplePersonMedia ¶
func (c *Client) LibraryGetPeoplePersonMedia(ctx context.Context, personID struct { union json.RawMessage }, reqEditors ...RequestEditorFn) (*http.Response, error)
LibraryGetPeoplePersonMedia Get media for a person
Get all the media for a single actor.
Corresponds with GET /library/people/{personId}/media (the `LibraryGetPeoplePersonMedia` operationId).
func (*Client) LibraryGetRandomArtwork ¶
func (c *Client) LibraryGetRandomArtwork(ctx context.Context, params *LibraryGetRandomArtworkParams, reqEditors ...RequestEditorFn) (*http.Response, error)
LibraryGetRandomArtwork Get random artwork
Get random artwork across sections. This is commonly used for a screensaver.
This retrieves 100 random artwork paths in the specified sections and returns them. Restrictions are put in place to not return artwork for items the user is not allowed to access. Artwork will be for Movies, Shows, and Artists only.
Corresponds with GET /library/randomArtwork (the `LibraryGetRandomArtwork` operationId).
func (*Client) LibraryGetSections ¶
func (c *Client) LibraryGetSections(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
LibraryGetSections Get library sections (main Media Provider Only)
A library section (commonly referred to as just a library) is a collection of media. Libraries are typed, and depending on their type provide either a flat or a hierarchical view of the media. For example, a music library has an artist > albums > tracks structure, whereas a movie library is flat. Libraries have features beyond just being a collection of media; for starters, they include information about supported types, filters and sorts. This allows a client to provide a rich interface around the media (e.g. allow sorting movies by release year).
Corresponds with GET /library/sections/all (the `LibraryGetSections` operationId).
func (*Client) LibraryGetSectionsPrefs ¶
func (c *Client) LibraryGetSectionsPrefs(ctx context.Context, params *LibraryGetSectionsPrefsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
LibraryGetSectionsPrefs Get section prefs
Get a section's preferences for a metadata type.
Corresponds with GET /library/sections/prefs (the `LibraryGetSectionsPrefs` operationId).
func (*Client) LibraryGetStreamsStream ¶
func (c *Client) LibraryGetStreamsStream(ctx context.Context, streamID int, ext string, params *LibraryGetStreamsStreamParams, reqEditors ...RequestEditorFn) (*http.Response, error)
LibraryGetStreamsStream Get a stream
Get a stream (such a a sidecar subtitle stream).
Corresponds with GET /library/streams/{streamId}.{ext} (the `LibraryGetStreamsStream` operationId).
func (*Client) LibraryGetStreamsStreamLevels ¶
func (c *Client) LibraryGetStreamsStreamLevels(ctx context.Context, streamID int, params *LibraryGetStreamsStreamLevelsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
LibraryGetStreamsStreamLevels Get loudness about a stream in json
The the loudness of a stream in db, one entry per 100ms ¶
Corresponds with GET /library/streams/{streamId}/levels (the `LibraryGetStreamsStreamLevels` operationId).
func (*Client) LibraryGetStreamsStreamLoudness ¶
func (c *Client) LibraryGetStreamsStreamLoudness(ctx context.Context, streamID int, params *LibraryGetStreamsStreamLoudnessParams, reqEditors ...RequestEditorFn) (*http.Response, error)
LibraryGetStreamsStreamLoudness Get loudness about a stream
The the loudness of a stream in db, one number per line, one entry per 100ms ¶
Corresponds with GET /library/streams/{streamId}/loudness (the `LibraryGetStreamsStreamLoudness` operationId).
func (*Client) LibraryGetTags ¶
func (c *Client) LibraryGetTags(ctx context.Context, params *LibraryGetTagsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
LibraryGetTags Get all library tags of a type
Corresponds with GET /library/tags (the `LibraryGetTags` operationId).
func (*Client) LibraryMetadataDeleteElement ¶
func (c *Client) LibraryMetadataDeleteElement(ctx context.Context, ids string, element LibraryMetadataDeleteElementParamsElement, reqEditors ...RequestEditorFn) (*http.Response, error)
LibraryMetadataDeleteElement Delete an item's artwork, theme, etc
Delete the artwork, thumb, element for a metadata item This operation will also lock the field. 'thumb' images for video items will be reset to a screengrab of the video after a refresh. Generally only the admin can perform this action. The exception is if the metadata is a playlist created by the user
Corresponds with DELETE /library/metadata/{ids}/{element} (the `LibraryMetadataDeleteElement` operationId).
func (*Client) LibraryMetadataDeleteMarkerMarker ¶
func (c *Client) LibraryMetadataDeleteMarkerMarker(ctx context.Context, ids string, marker string, reqEditors ...RequestEditorFn) (*http.Response, error)
LibraryMetadataDeleteMarkerMarker Delete a marker
Delete a marker for this user on the metadata item.
Corresponds with DELETE /library/metadata/{ids}/marker/{marker} (the `LibraryMetadataDeleteMarkerMarker` operationId).
func (*Client) LibraryMetadataDeleteMediaMediaItem ¶
func (c *Client) LibraryMetadataDeleteMediaMediaItem(ctx context.Context, ids string, mediaItem string, params *LibraryMetadataDeleteMediaMediaItemParams, reqEditors ...RequestEditorFn) (*http.Response, error)
LibraryMetadataDeleteMediaMediaItem Delete a media item
Delete a single media from a metadata item in the library.
Corresponds with DELETE /library/metadata/{ids}/media/{mediaItem} (the `LibraryMetadataDeleteMediaMediaItem` operationId).
func (*Client) LibraryMetadataDeleteSlash ¶
func (c *Client) LibraryMetadataDeleteSlash(ctx context.Context, ids string, params *LibraryMetadataDeleteSlashParams, reqEditors ...RequestEditorFn) (*http.Response, error)
LibraryMetadataDeleteSlash Delete a metadata item
Delete a single metadata item from the library, deleting media as well ¶
Corresponds with DELETE /library/metadata/{ids} (the `LibraryMetadataDeleteSlash` operationId).
func (*Client) LibraryMetadataGetAllLeaves ¶
func (c *Client) LibraryMetadataGetAllLeaves(ctx context.Context, ids string, reqEditors ...RequestEditorFn) (*http.Response, error)
LibraryMetadataGetAllLeaves Get the leaves of an item
Get the leaves for a metadata item such as the episodes in a show.
Corresponds with GET /library/metadata/{ids}/allLeaves (the `LibraryMetadataGetAllLeaves` operationId).
func (*Client) LibraryMetadataGetElement ¶
func (c *Client) LibraryMetadataGetElement(ctx context.Context, ids string, element LibraryMetadataGetElementParamsElement, timestamp int, reqEditors ...RequestEditorFn) (*http.Response, error)
LibraryMetadataGetElement Get an item's artwork, theme, etc
Get the artwork, thumb, element for a metadata item ¶
Corresponds with GET /library/metadata/{ids}/{element}/{timestamp} (the `LibraryMetadataGetElement` operationId).
func (*Client) LibraryMetadataGetExtras ¶
func (c *Client) LibraryMetadataGetExtras(ctx context.Context, ids string, reqEditors ...RequestEditorFn) (*http.Response, error)
LibraryMetadataGetExtras Get an item's extras
Get the extras for a metadata item.
Corresponds with GET /library/metadata/{ids}/extras (the `LibraryMetadataGetExtras` operationId).
func (*Client) LibraryMetadataGetFile ¶
func (c *Client) LibraryMetadataGetFile(ctx context.Context, ids string, params *LibraryMetadataGetFileParams, reqEditors ...RequestEditorFn) (*http.Response, error)
LibraryMetadataGetFile Get a file from a metadata or media bundle
Get a bundle file for a metadata or media item. This is either an image or a mp3 (for a show's theme)
Corresponds with GET /library/metadata/{ids}/file (the `LibraryMetadataGetFile` operationId).
func (*Client) LibraryMetadataGetMatches ¶
func (c *Client) LibraryMetadataGetMatches(ctx context.Context, ids string, params *LibraryMetadataGetMatchesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
LibraryMetadataGetMatches Get metadata matches for an item
Get the list of metadata matches for a metadata item.
Corresponds with PUT /library/metadata/{ids}/matches (the `LibraryMetadataGetMatches` operationId).
func (*Client) LibraryMetadataGetNearest ¶
func (c *Client) LibraryMetadataGetNearest(ctx context.Context, ids string, params *LibraryMetadataGetNearestParams, reqEditors ...RequestEditorFn) (*http.Response, error)
LibraryMetadataGetNearest Get nearest tracks to metadata item
Get the nearest tracks, sonically, to the provided track ¶
Corresponds with GET /library/metadata/{ids}/nearest (the `LibraryMetadataGetNearest` operationId).
func (*Client) LibraryMetadataGetRelated ¶
func (c *Client) LibraryMetadataGetRelated(ctx context.Context, ids string, reqEditors ...RequestEditorFn) (*http.Response, error)
LibraryMetadataGetRelated Get related items
Get a hub of related items to a metadata item.
Corresponds with GET /library/metadata/{ids}/related (the `LibraryMetadataGetRelated` operationId).
func (*Client) LibraryMetadataGetSimilar ¶
func (c *Client) LibraryMetadataGetSimilar(ctx context.Context, ids string, params *LibraryMetadataGetSimilarParams, reqEditors ...RequestEditorFn) (*http.Response, error)
LibraryMetadataGetSimilar Get similar items
Get a list of similar items to a metadata item.
Corresponds with GET /library/metadata/{ids}/similar (the `LibraryMetadataGetSimilar` operationId).
func (*Client) LibraryMetadataGetSlash ¶
func (c *Client) LibraryMetadataGetSlash(ctx context.Context, ids []string, params *LibraryMetadataGetSlashParams, reqEditors ...RequestEditorFn) (*http.Response, error)
LibraryMetadataGetSlash Get a metadata item
Get one or more metadata items.
Corresponds with GET /library/metadata/{ids} (the `LibraryMetadataGetSlash` operationId).
func (*Client) LibraryMetadataGetTree ¶
func (c *Client) LibraryMetadataGetTree(ctx context.Context, ids string, reqEditors ...RequestEditorFn) (*http.Response, error)
LibraryMetadataGetTree Get metadata items as a tree
Get a tree of metadata items, such as the seasons/episodes of a show
Corresponds with GET /library/metadata/{ids}/tree (the `LibraryMetadataGetTree` operationId).
func (*Client) LibraryMetadataGetUsersTop ¶
func (c *Client) LibraryMetadataGetUsersTop(ctx context.Context, ids string, reqEditors ...RequestEditorFn) (*http.Response, error)
LibraryMetadataGetUsersTop Get metadata top users
Get the list of users which have played this item starting with the most.
Corresponds with GET /library/metadata/{ids}/users/top (the `LibraryMetadataGetUsersTop` operationId).
func (*Client) LibraryMetadataPostElement ¶
func (c *Client) LibraryMetadataPostElement(ctx context.Context, ids string, element LibraryMetadataPostElementParamsElement, params *LibraryMetadataPostElementParams, reqEditors ...RequestEditorFn) (*http.Response, error)
LibraryMetadataPostElement Set an item's artwork, theme, etc
Set the artwork, thumb, element for a metadata item Generally only the admin can perform this action. The exception is if the metadata is a playlist created by the user
Corresponds with POST /library/metadata/{ids}/{element} (the `LibraryMetadataPostElement` operationId).
func (*Client) LibraryMetadataPostExtras ¶
func (c *Client) LibraryMetadataPostExtras(ctx context.Context, ids string, params *LibraryMetadataPostExtrasParams, reqEditors ...RequestEditorFn) (*http.Response, error)
LibraryMetadataPostExtras Add to an item's extras
Add an extra to a metadata item.
Corresponds with POST /library/metadata/{ids}/extras (the `LibraryMetadataPostExtras` operationId).
func (*Client) LibraryMetadataPostMarker ¶
func (c *Client) LibraryMetadataPostMarker(ctx context.Context, ids string, params *LibraryMetadataPostMarkerParams, reqEditors ...RequestEditorFn) (*http.Response, error)
LibraryMetadataPostMarker Create a marker
Create a marker for this user on the metadata item.
Corresponds with POST /library/metadata/{ids}/marker (the `LibraryMetadataPostMarker` operationId).
func (*Client) LibraryMetadataPostSubtitles ¶
func (c *Client) LibraryMetadataPostSubtitles(ctx context.Context, ids string, params *LibraryMetadataPostSubtitlesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
LibraryMetadataPostSubtitles Add subtitles
Add a subtitle to a metadata item.
Corresponds with GET /library/metadata/{ids}/subtitles (the `LibraryMetadataPostSubtitles` operationId).
func (*Client) LibraryMetadataPutAddetect ¶
func (c *Client) LibraryMetadataPutAddetect(ctx context.Context, ids string, reqEditors ...RequestEditorFn) (*http.Response, error)
LibraryMetadataPutAddetect Ad-detect an item
Start the detection of ads in a metadata item.
Corresponds with PUT /library/metadata/{ids}/addetect (the `LibraryMetadataPutAddetect` operationId).
func (*Client) LibraryMetadataPutAnalyze ¶
func (c *Client) LibraryMetadataPutAnalyze(ctx context.Context, ids string, params *LibraryMetadataPutAnalyzeParams, reqEditors ...RequestEditorFn) (*http.Response, error)
LibraryMetadataPutAnalyze Analyze an item
Start the analysis of a metadata item.
Corresponds with PUT /library/metadata/{ids}/analyze (the `LibraryMetadataPutAnalyze` operationId).
func (*Client) LibraryMetadataPutAnalyzeLoudness ¶
func (c *Client) LibraryMetadataPutAnalyzeLoudness(ctx context.Context, ids string, params *LibraryMetadataPutAnalyzeLoudnessParams, reqEditors ...RequestEditorFn) (*http.Response, error)
LibraryMetadataPutAnalyzeLoudness Detect loudness of audio streams
Detect loudness properties of all audio streams.
Corresponds with PUT /library/metadata/{ids}/analyzeLoudness (the `LibraryMetadataPutAnalyzeLoudness` operationId).
func (*Client) LibraryMetadataPutChapterThumbs ¶
func (c *Client) LibraryMetadataPutChapterThumbs(ctx context.Context, ids string, params *LibraryMetadataPutChapterThumbsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
LibraryMetadataPutChapterThumbs Generate thumbs of chapters for an item
Start the chapter thumb generation for an item.
Corresponds with PUT /library/metadata/{ids}/chapterThumbs (the `LibraryMetadataPutChapterThumbs` operationId).
func (*Client) LibraryMetadataPutCredits ¶
func (c *Client) LibraryMetadataPutCredits(ctx context.Context, ids string, params *LibraryMetadataPutCreditsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
LibraryMetadataPutCredits Credit detect a metadata item
Start credit detection on a metadata item.
Corresponds with PUT /library/metadata/{ids}/credits (the `LibraryMetadataPutCredits` operationId).
func (*Client) LibraryMetadataPutElement ¶
func (c *Client) LibraryMetadataPutElement(ctx context.Context, ids string, element LibraryMetadataPutElementParamsElement, params *LibraryMetadataPutElementParams, reqEditors ...RequestEditorFn) (*http.Response, error)
LibraryMetadataPutElement Set an item's artwork, theme, etc
Set the artwork, thumb, element for a metadata item Generally only the admin can perform this action. The exception is if the metadata is a playlist created by the user
Corresponds with PUT /library/metadata/{ids}/{element} (the `LibraryMetadataPutElement` operationId).
func (*Client) LibraryMetadataPutIndex ¶
func (c *Client) LibraryMetadataPutIndex(ctx context.Context, ids string, params *LibraryMetadataPutIndexParams, reqEditors ...RequestEditorFn) (*http.Response, error)
LibraryMetadataPutIndex Start BIF generation of an item
Start the indexing (BIF generation) of an item.
Corresponds with PUT /library/metadata/{ids}/index (the `LibraryMetadataPutIndex` operationId).
func (*Client) LibraryMetadataPutIntro ¶
func (c *Client) LibraryMetadataPutIntro(ctx context.Context, ids string, params *LibraryMetadataPutIntroParams, reqEditors ...RequestEditorFn) (*http.Response, error)
LibraryMetadataPutIntro Intro detect an item
Start the detection of intros in a metadata item.
Corresponds with PUT /library/metadata/{ids}/intro (the `LibraryMetadataPutIntro` operationId).
func (*Client) LibraryMetadataPutMarkerMarker ¶
func (c *Client) LibraryMetadataPutMarkerMarker(ctx context.Context, ids string, marker string, params *LibraryMetadataPutMarkerMarkerParams, reqEditors ...RequestEditorFn) (*http.Response, error)
LibraryMetadataPutMarkerMarker Edit a marker
Edit a marker for this user on the metadata item.
Corresponds with PUT /library/metadata/{ids}/marker/{marker} (the `LibraryMetadataPutMarkerMarker` operationId).
func (*Client) LibraryMetadataPutMatch ¶
func (c *Client) LibraryMetadataPutMatch(ctx context.Context, ids string, params *LibraryMetadataPutMatchParams, reqEditors ...RequestEditorFn) (*http.Response, error)
LibraryMetadataPutMatch Match a metadata item
Match a metadata item to a guid.
Corresponds with PUT /library/metadata/{ids}/match (the `LibraryMetadataPutMatch` operationId).
func (*Client) LibraryMetadataPutMerge ¶
func (c *Client) LibraryMetadataPutMerge(ctx context.Context, ids string, params *LibraryMetadataPutMergeParams, reqEditors ...RequestEditorFn) (*http.Response, error)
LibraryMetadataPutMerge Merge a metadata item
Merge a metadata item with other items.
Corresponds with PUT /library/metadata/{ids}/merge (the `LibraryMetadataPutMerge` operationId).
func (*Client) LibraryMetadataPutPrefs ¶
func (c *Client) LibraryMetadataPutPrefs(ctx context.Context, ids string, params *LibraryMetadataPutPrefsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
LibraryMetadataPutPrefs Set metadata preferences
Set the preferences on a metadata item.
Corresponds with PUT /library/metadata/{ids}/prefs (the `LibraryMetadataPutPrefs` operationId).
func (*Client) LibraryMetadataPutRefresh ¶
func (c *Client) LibraryMetadataPutRefresh(ctx context.Context, ids string, params *LibraryMetadataPutRefreshParams, reqEditors ...RequestEditorFn) (*http.Response, error)
LibraryMetadataPutRefresh Refresh a metadata item
Refresh a metadata item from the agent.
Corresponds with PUT /library/metadata/{ids}/refresh (the `LibraryMetadataPutRefresh` operationId).
func (*Client) LibraryMetadataPutSlash ¶
func (c *Client) LibraryMetadataPutSlash(ctx context.Context, ids []string, params *LibraryMetadataPutSlashParams, reqEditors ...RequestEditorFn) (*http.Response, error)
LibraryMetadataPutSlash Edit a metadata item
Edit metadata items setting fields.
Corresponds with PUT /library/metadata/{ids} (the `LibraryMetadataPutSlash` operationId).
func (*Client) LibraryMetadataPutSplit ¶
func (c *Client) LibraryMetadataPutSplit(ctx context.Context, ids string, reqEditors ...RequestEditorFn) (*http.Response, error)
LibraryMetadataPutSplit Split a metadata item
Split a metadata item into multiple items.
Corresponds with PUT /library/metadata/{ids}/split (the `LibraryMetadataPutSplit` operationId).
func (*Client) LibraryMetadataPutUnmatch ¶
func (c *Client) LibraryMetadataPutUnmatch(ctx context.Context, ids string, reqEditors ...RequestEditorFn) (*http.Response, error)
LibraryMetadataPutUnmatch Unmatch a metadata item
Unmatch a metadata item to info fetched from the agent.
Corresponds with PUT /library/metadata/{ids}/unmatch (the `LibraryMetadataPutUnmatch` operationId).
func (*Client) LibraryMetadataPutVoiceActivity ¶
func (c *Client) LibraryMetadataPutVoiceActivity(ctx context.Context, ids string, params *LibraryMetadataPutVoiceActivityParams, reqEditors ...RequestEditorFn) (*http.Response, error)
LibraryMetadataPutVoiceActivity Detect voice activity
Start the detection of voice in a metadata item.
Corresponds with PUT /library/metadata/{ids}/voiceActivity (the `LibraryMetadataPutVoiceActivity` operationId).
func (*Client) LibraryPostFile ¶
func (c *Client) LibraryPostFile(ctx context.Context, params *LibraryPostFileParams, reqEditors ...RequestEditorFn) (*http.Response, error)
LibraryPostFile Ingest a transient item
This endpoint takes a file path specified in the `url` parameter, matches it using the scanner's match mechanism, downloads rich metadata, and then ingests the item as a transient item (without a library section). In the case where the file represents an episode, the entire tree (show, season, and episode) is added as transient items. At this time, movies and episodes are the only supported types, which are gleaned automatically from the file path. Note that any of the parameters passed to the metadata details endpoint (e.g. `includeExtras=1`) work here.
Corresponds with POST /library/file (the `LibraryPostFile` operationId).
func (*Client) LibraryPostSection ¶
func (c *Client) LibraryPostSection(ctx context.Context, params *LibraryPostSectionParams, reqEditors ...RequestEditorFn) (*http.Response, error)
LibraryPostSection Add a library section
Add a new library section to the server.
Corresponds with POST /library/sections/all (the `LibraryPostSection` operationId).
func (*Client) LibraryPostSectionsRefresh ¶
func (c *Client) LibraryPostSectionsRefresh(ctx context.Context, params *LibraryPostSectionsRefreshParams, reqEditors ...RequestEditorFn) (*http.Response, error)
LibraryPostSectionsRefresh Refresh all sections
Tell PMS to refresh all section metadata.
Corresponds with POST /library/sections/refresh (the `LibraryPostSectionsRefresh` operationId).
func (*Client) LibraryPutCleanBundles ¶
func (c *Client) LibraryPutCleanBundles(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
LibraryPutCleanBundles Clean bundles
Clean out any now unused bundles. Bundles can become unused when media is deleted
Corresponds with PUT /library/clean/bundles (the `LibraryPutCleanBundles` operationId).
func (*Client) LibraryPutOptimize ¶
func (c *Client) LibraryPutOptimize(ctx context.Context, params *LibraryPutOptimizeParams, reqEditors ...RequestEditorFn) (*http.Response, error)
LibraryPutOptimize Optimize the Database
Initiate optimize on the database.
Corresponds with PUT /library/optimize (the `LibraryPutOptimize` operationId).
func (*Client) LibraryPutPartsPart ¶
func (c *Client) LibraryPutPartsPart(ctx context.Context, partID int, params *LibraryPutPartsPartParams, reqEditors ...RequestEditorFn) (*http.Response, error)
LibraryPutPartsPart Set stream selection
Set which streams (audio/subtitle) are selected by this user.
Corresponds with PUT /library/parts/{partId} (the `LibraryPutPartsPart` operationId).
func (*Client) LibraryPutStreamsStream ¶
func (c *Client) LibraryPutStreamsStream(ctx context.Context, streamID int, ext string, params *LibraryPutStreamsStreamParams, reqEditors ...RequestEditorFn) (*http.Response, error)
LibraryPutStreamsStream Set a stream offset
Set a stream offset in ms. This may not be respected by all clients
Corresponds with PUT /library/streams/{streamId}.{ext} (the `LibraryPutStreamsStream` operationId).
func (*Client) LibrarySectionDeleteCollectionCollection ¶
func (c *Client) LibrarySectionDeleteCollectionCollection(ctx context.Context, sectionID int, collectionID int, reqEditors ...RequestEditorFn) (*http.Response, error)
LibrarySectionDeleteCollectionCollection Delete a collection
Delete a library collection from the PMS.
Corresponds with DELETE /library/sections/{sectionId}/collection/{collectionId} (the `LibrarySectionDeleteCollectionCollection` operationId).
func (*Client) LibrarySectionDeleteIndexes ¶
func (c *Client) LibrarySectionDeleteIndexes(ctx context.Context, sectionID int, reqEditors ...RequestEditorFn) (*http.Response, error)
LibrarySectionDeleteIndexes Delete section indexes
Delete all the indexes in a section.
Corresponds with DELETE /library/sections/{sectionId}/indexes (the `LibrarySectionDeleteIndexes` operationId).
func (*Client) LibrarySectionDeleteIntros ¶
func (c *Client) LibrarySectionDeleteIntros(ctx context.Context, sectionID int, reqEditors ...RequestEditorFn) (*http.Response, error)
LibrarySectionDeleteIntros Delete section intro markers
Delete all the intro markers in a section.
Corresponds with DELETE /library/sections/{sectionId}/intros (the `LibrarySectionDeleteIntros` operationId).
func (*Client) LibrarySectionDeleteRefresh ¶
func (c *Client) LibrarySectionDeleteRefresh(ctx context.Context, sectionID int, reqEditors ...RequestEditorFn) (*http.Response, error)
LibrarySectionDeleteRefresh Cancel section refresh
Cancel the refresh of a section.
Corresponds with DELETE /library/sections/{sectionId}/refresh (the `LibrarySectionDeleteRefresh` operationId).
func (*Client) LibrarySectionGetAlbums ¶
func (c *Client) LibrarySectionGetAlbums(ctx context.Context, sectionID int, reqEditors ...RequestEditorFn) (*http.Response, error)
LibrarySectionGetAlbums Set section albums
Get all albums in a music section.
Corresponds with GET /library/sections/{sectionId}/albums (the `LibrarySectionGetAlbums` operationId).
func (*Client) LibrarySectionGetAll ¶
func (c *Client) LibrarySectionGetAll(ctx context.Context, sectionID string, params *LibrarySectionGetAllParams, reqEditors ...RequestEditorFn) (*http.Response, error)
LibrarySectionGetAll Get items in the section
Get the items in a section, potentially filtering them ¶
Corresponds with GET /library/sections/{sectionId}/all (the `LibrarySectionGetAll` operationId).
func (*Client) LibrarySectionGetAllLeaves ¶
func (c *Client) LibrarySectionGetAllLeaves(ctx context.Context, sectionID int, reqEditors ...RequestEditorFn) (*http.Response, error)
LibrarySectionGetAllLeaves Set section leaves
Get all leaves in a section (such as episodes in a show section).
Corresponds with GET /library/sections/{sectionId}/allLeaves (the `LibrarySectionGetAllLeaves` operationId).
func (*Client) LibrarySectionGetArts ¶
func (c *Client) LibrarySectionGetArts(ctx context.Context, sectionID int, reqEditors ...RequestEditorFn) (*http.Response, error)
LibrarySectionGetArts Set section artwork
Get artwork for a library section.
Corresponds with GET /library/sections/{sectionId}/arts (the `LibrarySectionGetArts` operationId).
func (*Client) LibrarySectionGetAudioCodecs ¶
func (c *Client) LibrarySectionGetAudioCodecs(ctx context.Context, sectionID int, params *LibrarySectionGetAudioCodecsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
LibrarySectionGetAudioCodecs Get audio codecs in a section
Get list of distinct audio codecs found in this library section.
Corresponds with GET /library/sections/{sectionId}/audioCodec (the `LibrarySectionGetAudioCodecs` operationId).
func (*Client) LibrarySectionGetAudioLayouts ¶
func (c *Client) LibrarySectionGetAudioLayouts(ctx context.Context, sectionID int, params *LibrarySectionGetAudioLayoutsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
LibrarySectionGetAudioLayouts Get audio layouts in a section
Get list of distinct audio layouts (e.g. stereo, 5.1, 7.1) found in this library section
Corresponds with GET /library/sections/{sectionId}/audioLayout (the `LibrarySectionGetAudioLayouts` operationId).
func (*Client) LibrarySectionGetAutocomplete ¶
func (c *Client) LibrarySectionGetAutocomplete(ctx context.Context, sectionID int, params *LibrarySectionGetAutocompleteParams, reqEditors ...RequestEditorFn) (*http.Response, error)
LibrarySectionGetAutocomplete Get autocompletions for search
The field to autocomplete on is specified by the {field}.query parameter. For example `genre.query` or `title.query`. Returns a set of items from the filtered items whose {field} starts with {field}.query. In the results, a {field}.queryRange will be present to express the range of the match
Corresponds with GET /library/sections/{sectionId}/autocomplete (the `LibrarySectionGetAutocomplete` operationId).
func (*Client) LibrarySectionGetCategories ¶
func (c *Client) LibrarySectionGetCategories(ctx context.Context, sectionID int, reqEditors ...RequestEditorFn) (*http.Response, error)
LibrarySectionGetCategories Set section categories
Get categories in a library section.
Corresponds with GET /library/sections/{sectionId}/categories (the `LibrarySectionGetCategories` operationId).
func (*Client) LibrarySectionGetCluster ¶
func (c *Client) LibrarySectionGetCluster(ctx context.Context, sectionID int, reqEditors ...RequestEditorFn) (*http.Response, error)
LibrarySectionGetCluster Set section clusters
Get clusters in a library section (typically for photos).
Corresponds with GET /library/sections/{sectionId}/cluster (the `LibrarySectionGetCluster` operationId).
func (*Client) LibrarySectionGetCollections ¶
func (c *Client) LibrarySectionGetCollections(ctx context.Context, sectionID int, params *LibrarySectionGetCollectionsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
LibrarySectionGetCollections Get collections in a section
Get all collections in a section.
Corresponds with GET /library/sections/{sectionId}/collections (the `LibrarySectionGetCollections` operationId).
func (*Client) LibrarySectionGetCommon ¶
func (c *Client) LibrarySectionGetCommon(ctx context.Context, sectionID int, params *LibrarySectionGetCommonParams, reqEditors ...RequestEditorFn) (*http.Response, error)
LibrarySectionGetCommon Get common fields for items
Represents a "Common" item. It contains only the common attributes of the items selected by the provided filter Fields which are not common will be expressed in the `mixedFields` field
Corresponds with GET /library/sections/{sectionId}/common (the `LibrarySectionGetCommon` operationId).
func (*Client) LibrarySectionGetComposite ¶
func (c *Client) LibrarySectionGetComposite(ctx context.Context, sectionID int, updatedAt int, params *LibrarySectionGetCompositeParams, reqEditors ...RequestEditorFn) (*http.Response, error)
LibrarySectionGetComposite Get a section composite image
Get a composite image of images in this section.
Corresponds with GET /library/sections/{sectionId}/composite/{updatedAt} (the `LibrarySectionGetComposite` operationId).
func (*Client) LibrarySectionGetComputePath ¶
func (c *Client) LibrarySectionGetComputePath(ctx context.Context, sectionID int, params *LibrarySectionGetComputePathParams, reqEditors ...RequestEditorFn) (*http.Response, error)
LibrarySectionGetComputePath Similar tracks to transition from one to another
Get a list of audio tracks starting at one and ending at another which are similar across the path.
Corresponds with GET /library/sections/{sectionId}/computePath (the `LibrarySectionGetComputePath` operationId).
func (*Client) LibrarySectionGetFilters ¶
func (c *Client) LibrarySectionGetFilters(ctx context.Context, sectionID int, reqEditors ...RequestEditorFn) (*http.Response, error)
LibrarySectionGetFilters Get section filters
Get common filters on a section.
Corresponds with GET /library/sections/{sectionId}/filters (the `LibrarySectionGetFilters` operationId).
func (*Client) LibrarySectionGetFirstCharaters ¶
func (c *Client) LibrarySectionGetFirstCharaters(ctx context.Context, sectionID int, params *LibrarySectionGetFirstCharatersParams, reqEditors ...RequestEditorFn) (*http.Response, error)
LibrarySectionGetFirstCharaters Get list of first characters
Get list of first characters in this section.
Corresponds with GET /library/sections/{sectionId}/firstCharacters (the `LibrarySectionGetFirstCharaters` operationId).
func (*Client) LibrarySectionGetLocations ¶
func (c *Client) LibrarySectionGetLocations(ctx context.Context, sectionID int, reqEditors ...RequestEditorFn) (*http.Response, error)
LibrarySectionGetLocations Get all folder locations
Get all folder locations of the media in a section.
Corresponds with GET /library/sections/{sectionId}/location (the `LibrarySectionGetLocations` operationId).
func (*Client) LibrarySectionGetMoment ¶
func (c *Client) LibrarySectionGetMoment(ctx context.Context, sectionID int, reqEditors ...RequestEditorFn) (*http.Response, error)
LibrarySectionGetMoment Set section moments
Get moments in a library section (typically for photos).
Corresponds with GET /library/sections/{sectionId}/moment (the `LibrarySectionGetMoment` operationId).
func (*Client) LibrarySectionGetNearest ¶
func (c *Client) LibrarySectionGetNearest(ctx context.Context, sectionID int, params *LibrarySectionGetNearestParams, reqEditors ...RequestEditorFn) (*http.Response, error)
LibrarySectionGetNearest The nearest audio tracks
Get the nearest audio tracks to a particular analysis.
Corresponds with GET /library/sections/{sectionId}/nearest (the `LibrarySectionGetNearest` operationId).
func (*Client) LibrarySectionGetPrefs ¶
func (c *Client) LibrarySectionGetPrefs(ctx context.Context, sectionID int, params *LibrarySectionGetPrefsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
LibrarySectionGetPrefs Get section prefs
Get the prefs for a section by id and potentially overriding the agent.
Corresponds with GET /library/sections/{sectionId}/prefs (the `LibrarySectionGetPrefs` operationId).
func (*Client) LibrarySectionGetSection ¶
func (c *Client) LibrarySectionGetSection(ctx context.Context, sectionID string, params *LibrarySectionGetSectionParams, reqEditors ...RequestEditorFn) (*http.Response, error)
LibrarySectionGetSection Get a library section by id
Returns details for the library. This can be thought of as an interstitial endpoint because it contains information about the library, rather than content itself. It often contains a list of `Directory` metadata objects: These used to be used by clients to build a menuing system.
Corresponds with GET /library/sections/{sectionId} (the `LibrarySectionGetSection` operationId).
func (*Client) LibrarySectionGetSorts ¶
func (c *Client) LibrarySectionGetSorts(ctx context.Context, sectionID int, reqEditors ...RequestEditorFn) (*http.Response, error)
LibrarySectionGetSorts Get a section sorts
Get the sort mechanisms available in a section.
Corresponds with GET /library/sections/{sectionId}/sorts (the `LibrarySectionGetSorts` operationId).
func (*Client) LibrarySectionGetSubtitleCodecs ¶
func (c *Client) LibrarySectionGetSubtitleCodecs(ctx context.Context, sectionID int, params *LibrarySectionGetSubtitleCodecsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
LibrarySectionGetSubtitleCodecs Get subtitle codecs in a section
Get list of distinct subtitle codecs found in this library section.
Corresponds with GET /library/sections/{sectionId}/subtitleCodec (the `LibrarySectionGetSubtitleCodecs` operationId).
func (*Client) LibrarySectionGetVideoCodecs ¶
func (c *Client) LibrarySectionGetVideoCodecs(ctx context.Context, sectionID int, params *LibrarySectionGetVideoCodecsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
LibrarySectionGetVideoCodecs Get video codecs in a section
Get list of distinct video codecs found in this library section.
Corresponds with GET /library/sections/{sectionId}/videoCodec (the `LibrarySectionGetVideoCodecs` operationId).
func (*Client) LibrarySectionPostRefresh ¶
func (c *Client) LibrarySectionPostRefresh(ctx context.Context, sectionID int, params *LibrarySectionPostRefreshParams, reqEditors ...RequestEditorFn) (*http.Response, error)
LibrarySectionPostRefresh Refresh section
Start a refresh of this section.
Corresponds with POST /library/sections/{sectionId}/refresh (the `LibrarySectionPostRefresh` operationId).
func (*Client) LibrarySectionPutAll ¶
func (c *Client) LibrarySectionPutAll(ctx context.Context, sectionID string, params *LibrarySectionPutAllParams, reqEditors ...RequestEditorFn) (*http.Response, error)
LibrarySectionPutAll Set the fields of the filtered items
This endpoint takes an large possible set of values. Here are some examples. - **Parameters, extra documentation**
- artist.title.value
- When used with track, both artist.title.value and album.title.value need to be specified
- title.value usage
- Summary
- Tracks always rename and never merge
- Albums and Artists
- if single item and item without title does not exist, it is renamed.
- if single item and item with title does exist they are merged.
- if multiple they are always merged.
- Tracks
- Works as expected will update the track's title
- Single track: `/library/sections/{id}/all?type=10&id=42&title.value=NewName`
- Multiple tracks: `/library/sections/{id}/all?type=10&id=42,43,44&title.value=NewName`
- All tracks: `/library/sections/{id}/all?type=10&title.value=NewName`
- Albums
- Functionality changes depending on the existence of an album with the same title
- Album exists
- Single album: `/library/sections/{id}/all?type=9&id=42&title.value=Album 2`
- Album with id 42 is merged into album titled "Album 2"
- Multiple/All albums: `/library/sections/{id}/all?type=9&title.value=Moo Album`
- All albums are merged into the existing album titled "Moo Album"
- Album does not exist
- Single album: `/library/sections/{id}/all?type=9&id=42&title.value=NewAlbumTitle`
- Album with id 42 has title modified to "NewAlbumTitle"
- Multiple/All albums: `/library/sections/{id}/all?type=9&title.value=NewAlbumTitle`
- All albums are merged into a new album with title="NewAlbumTitle"
- Artists
- Functionaly changes depending on the existence of an artist with the same title.
- Artist exists
- Single artist: `/library/sections/{id}/all?type=8&id=42&title.value=Artist 2`
- Artist with id 42 is merged into existing artist titled "Artist 2"
- Multiple/All artists: `/library/sections/{id}/all?type=8&title.value=Artist 3`
- All artists are merged into the existing artist titled "Artist 3"
- Artist does not exist
- Single artist: `/library/sections/{id}/all?type=8&id=42&title.value=NewArtistTitle`
- Artist with id 42 has title modified to "NewArtistTitle"
- Multiple/All artists: `/library/sections/{id}/all?type=8&title.value=NewArtistTitle`
- All artists are merged into a new artist with title="NewArtistTitle"
- **Notes**
- Technically square brackets are not allowed in an URI except the Internet Protocol Literal Address
- RFC3513: A host identified by an Internet Protocol literal address, version 6 [RFC3513] or later, is distinguished by enclosing the IP literal within square brackets ("[" and "]"). This is the only place where square bracket characters are allowed in the URI syntax.
- Escaped square brackets are allowed, but don't render well
Corresponds with PUT /library/sections/{sectionId}/all (the `LibrarySectionPutAll` operationId).
func (*Client) LibrarySectionPutAnalyze ¶
func (c *Client) LibrarySectionPutAnalyze(ctx context.Context, sectionID int, reqEditors ...RequestEditorFn) (*http.Response, error)
LibrarySectionPutAnalyze Analyze a section
Start analysis of all items in a section. If BIF generation is enabled, this will also be started on this section
Corresponds with PUT /library/sections/{sectionId}/analyze (the `LibrarySectionPutAnalyze` operationId).
func (*Client) LibrarySectionPutEmptyTrash ¶
func (c *Client) LibrarySectionPutEmptyTrash(ctx context.Context, sectionID int, reqEditors ...RequestEditorFn) (*http.Response, error)
LibrarySectionPutEmptyTrash Empty section trash
Empty trash in the section, permanently deleting media/metadata for missing media
Corresponds with PUT /library/sections/{sectionId}/emptyTrash (the `LibrarySectionPutEmptyTrash` operationId).
func (*Client) LibrarySectionPutPrefs ¶
func (c *Client) LibrarySectionPutPrefs(ctx context.Context, sectionID int, params *LibrarySectionPutPrefsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
LibrarySectionPutPrefs Set section prefs
Set the prefs for a section by id.
Corresponds with PUT /library/sections/{sectionId}/prefs (the `LibrarySectionPutPrefs` operationId).
func (*Client) LibrarySectionPutSection ¶
func (c *Client) LibrarySectionPutSection(ctx context.Context, sectionID string, params *LibrarySectionPutSectionParams, reqEditors ...RequestEditorFn) (*http.Response, error)
LibrarySectionPutSection Edit a library section
Edit a library section by id setting parameters.
Corresponds with PUT /library/sections/{sectionId} (the `LibrarySectionPutSection` operationId).
func (*Client) LivetvDVRDeleteDVR ¶
func (c *Client) LivetvDVRDeleteDVR(ctx context.Context, dvrid int, reqEditors ...RequestEditorFn) (*http.Response, error)
LivetvDVRDeleteDVR Delete a single DVR
Delete a single DVR by its id (key).
Corresponds with DELETE /livetv/dvrs/{dvrId} (the `LivetvDVRDeleteDVR` operationId).
func (*Client) LivetvDVRDeleteDVRDevice ¶
func (c *Client) LivetvDVRDeleteDVRDevice(ctx context.Context, dvrid int, deviceID int, reqEditors ...RequestEditorFn) (*http.Response, error)
LivetvDVRDeleteDVRDevice Remove a device from an existing DVR
Corresponds with DELETE /livetv/dvrs/{dvrId}/devices/{deviceId} (the `LivetvDVRDeleteDVRDevice` operationId).
func (*Client) LivetvDVRDeleteLineup ¶
func (c *Client) LivetvDVRDeleteLineup(ctx context.Context, dvrid int, params *LivetvDVRDeleteLineupParams, reqEditors ...RequestEditorFn) (*http.Response, error)
LivetvDVRDeleteLineup Delete a DVR Lineup
Deletes a DVR device's lineup.
Corresponds with DELETE /livetv/dvrs/{dvrId}/lineups (the `LivetvDVRDeleteLineup` operationId).
func (*Client) LivetvDVRDeleteReloadGuide ¶
func (c *Client) LivetvDVRDeleteReloadGuide(ctx context.Context, dvrid int, reqEditors ...RequestEditorFn) (*http.Response, error)
LivetvDVRDeleteReloadGuide Tell a DVR to stop reloading program guide
Corresponds with DELETE /livetv/dvrs/{dvrId}/reloadGuide (the `LivetvDVRDeleteReloadGuide` operationId).
func (*Client) LivetvDVRGetDVR ¶
func (c *Client) LivetvDVRGetDVR(ctx context.Context, dvrid int, reqEditors ...RequestEditorFn) (*http.Response, error)
LivetvDVRGetDVR Get a single DVR
Get a single DVR by its id (key).
Corresponds with GET /livetv/dvrs/{dvrId} (the `LivetvDVRGetDVR` operationId).
func (*Client) LivetvDVRGetSlash ¶
func (c *Client) LivetvDVRGetSlash(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
LivetvDVRGetSlash Get DVRs
Get the list of all available DVRs.
Corresponds with GET /livetv/dvrs (the `LivetvDVRGetSlash` operationId).
func (*Client) LivetvDVRPostChannelsChannelTune ¶
func (c *Client) LivetvDVRPostChannelsChannelTune(ctx context.Context, dvrid int, channel string, reqEditors ...RequestEditorFn) (*http.Response, error)
LivetvDVRPostChannelsChannelTune Tune a channel on a DVR
Tune a channel on a DVR to the provided channel.
Corresponds with POST /livetv/dvrs/{dvrId}/channels/{channel}/tune (the `LivetvDVRPostChannelsChannelTune` operationId).
func (*Client) LivetvDVRPostReloadGuide ¶
func (c *Client) LivetvDVRPostReloadGuide(ctx context.Context, dvrid int, reqEditors ...RequestEditorFn) (*http.Response, error)
LivetvDVRPostReloadGuide Tell a DVR to reload program guide
Corresponds with POST /livetv/dvrs/{dvrId}/reloadGuide (the `LivetvDVRPostReloadGuide` operationId).
func (*Client) LivetvDVRPostSlash ¶
func (c *Client) LivetvDVRPostSlash(ctx context.Context, params *LivetvDVRPostSlashParams, reqEditors ...RequestEditorFn) (*http.Response, error)
LivetvDVRPostSlash Create a DVR
Creation of a DVR, after creation of a devcie and a lineup is selected ¶
Corresponds with POST /livetv/dvrs (the `LivetvDVRPostSlash` operationId).
func (*Client) LivetvDVRPutDVRDevice ¶
func (c *Client) LivetvDVRPutDVRDevice(ctx context.Context, dvrid int, deviceID int, reqEditors ...RequestEditorFn) (*http.Response, error)
LivetvDVRPutDVRDevice Add a device to an existing DVR
Corresponds with PUT /livetv/dvrs/{dvrId}/devices/{deviceId} (the `LivetvDVRPutDVRDevice` operationId).
func (*Client) LivetvDVRPutLineup ¶
func (c *Client) LivetvDVRPutLineup(ctx context.Context, dvrid int, params *LivetvDVRPutLineupParams, reqEditors ...RequestEditorFn) (*http.Response, error)
LivetvDVRPutLineup Add a DVR Lineup
Add a lineup to a DVR device's set of lineups.
Corresponds with PUT /livetv/dvrs/{dvrId}/lineups (the `LivetvDVRPutLineup` operationId).
func (*Client) LivetvDVRPutPrefs ¶
func (c *Client) LivetvDVRPutPrefs(ctx context.Context, dvrid int, params *LivetvDVRPutPrefsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
LivetvDVRPutPrefs Set DVR preferences
Set DVR preferences by name avd value.
Corresponds with PUT /livetv/dvrs/{dvrId}/prefs (the `LivetvDVRPutPrefs` operationId).
func (*Client) LivetvEPGGetChannelmap ¶
func (c *Client) LivetvEPGGetChannelmap(ctx context.Context, params *LivetvEPGGetChannelmapParams, reqEditors ...RequestEditorFn) (*http.Response, error)
LivetvEPGGetChannelmap Compute the best channel map
Compute the best channel map, given device and lineup ¶
Corresponds with GET /livetv/epg/channelmap (the `LivetvEPGGetChannelmap` operationId).
func (*Client) LivetvEPGGetChannels ¶
func (c *Client) LivetvEPGGetChannels(ctx context.Context, params *LivetvEPGGetChannelsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
LivetvEPGGetChannels Get channels for a lineup
Get channels for a lineup within an EPG provider.
Corresponds with GET /livetv/epg/channels (the `LivetvEPGGetChannels` operationId).
func (*Client) LivetvEPGGetCountries ¶
func (c *Client) LivetvEPGGetCountries(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
LivetvEPGGetCountries Get all countries
This endpoint returns a list of countries which EPG data is available for. There are three flavors, as specfied by the `flavor` attribute
Corresponds with GET /livetv/epg/countries (the `LivetvEPGGetCountries` operationId).
func (*Client) LivetvEPGGetCountriesCountryLineups ¶
func (c *Client) LivetvEPGGetCountriesCountryLineups(ctx context.Context, country string, epgid string, params *LivetvEPGGetCountriesCountryLineupsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
LivetvEPGGetCountriesCountryLineups Get lineups for a country via postal code
Returns a list of lineups for a given country, EPG provider and postal code ¶
Corresponds with GET /livetv/epg/countries/{country}/{epgId}/lineups (the `LivetvEPGGetCountriesCountryLineups` operationId).
func (*Client) LivetvEPGGetCountriesCountryRegions ¶
func (c *Client) LivetvEPGGetCountriesCountryRegions(ctx context.Context, country string, epgid string, reqEditors ...RequestEditorFn) (*http.Response, error)
LivetvEPGGetCountriesCountryRegions Get regions for a country
Get regions for a country within an EPG provider.
Corresponds with GET /livetv/epg/countries/{country}/{epgId}/regions (the `LivetvEPGGetCountriesCountryRegions` operationId).
func (*Client) LivetvEPGGetCountriesCountryRegionsRegionLineups ¶
func (c *Client) LivetvEPGGetCountriesCountryRegionsRegionLineups(ctx context.Context, country string, epgid string, region string, reqEditors ...RequestEditorFn) (*http.Response, error)
LivetvEPGGetCountriesCountryRegionsRegionLineups Get lineups for a region
Get lineups for a region within an EPG provider.
Corresponds with GET /livetv/epg/countries/{country}/{epgId}/regions/{region}/lineups (the `LivetvEPGGetCountriesCountryRegionsRegionLineups` operationId).
func (*Client) LivetvEPGGetLanguages ¶
func (c *Client) LivetvEPGGetLanguages(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
LivetvEPGGetLanguages Get all languages
Returns a list of all possible languages for EPG data.
Corresponds with GET /livetv/epg/languages (the `LivetvEPGGetLanguages` operationId).
func (*Client) LivetvEPGGetLineup ¶
func (c *Client) LivetvEPGGetLineup(ctx context.Context, params *LivetvEPGGetLineupParams, reqEditors ...RequestEditorFn) (*http.Response, error)
LivetvEPGGetLineup Compute the best lineup
Compute the best lineup, given lineup group and device ¶
Corresponds with GET /livetv/epg/lineup (the `LivetvEPGGetLineup` operationId).
func (*Client) LivetvEPGGetLineupchannels ¶
func (c *Client) LivetvEPGGetLineupchannels(ctx context.Context, params *LivetvEPGGetLineupchannelsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
LivetvEPGGetLineupchannels Get the channels for mulitple lineups
Get the channels across multiple lineups.
Corresponds with GET /livetv/epg/lineupchannels (the `LivetvEPGGetLineupchannels` operationId).
func (*Client) LivetvSessionsGetSession ¶
func (c *Client) LivetvSessionsGetSession(ctx context.Context, sessionID string, reqEditors ...RequestEditorFn) (*http.Response, error)
LivetvSessionsGetSession Get a single session
Get a single livetv session and metadata.
Corresponds with GET /livetv/sessions/{sessionId} (the `LivetvSessionsGetSession` operationId).
func (*Client) LivetvSessionsGetSessionConsumerIndex ¶
func (c *Client) LivetvSessionsGetSessionConsumerIndex(ctx context.Context, sessionID string, consumerID string, reqEditors ...RequestEditorFn) (*http.Response, error)
LivetvSessionsGetSessionConsumerIndex Get a session playlist index
Get a playlist index for playing this session.
Corresponds with GET /livetv/sessions/{sessionId}/{consumerId}/index.m3u8 (the `LivetvSessionsGetSessionConsumerIndex` operationId).
func (*Client) LivetvSessionsGetSessionConsumerSegment ¶
func (c *Client) LivetvSessionsGetSessionConsumerSegment(ctx context.Context, sessionID string, consumerID string, segmentID string, reqEditors ...RequestEditorFn) (*http.Response, error)
LivetvSessionsGetSessionConsumerSegment Get a single session segment
Get a single livetv session segment.
Corresponds with GET /livetv/sessions/{sessionId}/{consumerId}/{segmentId} (the `LivetvSessionsGetSessionConsumerSegment` operationId).
func (*Client) LivetvSessionsGetSlash ¶
func (c *Client) LivetvSessionsGetSlash(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
LivetvSessionsGetSlash Get all sessions
Get all livetv sessions and metadata.
Corresponds with GET /livetv/sessions (the `LivetvSessionsGetSlash` operationId).
func (*Client) LogPostPapertrail ¶
func (c *Client) LogPostPapertrail(ctx context.Context, params *LogPostPapertrailParams, reqEditors ...RequestEditorFn) (*http.Response, error)
LogPostPapertrail Enabling Papertrail
This endpoint will enable all Plex Media Serverlogs to be sent to the Papertrail networked logging site for a period of time ¶
Note: This endpoint responds to all HTTP verbs but POST is preferred
Corresponds with POST /log/networked (the `LogPostPapertrail` operationId).
func (*Client) LogPostSlashWithBody ¶
func (c *Client) LogPostSlashWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
LogPostSlashWithBody Logging a multi-line message to the Plex Media Server log
This endpoint will write multiple lines to the main Plex Media Server log in a single request. It takes a set of query strings as would normally sent to the above PUT endpoint as a linefeed-separated block of POST data. The parameters for each query string match as above.
Takes any type of body and a specified content type.
Corresponds with POST /log (the `LogPostSlash` operationId).
func (*Client) LogPostSlashWithTextBody ¶
func (c *Client) LogPostSlashWithTextBody(ctx context.Context, body LogPostSlashTextRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
LogPostSlashWithTextBody Logging a multi-line message to the Plex Media Server log
This endpoint will write multiple lines to the main Plex Media Server log in a single request. It takes a set of query strings as would normally sent to the above PUT endpoint as a linefeed-separated block of POST data. The parameters for each query string match as above.
Takes a body of the `text/plain` content type.
Corresponds with POST /log (the `LogPostSlash` operationId).
func (*Client) LogPutSlash ¶
func (c *Client) LogPutSlash(ctx context.Context, params *LogPutSlashParams, reqEditors ...RequestEditorFn) (*http.Response, error)
LogPutSlash Logging a single-line message to the Plex Media Server log
This endpoint will write a single-line log message, including a level and source to the main Plex Media Server log.
Note: This endpoint responds to all HTTP verbs **except POST** but PUT is preferred
Corresponds with PUT /log (the `LogPutSlash` operationId).
func (*Client) MediaGrabberDeleteDevicesDeviceScan ¶
func (c *Client) MediaGrabberDeleteDevicesDeviceScan(ctx context.Context, deviceID int, reqEditors ...RequestEditorFn) (*http.Response, error)
MediaGrabberDeleteDevicesDeviceScan Tell a device to stop scanning for channels
Corresponds with DELETE /media/grabbers/devices/{deviceId}/scan (the `MediaGrabberDeleteDevicesDeviceScan` operationId).
func (*Client) MediaGrabberDeleteOperationsOperation ¶
func (c *Client) MediaGrabberDeleteOperationsOperation(ctx context.Context, operationID string, reqEditors ...RequestEditorFn) (*http.Response, error)
MediaGrabberDeleteOperationsOperation Cancel an existing grab
Cancels an existing media grab (recording). It can be used to resolve a conflict which exists for a rolling subscription. Note: This cancellation does not persist across a server restart, but neither does a rolling subscription itself.
Corresponds with DELETE /media/grabbers/operations/{operationId} (the `MediaGrabberDeleteOperationsOperation` operationId).
func (*Client) MediaGrabberDevicesDeviceDeleteSlash ¶
func (c *Client) MediaGrabberDevicesDeviceDeleteSlash(ctx context.Context, deviceID int, reqEditors ...RequestEditorFn) (*http.Response, error)
MediaGrabberDevicesDeviceDeleteSlash Remove a device
Remove a devices by its id along with its channel mappings.
Corresponds with DELETE /media/grabbers/devices/{deviceId} (the `MediaGrabberDevicesDeviceDeleteSlash` operationId).
func (*Client) MediaGrabberDevicesDeviceGetChannels ¶
func (c *Client) MediaGrabberDevicesDeviceGetChannels(ctx context.Context, deviceID int, reqEditors ...RequestEditorFn) (*http.Response, error)
MediaGrabberDevicesDeviceGetChannels Get a device's channels
Get a device's channels by its id.
Corresponds with GET /media/grabbers/devices/{deviceId}/channels (the `MediaGrabberDevicesDeviceGetChannels` operationId).
func (*Client) MediaGrabberDevicesDeviceGetSlash ¶
func (c *Client) MediaGrabberDevicesDeviceGetSlash(ctx context.Context, deviceID int, reqEditors ...RequestEditorFn) (*http.Response, error)
MediaGrabberDevicesDeviceGetSlash Get device details
Get a device's details by its id.
Corresponds with GET /media/grabbers/devices/{deviceId} (the `MediaGrabberDevicesDeviceGetSlash` operationId).
func (*Client) MediaGrabberDevicesDeviceGetThumbVersion ¶
func (c *Client) MediaGrabberDevicesDeviceGetThumbVersion(ctx context.Context, deviceID int, version int, reqEditors ...RequestEditorFn) (*http.Response, error)
MediaGrabberDevicesDeviceGetThumbVersion Get device thumb
Get a device's thumb for display to the user.
Corresponds with GET /media/grabbers/devices/{deviceId}/thumb/{version} (the `MediaGrabberDevicesDeviceGetThumbVersion` operationId).
func (*Client) MediaGrabberDevicesDevicePostScan ¶
func (c *Client) MediaGrabberDevicesDevicePostScan(ctx context.Context, deviceID int, params *MediaGrabberDevicesDevicePostScanParams, reqEditors ...RequestEditorFn) (*http.Response, error)
MediaGrabberDevicesDevicePostScan Tell a device to scan for channels
Corresponds with POST /media/grabbers/devices/{deviceId}/scan (the `MediaGrabberDevicesDevicePostScan` operationId).
func (*Client) MediaGrabberDevicesDevicePutChannelmap ¶
func (c *Client) MediaGrabberDevicesDevicePutChannelmap(ctx context.Context, deviceID int, params *MediaGrabberDevicesDevicePutChannelmapParams, reqEditors ...RequestEditorFn) (*http.Response, error)
MediaGrabberDevicesDevicePutChannelmap Set a device's channel mapping
Corresponds with PUT /media/grabbers/devices/{deviceId}/channelmap (the `MediaGrabberDevicesDevicePutChannelmap` operationId).
func (*Client) MediaGrabberDevicesDevicePutPrefs ¶
func (c *Client) MediaGrabberDevicesDevicePutPrefs(ctx context.Context, deviceID int, params *MediaGrabberDevicesDevicePutPrefsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
MediaGrabberDevicesDevicePutPrefs Set device preferences
Set device preferences by its id.
Corresponds with PUT /media/grabbers/devices/{deviceId}/prefs (the `MediaGrabberDevicesDevicePutPrefs` operationId).
func (*Client) MediaGrabberDevicesDevicePutSlash ¶
func (c *Client) MediaGrabberDevicesDevicePutSlash(ctx context.Context, deviceID int, params *MediaGrabberDevicesDevicePutSlashParams, reqEditors ...RequestEditorFn) (*http.Response, error)
MediaGrabberDevicesDevicePutSlash Enable or disable a device
Enable or disable a device by its id.
Corresponds with PUT /media/grabbers/devices/{deviceId} (the `MediaGrabberDevicesDevicePutSlash` operationId).
func (*Client) MediaGrabberGetDevices ¶
func (c *Client) MediaGrabberGetDevices(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
MediaGrabberGetDevices Get all devices
Get the list of all devices present.
Corresponds with GET /media/grabbers/devices (the `MediaGrabberGetDevices` operationId).
func (*Client) MediaGrabberGetSlash ¶
func (c *Client) MediaGrabberGetSlash(ctx context.Context, params *MediaGrabberGetSlashParams, reqEditors ...RequestEditorFn) (*http.Response, error)
MediaGrabberGetSlash Get available grabbers
Get available grabbers visible to the server.
Corresponds with GET /media/grabbers (the `MediaGrabberGetSlash` operationId).
func (*Client) MediaGrabberPostDeviceDiscover ¶
func (c *Client) MediaGrabberPostDeviceDiscover(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
MediaGrabberPostDeviceDiscover Tell grabbers to discover devices
Corresponds with POST /media/grabbers/devices/discover (the `MediaGrabberPostDeviceDiscover` operationId).
func (*Client) MediaGrabberPostDevices ¶
func (c *Client) MediaGrabberPostDevices(ctx context.Context, params *MediaGrabberPostDevicesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
MediaGrabberPostDevices Add a device
This endpoint adds a device to an existing grabber. The device is identified, and added to the correct grabber.
Corresponds with POST /media/grabbers/devices (the `MediaGrabberPostDevices` operationId).
func (*Client) MediaProviderEPGChannels ¶
func (c *Client) MediaProviderEPGChannels(ctx context.Context, identifier MediaProviderEPGChannelsParamsIdentifier, deviceID int, params *MediaProviderEPGChannelsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
MediaProviderEPGChannels Get channels for a lineup
Get channels for a lineup within an EPG provider.
Corresponds with GET /tv.plex.providers.epg.{identifier}:{deviceId}/lineups/dvr/channels (the `MediaProviderEPGChannels` operationId).
func (*Client) MediaProviderEPGGrid ¶
func (c *Client) MediaProviderEPGGrid(ctx context.Context, identifier MediaProviderEPGGridParamsIdentifier, deviceID int, params *MediaProviderEPGGridParams, reqEditors ...RequestEditorFn) (*http.Response, error)
MediaProviderEPGGrid Get airing information
Get the airing information for a given channel on a given day.
Corresponds with GET /tv.plex.providers.epg.{identifier}:{deviceId}/grid (the `MediaProviderEPGGrid` operationId).
func (*Client) MediaProviderEPGWatchnow ¶
func (c *Client) MediaProviderEPGWatchnow(ctx context.Context, identifier MediaProviderEPGWatchnowParamsIdentifier, deviceID int, reqEditors ...RequestEditorFn) (*http.Response, error)
MediaProviderEPGWatchnow Get hubs
Get the watchnow hubs for the specified provider.
Corresponds with GET /tv.plex.providers.epg.{identifier}:{deviceId}/watchnow (the `MediaProviderEPGWatchnow` operationId).
func (*Client) MediaProviderEPGWatchnowAll ¶
func (c *Client) MediaProviderEPGWatchnowAll(ctx context.Context, identifier MediaProviderEPGWatchnowAllParamsIdentifier, deviceID int, reqEditors ...RequestEditorFn) (*http.Response, error)
MediaProviderEPGWatchnowAll Get currently airing
Get the information for all currently airing shows on the specified provider.
Corresponds with GET /tv.plex.providers.epg.{identifier}:{deviceId}/watchnow/all (the `MediaProviderEPGWatchnowAll` operationId).
func (*Client) MediaSubscriptionsDeleteSubscription ¶
func (c *Client) MediaSubscriptionsDeleteSubscription(ctx context.Context, subscriptionID int, reqEditors ...RequestEditorFn) (*http.Response, error)
MediaSubscriptionsDeleteSubscription Delete a subscription
Delete a subscription, cancelling all of its grabs as well ¶
Corresponds with DELETE /media/subscriptions/{subscriptionId} (the `MediaSubscriptionsDeleteSubscription` operationId).
func (*Client) MediaSubscriptionsGetScheduled ¶
func (c *Client) MediaSubscriptionsGetScheduled(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
MediaSubscriptionsGetScheduled Get all scheduled recordings
Get all scheduled recordings across all subscriptions.
Corresponds with GET /media/subscriptions/scheduled (the `MediaSubscriptionsGetScheduled` operationId).
func (*Client) MediaSubscriptionsGetSlash ¶
func (c *Client) MediaSubscriptionsGetSlash(ctx context.Context, params *MediaSubscriptionsGetSlashParams, reqEditors ...RequestEditorFn) (*http.Response, error)
MediaSubscriptionsGetSlash Get all subscriptions
Get all subscriptions and potentially the grabs too.
Corresponds with GET /media/subscriptions (the `MediaSubscriptionsGetSlash` operationId).
func (*Client) MediaSubscriptionsGetSubscription ¶
func (c *Client) MediaSubscriptionsGetSubscription(ctx context.Context, subscriptionID int, params *MediaSubscriptionsGetSubscriptionParams, reqEditors ...RequestEditorFn) (*http.Response, error)
MediaSubscriptionsGetSubscription Get a single subscription
Get a single subscription and potentially the grabs too.
Corresponds with GET /media/subscriptions/{subscriptionId} (the `MediaSubscriptionsGetSubscription` operationId).
func (*Client) MediaSubscriptionsGetTemplate ¶
func (c *Client) MediaSubscriptionsGetTemplate(ctx context.Context, params *MediaSubscriptionsGetTemplateParams, reqEditors ...RequestEditorFn) (*http.Response, error)
MediaSubscriptionsGetTemplate Get the subscription template
Get the templates for a piece of media which could include fetching one airing, season, the whole show, etc.
Corresponds with GET /media/subscriptions/template (the `MediaSubscriptionsGetTemplate` operationId).
func (*Client) MediaSubscriptionsPostProcess ¶
func (c *Client) MediaSubscriptionsPostProcess(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
MediaSubscriptionsPostProcess Process all subscriptions
Process all subscriptions asynchronously.
Corresponds with POST /media/subscriptions/process (the `MediaSubscriptionsPostProcess` operationId).
func (*Client) MediaSubscriptionsPostSlash ¶
func (c *Client) MediaSubscriptionsPostSlash(ctx context.Context, params *MediaSubscriptionsPostSlashParams, reqEditors ...RequestEditorFn) (*http.Response, error)
MediaSubscriptionsPostSlash Create a subscription
Create a subscription. The query parameters should be mostly derived from the [template](#tag/Subscriptions/operation/mediaSubscriptionsGetTemplate)
Corresponds with POST /media/subscriptions (the `MediaSubscriptionsPostSlash` operationId).
func (*Client) MediaSubscriptionsPutSubscription ¶
func (c *Client) MediaSubscriptionsPutSubscription(ctx context.Context, subscriptionID int, params *MediaSubscriptionsPutSubscriptionParams, reqEditors ...RequestEditorFn) (*http.Response, error)
MediaSubscriptionsPutSubscription Edit a subscription
Edit a subscription's preferences.
Corresponds with PUT /media/subscriptions/{subscriptionId} (the `MediaSubscriptionsPutSubscription` operationId).
func (*Client) MediaSubscriptionsPutSubscriptionMove ¶
func (c *Client) MediaSubscriptionsPutSubscriptionMove(ctx context.Context, subscriptionID int, params *MediaSubscriptionsPutSubscriptionMoveParams, reqEditors ...RequestEditorFn) (*http.Response, error)
MediaSubscriptionsPutSubscriptionMove Re-order a subscription
Re-order a subscription to change its priority.
Corresponds with PUT /media/subscriptions/{subscriptionId}/move (the `MediaSubscriptionsPutSubscriptionMove` operationId).
func (*Client) PlayQueuePlayQueueReset ¶
func (c *Client) PlayQueuePlayQueueReset(ctx context.Context, playQueueID int, reqEditors ...RequestEditorFn) (*http.Response, error)
PlayQueuePlayQueueReset Reset a play queue
Reset a play queue to the first item being the current item.
Corresponds with PUT /playQueues/{playQueueId}/reset (the `PlayQueuePlayQueueReset` operationId).
func (*Client) PlayQueuePostSlash ¶
func (c *Client) PlayQueuePostSlash(ctx context.Context, params *PlayQueuePostSlashParams, reqEditors ...RequestEditorFn) (*http.Response, error)
PlayQueuePostSlash Create a play queue
Makes a new play queue for a device. The source of the playqueue can either be a URI, or a playlist. The response is a media container with the initial items in the queue. Each item in the queue will be a regular item but with `playQueueItemID` - a unique ID since the queue could have repeated items with the same `ratingKey`. Note: Either `uri` or `playlistID` must be specified
Corresponds with POST /playQueues (the `PlayQueuePostSlash` operationId).
func (*Client) PlayQueueQueueDeleteItems ¶
func (c *Client) PlayQueueQueueDeleteItems(ctx context.Context, playQueueID int, reqEditors ...RequestEditorFn) (*http.Response, error)
PlayQueueQueueDeleteItems Clear a play queue
Deletes all items in the play queue, and increases the version of the play queue.
Corresponds with DELETE /playQueues/{playQueueId}/items (the `PlayQueueQueueDeleteItems` operationId).
func (*Client) PlayQueueQueueDeleteItemsItem ¶
func (c *Client) PlayQueueQueueDeleteItemsItem(ctx context.Context, playQueueID int, playQueueItemID int, reqEditors ...RequestEditorFn) (*http.Response, error)
PlayQueueQueueDeleteItemsItem Delete an item from a play queue
Deletes an item in a play queue. Increments the version of the play queue. Returns the modified play queue.
Corresponds with DELETE /playQueues/{playQueueId}/items/{playQueueItemId} (the `PlayQueueQueueDeleteItemsItem` operationId).
func (*Client) PlayQueueQueueGetSlash ¶
func (c *Client) PlayQueueQueueGetSlash(ctx context.Context, playQueueID int, params *PlayQueueQueueGetSlashParams, reqEditors ...RequestEditorFn) (*http.Response, error)
PlayQueueQueueGetSlash Retrieve a play queue
Retrieves the play queue, centered at current item. This can be treated as a regular container by play queue-oblivious clients, but they may wish to request a large window onto the queue since they won't know to refresh.
Corresponds with GET /playQueues/{playQueueId} (the `PlayQueueQueueGetSlash` operationId).
func (*Client) PlayQueueQueuePutItemsMove ¶
func (c *Client) PlayQueueQueuePutItemsMove(ctx context.Context, playQueueID int, playQueueItemID int, params *PlayQueueQueuePutItemsMoveParams, reqEditors ...RequestEditorFn) (*http.Response, error)
PlayQueueQueuePutItemsMove Move an item in a play queue
Moves an item in a play queue, and increases the version of the play queue. Returns the modified play queue.
Corresponds with PUT /playQueues/{playQueueId}/items/{playQueueItemId}/move (the `PlayQueueQueuePutItemsMove` operationId).
func (*Client) PlayQueueQueuePutItemsShuffle ¶
func (c *Client) PlayQueueQueuePutItemsShuffle(ctx context.Context, playQueueID int, reqEditors ...RequestEditorFn) (*http.Response, error)
PlayQueueQueuePutItemsShuffle Shuffle a play queue
Shuffle a play queue (or reshuffles if already shuffled). The currently selected item is maintained. Note that this is currently only supported for play queues *without* an Up Next area. Returns the modified play queue.
Corresponds with PUT /playQueues/{playQueueId}/shuffle (the `PlayQueueQueuePutItemsShuffle` operationId).
func (*Client) PlayQueueQueuePutItemsUnshuffle ¶
func (c *Client) PlayQueueQueuePutItemsUnshuffle(ctx context.Context, playQueueID int, reqEditors ...RequestEditorFn) (*http.Response, error)
PlayQueueQueuePutItemsUnshuffle Unshuffle a play queue
Unshuffles a play queue and restores "natural order". Note that this is currently only supported for play queues *without* an Up Next area. Returns the modified play queue.
Corresponds with PUT /playQueues/{playQueueId}/unshuffle (the `PlayQueueQueuePutItemsUnshuffle` operationId).
func (*Client) PlayQueueQueuePutSlash ¶
func (c *Client) PlayQueueQueuePutSlash(ctx context.Context, playQueueID int, params *PlayQueueQueuePutSlashParams, reqEditors ...RequestEditorFn) (*http.Response, error)
PlayQueueQueuePutSlash Add a generator or playlist to a play queue
Adds an item to a play queue (e.g. party mode). Increments the version of the play queue. Takes the following parameters (`uri` and `playlistID` are mutually exclusive). Returns the modified play queue.
Corresponds with PUT /playQueues/{playQueueId} (the `PlayQueueQueuePutSlash` operationId).
func (*Client) PlaylistDeleteItems ¶
func (c *Client) PlaylistDeleteItems(ctx context.Context, playlistID int, reqEditors ...RequestEditorFn) (*http.Response, error)
PlaylistDeleteItems Clearing a playlist
Clears a playlist, only works with dumb playlists. Returns the playlist.
Corresponds with DELETE /playlists/{playlistId}/items (the `PlaylistDeleteItems` operationId).
func (*Client) PlaylistDeleteItemsGenerator ¶
func (c *Client) PlaylistDeleteItemsGenerator(ctx context.Context, playlistID int, generatorID int, reqEditors ...RequestEditorFn) (*http.Response, error)
PlaylistDeleteItemsGenerator Delete a Generator
Deletes an item from a playlist. Only works with dumb playlists.
Corresponds with DELETE /playlists/{playlistId}/items/{generatorId} (the `PlaylistDeleteItemsGenerator` operationId).
func (*Client) PlaylistDeletePlaylist ¶
func (c *Client) PlaylistDeletePlaylist(ctx context.Context, playlistID int, reqEditors ...RequestEditorFn) (*http.Response, error)
PlaylistDeletePlaylist Delete a Playlist
Deletes a playlist by provided id.
Corresponds with DELETE /playlists/{playlistId} (the `PlaylistDeletePlaylist` operationId).
func (*Client) PlaylistGetGenerators ¶
func (c *Client) PlaylistGetGenerators(ctx context.Context, playlistID int, reqEditors ...RequestEditorFn) (*http.Response, error)
PlaylistGetGenerators Get a playlist's generators
Get all the generators in a playlist.
Corresponds with GET /playlists/{playlistId}/generators (the `PlaylistGetGenerators` operationId).
func (*Client) PlaylistGetItems ¶
func (c *Client) PlaylistGetItems(ctx context.Context, playlistID int, params *PlaylistGetItemsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
PlaylistGetItems Retrieve Playlist Contents
Gets the contents if a playlist. Should be paged by clients via standard mechanisms. By default leaves are returned (e.g. episodes, movies). In order to return other types you can use the `type` parameter. For example, you could use this to display a list of recently added albums vis a smart playlist. Note that for dumb playlists, items have a `playlistItemID` attribute which is used for deleting or moving items.
Corresponds with GET /playlists/{playlistId}/items (the `PlaylistGetItems` operationId).
func (*Client) PlaylistGetItemsGenerator ¶
func (c *Client) PlaylistGetItemsGenerator(ctx context.Context, playlistID int, generatorID int, reqEditors ...RequestEditorFn) (*http.Response, error)
PlaylistGetItemsGenerator Get a playlist generator
Get a playlist's generator. Only used for optimized versions
Corresponds with GET /playlists/{playlistId}/items/{generatorId} (the `PlaylistGetItemsGenerator` operationId).
func (*Client) PlaylistGetItemsGeneratorItems ¶
func (c *Client) PlaylistGetItemsGeneratorItems(ctx context.Context, playlistID int, generatorID int, reqEditors ...RequestEditorFn) (*http.Response, error)
PlaylistGetItemsGeneratorItems Get a playlist generator's items
Corresponds with GET /playlists/{playlistId}/items/{generatorId}/items (the `PlaylistGetItemsGeneratorItems` operationId).
func (*Client) PlaylistGetPlaylist ¶
func (c *Client) PlaylistGetPlaylist(ctx context.Context, playlistID int, reqEditors ...RequestEditorFn) (*http.Response, error)
PlaylistGetPlaylist Retrieve Playlist
Gets detailed metadata for a playlist. A playlist for many purposes (rating, editing metadata, tagging), can be treated like a regular metadata item: Smart playlist details contain the `content` attribute. This is the content URI for the generator. This can then be parsed by a client to provide smart playlist editing.
Corresponds with GET /playlists/{playlistId} (the `PlaylistGetPlaylist` operationId).
func (*Client) PlaylistGetSlash ¶
func (c *Client) PlaylistGetSlash(ctx context.Context, params *PlaylistGetSlashParams, reqEditors ...RequestEditorFn) (*http.Response, error)
PlaylistGetSlash Retrieve Playlists
Gets a list of playlists and playlist folders for a user. General filters are permitted, such as `sort=lastViewedAt:desc`. A flat playlist list can be retrieved using `type=15` to limit the collection to just playlists.
Corresponds with GET /playlists (the `PlaylistGetSlash` operationId).
func (*Client) PlaylistPostSlash ¶
func (c *Client) PlaylistPostSlash(ctx context.Context, params *PlaylistPostSlashParams, reqEditors ...RequestEditorFn) (*http.Response, error)
PlaylistPostSlash Create a Playlist
Create a new playlist. By default the playlist is blank.
Corresponds with POST /playlists (the `PlaylistPostSlash` operationId).
func (*Client) PlaylistPostUpload ¶
func (c *Client) PlaylistPostUpload(ctx context.Context, params *PlaylistPostUploadParams, reqEditors ...RequestEditorFn) (*http.Response, error)
PlaylistPostUpload Upload
Imports m3u playlists by passing a path on the server to scan for m3u-formatted playlist files, or a path to a single playlist file.
Corresponds with POST /playlists/upload (the `PlaylistPostUpload` operationId).
func (*Client) PlaylistPutItems ¶
func (c *Client) PlaylistPutItems(ctx context.Context, playlistID int, params *PlaylistPutItemsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
PlaylistPutItems Adding to a Playlist
Adds a generator to a playlist, same parameters as the POST above. With a dumb playlist, this adds the specified items to the playlist. With a smart playlist, passing a new `uri` parameter replaces the rules for the playlist. Returns the playlist.
Corresponds with PUT /playlists/{playlistId}/items (the `PlaylistPutItems` operationId).
func (*Client) PlaylistPutItemsGenerator ¶
func (c *Client) PlaylistPutItemsGenerator(ctx context.Context, playlistID int, generatorID int, params *PlaylistPutItemsGeneratorParams, reqEditors ...RequestEditorFn) (*http.Response, error)
PlaylistPutItemsGenerator Modify a Generator
Modify a playlist generator. Only used for optimizer
Corresponds with PUT /playlists/{playlistId}/items/{generatorId} (the `PlaylistPutItemsGenerator` operationId).
func (*Client) PlaylistPutItemsGeneratorReprocess ¶
func (c *Client) PlaylistPutItemsGeneratorReprocess(ctx context.Context, playlistID int, generatorID int, metadataID int, action PlaylistPutItemsGeneratorReprocessParamsAction, reqEditors ...RequestEditorFn) (*http.Response, error)
PlaylistPutItemsGeneratorReprocess Reprocess a generator
Make a generator reprocess (refresh).
Corresponds with PUT /playlists/{playlistId}/items/{generatorId}/{metadataId}/{action} (the `PlaylistPutItemsGeneratorReprocess` operationId).
func (*Client) PlaylistPutItemsMove ¶
func (c *Client) PlaylistPutItemsMove(ctx context.Context, playlistID int, playlistItemID int, params *PlaylistPutItemsMoveParams, reqEditors ...RequestEditorFn) (*http.Response, error)
PlaylistPutItemsMove Moving items in a playlist
Moves an item in a playlist. Only works with dumb playlists.
Corresponds with PUT /playlists/{playlistId}/items/{playlistItemId}/move (the `PlaylistPutItemsMove` operationId).
func (*Client) PlaylistPutPlaylist ¶
func (c *Client) PlaylistPutPlaylist(ctx context.Context, playlistID int, reqEditors ...RequestEditorFn) (*http.Response, error)
PlaylistPutPlaylist Editing a Playlist
Edits a playlist in the same manner as [editing metadata](#tag/Provider/operation/metadataPutItem).
Corresponds with PUT /playlists/{playlistId} (the `PlaylistPutPlaylist` operationId).
func (*Client) PostMediaProviders ¶
func (c *Client) PostMediaProviders(ctx context.Context, params *PostMediaProvidersParams, reqEditors ...RequestEditorFn) (*http.Response, error)
PostMediaProviders Add a media provider
This endpoint registers a media provider with the server. Once registered, the media server acts as a reverse proxy to the provider, allowing both local and remote providers to work.
Corresponds with POST /media/providers (the `PostMediaProviders` operationId).
func (*Client) PostMediaProvidersRefresh ¶
func (c *Client) PostMediaProvidersRefresh(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
PostMediaProvidersRefresh Refresh media providers
Refresh all known media providers. This is useful in case a provider has updated features.
Corresponds with POST /media/providers/refresh (the `PostMediaProvidersRefresh` operationId).
func (*Client) PostMetadataAgentProviderGroups ¶
func (c *Client) PostMetadataAgentProviderGroups(ctx context.Context, params *PostMetadataAgentProviderGroupsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
PostMetadataAgentProviderGroups Add a metadata agent provider group
This endpoint registers a new metadata agent provider group and creates a new MetadataAgentGroupItem for the primraryIdentifier.
Corresponds with POST /media/providers/metadata/group (the `PostMetadataAgentProviderGroups` operationId).
func (*Client) PostMetadataAgentProviders ¶
func (c *Client) PostMetadataAgentProviders(ctx context.Context, params *PostMetadataAgentProvidersParams, reqEditors ...RequestEditorFn) (*http.Response, error)
PostMetadataAgentProviders Add a metadata agent provider
This endpoint registers a metadata agent provider with the server. The provider URI must respond with a valid MediaProvider response.
Corresponds with POST /media/providers/metadata (the `PostMetadataAgentProviders` operationId).
func (*Client) PreferencesGetGet ¶
func (c *Client) PreferencesGetGet(ctx context.Context, params *PreferencesGetGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
PreferencesGetGet Get a preferences
Get a single preference and value.
Corresponds with GET /:/prefs/get (the `PreferencesGetGet` operationId).
func (*Client) PreferencesGetSlash ¶
func (c *Client) PreferencesGetSlash(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
PreferencesGetSlash Get all preferences
Get the list of all preferences.
Corresponds with GET /:/prefs (the `PreferencesGetSlash` operationId).
func (*Client) PreferencesPutSlash ¶
func (c *Client) PreferencesPutSlash(ctx context.Context, params *PreferencesPutSlashParams, reqEditors ...RequestEditorFn) (*http.Response, error)
PreferencesPutSlash Set preferences
Set a set of preferences in query parameters.
Corresponds with PUT /:/prefs (the `PreferencesPutSlash` operationId).
func (*Client) PutMetadataAgentProvider ¶
func (c *Client) PutMetadataAgentProvider(ctx context.Context, providerID int, params *PutMetadataAgentProviderParams, reqEditors ...RequestEditorFn) (*http.Response, error)
PutMetadataAgentProvider Modify a metadata agent provider
Modify the metadata agent provider with the given id. Only the URI is passed, the response to the URI will determine the other properties.
Corresponds with PUT /media/providers/metadata/{providerId} (the `PutMetadataAgentProvider` operationId).
func (*Client) PutMetadataAgentProviderGroup ¶
func (c *Client) PutMetadataAgentProviderGroup(ctx context.Context, groupID int, params *PutMetadataAgentProviderGroupParams, reqEditors ...RequestEditorFn) (*http.Response, error)
PutMetadataAgentProviderGroup Modify a metadata agent provider group
Modify the metadata agent group with the given id. Only the title can be changed.
Corresponds with PUT /media/providers/metadata/group/{groupId} (the `PutMetadataAgentProviderGroup` operationId).
func (*Client) PutMetadataAgentProviderGroupItem ¶
func (c *Client) PutMetadataAgentProviderGroupItem(ctx context.Context, groupID int, providerID int, params *PutMetadataAgentProviderGroupItemParams, reqEditors ...RequestEditorFn) (*http.Response, error)
PutMetadataAgentProviderGroupItem Modify a metadata agent provider group's items
Modify a metadata agent provider group's items. This will assign the specified provider id to the group if it does not already exist.
Providing the optional after query parameter on an existing group item will move its position in the group relative to the item with the specified ID.
Corresponds with PUT /media/providers/metadata/group/{groupId}/items/{providerId} (the `PutMetadataAgentProviderGroupItem` operationId).
func (*Client) PutRate ¶
func (c *Client) PutRate(ctx context.Context, params *PutRateParams, reqEditors ...RequestEditorFn) (*http.Response, error)
PutRate Rate an item
Set the rating on an item. This API does respond to the GET verb but applications should use PUT
Corresponds with PUT /:/rate (the `PutRate` operationId).
func (*Client) PutScrobble ¶
func (c *Client) PutScrobble(ctx context.Context, params *PutScrobbleParams, reqEditors ...RequestEditorFn) (*http.Response, error)
PutScrobble Mark an item as played
Mark an item as played. Note, this does not create any view history of this item but rather just sets the state as played. The client must provide either the `key` or `uri` query parameter This API does respond to the GET verb but applications should use PUT
Corresponds with PUT /:/scrobble (the `PutScrobble` operationId).
func (*Client) PutUnscrobble ¶
func (c *Client) PutUnscrobble(ctx context.Context, params *PutUnscrobbleParams, reqEditors ...RequestEditorFn) (*http.Response, error)
PutUnscrobble Mark an item as unplayed
Mark an item as unplayed. The client must provide either the `key` or `uri` query parameter This API does respond to the GET verb but applications should use PUT
Corresponds with PUT /:/unscrobble (the `PutUnscrobble` operationId).
func (*Client) SecurityGetResources ¶
func (c *Client) SecurityGetResources(ctx context.Context, params *SecurityGetResourcesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
SecurityGetResources Get Source Connection Information
If a caller requires connection details and a transient token for a source that is known to the server, for example a cloud media provider or shared PMS, then this endpoint can be called. This endpoint is only accessible with either an admin token or a valid transient token generated from an admin token.
Corresponds with GET /security/resources (the `SecurityGetResources` operationId).
func (*Client) SecurityPostToken ¶
func (c *Client) SecurityPostToken(ctx context.Context, params *SecurityPostTokenParams, reqEditors ...RequestEditorFn) (*http.Response, error)
SecurityPostToken Get Transient Tokens
This endpoint provides the caller with a temporary token with the same access level as the caller's token. These tokens are valid for up to 48 hours and are destroyed if the server instance is restarted. Note: This endpoint responds to all HTTP verbs but POST in preferred
Corresponds with POST /security/token (the `SecurityPostToken` operationId).
func (*Client) StatusDeleteHistory ¶
func (c *Client) StatusDeleteHistory(ctx context.Context, historyID int, reqEditors ...RequestEditorFn) (*http.Response, error)
StatusDeleteHistory Delete Single History Item
Delete a single history item by id.
Corresponds with DELETE /status/sessions/history/{historyId} (the `StatusDeleteHistory` operationId).
func (*Client) StatusGetBackground ¶
func (c *Client) StatusGetBackground(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
StatusGetBackground Get background tasks
Get the list of all background tasks.
Corresponds with GET /status/sessions/background (the `StatusGetBackground` operationId).
func (*Client) StatusGetHistory ¶
func (c *Client) StatusGetHistory(ctx context.Context, historyID int, reqEditors ...RequestEditorFn) (*http.Response, error)
StatusGetHistory Get Single History Item
Get a single history item by id.
Corresponds with GET /status/sessions/history/{historyId} (the `StatusGetHistory` operationId).
func (*Client) StatusGetHistoryAll ¶
func (c *Client) StatusGetHistoryAll(ctx context.Context, params *StatusGetHistoryAllParams, reqEditors ...RequestEditorFn) (*http.Response, error)
StatusGetHistoryAll List Playback History
List all playback history (Admin can see all users, others can only see their own). Pagination should be used on this endpoint. Additionally this endpoint supports `includeFields`, `excludeFields`, `includeElements`, and `excludeElements` parameters.
Corresponds with GET /status/sessions/history/all (the `StatusGetHistoryAll` operationId).
func (*Client) StatusGetSlash ¶
func (c *Client) StatusGetSlash(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
StatusGetSlash List Sessions
List all current playbacks on this server.
Corresponds with GET /status/sessions (the `StatusGetSlash` operationId).
func (*Client) StatusPostTerminate ¶
func (c *Client) StatusPostTerminate(ctx context.Context, params *StatusPostTerminateParams, reqEditors ...RequestEditorFn) (*http.Response, error)
StatusPostTerminate Terminate a session
Terminate a playback session kicking off the user.
Corresponds with POST /status/sessions/terminate (the `StatusPostTerminate` operationId).
func (*Client) TimelinePostSlash ¶
func (c *Client) TimelinePostSlash(ctx context.Context, params *TimelinePostSlashParams, reqEditors ...RequestEditorFn) (*http.Response, error)
TimelinePostSlash Report media timeline
This endpoint is hit during media playback for an item. It must be hit whenever the play state changes, or in the absence of a play state change, in a regular fashion (generally this means every 10 seconds on a LAN/WAN, and every 20 seconds over cellular).
Corresponds with POST /:/timeline (the `TimelinePostSlash` operationId).
func (*Client) TranscodeDecision ¶
func (c *Client) TranscodeDecision(ctx context.Context, transcodeType TranscodeDecisionParamsTranscodeType, params *TranscodeDecisionParams, reqEditors ...RequestEditorFn) (*http.Response, error)
TranscodeDecision Make a decision on media playback
Make a decision on media playback based on client profile, and requested settings such as bandwidth and resolution.
Corresponds with GET /{transcodeType}/:/transcode/universal/decision (the `TranscodeDecision` operationId).
func (*Client) TranscodeFallback ¶
func (c *Client) TranscodeFallback(ctx context.Context, transcodeType TranscodeFallbackParamsTranscodeType, params *TranscodeFallbackParams, reqEditors ...RequestEditorFn) (*http.Response, error)
TranscodeFallback Manually trigger a transcoder fallback
Manually trigger a transcoder fallback ex: HEVC to h.264 or hw to sw
Corresponds with POST /{transcodeType}/:/transcode/universal/fallback (the `TranscodeFallback` operationId).
func (*Client) TranscodeStart ¶
func (c *Client) TranscodeStart(ctx context.Context, transcodeType TranscodeStartParamsTranscodeType, params *TranscodeStartParams, reqEditors ...RequestEditorFn) (*http.Response, error)
TranscodeStart Start A Transcoding Session
Starts the transcoder and returns the corresponding streaming resource document.
Corresponds with GET /{transcodeType}/:/transcode/universal/start.* (the `TranscodeStart` operationId).
func (*Client) TranscodeSubtitles ¶
func (c *Client) TranscodeSubtitles(ctx context.Context, transcodeType TranscodeSubtitlesParamsTranscodeType, params *TranscodeSubtitlesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
TranscodeSubtitles Transcode subtitles
Only transcode subtitle streams.
Corresponds with GET /{transcodeType}/:/transcode/universal/subtitles (the `TranscodeSubtitles` operationId).
func (*Client) UltraBlurGetColors ¶
func (c *Client) UltraBlurGetColors(ctx context.Context, params *UltraBlurGetColorsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
UltraBlurGetColors Get UltraBlur Colors
Retrieves the four colors extracted from an image for clients to use to generate an ultrablur image.
Corresponds with GET /services/ultrablur/colors (the `UltraBlurGetColors` operationId).
func (*Client) UltraBlurGetImage ¶
func (c *Client) UltraBlurGetImage(ctx context.Context, params *UltraBlurGetImageParams, reqEditors ...RequestEditorFn) (*http.Response, error)
UltraBlurGetImage Get UltraBlur Image
Retrieves a server-side generated UltraBlur image based on the provided color inputs. Clients should always call this via the photo transcoder endpoint.
Corresponds with GET /services/ultrablur/image (the `UltraBlurGetImage` operationId).
func (*Client) UpdaterGetStatus ¶
func (c *Client) UpdaterGetStatus(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdaterGetStatus Querying status of updates
Get the status of updating the server.
Corresponds with GET /updater/status (the `UpdaterGetStatus` operationId).
func (*Client) UpdaterPutApply ¶
func (c *Client) UpdaterPutApply(ctx context.Context, params *UpdaterPutApplyParams, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdaterPutApply Applying updates
Apply any downloaded updates. Note that the two parameters `tonight` and `skip` are effectively mutually exclusive. The `tonight` parameter takes precedence and `skip` will be ignored if `tonight` is also passed.
Corresponds with PUT /updater/apply (the `UpdaterPutApply` operationId).
func (*Client) UpdaterPutCheck ¶
func (c *Client) UpdaterPutCheck(ctx context.Context, params *UpdaterPutCheckParams, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdaterPutCheck Checking for updates
Perform an update check and potentially download.
Corresponds with PUT /updater/check (the `UpdaterPutCheck` operationId).
func (*Client) WebsocketGetSlash ¶
func (c *Client) WebsocketGetSlash(ctx context.Context, params *WebsocketGetSlashParams, reqEditors ...RequestEditorFn) (*http.Response, error)
WebsocketGetSlash Connect to WebSocket
Connect to the web socket to get a stream of events.
Corresponds with GET /:/websocket/notifications (the `WebsocketGetSlash` operationId).
type ClientInterface ¶
type ClientInterface interface {
// GetSlash Get PMS info
//
// Information about this PMS setup and configuration.
//
// Corresponds with GET / (the `GetSlash` operationId).
GetSlash(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// EventsourceGetSlash Connect to Eventsource
//
// Connect to the event source to get a stream of events.
//
// Corresponds with GET /:/eventsource/notifications (the `EventsourceGetSlash` operationId).
EventsourceGetSlash(ctx context.Context, params *EventsourceGetSlashParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// PreferencesGetSlash Get all preferences
//
// Get the list of all preferences.
//
// Corresponds with GET /:/prefs (the `PreferencesGetSlash` operationId).
PreferencesGetSlash(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// PreferencesPutSlash Set preferences
//
// Set a set of preferences in query parameters.
//
// Corresponds with PUT /:/prefs (the `PreferencesPutSlash` operationId).
PreferencesPutSlash(ctx context.Context, params *PreferencesPutSlashParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// PreferencesGetGet Get a preferences
//
// Get a single preference and value.
//
// Corresponds with GET /:/prefs/get (the `PreferencesGetGet` operationId).
PreferencesGetGet(ctx context.Context, params *PreferencesGetGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// PutRate Rate an item
//
// Set the rating on an item.
// This API does respond to the GET verb but applications should use PUT
//
// Corresponds with PUT /:/rate (the `PutRate` operationId).
PutRate(ctx context.Context, params *PutRateParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// PutScrobble Mark an item as played
//
// Mark an item as played. Note, this does not create any view history of this item but rather just sets the state as played. The client must provide either the `key` or `uri` query parameter
// This API does respond to the GET verb but applications should use PUT
//
// Corresponds with PUT /:/scrobble (the `PutScrobble` operationId).
PutScrobble(ctx context.Context, params *PutScrobbleParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// TimelinePostSlash Report media timeline
//
// This endpoint is hit during media playback for an item. It must be hit whenever the play state changes, or in the absence of a play state change, in a regular fashion (generally this means every 10 seconds on a LAN/WAN, and every 20 seconds over cellular).
//
// Corresponds with POST /:/timeline (the `TimelinePostSlash` operationId).
TimelinePostSlash(ctx context.Context, params *TimelinePostSlashParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// PutUnscrobble Mark an item as unplayed
//
// Mark an item as unplayed. The client must provide either the `key` or `uri` query parameter
// This API does respond to the GET verb but applications should use PUT
//
// Corresponds with PUT /:/unscrobble (the `PutUnscrobble` operationId).
PutUnscrobble(ctx context.Context, params *PutUnscrobbleParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// WebsocketGetSlash Connect to WebSocket
//
// Connect to the web socket to get a stream of events.
//
// Corresponds with GET /:/websocket/notifications (the `WebsocketGetSlash` operationId).
WebsocketGetSlash(ctx context.Context, params *WebsocketGetSlashParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ActivitiesGetSlash Get all activities
//
// List all activities on the server. Admins can see all activities but other users can only see their own
//
// Corresponds with GET /activities (the `ActivitiesGetSlash` operationId).
ActivitiesGetSlash(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// ActivitiesDeleteActivity Cancel a running activity
//
// Cancel a running activity. Admins can cancel all activities but other users can only cancel their own
//
// Corresponds with DELETE /activities/{activityId} (the `ActivitiesDeleteActivity` operationId).
ActivitiesDeleteActivity(ctx context.Context, activityID string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ButlerDeleteSlash Stop all Butler tasks
//
// This endpoint will stop all currently running tasks and remove any scheduled tasks from the queue.
//
// Corresponds with DELETE /butler (the `ButlerDeleteSlash` operationId).
ButlerDeleteSlash(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// ButlerGetSlash Get all Butler tasks
//
// Get the list of butler tasks and their scheduling.
//
// Corresponds with GET /butler (the `ButlerGetSlash` operationId).
ButlerGetSlash(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// ButlerPostSlash Start all Butler tasks
//
// This endpoint will attempt to start all Butler tasks that are enabled in the settings. Butler tasks normally run automatically during a time window configured on the server's Settings page but can be manually started using this endpoint. Tasks will run with the following criteria:
//
// 1. Any tasks not scheduled to run on the current day will be skipped.
// 2. If a task is configured to run at a random time during the configured window and we are outside that window, the task will start immediately.
// 3. If a task is configured to run at a random time during the configured window and we are within that window, the task will be scheduled at a random time within the window.
// 4. If we are outside the configured window, the task will start immediately.
//
// Corresponds with POST /butler (the `ButlerPostSlash` operationId).
ButlerPostSlash(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// ButlerDeleteTask Stop a single Butler task
//
// This endpoint will stop a currently running task by name, or remove it from the list of scheduled tasks if it exists
//
// Corresponds with DELETE /butler/{task} (the `ButlerDeleteTask` operationId).
ButlerDeleteTask(ctx context.Context, task ButlerDeleteTaskParamsTask, reqEditors ...RequestEditorFn) (*http.Response, error)
// ButlerPostTask Start a single Butler task
//
// This endpoint will attempt to start a specific Butler task by name.
//
// Corresponds with POST /butler/{task} (the `ButlerPostTask` operationId).
ButlerPostTask(ctx context.Context, task ButlerPostTaskParamsTask, reqEditors ...RequestEditorFn) (*http.Response, error)
// DownloadQueuePost Get or create a download queue
//
// Available: 0.2.0
//
// Get or create a download queue for this client by its client id and for this user as identified by the token
//
// Corresponds with POST /downloadQueue (the `DownloadQueuePost` operationId).
DownloadQueuePost(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// DownloadQueueGetQueue Get a download queue
//
// Available: 0.2.0
//
// Get a download queue by its id
//
// Corresponds with GET /downloadQueue/{queueId} (the `DownloadQueueGetQueue` operationId).
DownloadQueueGetQueue(ctx context.Context, queueID int, reqEditors ...RequestEditorFn) (*http.Response, error)
// DownloadQueuePostQueueAdd Add to download queue
//
// Available: 0.2.0
//
// Add items to the download queue
//
// Corresponds with POST /downloadQueue/{queueId}/add (the `DownloadQueuePostQueueAdd` operationId).
DownloadQueuePostQueueAdd(ctx context.Context, queueID int, params *DownloadQueuePostQueueAddParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// DownloadQueueGetQueueItemItemDecision Grab download queue item decision
//
// Available: 0.2.0
//
// Grab the decision for a download queue item
//
// Corresponds with GET /downloadQueue/{queueId}/item/{itemId}/decision (the `DownloadQueueGetQueueItemItemDecision` operationId).
DownloadQueueGetQueueItemItemDecision(ctx context.Context, queueID int, itemID int, reqEditors ...RequestEditorFn) (*http.Response, error)
// DownloadQueueGetQueueItemItemMedia Grab download queue media
//
// Available: 0.2.0
//
// Grab the media for a download queue item
//
// Corresponds with GET /downloadQueue/{queueId}/item/{itemId}/media (the `DownloadQueueGetQueueItemItemMedia` operationId).
DownloadQueueGetQueueItemItemMedia(ctx context.Context, queueID int, itemID int, reqEditors ...RequestEditorFn) (*http.Response, error)
// DownloadQueueGetQueueItems Get download queue items
//
// Available: 0.2.0
//
// Get items from a download queue
//
// Corresponds with GET /downloadQueue/{queueId}/items (the `DownloadQueueGetQueueItems` operationId).
DownloadQueueGetQueueItems(ctx context.Context, queueID int, reqEditors ...RequestEditorFn) (*http.Response, error)
// DownloadQueueDeleteQueueItemsItem Delete download queue items
//
// delete items from a download queue.
//
// Corresponds with DELETE /downloadQueue/{queueId}/items/{itemId} (the `DownloadQueueDeleteQueueItemsItem` operationId).
DownloadQueueDeleteQueueItemsItem(ctx context.Context, queueID int, itemID []int, reqEditors ...RequestEditorFn) (*http.Response, error)
// DownloadQueueGetQueueItemsItem Get download queue items
//
// Available: 0.2.0
//
// Get items from a download queue
//
// Corresponds with GET /downloadQueue/{queueId}/items/{itemId} (the `DownloadQueueGetQueueItemsItem` operationId).
DownloadQueueGetQueueItemsItem(ctx context.Context, queueID int, itemID []int, reqEditors ...RequestEditorFn) (*http.Response, error)
// DownloadQueuePostQueueItemsItemRestart Restart processing of items from the decision
//
// Available: 0.2.0
//
// Reprocess download queue items with previous decision parameters
//
// Corresponds with POST /downloadQueue/{queueId}/items/{itemId}/restart (the `DownloadQueuePostQueueItemsItemRestart` operationId).
DownloadQueuePostQueueItemsItemRestart(ctx context.Context, queueID int, itemID []int, reqEditors ...RequestEditorFn) (*http.Response, error)
// HubsGetSlash Get global hubs
//
// Get the global hubs in this PMS.
//
// Corresponds with GET /hubs (the `HubsGetSlash` operationId).
HubsGetSlash(ctx context.Context, params *HubsGetSlashParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// HubsGetContinueWatching Get the continue watching hub
//
// Get the global continue watching hub.
//
// Corresponds with GET /hubs/continueWatching (the `HubsGetContinueWatching` operationId).
HubsGetContinueWatching(ctx context.Context, params *HubsGetContinueWatchingParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// HubsGetItems Get a hub's items
//
// Get the items within a single hub specified by identifier.
//
// Corresponds with GET /hubs/items (the `HubsGetItems` operationId).
HubsGetItems(ctx context.Context, params *HubsGetItemsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// HubsGetMetadataMetadata Get hubs for a section by metadata item
//
// Get the hubs for a section by metadata item. Currently only for music sections
//
// Corresponds with GET /hubs/metadata/{metadataId} (the `HubsGetMetadataMetadata` operationId).
HubsGetMetadataMetadata(ctx context.Context, metadataID int, params *HubsGetMetadataMetadataParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// HubsGetMetadataMetadataPostplay Get postplay hubs
//
// Get the hubs for a metadata to be displayed in post play.
//
// Corresponds with GET /hubs/metadata/{metadataId}/postplay (the `HubsGetMetadataMetadataPostplay` operationId).
HubsGetMetadataMetadataPostplay(ctx context.Context, metadataID int, params *HubsGetMetadataMetadataPostplayParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// HubsGetMetadataMetadataRelated Get related hubs
//
// Get the hubs for a metadata related to the provided metadata item.
//
// Corresponds with GET /hubs/metadata/{metadataId}/related (the `HubsGetMetadataMetadataRelated` operationId).
HubsGetMetadataMetadataRelated(ctx context.Context, metadataID int, params *HubsGetMetadataMetadataRelatedParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// HubsGetPopularInLibraries Get the popular in your libraries hub
//
// Get the global popular in your libraries hub.
//
// Corresponds with GET /hubs/popularInLibraries (the `HubsGetPopularInLibraries` operationId).
HubsGetPopularInLibraries(ctx context.Context, params *HubsGetPopularInLibrariesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// HubsGetPromoted Get the hubs which are promoted
//
// Get the global hubs which are promoted (should be displayed on the home screen).
//
// Corresponds with GET /hubs/promoted (the `HubsGetPromoted` operationId).
HubsGetPromoted(ctx context.Context, params *HubsGetPromotedParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// HubsGetSearch Search Hub
//
// Perform a search and get the result as hubs
//
// This endpoint performs a search across all library sections, or a single section, and returns matches as hubs, split up by type. It performs spell checking, looks for partial matches, and orders the hubs based on quality of results. In addition, based on matches, it will return other related matches (e.g. for a genre match, it may return movies in that genre, or for an actor match, movies with that actor).
//
// In the response's items, the following extra attributes are returned to further describe or disambiguate the result:
//
// - `reason`: The reason for the result, if not because of a direct search term match; can be either:
// - `section`: There are multiple identical results from different sections.
// - `originalTitle`: There was a search term match from the original title field (sometimes those can be very different or in a foreign language).
// - `<hub identifier>`: If the reason for the result is due to a result in another hub, the source hub identifier is returned. For example, if the search is for "dylan" then Bob Dylan may be returned as an artist result, an a few of his albums returned as album results with a reason code of `artist` (the identifier of that particular hub). Or if the search is for "arnold", there might be movie results returned with a reason of `actor`
// - `reasonTitle`: The string associated with the reason code. For a section reason, it'll be the section name; For a hub identifier, it'll be a string associated with the match (e.g. `Arnold Schwarzenegger` for movies which were returned because the search was for "arnold").
// - `reasonID`: The ID of the item associated with the reason for the result. This might be a section ID, a tag ID, an artist ID, or a show ID.
//
// This request is intended to be very fast, and called as the user types.
//
// Corresponds with GET /hubs/search (the `HubsGetSearch` operationId).
HubsGetSearch(ctx context.Context, params *HubsGetSearchParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// HubsSearchGetVoice Voice Search Hub
//
// Perform a search tailored to voice input and get the result as hubs
//
// This endpoint performs a search specifically tailored towards voice or other imprecise input which may work badly with the substring and spell-checking heuristics used by the `/hubs/search` endpoint. It uses a [Levenshtein distance](https://en.wikipedia.org/wiki/Levenshtein_distance) heuristic to search titles, and as such is much slower than the other search endpoint. Whenever possible, clients should limit the search to the appropriate type.
//
// Results, as well as their containing per-type hubs, contain a `distance` attribute which can be used to judge result quality.
//
// Corresponds with GET /hubs/search/voice (the `HubsSearchGetVoice` operationId).
HubsSearchGetVoice(ctx context.Context, params *HubsSearchGetVoiceParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// HubsGetSection Get section hubs
//
// Get the hubs for a single section.
//
// Corresponds with GET /hubs/sections/{sectionId} (the `HubsGetSection` operationId).
HubsGetSection(ctx context.Context, sectionID int, params *HubsGetSectionParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// HubsSectionsSectionManageDeleteSlash Reset hubs to defaults
//
// Reset hubs for this section to defaults and delete custom hubs.
//
// Corresponds with DELETE /hubs/sections/{sectionId}/manage (the `HubsSectionsSectionManageDeleteSlash` operationId).
HubsSectionsSectionManageDeleteSlash(ctx context.Context, sectionID int, reqEditors ...RequestEditorFn) (*http.Response, error)
// HubsSectionsSectionManageGetSlash Get hubs
//
// Get the list of hubs including both built-in and custom.
//
// Corresponds with GET /hubs/sections/{sectionId}/manage (the `HubsSectionsSectionManageGetSlash` operationId).
HubsSectionsSectionManageGetSlash(ctx context.Context, sectionID int, params *HubsSectionsSectionManageGetSlashParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// HubsSectionsSectionManagePostSlash Create a custom hub
//
// Create a custom hub based on a metadata item.
//
// Corresponds with POST /hubs/sections/{sectionId}/manage (the `HubsSectionsSectionManagePostSlash` operationId).
HubsSectionsSectionManagePostSlash(ctx context.Context, sectionID int, params *HubsSectionsSectionManagePostSlashParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// HubsSectionsSectionManagePutMove Move Hub
//
// Changed the ordering of a hub among others hubs.
//
// Corresponds with PUT /hubs/sections/{sectionId}/manage/move (the `HubsSectionsSectionManagePutMove` operationId).
HubsSectionsSectionManagePutMove(ctx context.Context, sectionID int, params *HubsSectionsSectionManagePutMoveParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// HubsSectionsSectionManageDeleteIdentifier Delete a custom hub
//
// Delete a custom hub from the server.
//
// Corresponds with DELETE /hubs/sections/{sectionId}/manage/{identifier} (the `HubsSectionsSectionManageDeleteIdentifier` operationId).
HubsSectionsSectionManageDeleteIdentifier(ctx context.Context, sectionID int, identifier string, reqEditors ...RequestEditorFn) (*http.Response, error)
// HubsSectionsSectionManagePutIdentifier Change hub visibility
//
// Changed the visibility of a hub for both the admin and shared users.
//
// Corresponds with PUT /hubs/sections/{sectionId}/manage/{identifier} (the `HubsSectionsSectionManagePutIdentifier` operationId).
HubsSectionsSectionManagePutIdentifier(ctx context.Context, sectionID int, identifier string, params *HubsSectionsSectionManagePutIdentifierParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetIdentity Get PMS identity
//
// Get details about this PMS's identity.
//
// Corresponds with GET /identity (the `GetIdentity` operationId).
GetIdentity(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// LibraryGetAll Get all items in library
//
// Request all metadata items according to a query.
//
// Corresponds with GET /library/all (the `LibraryGetAll` operationId).
LibraryGetAll(ctx context.Context, params *LibraryGetAllParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// LibraryDeleteCaches Delete library caches
//
// Delete the hub caches so they are recomputed on next request.
//
// Corresponds with DELETE /library/caches (the `LibraryDeleteCaches` operationId).
LibraryDeleteCaches(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// LibraryPutCleanBundles Clean bundles
//
// Clean out any now unused bundles. Bundles can become unused when media is deleted
//
// Corresponds with PUT /library/clean/bundles (the `LibraryPutCleanBundles` operationId).
LibraryPutCleanBundles(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// LibraryCollectionPostSlash Create a collection
//
// Create a collection in the library.
//
// Corresponds with POST /library/collections (the `LibraryCollectionPostSlash` operationId).
LibraryCollectionPostSlash(ctx context.Context, params *LibraryCollectionPostSlashParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// LibraryCollectionCollectionGetComposite Get a collection's image
//
// Get an image for the collection based on the items within.
//
// Corresponds with GET /library/collections/{collectionId}/composite/{updatedAt} (the `LibraryCollectionCollectionGetComposite` operationId).
LibraryCollectionCollectionGetComposite(ctx context.Context, collectionID int, updatedAt int, params *LibraryCollectionCollectionGetCompositeParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// LibraryCollectionCollectionGetItems Get items in a collection
//
// Get items in a collection. Note if this collection contains more than 100 items, paging must be used.
//
// Corresponds with GET /library/collections/{collectionId}/items (the `LibraryCollectionCollectionGetItems` operationId).
LibraryCollectionCollectionGetItems(ctx context.Context, collectionID int, reqEditors ...RequestEditorFn) (*http.Response, error)
// LibraryCollectionCollectionPutItems Add items to a collection
//
// Add items to a collection by uri.
//
// Corresponds with PUT /library/collections/{collectionId}/items (the `LibraryCollectionCollectionPutItems` operationId).
LibraryCollectionCollectionPutItems(ctx context.Context, collectionID int, params *LibraryCollectionCollectionPutItemsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// LibraryCollectionCollectionPutItemsItem Delete an item from a collection
//
// Corresponds with PUT /library/collections/{collectionId}/items/{itemId} (the `LibraryCollectionCollectionPutItemsItem` operationId).
LibraryCollectionCollectionPutItemsItem(ctx context.Context, collectionID int, itemID int, reqEditors ...RequestEditorFn) (*http.Response, error)
// LibraryCollectionCollectionPutItemsItemMove Reorder an item in the collection
//
// Reorder items in a collection with one item after another.
//
// Corresponds with PUT /library/collections/{collectionId}/items/{itemId}/move (the `LibraryCollectionCollectionPutItemsItemMove` operationId).
LibraryCollectionCollectionPutItemsItemMove(ctx context.Context, collectionID int, itemID int, params *LibraryCollectionCollectionPutItemsItemMoveParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// LibraryPostFile Ingest a transient item
//
// This endpoint takes a file path specified in the `url` parameter, matches it using the scanner's match mechanism, downloads rich metadata, and then ingests the item as a transient item (without a library section). In the case where the file represents an episode, the entire tree (show, season, and episode) is added as transient items. At this time, movies and episodes are the only supported types, which are gleaned automatically from the file path.
// Note that any of the parameters passed to the metadata details endpoint (e.g. `includeExtras=1`) work here.
//
// Corresponds with POST /library/file (the `LibraryPostFile` operationId).
LibraryPostFile(ctx context.Context, params *LibraryPostFileParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// LibraryGetMatches Get library matches
//
// The matches endpoint is used to match content external to the library with content inside the library. This is done by passing a series of semantic "hints" about the content (its type, name, or release year). Each type (e.g. movie) has a canonical set of minimal required hints.
// This ability to match content is useful in a variety of scenarios. For example, in the DVR, the EPG uses the endpoint to match recording rules against airing content. And in the cloud, the UMP uses the endpoint to match up a piece of media with rich metadata.
// The endpoint response can including multiple matches, if there is ambiguity, each one containing a `score` from 0 to 100. For somewhat historical reasons, anything over 85 is considered a positive match (we prefer false negatives over false positives in general for matching).
// The `guid` hint is somewhat special, in that it generally represents a unique identity for a piece of media (e.g. the IMDB `ttXXX`) identifier, in contrast with other hints which can be much more ambiguous (e.g. a title of `Jane Eyre`, which could refer to the 1943 or the 2011 version).
// Episodes require either a season/episode pair, or an air date (or both). Either the path must be sent, or the show title
//
// Corresponds with GET /library/matches (the `LibraryGetMatches` operationId).
LibraryGetMatches(ctx context.Context, params *LibraryGetMatchesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// LibraryGetMediaMediaChapterImagesChapter Get a chapter image
//
// Get a single chapter image for a piece of media.
//
// Corresponds with GET /library/media/{mediaId}/chapterImages/{chapter} (the `LibraryGetMediaMediaChapterImagesChapter` operationId).
LibraryGetMediaMediaChapterImagesChapter(ctx context.Context, mediaID int, chapter int, reqEditors ...RequestEditorFn) (*http.Response, error)
// LibraryGetMetadataAugmentationsAugmentation Get augmentation status
//
// Get augmentation status and potentially wait for completion.
//
// Corresponds with GET /library/metadata/augmentations/{augmentationId} (the `LibraryGetMetadataAugmentationsAugmentation` operationId).
LibraryGetMetadataAugmentationsAugmentation(ctx context.Context, augmentationID string, params *LibraryGetMetadataAugmentationsAugmentationParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// LibraryMetadataDeleteSlash Delete a metadata item
//
// Delete a single metadata item from the library, deleting media as well
//
// Corresponds with DELETE /library/metadata/{ids} (the `LibraryMetadataDeleteSlash` operationId).
LibraryMetadataDeleteSlash(ctx context.Context, ids string, params *LibraryMetadataDeleteSlashParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// LibraryMetadataGetSlash Get a metadata item
//
// Get one or more metadata items.
//
// Corresponds with GET /library/metadata/{ids} (the `LibraryMetadataGetSlash` operationId).
LibraryMetadataGetSlash(ctx context.Context, ids []string, params *LibraryMetadataGetSlashParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// LibraryMetadataPutSlash Edit a metadata item
//
// Edit metadata items setting fields.
//
// Corresponds with PUT /library/metadata/{ids} (the `LibraryMetadataPutSlash` operationId).
LibraryMetadataPutSlash(ctx context.Context, ids []string, params *LibraryMetadataPutSlashParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// LibraryMetadataPutAddetect Ad-detect an item
//
// Start the detection of ads in a metadata item.
//
// Corresponds with PUT /library/metadata/{ids}/addetect (the `LibraryMetadataPutAddetect` operationId).
LibraryMetadataPutAddetect(ctx context.Context, ids string, reqEditors ...RequestEditorFn) (*http.Response, error)
// LibraryMetadataGetAllLeaves Get the leaves of an item
//
// Get the leaves for a metadata item such as the episodes in a show.
//
// Corresponds with GET /library/metadata/{ids}/allLeaves (the `LibraryMetadataGetAllLeaves` operationId).
LibraryMetadataGetAllLeaves(ctx context.Context, ids string, reqEditors ...RequestEditorFn) (*http.Response, error)
// LibraryMetadataPutAnalyze Analyze an item
//
// Start the analysis of a metadata item.
//
// Corresponds with PUT /library/metadata/{ids}/analyze (the `LibraryMetadataPutAnalyze` operationId).
LibraryMetadataPutAnalyze(ctx context.Context, ids string, params *LibraryMetadataPutAnalyzeParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// LibraryMetadataPutAnalyzeLoudness Detect loudness of audio streams
//
// Detect loudness properties of all audio streams.
//
// Corresponds with PUT /library/metadata/{ids}/analyzeLoudness (the `LibraryMetadataPutAnalyzeLoudness` operationId).
LibraryMetadataPutAnalyzeLoudness(ctx context.Context, ids string, params *LibraryMetadataPutAnalyzeLoudnessParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// LibraryMetadataPutChapterThumbs Generate thumbs of chapters for an item
//
// Start the chapter thumb generation for an item.
//
// Corresponds with PUT /library/metadata/{ids}/chapterThumbs (the `LibraryMetadataPutChapterThumbs` operationId).
LibraryMetadataPutChapterThumbs(ctx context.Context, ids string, params *LibraryMetadataPutChapterThumbsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// LibraryMetadataPutCredits Credit detect a metadata item
//
// Start credit detection on a metadata item.
//
// Corresponds with PUT /library/metadata/{ids}/credits (the `LibraryMetadataPutCredits` operationId).
LibraryMetadataPutCredits(ctx context.Context, ids string, params *LibraryMetadataPutCreditsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// LibraryMetadataGetExtras Get an item's extras
//
// Get the extras for a metadata item.
//
// Corresponds with GET /library/metadata/{ids}/extras (the `LibraryMetadataGetExtras` operationId).
LibraryMetadataGetExtras(ctx context.Context, ids string, reqEditors ...RequestEditorFn) (*http.Response, error)
// LibraryMetadataPostExtras Add to an item's extras
//
// Add an extra to a metadata item.
//
// Corresponds with POST /library/metadata/{ids}/extras (the `LibraryMetadataPostExtras` operationId).
LibraryMetadataPostExtras(ctx context.Context, ids string, params *LibraryMetadataPostExtrasParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// LibraryMetadataGetFile Get a file from a metadata or media bundle
//
// Get a bundle file for a metadata or media item. This is either an image or a mp3 (for a show's theme)
//
// Corresponds with GET /library/metadata/{ids}/file (the `LibraryMetadataGetFile` operationId).
LibraryMetadataGetFile(ctx context.Context, ids string, params *LibraryMetadataGetFileParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// LibraryMetadataPutIndex Start BIF generation of an item
//
// Start the indexing (BIF generation) of an item.
//
// Corresponds with PUT /library/metadata/{ids}/index (the `LibraryMetadataPutIndex` operationId).
LibraryMetadataPutIndex(ctx context.Context, ids string, params *LibraryMetadataPutIndexParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// LibraryMetadataPutIntro Intro detect an item
//
// Start the detection of intros in a metadata item.
//
// Corresponds with PUT /library/metadata/{ids}/intro (the `LibraryMetadataPutIntro` operationId).
LibraryMetadataPutIntro(ctx context.Context, ids string, params *LibraryMetadataPutIntroParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// LibraryMetadataPostMarker Create a marker
//
// Create a marker for this user on the metadata item.
//
// Corresponds with POST /library/metadata/{ids}/marker (the `LibraryMetadataPostMarker` operationId).
LibraryMetadataPostMarker(ctx context.Context, ids string, params *LibraryMetadataPostMarkerParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// LibraryMetadataDeleteMarkerMarker Delete a marker
//
// Delete a marker for this user on the metadata item.
//
// Corresponds with DELETE /library/metadata/{ids}/marker/{marker} (the `LibraryMetadataDeleteMarkerMarker` operationId).
LibraryMetadataDeleteMarkerMarker(ctx context.Context, ids string, marker string, reqEditors ...RequestEditorFn) (*http.Response, error)
// LibraryMetadataPutMarkerMarker Edit a marker
//
// Edit a marker for this user on the metadata item.
//
// Corresponds with PUT /library/metadata/{ids}/marker/{marker} (the `LibraryMetadataPutMarkerMarker` operationId).
LibraryMetadataPutMarkerMarker(ctx context.Context, ids string, marker string, params *LibraryMetadataPutMarkerMarkerParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// LibraryMetadataPutMatch Match a metadata item
//
// Match a metadata item to a guid.
//
// Corresponds with PUT /library/metadata/{ids}/match (the `LibraryMetadataPutMatch` operationId).
LibraryMetadataPutMatch(ctx context.Context, ids string, params *LibraryMetadataPutMatchParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// LibraryMetadataGetMatches Get metadata matches for an item
//
// Get the list of metadata matches for a metadata item.
//
// Corresponds with PUT /library/metadata/{ids}/matches (the `LibraryMetadataGetMatches` operationId).
LibraryMetadataGetMatches(ctx context.Context, ids string, params *LibraryMetadataGetMatchesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// LibraryMetadataDeleteMediaMediaItem Delete a media item
//
// Delete a single media from a metadata item in the library.
//
// Corresponds with DELETE /library/metadata/{ids}/media/{mediaItem} (the `LibraryMetadataDeleteMediaMediaItem` operationId).
LibraryMetadataDeleteMediaMediaItem(ctx context.Context, ids string, mediaItem string, params *LibraryMetadataDeleteMediaMediaItemParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// LibraryMetadataPutMerge Merge a metadata item
//
// Merge a metadata item with other items.
//
// Corresponds with PUT /library/metadata/{ids}/merge (the `LibraryMetadataPutMerge` operationId).
LibraryMetadataPutMerge(ctx context.Context, ids string, params *LibraryMetadataPutMergeParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// LibraryMetadataGetNearest Get nearest tracks to metadata item
//
// Get the nearest tracks, sonically, to the provided track
//
// Corresponds with GET /library/metadata/{ids}/nearest (the `LibraryMetadataGetNearest` operationId).
LibraryMetadataGetNearest(ctx context.Context, ids string, params *LibraryMetadataGetNearestParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// LibraryMetadataPutPrefs Set metadata preferences
//
// Set the preferences on a metadata item.
//
// Corresponds with PUT /library/metadata/{ids}/prefs (the `LibraryMetadataPutPrefs` operationId).
LibraryMetadataPutPrefs(ctx context.Context, ids string, params *LibraryMetadataPutPrefsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// LibraryMetadataPutRefresh Refresh a metadata item
//
// Refresh a metadata item from the agent.
//
// Corresponds with PUT /library/metadata/{ids}/refresh (the `LibraryMetadataPutRefresh` operationId).
LibraryMetadataPutRefresh(ctx context.Context, ids string, params *LibraryMetadataPutRefreshParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// LibraryMetadataGetRelated Get related items
//
// Get a hub of related items to a metadata item.
//
// Corresponds with GET /library/metadata/{ids}/related (the `LibraryMetadataGetRelated` operationId).
LibraryMetadataGetRelated(ctx context.Context, ids string, reqEditors ...RequestEditorFn) (*http.Response, error)
// LibraryMetadataGetSimilar Get similar items
//
// Get a list of similar items to a metadata item.
//
// Corresponds with GET /library/metadata/{ids}/similar (the `LibraryMetadataGetSimilar` operationId).
LibraryMetadataGetSimilar(ctx context.Context, ids string, params *LibraryMetadataGetSimilarParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// LibraryMetadataPutSplit Split a metadata item
//
// Split a metadata item into multiple items.
//
// Corresponds with PUT /library/metadata/{ids}/split (the `LibraryMetadataPutSplit` operationId).
LibraryMetadataPutSplit(ctx context.Context, ids string, reqEditors ...RequestEditorFn) (*http.Response, error)
// LibraryMetadataPostSubtitles Add subtitles
//
// Add a subtitle to a metadata item.
//
// Corresponds with GET /library/metadata/{ids}/subtitles (the `LibraryMetadataPostSubtitles` operationId).
LibraryMetadataPostSubtitles(ctx context.Context, ids string, params *LibraryMetadataPostSubtitlesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// LibraryMetadataGetTree Get metadata items as a tree
//
// Get a tree of metadata items, such as the seasons/episodes of a show
//
// Corresponds with GET /library/metadata/{ids}/tree (the `LibraryMetadataGetTree` operationId).
LibraryMetadataGetTree(ctx context.Context, ids string, reqEditors ...RequestEditorFn) (*http.Response, error)
// LibraryMetadataPutUnmatch Unmatch a metadata item
//
// Unmatch a metadata item to info fetched from the agent.
//
// Corresponds with PUT /library/metadata/{ids}/unmatch (the `LibraryMetadataPutUnmatch` operationId).
LibraryMetadataPutUnmatch(ctx context.Context, ids string, reqEditors ...RequestEditorFn) (*http.Response, error)
// LibraryMetadataGetUsersTop Get metadata top users
//
// Get the list of users which have played this item starting with the most.
//
// Corresponds with GET /library/metadata/{ids}/users/top (the `LibraryMetadataGetUsersTop` operationId).
LibraryMetadataGetUsersTop(ctx context.Context, ids string, reqEditors ...RequestEditorFn) (*http.Response, error)
// LibraryMetadataPutVoiceActivity Detect voice activity
//
// Start the detection of voice in a metadata item.
//
// Corresponds with PUT /library/metadata/{ids}/voiceActivity (the `LibraryMetadataPutVoiceActivity` operationId).
LibraryMetadataPutVoiceActivity(ctx context.Context, ids string, params *LibraryMetadataPutVoiceActivityParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// LibraryMetadataDeleteElement Delete an item's artwork, theme, etc
//
// Delete the artwork, thumb, element for a metadata item
// This operation will also lock the field. 'thumb' images for video items will be reset to a screengrab of the video after a refresh.
// Generally only the admin can perform this action. The exception is if the metadata is a playlist created by the user
//
// Corresponds with DELETE /library/metadata/{ids}/{element} (the `LibraryMetadataDeleteElement` operationId).
LibraryMetadataDeleteElement(ctx context.Context, ids string, element LibraryMetadataDeleteElementParamsElement, reqEditors ...RequestEditorFn) (*http.Response, error)
// LibraryMetadataPostElement Set an item's artwork, theme, etc
//
// Set the artwork, thumb, element for a metadata item
// Generally only the admin can perform this action. The exception is if the metadata is a playlist created by the user
//
// Corresponds with POST /library/metadata/{ids}/{element} (the `LibraryMetadataPostElement` operationId).
LibraryMetadataPostElement(ctx context.Context, ids string, element LibraryMetadataPostElementParamsElement, params *LibraryMetadataPostElementParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// LibraryMetadataPutElement Set an item's artwork, theme, etc
//
// Set the artwork, thumb, element for a metadata item
// Generally only the admin can perform this action. The exception is if the metadata is a playlist created by the user
//
// Corresponds with PUT /library/metadata/{ids}/{element} (the `LibraryMetadataPutElement` operationId).
LibraryMetadataPutElement(ctx context.Context, ids string, element LibraryMetadataPutElementParamsElement, params *LibraryMetadataPutElementParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// LibraryMetadataGetElement Get an item's artwork, theme, etc
//
// Get the artwork, thumb, element for a metadata item
//
// Corresponds with GET /library/metadata/{ids}/{element}/{timestamp} (the `LibraryMetadataGetElement` operationId).
LibraryMetadataGetElement(ctx context.Context, ids string, element LibraryMetadataGetElementParamsElement, timestamp int, reqEditors ...RequestEditorFn) (*http.Response, error)
// LibraryPutOptimize Optimize the Database
//
// Initiate optimize on the database.
//
// Corresponds with PUT /library/optimize (the `LibraryPutOptimize` operationId).
LibraryPutOptimize(ctx context.Context, params *LibraryPutOptimizeParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// LibraryPutPartsPart Set stream selection
//
// Set which streams (audio/subtitle) are selected by this user.
//
// Corresponds with PUT /library/parts/{partId} (the `LibraryPutPartsPart` operationId).
LibraryPutPartsPart(ctx context.Context, partID int, params *LibraryPutPartsPartParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// LibraryGetPartsPartIndexesIndex Get BIF index for a part
//
// Get BIF index for a part by index type.
//
// Corresponds with GET /library/parts/{partId}/indexes/{index} (the `LibraryGetPartsPartIndexesIndex` operationId).
LibraryGetPartsPartIndexesIndex(ctx context.Context, partID int, index LibraryGetPartsPartIndexesIndexParamsIndex, params *LibraryGetPartsPartIndexesIndexParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// LibraryGetPartsPartIndexesIndexOffset Get an image from part BIF
//
// Extract an image from the BIF for a part at a particular offset.
//
// Corresponds with GET /library/parts/{partId}/indexes/{index}/{offset} (the `LibraryGetPartsPartIndexesIndexOffset` operationId).
LibraryGetPartsPartIndexesIndexOffset(ctx context.Context, partID int, index LibraryGetPartsPartIndexesIndexOffsetParamsIndex, offset int, reqEditors ...RequestEditorFn) (*http.Response, error)
// LibraryGetPartsPartChangestampFilename Get a media part
//
// Get a media part for streaming or download.
// - streaming: This is the default scenario. Bandwidth usage on this endpoint will be guaranteed (on the server's end) to be at least the bandwidth reservation given in the decision. If no decision exists, an ad-hoc decision will be created if sufficient bandwidth exists. Clients should not rely on ad-hoc decisions being made as this may be removed in the future.
// - download: Indicated if the query parameter indicates this is a download. Bandwidth will be prioritized behind playbacks and will get a fair share of what remains.
//
// Corresponds with GET /library/parts/{partId}/{changestamp}/{filename} (the `LibraryGetPartsPartChangestampFilename` operationId).
LibraryGetPartsPartChangestampFilename(ctx context.Context, partID int, changestamp int, filename string, params *LibraryGetPartsPartChangestampFilenameParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// LibraryGetPeoplePerson Get person details
//
// Get details for a single actor.
//
// Corresponds with GET /library/people/{personId} (the `LibraryGetPeoplePerson` operationId).
LibraryGetPeoplePerson(ctx context.Context, personID struct {
// contains filtered or unexported fields
}, reqEditors ...RequestEditorFn) (*http.Response, error)
// LibraryGetPeoplePersonMedia Get media for a person
//
// Get all the media for a single actor.
//
// Corresponds with GET /library/people/{personId}/media (the `LibraryGetPeoplePersonMedia` operationId).
LibraryGetPeoplePersonMedia(ctx context.Context, personID struct {
// contains filtered or unexported fields
}, reqEditors ...RequestEditorFn) (*http.Response, error)
// LibraryGetRandomArtwork Get random artwork
//
// Get random artwork across sections. This is commonly used for a screensaver.
//
// This retrieves 100 random artwork paths in the specified sections and returns them. Restrictions are put in place to not return artwork for items the user is not allowed to access. Artwork will be for Movies, Shows, and Artists only.
//
// Corresponds with GET /library/randomArtwork (the `LibraryGetRandomArtwork` operationId).
LibraryGetRandomArtwork(ctx context.Context, params *LibraryGetRandomArtworkParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// LibraryGetSections Get library sections (main Media Provider Only)
//
// A library section (commonly referred to as just a library) is a collection of media. Libraries are typed, and depending on their type provide either a flat or a hierarchical view of the media. For example, a music library has an artist > albums > tracks structure, whereas a movie library is flat.
// Libraries have features beyond just being a collection of media; for starters, they include information about supported types, filters and sorts. This allows a client to provide a rich interface around the media (e.g. allow sorting movies by release year).
//
// Corresponds with GET /library/sections/all (the `LibraryGetSections` operationId).
LibraryGetSections(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// LibraryPostSection Add a library section
//
// Add a new library section to the server.
//
// Corresponds with POST /library/sections/all (the `LibraryPostSection` operationId).
LibraryPostSection(ctx context.Context, params *LibraryPostSectionParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// LibraryDeleteSectionsAllRefresh Stop refresh
//
// Stop all refreshes across all sections.
//
// Corresponds with DELETE /library/sections/all/refresh (the `LibraryDeleteSectionsAllRefresh` operationId).
LibraryDeleteSectionsAllRefresh(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// LibraryGetSectionsPrefs Get section prefs
//
// Get a section's preferences for a metadata type.
//
// Corresponds with GET /library/sections/prefs (the `LibraryGetSectionsPrefs` operationId).
LibraryGetSectionsPrefs(ctx context.Context, params *LibraryGetSectionsPrefsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// LibraryPostSectionsRefresh Refresh all sections
//
// Tell PMS to refresh all section metadata.
//
// Corresponds with POST /library/sections/refresh (the `LibraryPostSectionsRefresh` operationId).
LibraryPostSectionsRefresh(ctx context.Context, params *LibraryPostSectionsRefreshParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// LibraryDeleteSection Delete a library section
//
// Delete a library section by id.
//
// Corresponds with DELETE /library/sections/{sectionId} (the `LibraryDeleteSection` operationId).
LibraryDeleteSection(ctx context.Context, sectionID string, params *LibraryDeleteSectionParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// LibrarySectionGetSection Get a library section by id
//
// Returns details for the library. This can be thought of as an interstitial endpoint because it contains information about the library, rather than content itself. It often contains a list of `Directory` metadata objects: These used to be used by clients to build a menuing system.
//
// Corresponds with GET /library/sections/{sectionId} (the `LibrarySectionGetSection` operationId).
LibrarySectionGetSection(ctx context.Context, sectionID string, params *LibrarySectionGetSectionParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// LibrarySectionPutSection Edit a library section
//
// Edit a library section by id setting parameters.
//
// Corresponds with PUT /library/sections/{sectionId} (the `LibrarySectionPutSection` operationId).
LibrarySectionPutSection(ctx context.Context, sectionID string, params *LibrarySectionPutSectionParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// LibrarySectionGetAlbums Set section albums
//
// Get all albums in a music section.
//
// Corresponds with GET /library/sections/{sectionId}/albums (the `LibrarySectionGetAlbums` operationId).
LibrarySectionGetAlbums(ctx context.Context, sectionID int, reqEditors ...RequestEditorFn) (*http.Response, error)
// LibrarySectionGetAll Get items in the section
//
// Get the items in a section, potentially filtering them
//
// Corresponds with GET /library/sections/{sectionId}/all (the `LibrarySectionGetAll` operationId).
LibrarySectionGetAll(ctx context.Context, sectionID string, params *LibrarySectionGetAllParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// LibrarySectionPutAll Set the fields of the filtered items
//
// This endpoint takes an large possible set of values. Here are some examples.
// - **Parameters, extra documentation**
// - artist.title.value
// - When used with track, both artist.title.value and album.title.value need to be specified
// - title.value usage
// - Summary
// - Tracks always rename and never merge
// - Albums and Artists
// - if single item and item without title does not exist, it is renamed.
// - if single item and item with title does exist they are merged.
// - if multiple they are always merged.
// - Tracks
// - Works as expected will update the track's title
// - Single track: `/library/sections/{id}/all?type=10&id=42&title.value=NewName`
// - Multiple tracks: `/library/sections/{id}/all?type=10&id=42,43,44&title.value=NewName`
// - All tracks: `/library/sections/{id}/all?type=10&title.value=NewName`
// - Albums
// - Functionality changes depending on the existence of an album with the same title
// - Album exists
// - Single album: `/library/sections/{id}/all?type=9&id=42&title.value=Album 2`
// - Album with id 42 is merged into album titled "Album 2"
// - Multiple/All albums: `/library/sections/{id}/all?type=9&title.value=Moo Album`
// - All albums are merged into the existing album titled "Moo Album"
// - Album does not exist
// - Single album: `/library/sections/{id}/all?type=9&id=42&title.value=NewAlbumTitle`
// - Album with id 42 has title modified to "NewAlbumTitle"
// - Multiple/All albums: `/library/sections/{id}/all?type=9&title.value=NewAlbumTitle`
// - All albums are merged into a new album with title="NewAlbumTitle"
// - Artists
// - Functionaly changes depending on the existence of an artist with the same title.
// - Artist exists
// - Single artist: `/library/sections/{id}/all?type=8&id=42&title.value=Artist 2`
// - Artist with id 42 is merged into existing artist titled "Artist 2"
// - Multiple/All artists: `/library/sections/{id}/all?type=8&title.value=Artist 3`
// - All artists are merged into the existing artist titled "Artist 3"
// - Artist does not exist
// - Single artist: `/library/sections/{id}/all?type=8&id=42&title.value=NewArtistTitle`
// - Artist with id 42 has title modified to "NewArtistTitle"
// - Multiple/All artists: `/library/sections/{id}/all?type=8&title.value=NewArtistTitle`
// - All artists are merged into a new artist with title="NewArtistTitle"
//
// - **Notes**
// - Technically square brackets are not allowed in an URI except the Internet Protocol Literal Address
// - RFC3513: A host identified by an Internet Protocol literal address, version 6 [RFC3513] or later, is distinguished by enclosing the IP literal within square brackets ("[" and "]"). This is the only place where square bracket characters are allowed in the URI syntax.
// - Escaped square brackets are allowed, but don't render well
//
// Corresponds with PUT /library/sections/{sectionId}/all (the `LibrarySectionPutAll` operationId).
LibrarySectionPutAll(ctx context.Context, sectionID string, params *LibrarySectionPutAllParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// LibrarySectionGetAllLeaves Set section leaves
//
// Get all leaves in a section (such as episodes in a show section).
//
// Corresponds with GET /library/sections/{sectionId}/allLeaves (the `LibrarySectionGetAllLeaves` operationId).
LibrarySectionGetAllLeaves(ctx context.Context, sectionID int, reqEditors ...RequestEditorFn) (*http.Response, error)
// LibrarySectionPutAnalyze Analyze a section
//
// Start analysis of all items in a section. If BIF generation is enabled, this will also be started on this section
//
// Corresponds with PUT /library/sections/{sectionId}/analyze (the `LibrarySectionPutAnalyze` operationId).
LibrarySectionPutAnalyze(ctx context.Context, sectionID int, reqEditors ...RequestEditorFn) (*http.Response, error)
// LibrarySectionGetArts Set section artwork
//
// Get artwork for a library section.
//
// Corresponds with GET /library/sections/{sectionId}/arts (the `LibrarySectionGetArts` operationId).
LibrarySectionGetArts(ctx context.Context, sectionID int, reqEditors ...RequestEditorFn) (*http.Response, error)
// LibrarySectionGetAudioCodecs Get audio codecs in a section
//
// Get list of distinct audio codecs found in this library section.
//
// Corresponds with GET /library/sections/{sectionId}/audioCodec (the `LibrarySectionGetAudioCodecs` operationId).
LibrarySectionGetAudioCodecs(ctx context.Context, sectionID int, params *LibrarySectionGetAudioCodecsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// LibrarySectionGetAudioLayouts Get audio layouts in a section
//
// Get list of distinct audio layouts (e.g. stereo, 5.1, 7.1) found in this library section
//
// Corresponds with GET /library/sections/{sectionId}/audioLayout (the `LibrarySectionGetAudioLayouts` operationId).
LibrarySectionGetAudioLayouts(ctx context.Context, sectionID int, params *LibrarySectionGetAudioLayoutsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// LibrarySectionGetAutocomplete Get autocompletions for search
//
// The field to autocomplete on is specified by the {field}.query parameter. For example `genre.query` or `title.query`.
// Returns a set of items from the filtered items whose {field} starts with {field}.query. In the results, a {field}.queryRange will be present to express the range of the match
//
// Corresponds with GET /library/sections/{sectionId}/autocomplete (the `LibrarySectionGetAutocomplete` operationId).
LibrarySectionGetAutocomplete(ctx context.Context, sectionID int, params *LibrarySectionGetAutocompleteParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// LibrarySectionGetCategories Set section categories
//
// Get categories in a library section.
//
// Corresponds with GET /library/sections/{sectionId}/categories (the `LibrarySectionGetCategories` operationId).
LibrarySectionGetCategories(ctx context.Context, sectionID int, reqEditors ...RequestEditorFn) (*http.Response, error)
// LibrarySectionGetCluster Set section clusters
//
// Get clusters in a library section (typically for photos).
//
// Corresponds with GET /library/sections/{sectionId}/cluster (the `LibrarySectionGetCluster` operationId).
LibrarySectionGetCluster(ctx context.Context, sectionID int, reqEditors ...RequestEditorFn) (*http.Response, error)
// LibrarySectionDeleteCollectionCollection Delete a collection
//
// Delete a library collection from the PMS.
//
// Corresponds with DELETE /library/sections/{sectionId}/collection/{collectionId} (the `LibrarySectionDeleteCollectionCollection` operationId).
LibrarySectionDeleteCollectionCollection(ctx context.Context, sectionID int, collectionID int, reqEditors ...RequestEditorFn) (*http.Response, error)
// LibrarySectionGetCollections Get collections in a section
//
// Get all collections in a section.
//
// Corresponds with GET /library/sections/{sectionId}/collections (the `LibrarySectionGetCollections` operationId).
LibrarySectionGetCollections(ctx context.Context, sectionID int, params *LibrarySectionGetCollectionsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// LibrarySectionGetCommon Get common fields for items
//
// Represents a "Common" item. It contains only the common attributes of the items selected by the provided filter
// Fields which are not common will be expressed in the `mixedFields` field
//
// Corresponds with GET /library/sections/{sectionId}/common (the `LibrarySectionGetCommon` operationId).
LibrarySectionGetCommon(ctx context.Context, sectionID int, params *LibrarySectionGetCommonParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// LibrarySectionGetComposite Get a section composite image
//
// Get a composite image of images in this section.
//
// Corresponds with GET /library/sections/{sectionId}/composite/{updatedAt} (the `LibrarySectionGetComposite` operationId).
LibrarySectionGetComposite(ctx context.Context, sectionID int, updatedAt int, params *LibrarySectionGetCompositeParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// LibrarySectionGetComputePath Similar tracks to transition from one to another
//
// Get a list of audio tracks starting at one and ending at another which are similar across the path.
//
// Corresponds with GET /library/sections/{sectionId}/computePath (the `LibrarySectionGetComputePath` operationId).
LibrarySectionGetComputePath(ctx context.Context, sectionID int, params *LibrarySectionGetComputePathParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// LibrarySectionPutEmptyTrash Empty section trash
//
// Empty trash in the section, permanently deleting media/metadata for missing media
//
// Corresponds with PUT /library/sections/{sectionId}/emptyTrash (the `LibrarySectionPutEmptyTrash` operationId).
LibrarySectionPutEmptyTrash(ctx context.Context, sectionID int, reqEditors ...RequestEditorFn) (*http.Response, error)
// LibrarySectionGetFilters Get section filters
//
// Get common filters on a section.
//
// Corresponds with GET /library/sections/{sectionId}/filters (the `LibrarySectionGetFilters` operationId).
LibrarySectionGetFilters(ctx context.Context, sectionID int, reqEditors ...RequestEditorFn) (*http.Response, error)
// LibrarySectionGetFirstCharaters Get list of first characters
//
// Get list of first characters in this section.
//
// Corresponds with GET /library/sections/{sectionId}/firstCharacters (the `LibrarySectionGetFirstCharaters` operationId).
LibrarySectionGetFirstCharaters(ctx context.Context, sectionID int, params *LibrarySectionGetFirstCharatersParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// LibrarySectionDeleteIndexes Delete section indexes
//
// Delete all the indexes in a section.
//
// Corresponds with DELETE /library/sections/{sectionId}/indexes (the `LibrarySectionDeleteIndexes` operationId).
LibrarySectionDeleteIndexes(ctx context.Context, sectionID int, reqEditors ...RequestEditorFn) (*http.Response, error)
// LibrarySectionDeleteIntros Delete section intro markers
//
// Delete all the intro markers in a section.
//
// Corresponds with DELETE /library/sections/{sectionId}/intros (the `LibrarySectionDeleteIntros` operationId).
LibrarySectionDeleteIntros(ctx context.Context, sectionID int, reqEditors ...RequestEditorFn) (*http.Response, error)
// LibrarySectionGetLocations Get all folder locations
//
// Get all folder locations of the media in a section.
//
// Corresponds with GET /library/sections/{sectionId}/location (the `LibrarySectionGetLocations` operationId).
LibrarySectionGetLocations(ctx context.Context, sectionID int, reqEditors ...RequestEditorFn) (*http.Response, error)
// LibrarySectionGetMoment Set section moments
//
// Get moments in a library section (typically for photos).
//
// Corresponds with GET /library/sections/{sectionId}/moment (the `LibrarySectionGetMoment` operationId).
LibrarySectionGetMoment(ctx context.Context, sectionID int, reqEditors ...RequestEditorFn) (*http.Response, error)
// LibrarySectionGetNearest The nearest audio tracks
//
// Get the nearest audio tracks to a particular analysis.
//
// Corresponds with GET /library/sections/{sectionId}/nearest (the `LibrarySectionGetNearest` operationId).
LibrarySectionGetNearest(ctx context.Context, sectionID int, params *LibrarySectionGetNearestParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// LibrarySectionGetPrefs Get section prefs
//
// Get the prefs for a section by id and potentially overriding the agent.
//
// Corresponds with GET /library/sections/{sectionId}/prefs (the `LibrarySectionGetPrefs` operationId).
LibrarySectionGetPrefs(ctx context.Context, sectionID int, params *LibrarySectionGetPrefsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// LibrarySectionPutPrefs Set section prefs
//
// Set the prefs for a section by id.
//
// Corresponds with PUT /library/sections/{sectionId}/prefs (the `LibrarySectionPutPrefs` operationId).
LibrarySectionPutPrefs(ctx context.Context, sectionID int, params *LibrarySectionPutPrefsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// LibrarySectionDeleteRefresh Cancel section refresh
//
// Cancel the refresh of a section.
//
// Corresponds with DELETE /library/sections/{sectionId}/refresh (the `LibrarySectionDeleteRefresh` operationId).
LibrarySectionDeleteRefresh(ctx context.Context, sectionID int, reqEditors ...RequestEditorFn) (*http.Response, error)
// LibrarySectionPostRefresh Refresh section
//
// Start a refresh of this section.
//
// Corresponds with POST /library/sections/{sectionId}/refresh (the `LibrarySectionPostRefresh` operationId).
LibrarySectionPostRefresh(ctx context.Context, sectionID int, params *LibrarySectionPostRefreshParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// LibrarySectionGetSorts Get a section sorts
//
// Get the sort mechanisms available in a section.
//
// Corresponds with GET /library/sections/{sectionId}/sorts (the `LibrarySectionGetSorts` operationId).
LibrarySectionGetSorts(ctx context.Context, sectionID int, reqEditors ...RequestEditorFn) (*http.Response, error)
// LibrarySectionGetSubtitleCodecs Get subtitle codecs in a section
//
// Get list of distinct subtitle codecs found in this library section.
//
// Corresponds with GET /library/sections/{sectionId}/subtitleCodec (the `LibrarySectionGetSubtitleCodecs` operationId).
LibrarySectionGetSubtitleCodecs(ctx context.Context, sectionID int, params *LibrarySectionGetSubtitleCodecsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// LibrarySectionGetVideoCodecs Get video codecs in a section
//
// Get list of distinct video codecs found in this library section.
//
// Corresponds with GET /library/sections/{sectionId}/videoCodec (the `LibrarySectionGetVideoCodecs` operationId).
LibrarySectionGetVideoCodecs(ctx context.Context, sectionID int, params *LibrarySectionGetVideoCodecsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// LibraryDeleteStreamsStream Delete a stream
//
// Delete a stream. Only applies to downloaded subtitle streams or a sidecar subtitle when media deletion is enabled.
//
// Corresponds with DELETE /library/streams/{streamId}.{ext} (the `LibraryDeleteStreamsStream` operationId).
LibraryDeleteStreamsStream(ctx context.Context, streamID int, ext string, reqEditors ...RequestEditorFn) (*http.Response, error)
// LibraryGetStreamsStream Get a stream
//
// Get a stream (such a a sidecar subtitle stream).
//
// Corresponds with GET /library/streams/{streamId}.{ext} (the `LibraryGetStreamsStream` operationId).
LibraryGetStreamsStream(ctx context.Context, streamID int, ext string, params *LibraryGetStreamsStreamParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// LibraryPutStreamsStream Set a stream offset
//
// Set a stream offset in ms. This may not be respected by all clients
//
// Corresponds with PUT /library/streams/{streamId}.{ext} (the `LibraryPutStreamsStream` operationId).
LibraryPutStreamsStream(ctx context.Context, streamID int, ext string, params *LibraryPutStreamsStreamParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// LibraryGetStreamsStreamLevels Get loudness about a stream in json
//
// The the loudness of a stream in db, one entry per 100ms
//
// Corresponds with GET /library/streams/{streamId}/levels (the `LibraryGetStreamsStreamLevels` operationId).
LibraryGetStreamsStreamLevels(ctx context.Context, streamID int, params *LibraryGetStreamsStreamLevelsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// LibraryGetStreamsStreamLoudness Get loudness about a stream
//
// The the loudness of a stream in db, one number per line, one entry per 100ms
//
// Corresponds with GET /library/streams/{streamId}/loudness (the `LibraryGetStreamsStreamLoudness` operationId).
LibraryGetStreamsStreamLoudness(ctx context.Context, streamID int, params *LibraryGetStreamsStreamLoudnessParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// LibraryGetTags Get all library tags of a type
//
// Corresponds with GET /library/tags (the `LibraryGetTags` operationId).
LibraryGetTags(ctx context.Context, params *LibraryGetTagsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// LivetvDVRGetSlash Get DVRs
//
// Get the list of all available DVRs.
//
// Corresponds with GET /livetv/dvrs (the `LivetvDVRGetSlash` operationId).
LivetvDVRGetSlash(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// LivetvDVRPostSlash Create a DVR
//
// Creation of a DVR, after creation of a devcie and a lineup is selected
//
// Corresponds with POST /livetv/dvrs (the `LivetvDVRPostSlash` operationId).
LivetvDVRPostSlash(ctx context.Context, params *LivetvDVRPostSlashParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// LivetvDVRDeleteDVR Delete a single DVR
//
// Delete a single DVR by its id (key).
//
// Corresponds with DELETE /livetv/dvrs/{dvrId} (the `LivetvDVRDeleteDVR` operationId).
LivetvDVRDeleteDVR(ctx context.Context, dvrid int, reqEditors ...RequestEditorFn) (*http.Response, error)
// LivetvDVRGetDVR Get a single DVR
//
// Get a single DVR by its id (key).
//
// Corresponds with GET /livetv/dvrs/{dvrId} (the `LivetvDVRGetDVR` operationId).
LivetvDVRGetDVR(ctx context.Context, dvrid int, reqEditors ...RequestEditorFn) (*http.Response, error)
// LivetvDVRPostChannelsChannelTune Tune a channel on a DVR
//
// Tune a channel on a DVR to the provided channel.
//
// Corresponds with POST /livetv/dvrs/{dvrId}/channels/{channel}/tune (the `LivetvDVRPostChannelsChannelTune` operationId).
LivetvDVRPostChannelsChannelTune(ctx context.Context, dvrid int, channel string, reqEditors ...RequestEditorFn) (*http.Response, error)
// LivetvDVRDeleteDVRDevice Remove a device from an existing DVR
//
// Corresponds with DELETE /livetv/dvrs/{dvrId}/devices/{deviceId} (the `LivetvDVRDeleteDVRDevice` operationId).
LivetvDVRDeleteDVRDevice(ctx context.Context, dvrid int, deviceID int, reqEditors ...RequestEditorFn) (*http.Response, error)
// LivetvDVRPutDVRDevice Add a device to an existing DVR
//
// Corresponds with PUT /livetv/dvrs/{dvrId}/devices/{deviceId} (the `LivetvDVRPutDVRDevice` operationId).
LivetvDVRPutDVRDevice(ctx context.Context, dvrid int, deviceID int, reqEditors ...RequestEditorFn) (*http.Response, error)
// LivetvDVRDeleteLineup Delete a DVR Lineup
//
// Deletes a DVR device's lineup.
//
// Corresponds with DELETE /livetv/dvrs/{dvrId}/lineups (the `LivetvDVRDeleteLineup` operationId).
LivetvDVRDeleteLineup(ctx context.Context, dvrid int, params *LivetvDVRDeleteLineupParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// LivetvDVRPutLineup Add a DVR Lineup
//
// Add a lineup to a DVR device's set of lineups.
//
// Corresponds with PUT /livetv/dvrs/{dvrId}/lineups (the `LivetvDVRPutLineup` operationId).
LivetvDVRPutLineup(ctx context.Context, dvrid int, params *LivetvDVRPutLineupParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// LivetvDVRPutPrefs Set DVR preferences
//
// Set DVR preferences by name avd value.
//
// Corresponds with PUT /livetv/dvrs/{dvrId}/prefs (the `LivetvDVRPutPrefs` operationId).
LivetvDVRPutPrefs(ctx context.Context, dvrid int, params *LivetvDVRPutPrefsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// LivetvDVRDeleteReloadGuide Tell a DVR to stop reloading program guide
//
// Corresponds with DELETE /livetv/dvrs/{dvrId}/reloadGuide (the `LivetvDVRDeleteReloadGuide` operationId).
LivetvDVRDeleteReloadGuide(ctx context.Context, dvrid int, reqEditors ...RequestEditorFn) (*http.Response, error)
// LivetvDVRPostReloadGuide Tell a DVR to reload program guide
//
// Corresponds with POST /livetv/dvrs/{dvrId}/reloadGuide (the `LivetvDVRPostReloadGuide` operationId).
LivetvDVRPostReloadGuide(ctx context.Context, dvrid int, reqEditors ...RequestEditorFn) (*http.Response, error)
// LivetvEPGGetChannelmap Compute the best channel map
//
// Compute the best channel map, given device and lineup
//
// Corresponds with GET /livetv/epg/channelmap (the `LivetvEPGGetChannelmap` operationId).
LivetvEPGGetChannelmap(ctx context.Context, params *LivetvEPGGetChannelmapParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// LivetvEPGGetChannels Get channels for a lineup
//
// Get channels for a lineup within an EPG provider.
//
// Corresponds with GET /livetv/epg/channels (the `LivetvEPGGetChannels` operationId).
LivetvEPGGetChannels(ctx context.Context, params *LivetvEPGGetChannelsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// LivetvEPGGetCountries Get all countries
//
// This endpoint returns a list of countries which EPG data is available for. There are three flavors, as specfied by the `flavor` attribute
//
// Corresponds with GET /livetv/epg/countries (the `LivetvEPGGetCountries` operationId).
LivetvEPGGetCountries(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// LivetvEPGGetCountriesCountryLineups Get lineups for a country via postal code
//
// Returns a list of lineups for a given country, EPG provider and postal code
//
// Corresponds with GET /livetv/epg/countries/{country}/{epgId}/lineups (the `LivetvEPGGetCountriesCountryLineups` operationId).
LivetvEPGGetCountriesCountryLineups(ctx context.Context, country string, epgid string, params *LivetvEPGGetCountriesCountryLineupsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// LivetvEPGGetCountriesCountryRegions Get regions for a country
//
// Get regions for a country within an EPG provider.
//
// Corresponds with GET /livetv/epg/countries/{country}/{epgId}/regions (the `LivetvEPGGetCountriesCountryRegions` operationId).
LivetvEPGGetCountriesCountryRegions(ctx context.Context, country string, epgid string, reqEditors ...RequestEditorFn) (*http.Response, error)
// LivetvEPGGetCountriesCountryRegionsRegionLineups Get lineups for a region
//
// Get lineups for a region within an EPG provider.
//
// Corresponds with GET /livetv/epg/countries/{country}/{epgId}/regions/{region}/lineups (the `LivetvEPGGetCountriesCountryRegionsRegionLineups` operationId).
LivetvEPGGetCountriesCountryRegionsRegionLineups(ctx context.Context, country string, epgid string, region string, reqEditors ...RequestEditorFn) (*http.Response, error)
// LivetvEPGGetLanguages Get all languages
//
// Returns a list of all possible languages for EPG data.
//
// Corresponds with GET /livetv/epg/languages (the `LivetvEPGGetLanguages` operationId).
LivetvEPGGetLanguages(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// LivetvEPGGetLineup Compute the best lineup
//
// Compute the best lineup, given lineup group and device
//
// Corresponds with GET /livetv/epg/lineup (the `LivetvEPGGetLineup` operationId).
LivetvEPGGetLineup(ctx context.Context, params *LivetvEPGGetLineupParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// LivetvEPGGetLineupchannels Get the channels for mulitple lineups
//
// Get the channels across multiple lineups.
//
// Corresponds with GET /livetv/epg/lineupchannels (the `LivetvEPGGetLineupchannels` operationId).
LivetvEPGGetLineupchannels(ctx context.Context, params *LivetvEPGGetLineupchannelsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// LivetvSessionsGetSlash Get all sessions
//
// Get all livetv sessions and metadata.
//
// Corresponds with GET /livetv/sessions (the `LivetvSessionsGetSlash` operationId).
LivetvSessionsGetSlash(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// LivetvSessionsGetSession Get a single session
//
// Get a single livetv session and metadata.
//
// Corresponds with GET /livetv/sessions/{sessionId} (the `LivetvSessionsGetSession` operationId).
LivetvSessionsGetSession(ctx context.Context, sessionID string, reqEditors ...RequestEditorFn) (*http.Response, error)
// LivetvSessionsGetSessionConsumerIndex Get a session playlist index
//
// Get a playlist index for playing this session.
//
// Corresponds with GET /livetv/sessions/{sessionId}/{consumerId}/index.m3u8 (the `LivetvSessionsGetSessionConsumerIndex` operationId).
LivetvSessionsGetSessionConsumerIndex(ctx context.Context, sessionID string, consumerID string, reqEditors ...RequestEditorFn) (*http.Response, error)
// LivetvSessionsGetSessionConsumerSegment Get a single session segment
//
// Get a single livetv session segment.
//
// Corresponds with GET /livetv/sessions/{sessionId}/{consumerId}/{segmentId} (the `LivetvSessionsGetSessionConsumerSegment` operationId).
LivetvSessionsGetSessionConsumerSegment(ctx context.Context, sessionID string, consumerID string, segmentID string, reqEditors ...RequestEditorFn) (*http.Response, error)
// LogPostSlashWithBody Logging a multi-line message to the Plex Media Server log
//
// This endpoint will write multiple lines to the main Plex Media Server log in a single request. It takes a set of query strings as would normally sent to the above PUT endpoint as a linefeed-separated block of POST data. The parameters for each query string match as above.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /log (the `LogPostSlash` operationId).
LogPostSlashWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// LogPostSlashWithTextBody Logging a multi-line message to the Plex Media Server log
//
// This endpoint will write multiple lines to the main Plex Media Server log in a single request. It takes a set of query strings as would normally sent to the above PUT endpoint as a linefeed-separated block of POST data. The parameters for each query string match as above.
//
// Takes a body of the `text/plain` content type.
//
// Corresponds with POST /log (the `LogPostSlash` operationId).
LogPostSlashWithTextBody(ctx context.Context, body LogPostSlashTextRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// LogPutSlash Logging a single-line message to the Plex Media Server log
//
// This endpoint will write a single-line log message, including a level and source to the main Plex Media Server log.
//
// Note: This endpoint responds to all HTTP verbs **except POST** but PUT is preferred
//
// Corresponds with PUT /log (the `LogPutSlash` operationId).
LogPutSlash(ctx context.Context, params *LogPutSlashParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// LogPostPapertrail Enabling Papertrail
//
// This endpoint will enable all Plex Media Serverlogs to be sent to the Papertrail networked logging site for a period of time
//
// Note: This endpoint responds to all HTTP verbs but POST is preferred
//
// Corresponds with POST /log/networked (the `LogPostPapertrail` operationId).
LogPostPapertrail(ctx context.Context, params *LogPostPapertrailParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// MediaGrabberGetSlash Get available grabbers
//
// Get available grabbers visible to the server.
//
// Corresponds with GET /media/grabbers (the `MediaGrabberGetSlash` operationId).
MediaGrabberGetSlash(ctx context.Context, params *MediaGrabberGetSlashParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// MediaGrabberGetDevices Get all devices
//
// Get the list of all devices present.
//
// Corresponds with GET /media/grabbers/devices (the `MediaGrabberGetDevices` operationId).
MediaGrabberGetDevices(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// MediaGrabberPostDevices Add a device
//
// This endpoint adds a device to an existing grabber. The device is identified, and added to the correct grabber.
//
// Corresponds with POST /media/grabbers/devices (the `MediaGrabberPostDevices` operationId).
MediaGrabberPostDevices(ctx context.Context, params *MediaGrabberPostDevicesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// MediaGrabberPostDeviceDiscover Tell grabbers to discover devices
//
// Corresponds with POST /media/grabbers/devices/discover (the `MediaGrabberPostDeviceDiscover` operationId).
MediaGrabberPostDeviceDiscover(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// MediaGrabberDevicesDeviceDeleteSlash Remove a device
//
// Remove a devices by its id along with its channel mappings.
//
// Corresponds with DELETE /media/grabbers/devices/{deviceId} (the `MediaGrabberDevicesDeviceDeleteSlash` operationId).
MediaGrabberDevicesDeviceDeleteSlash(ctx context.Context, deviceID int, reqEditors ...RequestEditorFn) (*http.Response, error)
// MediaGrabberDevicesDeviceGetSlash Get device details
//
// Get a device's details by its id.
//
// Corresponds with GET /media/grabbers/devices/{deviceId} (the `MediaGrabberDevicesDeviceGetSlash` operationId).
MediaGrabberDevicesDeviceGetSlash(ctx context.Context, deviceID int, reqEditors ...RequestEditorFn) (*http.Response, error)
// MediaGrabberDevicesDevicePutSlash Enable or disable a device
//
// Enable or disable a device by its id.
//
// Corresponds with PUT /media/grabbers/devices/{deviceId} (the `MediaGrabberDevicesDevicePutSlash` operationId).
MediaGrabberDevicesDevicePutSlash(ctx context.Context, deviceID int, params *MediaGrabberDevicesDevicePutSlashParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// MediaGrabberDevicesDevicePutChannelmap Set a device's channel mapping
//
// Corresponds with PUT /media/grabbers/devices/{deviceId}/channelmap (the `MediaGrabberDevicesDevicePutChannelmap` operationId).
MediaGrabberDevicesDevicePutChannelmap(ctx context.Context, deviceID int, params *MediaGrabberDevicesDevicePutChannelmapParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// MediaGrabberDevicesDeviceGetChannels Get a device's channels
//
// Get a device's channels by its id.
//
// Corresponds with GET /media/grabbers/devices/{deviceId}/channels (the `MediaGrabberDevicesDeviceGetChannels` operationId).
MediaGrabberDevicesDeviceGetChannels(ctx context.Context, deviceID int, reqEditors ...RequestEditorFn) (*http.Response, error)
// MediaGrabberDevicesDevicePutPrefs Set device preferences
//
// Set device preferences by its id.
//
// Corresponds with PUT /media/grabbers/devices/{deviceId}/prefs (the `MediaGrabberDevicesDevicePutPrefs` operationId).
MediaGrabberDevicesDevicePutPrefs(ctx context.Context, deviceID int, params *MediaGrabberDevicesDevicePutPrefsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// MediaGrabberDeleteDevicesDeviceScan Tell a device to stop scanning for channels
//
// Corresponds with DELETE /media/grabbers/devices/{deviceId}/scan (the `MediaGrabberDeleteDevicesDeviceScan` operationId).
MediaGrabberDeleteDevicesDeviceScan(ctx context.Context, deviceID int, reqEditors ...RequestEditorFn) (*http.Response, error)
// MediaGrabberDevicesDevicePostScan Tell a device to scan for channels
//
// Corresponds with POST /media/grabbers/devices/{deviceId}/scan (the `MediaGrabberDevicesDevicePostScan` operationId).
MediaGrabberDevicesDevicePostScan(ctx context.Context, deviceID int, params *MediaGrabberDevicesDevicePostScanParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// MediaGrabberDevicesDeviceGetThumbVersion Get device thumb
//
// Get a device's thumb for display to the user.
//
// Corresponds with GET /media/grabbers/devices/{deviceId}/thumb/{version} (the `MediaGrabberDevicesDeviceGetThumbVersion` operationId).
MediaGrabberDevicesDeviceGetThumbVersion(ctx context.Context, deviceID int, version int, reqEditors ...RequestEditorFn) (*http.Response, error)
// MediaGrabberDeleteOperationsOperation Cancel an existing grab
//
// Cancels an existing media grab (recording). It can be used to resolve a conflict which exists for a rolling subscription.
// Note: This cancellation does not persist across a server restart, but neither does a rolling subscription itself.
//
// Corresponds with DELETE /media/grabbers/operations/{operationId} (the `MediaGrabberDeleteOperationsOperation` operationId).
MediaGrabberDeleteOperationsOperation(ctx context.Context, operationID string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetMediaProviders Get the list of available media providers
//
// Get the list of all available media providers for this PMS. This will generally include the library provider and possibly EPG if DVR is set up.
//
// Corresponds with GET /media/providers (the `GetMediaProviders` operationId).
GetMediaProviders(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostMediaProviders Add a media provider
//
// This endpoint registers a media provider with the server. Once registered, the media server acts as a reverse proxy to the provider, allowing both local and remote providers to work.
//
// Corresponds with POST /media/providers (the `PostMediaProviders` operationId).
PostMediaProviders(ctx context.Context, params *PostMediaProvidersParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetMetadataAgentProviders Get the list of available metadata agent providers
//
// Get the list of all available metadata agent providers for this PMS.
//
// Corresponds with GET /media/providers/metadata (the `GetMetadataAgentProviders` operationId).
GetMetadataAgentProviders(ctx context.Context, params *GetMetadataAgentProvidersParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostMetadataAgentProviders Add a metadata agent provider
//
// This endpoint registers a metadata agent provider with the server. The provider URI must respond with a valid MediaProvider response.
//
// Corresponds with POST /media/providers/metadata (the `PostMetadataAgentProviders` operationId).
PostMetadataAgentProviders(ctx context.Context, params *PostMetadataAgentProvidersParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetMetadataAgentProviderGroups Get the list of available metadata agent provider groups
//
// Get the list of all available metadata agent provider groups for this PMS.
//
// Corresponds with GET /media/providers/metadata/group (the `GetMetadataAgentProviderGroups` operationId).
GetMetadataAgentProviderGroups(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostMetadataAgentProviderGroups Add a metadata agent provider group
//
// This endpoint registers a new metadata agent provider group and creates a new MetadataAgentGroupItem for the primraryIdentifier.
//
// Corresponds with POST /media/providers/metadata/group (the `PostMetadataAgentProviderGroups` operationId).
PostMetadataAgentProviderGroups(ctx context.Context, params *PostMetadataAgentProviderGroupsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteMetadataAgentProviderGroup Delete a metadata agent provider group
//
// Deletes a metadata agent provider group with the given id. This will also delete any MetadataAgentGroupItem objects associated with the group.
//
// Corresponds with DELETE /media/providers/metadata/group/{groupId} (the `DeleteMetadataAgentProviderGroup` operationId).
DeleteMetadataAgentProviderGroup(ctx context.Context, groupID int, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetMetadataAgentProviderGroup Get a metadata agent provider group
//
// Get the metadata agent provider group with the given id.
//
// Corresponds with GET /media/providers/metadata/group/{groupId} (the `GetMetadataAgentProviderGroup` operationId).
GetMetadataAgentProviderGroup(ctx context.Context, groupID int, reqEditors ...RequestEditorFn) (*http.Response, error)
// PutMetadataAgentProviderGroup Modify a metadata agent provider group
//
// Modify the metadata agent group with the given id. Only the title can be changed.
//
// Corresponds with PUT /media/providers/metadata/group/{groupId} (the `PutMetadataAgentProviderGroup` operationId).
PutMetadataAgentProviderGroup(ctx context.Context, groupID int, params *PutMetadataAgentProviderGroupParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteMetadataAgentProviderGroupItem Delete a metadata agent provider group item
//
// Deletes a metadata agent provider group item with the given id.
//
// Corresponds with DELETE /media/providers/metadata/group/{groupId}/items/{providerId} (the `DeleteMetadataAgentProviderGroupItem` operationId).
DeleteMetadataAgentProviderGroupItem(ctx context.Context, groupID int, providerID int, reqEditors ...RequestEditorFn) (*http.Response, error)
// PutMetadataAgentProviderGroupItem Modify a metadata agent provider group's items
//
// Modify a metadata agent provider group's items. This will assign the specified provider id to the group if it does not already exist.
//
// Providing the optional after query parameter on an existing group item will move its position in the group relative to the item with the specified ID.
//
// Corresponds with PUT /media/providers/metadata/group/{groupId}/items/{providerId} (the `PutMetadataAgentProviderGroupItem` operationId).
PutMetadataAgentProviderGroupItem(ctx context.Context, groupID int, providerID int, params *PutMetadataAgentProviderGroupItemParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteMetadataAgentProvider Delete a metadata agent provider
//
// Deletes a metadata agent provider with the given id. This will fail if the provider is being used inside a MetadataAgentGroup.
//
// Corresponds with DELETE /media/providers/metadata/{providerId} (the `DeleteMetadataAgentProvider` operationId).
DeleteMetadataAgentProvider(ctx context.Context, providerID int, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetMetadataAgentProvider Get a metadata agent provider
//
// Get the metadata agent provider with the given id.
//
// Corresponds with GET /media/providers/metadata/{providerId} (the `GetMetadataAgentProvider` operationId).
GetMetadataAgentProvider(ctx context.Context, providerID int, reqEditors ...RequestEditorFn) (*http.Response, error)
// PutMetadataAgentProvider Modify a metadata agent provider
//
// Modify the metadata agent provider with the given id. Only the URI is passed, the response to the URI will determine the other properties.
//
// Corresponds with PUT /media/providers/metadata/{providerId} (the `PutMetadataAgentProvider` operationId).
PutMetadataAgentProvider(ctx context.Context, providerID int, params *PutMetadataAgentProviderParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostMediaProvidersRefresh Refresh media providers
//
// Refresh all known media providers. This is useful in case a provider has updated features.
//
// Corresponds with POST /media/providers/refresh (the `PostMediaProvidersRefresh` operationId).
PostMediaProvidersRefresh(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteMediaProvider Delete a media provider
//
// Deletes a media provider with the given id.
//
// Corresponds with DELETE /media/providers/{provider} (the `DeleteMediaProvider` operationId).
DeleteMediaProvider(ctx context.Context, provider string, reqEditors ...RequestEditorFn) (*http.Response, error)
// MediaSubscriptionsGetSlash Get all subscriptions
//
// Get all subscriptions and potentially the grabs too.
//
// Corresponds with GET /media/subscriptions (the `MediaSubscriptionsGetSlash` operationId).
MediaSubscriptionsGetSlash(ctx context.Context, params *MediaSubscriptionsGetSlashParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// MediaSubscriptionsPostSlash Create a subscription
//
// Create a subscription. The query parameters should be mostly derived from the [template](#tag/Subscriptions/operation/mediaSubscriptionsGetTemplate)
//
// Corresponds with POST /media/subscriptions (the `MediaSubscriptionsPostSlash` operationId).
MediaSubscriptionsPostSlash(ctx context.Context, params *MediaSubscriptionsPostSlashParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// MediaSubscriptionsPostProcess Process all subscriptions
//
// Process all subscriptions asynchronously.
//
// Corresponds with POST /media/subscriptions/process (the `MediaSubscriptionsPostProcess` operationId).
MediaSubscriptionsPostProcess(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// MediaSubscriptionsGetScheduled Get all scheduled recordings
//
// Get all scheduled recordings across all subscriptions.
//
// Corresponds with GET /media/subscriptions/scheduled (the `MediaSubscriptionsGetScheduled` operationId).
MediaSubscriptionsGetScheduled(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// MediaSubscriptionsGetTemplate Get the subscription template
//
// Get the templates for a piece of media which could include fetching one airing, season, the whole show, etc.
//
// Corresponds with GET /media/subscriptions/template (the `MediaSubscriptionsGetTemplate` operationId).
MediaSubscriptionsGetTemplate(ctx context.Context, params *MediaSubscriptionsGetTemplateParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// MediaSubscriptionsDeleteSubscription Delete a subscription
//
// Delete a subscription, cancelling all of its grabs as well
//
// Corresponds with DELETE /media/subscriptions/{subscriptionId} (the `MediaSubscriptionsDeleteSubscription` operationId).
MediaSubscriptionsDeleteSubscription(ctx context.Context, subscriptionID int, reqEditors ...RequestEditorFn) (*http.Response, error)
// MediaSubscriptionsGetSubscription Get a single subscription
//
// Get a single subscription and potentially the grabs too.
//
// Corresponds with GET /media/subscriptions/{subscriptionId} (the `MediaSubscriptionsGetSubscription` operationId).
MediaSubscriptionsGetSubscription(ctx context.Context, subscriptionID int, params *MediaSubscriptionsGetSubscriptionParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// MediaSubscriptionsPutSubscription Edit a subscription
//
// Edit a subscription's preferences.
//
// Corresponds with PUT /media/subscriptions/{subscriptionId} (the `MediaSubscriptionsPutSubscription` operationId).
MediaSubscriptionsPutSubscription(ctx context.Context, subscriptionID int, params *MediaSubscriptionsPutSubscriptionParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// MediaSubscriptionsPutSubscriptionMove Re-order a subscription
//
// Re-order a subscription to change its priority.
//
// Corresponds with PUT /media/subscriptions/{subscriptionId}/move (the `MediaSubscriptionsPutSubscriptionMove` operationId).
MediaSubscriptionsPutSubscriptionMove(ctx context.Context, subscriptionID int, params *MediaSubscriptionsPutSubscriptionMoveParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ImageTranscode Transcode an image
//
// Transcode an image, possibly changing format or size
//
// Corresponds with GET /photo/:/transcode (the `ImageTranscode` operationId).
ImageTranscode(ctx context.Context, params *ImageTranscodeParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// PlayQueuePostSlash Create a play queue
//
// Makes a new play queue for a device. The source of the playqueue can either be a URI, or a playlist. The response is a media container with the initial items in the queue. Each item in the queue will be a regular item but with `playQueueItemID` - a unique ID since the queue could have repeated items with the same `ratingKey`.
// Note: Either `uri` or `playlistID` must be specified
//
// Corresponds with POST /playQueues (the `PlayQueuePostSlash` operationId).
PlayQueuePostSlash(ctx context.Context, params *PlayQueuePostSlashParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// PlayQueueQueueGetSlash Retrieve a play queue
//
// Retrieves the play queue, centered at current item. This can be treated as a regular container by play queue-oblivious clients, but they may wish to request a large window onto the queue since they won't know to refresh.
//
// Corresponds with GET /playQueues/{playQueueId} (the `PlayQueueQueueGetSlash` operationId).
PlayQueueQueueGetSlash(ctx context.Context, playQueueID int, params *PlayQueueQueueGetSlashParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// PlayQueueQueuePutSlash Add a generator or playlist to a play queue
//
// Adds an item to a play queue (e.g. party mode). Increments the version of the play queue. Takes the following parameters (`uri` and `playlistID` are mutually exclusive). Returns the modified play queue.
//
// Corresponds with PUT /playQueues/{playQueueId} (the `PlayQueueQueuePutSlash` operationId).
PlayQueueQueuePutSlash(ctx context.Context, playQueueID int, params *PlayQueueQueuePutSlashParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// PlayQueueQueueDeleteItems Clear a play queue
//
// Deletes all items in the play queue, and increases the version of the play queue.
//
// Corresponds with DELETE /playQueues/{playQueueId}/items (the `PlayQueueQueueDeleteItems` operationId).
PlayQueueQueueDeleteItems(ctx context.Context, playQueueID int, reqEditors ...RequestEditorFn) (*http.Response, error)
// PlayQueueQueueDeleteItemsItem Delete an item from a play queue
//
// Deletes an item in a play queue. Increments the version of the play queue. Returns the modified play queue.
//
// Corresponds with DELETE /playQueues/{playQueueId}/items/{playQueueItemId} (the `PlayQueueQueueDeleteItemsItem` operationId).
PlayQueueQueueDeleteItemsItem(ctx context.Context, playQueueID int, playQueueItemID int, reqEditors ...RequestEditorFn) (*http.Response, error)
// PlayQueueQueuePutItemsMove Move an item in a play queue
//
// Moves an item in a play queue, and increases the version of the play queue. Returns the modified play queue.
//
// Corresponds with PUT /playQueues/{playQueueId}/items/{playQueueItemId}/move (the `PlayQueueQueuePutItemsMove` operationId).
PlayQueueQueuePutItemsMove(ctx context.Context, playQueueID int, playQueueItemID int, params *PlayQueueQueuePutItemsMoveParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// PlayQueuePlayQueueReset Reset a play queue
//
// Reset a play queue to the first item being the current item.
//
// Corresponds with PUT /playQueues/{playQueueId}/reset (the `PlayQueuePlayQueueReset` operationId).
PlayQueuePlayQueueReset(ctx context.Context, playQueueID int, reqEditors ...RequestEditorFn) (*http.Response, error)
// PlayQueueQueuePutItemsShuffle Shuffle a play queue
//
// Shuffle a play queue (or reshuffles if already shuffled). The currently selected item is maintained. Note that this is currently only supported for play queues *without* an Up Next area. Returns the modified play queue.
//
// Corresponds with PUT /playQueues/{playQueueId}/shuffle (the `PlayQueueQueuePutItemsShuffle` operationId).
PlayQueueQueuePutItemsShuffle(ctx context.Context, playQueueID int, reqEditors ...RequestEditorFn) (*http.Response, error)
// PlayQueueQueuePutItemsUnshuffle Unshuffle a play queue
//
// Unshuffles a play queue and restores "natural order". Note that this is currently only supported for play queues *without* an Up Next area. Returns the modified play queue.
//
// Corresponds with PUT /playQueues/{playQueueId}/unshuffle (the `PlayQueueQueuePutItemsUnshuffle` operationId).
PlayQueueQueuePutItemsUnshuffle(ctx context.Context, playQueueID int, reqEditors ...RequestEditorFn) (*http.Response, error)
// PlaylistGetSlash Retrieve Playlists
//
// Gets a list of playlists and playlist folders for a user. General filters are permitted, such as `sort=lastViewedAt:desc`. A flat playlist list can be retrieved using `type=15` to limit the collection to just playlists.
//
// Corresponds with GET /playlists (the `PlaylistGetSlash` operationId).
PlaylistGetSlash(ctx context.Context, params *PlaylistGetSlashParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// PlaylistPostSlash Create a Playlist
//
// Create a new playlist. By default the playlist is blank.
//
// Corresponds with POST /playlists (the `PlaylistPostSlash` operationId).
PlaylistPostSlash(ctx context.Context, params *PlaylistPostSlashParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// PlaylistPostUpload Upload
//
// Imports m3u playlists by passing a path on the server to scan for m3u-formatted playlist files, or a path to a single playlist file.
//
// Corresponds with POST /playlists/upload (the `PlaylistPostUpload` operationId).
PlaylistPostUpload(ctx context.Context, params *PlaylistPostUploadParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// PlaylistDeletePlaylist Delete a Playlist
//
// Deletes a playlist by provided id.
//
// Corresponds with DELETE /playlists/{playlistId} (the `PlaylistDeletePlaylist` operationId).
PlaylistDeletePlaylist(ctx context.Context, playlistID int, reqEditors ...RequestEditorFn) (*http.Response, error)
// PlaylistGetPlaylist Retrieve Playlist
//
// Gets detailed metadata for a playlist. A playlist for many purposes (rating, editing metadata, tagging), can be treated like a regular metadata item:
// Smart playlist details contain the `content` attribute. This is the content URI for the generator. This can then be parsed by a client to provide smart playlist editing.
//
// Corresponds with GET /playlists/{playlistId} (the `PlaylistGetPlaylist` operationId).
PlaylistGetPlaylist(ctx context.Context, playlistID int, reqEditors ...RequestEditorFn) (*http.Response, error)
// PlaylistPutPlaylist Editing a Playlist
//
// Edits a playlist in the same manner as [editing metadata](#tag/Provider/operation/metadataPutItem).
//
// Corresponds with PUT /playlists/{playlistId} (the `PlaylistPutPlaylist` operationId).
PlaylistPutPlaylist(ctx context.Context, playlistID int, reqEditors ...RequestEditorFn) (*http.Response, error)
// PlaylistGetGenerators Get a playlist's generators
//
// Get all the generators in a playlist.
//
// Corresponds with GET /playlists/{playlistId}/generators (the `PlaylistGetGenerators` operationId).
PlaylistGetGenerators(ctx context.Context, playlistID int, reqEditors ...RequestEditorFn) (*http.Response, error)
// PlaylistDeleteItems Clearing a playlist
//
// Clears a playlist, only works with dumb playlists. Returns the playlist.
//
// Corresponds with DELETE /playlists/{playlistId}/items (the `PlaylistDeleteItems` operationId).
PlaylistDeleteItems(ctx context.Context, playlistID int, reqEditors ...RequestEditorFn) (*http.Response, error)
// PlaylistGetItems Retrieve Playlist Contents
//
// Gets the contents if a playlist. Should be paged by clients via standard mechanisms. By default leaves are returned (e.g. episodes, movies). In order to return other types you can use the `type` parameter. For example, you could use this to display a list of recently added albums vis a smart playlist. Note that for dumb playlists, items have a `playlistItemID` attribute which is used for deleting or moving items.
//
// Corresponds with GET /playlists/{playlistId}/items (the `PlaylistGetItems` operationId).
PlaylistGetItems(ctx context.Context, playlistID int, params *PlaylistGetItemsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// PlaylistPutItems Adding to a Playlist
//
// Adds a generator to a playlist, same parameters as the POST above. With a dumb playlist, this adds the specified items to the playlist. With a smart playlist, passing a new `uri` parameter replaces the rules for the playlist. Returns the playlist.
//
// Corresponds with PUT /playlists/{playlistId}/items (the `PlaylistPutItems` operationId).
PlaylistPutItems(ctx context.Context, playlistID int, params *PlaylistPutItemsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// PlaylistDeleteItemsGenerator Delete a Generator
//
// Deletes an item from a playlist. Only works with dumb playlists.
//
// Corresponds with DELETE /playlists/{playlistId}/items/{generatorId} (the `PlaylistDeleteItemsGenerator` operationId).
PlaylistDeleteItemsGenerator(ctx context.Context, playlistID int, generatorID int, reqEditors ...RequestEditorFn) (*http.Response, error)
// PlaylistGetItemsGenerator Get a playlist generator
//
// Get a playlist's generator. Only used for optimized versions
//
// Corresponds with GET /playlists/{playlistId}/items/{generatorId} (the `PlaylistGetItemsGenerator` operationId).
PlaylistGetItemsGenerator(ctx context.Context, playlistID int, generatorID int, reqEditors ...RequestEditorFn) (*http.Response, error)
// PlaylistPutItemsGenerator Modify a Generator
//
// Modify a playlist generator. Only used for optimizer
//
// Corresponds with PUT /playlists/{playlistId}/items/{generatorId} (the `PlaylistPutItemsGenerator` operationId).
PlaylistPutItemsGenerator(ctx context.Context, playlistID int, generatorID int, params *PlaylistPutItemsGeneratorParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// PlaylistGetItemsGeneratorItems Get a playlist generator's items
//
// Corresponds with GET /playlists/{playlistId}/items/{generatorId}/items (the `PlaylistGetItemsGeneratorItems` operationId).
PlaylistGetItemsGeneratorItems(ctx context.Context, playlistID int, generatorID int, reqEditors ...RequestEditorFn) (*http.Response, error)
// PlaylistPutItemsGeneratorReprocess Reprocess a generator
//
// Make a generator reprocess (refresh).
//
// Corresponds with PUT /playlists/{playlistId}/items/{generatorId}/{metadataId}/{action} (the `PlaylistPutItemsGeneratorReprocess` operationId).
PlaylistPutItemsGeneratorReprocess(ctx context.Context, playlistID int, generatorID int, metadataID int, action PlaylistPutItemsGeneratorReprocessParamsAction, reqEditors ...RequestEditorFn) (*http.Response, error)
// PlaylistPutItemsMove Moving items in a playlist
//
// Moves an item in a playlist. Only works with dumb playlists.
//
// Corresponds with PUT /playlists/{playlistId}/items/{playlistItemId}/move (the `PlaylistPutItemsMove` operationId).
PlaylistPutItemsMove(ctx context.Context, playlistID int, playlistItemID int, params *PlaylistPutItemsMoveParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// SecurityGetResources Get Source Connection Information
//
// If a caller requires connection details and a transient token for a source that is known to the server, for example a cloud media provider or shared PMS, then this endpoint can be called. This endpoint is only accessible with either an admin token or a valid transient token generated from an admin token.
//
// Corresponds with GET /security/resources (the `SecurityGetResources` operationId).
SecurityGetResources(ctx context.Context, params *SecurityGetResourcesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// SecurityPostToken Get Transient Tokens
//
// This endpoint provides the caller with a temporary token with the same access level as the caller's token. These tokens are valid for up to 48 hours and are destroyed if the server instance is restarted.
// Note: This endpoint responds to all HTTP verbs but POST in preferred
//
// Corresponds with POST /security/token (the `SecurityPostToken` operationId).
SecurityPostToken(ctx context.Context, params *SecurityPostTokenParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// UltraBlurGetColors Get UltraBlur Colors
//
// Retrieves the four colors extracted from an image for clients to use to generate an ultrablur image.
//
// Corresponds with GET /services/ultrablur/colors (the `UltraBlurGetColors` operationId).
UltraBlurGetColors(ctx context.Context, params *UltraBlurGetColorsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// UltraBlurGetImage Get UltraBlur Image
//
// Retrieves a server-side generated UltraBlur image based on the provided color inputs. Clients should always call this via the photo transcoder endpoint.
//
// Corresponds with GET /services/ultrablur/image (the `UltraBlurGetImage` operationId).
UltraBlurGetImage(ctx context.Context, params *UltraBlurGetImageParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// StatusGetSlash List Sessions
//
// List all current playbacks on this server.
//
// Corresponds with GET /status/sessions (the `StatusGetSlash` operationId).
StatusGetSlash(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// StatusGetBackground Get background tasks
//
// Get the list of all background tasks.
//
// Corresponds with GET /status/sessions/background (the `StatusGetBackground` operationId).
StatusGetBackground(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// StatusGetHistoryAll List Playback History
//
// List all playback history (Admin can see all users, others can only see their own).
// Pagination should be used on this endpoint. Additionally this endpoint supports `includeFields`, `excludeFields`, `includeElements`, and `excludeElements` parameters.
//
// Corresponds with GET /status/sessions/history/all (the `StatusGetHistoryAll` operationId).
StatusGetHistoryAll(ctx context.Context, params *StatusGetHistoryAllParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// StatusDeleteHistory Delete Single History Item
//
// Delete a single history item by id.
//
// Corresponds with DELETE /status/sessions/history/{historyId} (the `StatusDeleteHistory` operationId).
StatusDeleteHistory(ctx context.Context, historyID int, reqEditors ...RequestEditorFn) (*http.Response, error)
// StatusGetHistory Get Single History Item
//
// Get a single history item by id.
//
// Corresponds with GET /status/sessions/history/{historyId} (the `StatusGetHistory` operationId).
StatusGetHistory(ctx context.Context, historyID int, reqEditors ...RequestEditorFn) (*http.Response, error)
// StatusPostTerminate Terminate a session
//
// Terminate a playback session kicking off the user.
//
// Corresponds with POST /status/sessions/terminate (the `StatusPostTerminate` operationId).
StatusPostTerminate(ctx context.Context, params *StatusPostTerminateParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// MediaProviderEPGGrid Get airing information
//
// Get the airing information for a given channel on a given day.
//
// Corresponds with GET /tv.plex.providers.epg.{identifier}:{deviceId}/grid (the `MediaProviderEPGGrid` operationId).
MediaProviderEPGGrid(ctx context.Context, identifier MediaProviderEPGGridParamsIdentifier, deviceID int, params *MediaProviderEPGGridParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// MediaProviderEPGChannels Get channels for a lineup
//
// Get channels for a lineup within an EPG provider.
//
// Corresponds with GET /tv.plex.providers.epg.{identifier}:{deviceId}/lineups/dvr/channels (the `MediaProviderEPGChannels` operationId).
MediaProviderEPGChannels(ctx context.Context, identifier MediaProviderEPGChannelsParamsIdentifier, deviceID int, params *MediaProviderEPGChannelsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// MediaProviderEPGWatchnow Get hubs
//
// Get the watchnow hubs for the specified provider.
//
// Corresponds with GET /tv.plex.providers.epg.{identifier}:{deviceId}/watchnow (the `MediaProviderEPGWatchnow` operationId).
MediaProviderEPGWatchnow(ctx context.Context, identifier MediaProviderEPGWatchnowParamsIdentifier, deviceID int, reqEditors ...RequestEditorFn) (*http.Response, error)
// MediaProviderEPGWatchnowAll Get currently airing
//
// Get the information for all currently airing shows on the specified provider.
//
// Corresponds with GET /tv.plex.providers.epg.{identifier}:{deviceId}/watchnow/all (the `MediaProviderEPGWatchnowAll` operationId).
MediaProviderEPGWatchnowAll(ctx context.Context, identifier MediaProviderEPGWatchnowAllParamsIdentifier, deviceID int, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdaterPutApply Applying updates
//
// Apply any downloaded updates. Note that the two parameters `tonight` and `skip` are effectively mutually exclusive. The `tonight` parameter takes precedence and `skip` will be ignored if `tonight` is also passed.
//
// Corresponds with PUT /updater/apply (the `UpdaterPutApply` operationId).
UpdaterPutApply(ctx context.Context, params *UpdaterPutApplyParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdaterPutCheck Checking for updates
//
// Perform an update check and potentially download.
//
// Corresponds with PUT /updater/check (the `UpdaterPutCheck` operationId).
UpdaterPutCheck(ctx context.Context, params *UpdaterPutCheckParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdaterGetStatus Querying status of updates
//
// Get the status of updating the server.
//
// Corresponds with GET /updater/status (the `UpdaterGetStatus` operationId).
UpdaterGetStatus(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// TranscodeDecision Make a decision on media playback
//
// Make a decision on media playback based on client profile, and requested settings such as bandwidth and resolution.
//
// Corresponds with GET /{transcodeType}/:/transcode/universal/decision (the `TranscodeDecision` operationId).
TranscodeDecision(ctx context.Context, transcodeType TranscodeDecisionParamsTranscodeType, params *TranscodeDecisionParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// TranscodeFallback Manually trigger a transcoder fallback
//
// Manually trigger a transcoder fallback ex: HEVC to h.264 or hw to sw
//
// Corresponds with POST /{transcodeType}/:/transcode/universal/fallback (the `TranscodeFallback` operationId).
TranscodeFallback(ctx context.Context, transcodeType TranscodeFallbackParamsTranscodeType, params *TranscodeFallbackParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// TranscodeStart Start A Transcoding Session
//
// Starts the transcoder and returns the corresponding streaming resource document.
//
// Corresponds with GET /{transcodeType}/:/transcode/universal/start.* (the `TranscodeStart` operationId).
TranscodeStart(ctx context.Context, transcodeType TranscodeStartParamsTranscodeType, params *TranscodeStartParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// TranscodeSubtitles Transcode subtitles
//
// Only transcode subtitle streams.
//
// Corresponds with GET /{transcodeType}/:/transcode/universal/subtitles (the `TranscodeSubtitles` operationId).
TranscodeSubtitles(ctx context.Context, transcodeType TranscodeSubtitlesParamsTranscodeType, params *TranscodeSubtitlesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
}
The interface specification for the client above.
type ClientOption ¶
ClientOption allows setting custom parameters during construction
func WithClientIdentifier ¶
func WithClientIdentifier(id string) ClientOption
WithClientIdentifier returns a ClientOption that sets the X-Plex-Client-Identifier header. The identifier should be unique and stable per client installation.
Operations that take the client identifier as a parameter use the value from the parameter instead, if set.
func WithHTTPClient ¶
func WithHTTPClient(doer HttpRequestDoer) ClientOption
WithHTTPClient allows overriding the default Doer, which is automatically created using http.Client. This is useful for tests.
func WithProduct ¶
func WithProduct(product, version string) ClientOption
WithProduct returns a ClientOption that sets the X-Plex-Product and X-Plex-Version headers identifying the client application.
func WithRequestEditorFn ¶
func WithRequestEditorFn(fn RequestEditorFn) ClientOption
WithRequestEditorFn allows setting up a callback function, which will be called right before sending the request. This can be used to mutate the request.
func WithToken ¶
func WithToken(token string) ClientOption
WithToken returns a ClientOption that authenticates requests with the provided Plex token using the X-Plex-Token header.
func WithUserAgent ¶
func WithUserAgent(agent string) ClientOption
WithUserAgent returns a ClientOption that sets the User-Agent header.
type ClientWithResponses ¶
type ClientWithResponses struct {
ClientInterface
}
ClientWithResponses builds on ClientInterface to offer response payloads
func New ¶
func New(baseURL string, opts ...ClientOption) (*ClientWithResponses, error)
New creates a new Plex Media Server client for the server at baseURL, e.g. "http://192.168.1.10:32400" or "https://1-2-3-4.<id>.plex.direct:32400".
Plex Media Server responds with XML unless JSON is requested, so the client sends "Accept: application/json" by default. The generated response parsers only handle JSON.
Example ¶
package main
import (
"context"
"fmt"
"log"
"thde.io/plex"
)
func main() {
client, err := plex.New(
"http://192.168.1.10:32400",
plex.WithToken("your-plex-token"),
plex.WithClientIdentifier("a-unique-stable-client-id"),
plex.WithProduct("my-app", "1.0"),
)
if err != nil {
log.Fatal(err)
}
resp, err := client.GetIdentityWithResponse(context.Background())
if err != nil {
log.Fatal(err)
}
if resp.JSON200 == nil {
log.Fatalf("unexpected response: %s", resp.Status())
}
fmt.Println(resp.JSON200.MediaContainer.Version)
}
Output:
func NewClientWithResponses ¶
func NewClientWithResponses(server string, opts ...ClientOption) (*ClientWithResponses, error)
NewClientWithResponses creates a new ClientWithResponses, which wraps Client with return type handling
func (*ClientWithResponses) ActivitiesDeleteActivityWithResponse ¶
func (c *ClientWithResponses) ActivitiesDeleteActivityWithResponse(ctx context.Context, activityID string, reqEditors ...RequestEditorFn) (*ActivitiesDeleteActivityResponse, error)
ActivitiesDeleteActivityWithResponse Cancel a running activity
Cancel a running activity. Admins can cancel all activities but other users can only cancel their own
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /activities/{activityId} (the `ActivitiesDeleteActivity` operationId).
func (*ClientWithResponses) ActivitiesGetSlashWithResponse ¶
func (c *ClientWithResponses) ActivitiesGetSlashWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ActivitiesGetSlashResponse, error)
ActivitiesGetSlashWithResponse Get all activities
List all activities on the server. Admins can see all activities but other users can only see their own
Returns a wrapper object for the known response body format(s).
Corresponds with GET /activities (the `ActivitiesGetSlash` operationId).
func (*ClientWithResponses) ButlerDeleteSlashWithResponse ¶
func (c *ClientWithResponses) ButlerDeleteSlashWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ButlerDeleteSlashResponse, error)
ButlerDeleteSlashWithResponse Stop all Butler tasks
This endpoint will stop all currently running tasks and remove any scheduled tasks from the queue.
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /butler (the `ButlerDeleteSlash` operationId).
func (*ClientWithResponses) ButlerDeleteTaskWithResponse ¶
func (c *ClientWithResponses) ButlerDeleteTaskWithResponse(ctx context.Context, task ButlerDeleteTaskParamsTask, reqEditors ...RequestEditorFn) (*ButlerDeleteTaskResponse, error)
ButlerDeleteTaskWithResponse Stop a single Butler task
This endpoint will stop a currently running task by name, or remove it from the list of scheduled tasks if it exists ¶
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /butler/{task} (the `ButlerDeleteTask` operationId).
func (*ClientWithResponses) ButlerGetSlashWithResponse ¶
func (c *ClientWithResponses) ButlerGetSlashWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ButlerGetSlashResponse, error)
ButlerGetSlashWithResponse Get all Butler tasks
Get the list of butler tasks and their scheduling.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /butler (the `ButlerGetSlash` operationId).
func (*ClientWithResponses) ButlerPostSlashWithResponse ¶
func (c *ClientWithResponses) ButlerPostSlashWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ButlerPostSlashResponse, error)
ButlerPostSlashWithResponse Start all Butler tasks
This endpoint will attempt to start all Butler tasks that are enabled in the settings. Butler tasks normally run automatically during a time window configured on the server's Settings page but can be manually started using this endpoint. Tasks will run with the following criteria:
- Any tasks not scheduled to run on the current day will be skipped.
- If a task is configured to run at a random time during the configured window and we are outside that window, the task will start immediately.
- If a task is configured to run at a random time during the configured window and we are within that window, the task will be scheduled at a random time within the window.
- If we are outside the configured window, the task will start immediately.
Returns a wrapper object for the known response body format(s).
Corresponds with POST /butler (the `ButlerPostSlash` operationId).
func (*ClientWithResponses) ButlerPostTaskWithResponse ¶
func (c *ClientWithResponses) ButlerPostTaskWithResponse(ctx context.Context, task ButlerPostTaskParamsTask, reqEditors ...RequestEditorFn) (*ButlerPostTaskResponse, error)
ButlerPostTaskWithResponse Start a single Butler task
This endpoint will attempt to start a specific Butler task by name.
Returns a wrapper object for the known response body format(s).
Corresponds with POST /butler/{task} (the `ButlerPostTask` operationId).
func (*ClientWithResponses) DeleteMediaProviderWithResponse ¶
func (c *ClientWithResponses) DeleteMediaProviderWithResponse(ctx context.Context, provider string, reqEditors ...RequestEditorFn) (*DeleteMediaProviderResponse, error)
DeleteMediaProviderWithResponse Delete a media provider
Deletes a media provider with the given id.
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /media/providers/{provider} (the `DeleteMediaProvider` operationId).
func (*ClientWithResponses) DeleteMetadataAgentProviderGroupItemWithResponse ¶
func (c *ClientWithResponses) DeleteMetadataAgentProviderGroupItemWithResponse(ctx context.Context, groupID int, providerID int, reqEditors ...RequestEditorFn) (*DeleteMetadataAgentProviderGroupItemResponse, error)
DeleteMetadataAgentProviderGroupItemWithResponse Delete a metadata agent provider group item
Deletes a metadata agent provider group item with the given id.
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /media/providers/metadata/group/{groupId}/items/{providerId} (the `DeleteMetadataAgentProviderGroupItem` operationId).
func (*ClientWithResponses) DeleteMetadataAgentProviderGroupWithResponse ¶
func (c *ClientWithResponses) DeleteMetadataAgentProviderGroupWithResponse(ctx context.Context, groupID int, reqEditors ...RequestEditorFn) (*DeleteMetadataAgentProviderGroupResponse, error)
DeleteMetadataAgentProviderGroupWithResponse Delete a metadata agent provider group
Deletes a metadata agent provider group with the given id. This will also delete any MetadataAgentGroupItem objects associated with the group.
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /media/providers/metadata/group/{groupId} (the `DeleteMetadataAgentProviderGroup` operationId).
func (*ClientWithResponses) DeleteMetadataAgentProviderWithResponse ¶
func (c *ClientWithResponses) DeleteMetadataAgentProviderWithResponse(ctx context.Context, providerID int, reqEditors ...RequestEditorFn) (*DeleteMetadataAgentProviderResponse, error)
DeleteMetadataAgentProviderWithResponse Delete a metadata agent provider
Deletes a metadata agent provider with the given id. This will fail if the provider is being used inside a MetadataAgentGroup.
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /media/providers/metadata/{providerId} (the `DeleteMetadataAgentProvider` operationId).
func (*ClientWithResponses) DownloadQueueDeleteQueueItemsItemWithResponse ¶
func (c *ClientWithResponses) DownloadQueueDeleteQueueItemsItemWithResponse(ctx context.Context, queueID int, itemID []int, reqEditors ...RequestEditorFn) (*DownloadQueueDeleteQueueItemsItemResponse, error)
DownloadQueueDeleteQueueItemsItemWithResponse Delete download queue items
delete items from a download queue.
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /downloadQueue/{queueId}/items/{itemId} (the `DownloadQueueDeleteQueueItemsItem` operationId).
func (*ClientWithResponses) DownloadQueueGetQueueItemItemDecisionWithResponse ¶
func (c *ClientWithResponses) DownloadQueueGetQueueItemItemDecisionWithResponse(ctx context.Context, queueID int, itemID int, reqEditors ...RequestEditorFn) (*DownloadQueueGetQueueItemItemDecisionResponse, error)
DownloadQueueGetQueueItemItemDecisionWithResponse Grab download queue item decision
Available: 0.2.0
Grab the decision for a download queue item ¶
Returns a wrapper object for the known response body format(s).
Corresponds with GET /downloadQueue/{queueId}/item/{itemId}/decision (the `DownloadQueueGetQueueItemItemDecision` operationId).
func (*ClientWithResponses) DownloadQueueGetQueueItemItemMediaWithResponse ¶
func (c *ClientWithResponses) DownloadQueueGetQueueItemItemMediaWithResponse(ctx context.Context, queueID int, itemID int, reqEditors ...RequestEditorFn) (*DownloadQueueGetQueueItemItemMediaResponse, error)
DownloadQueueGetQueueItemItemMediaWithResponse Grab download queue media
Available: 0.2.0
Grab the media for a download queue item ¶
Returns a wrapper object for the known response body format(s).
Corresponds with GET /downloadQueue/{queueId}/item/{itemId}/media (the `DownloadQueueGetQueueItemItemMedia` operationId).
func (*ClientWithResponses) DownloadQueueGetQueueItemsItemWithResponse ¶
func (c *ClientWithResponses) DownloadQueueGetQueueItemsItemWithResponse(ctx context.Context, queueID int, itemID []int, reqEditors ...RequestEditorFn) (*DownloadQueueGetQueueItemsItemResponse, error)
DownloadQueueGetQueueItemsItemWithResponse Get download queue items
Available: 0.2.0
Get items from a download queue ¶
Returns a wrapper object for the known response body format(s).
Corresponds with GET /downloadQueue/{queueId}/items/{itemId} (the `DownloadQueueGetQueueItemsItem` operationId).
func (*ClientWithResponses) DownloadQueueGetQueueItemsWithResponse ¶
func (c *ClientWithResponses) DownloadQueueGetQueueItemsWithResponse(ctx context.Context, queueID int, reqEditors ...RequestEditorFn) (*DownloadQueueGetQueueItemsResponse, error)
DownloadQueueGetQueueItemsWithResponse Get download queue items
Available: 0.2.0
Get items from a download queue ¶
Returns a wrapper object for the known response body format(s).
Corresponds with GET /downloadQueue/{queueId}/items (the `DownloadQueueGetQueueItems` operationId).
func (*ClientWithResponses) DownloadQueueGetQueueWithResponse ¶
func (c *ClientWithResponses) DownloadQueueGetQueueWithResponse(ctx context.Context, queueID int, reqEditors ...RequestEditorFn) (*DownloadQueueGetQueueResponse, error)
DownloadQueueGetQueueWithResponse Get a download queue
Available: 0.2.0
Get a download queue by its id ¶
Returns a wrapper object for the known response body format(s).
Corresponds with GET /downloadQueue/{queueId} (the `DownloadQueueGetQueue` operationId).
func (*ClientWithResponses) DownloadQueuePostQueueAddWithResponse ¶
func (c *ClientWithResponses) DownloadQueuePostQueueAddWithResponse(ctx context.Context, queueID int, params *DownloadQueuePostQueueAddParams, reqEditors ...RequestEditorFn) (*DownloadQueuePostQueueAddResponse, error)
DownloadQueuePostQueueAddWithResponse Add to download queue
Available: 0.2.0
Add items to the download queue ¶
Returns a wrapper object for the known response body format(s).
Corresponds with POST /downloadQueue/{queueId}/add (the `DownloadQueuePostQueueAdd` operationId).
func (*ClientWithResponses) DownloadQueuePostQueueItemsItemRestartWithResponse ¶
func (c *ClientWithResponses) DownloadQueuePostQueueItemsItemRestartWithResponse(ctx context.Context, queueID int, itemID []int, reqEditors ...RequestEditorFn) (*DownloadQueuePostQueueItemsItemRestartResponse, error)
DownloadQueuePostQueueItemsItemRestartWithResponse Restart processing of items from the decision
Available: 0.2.0
Reprocess download queue items with previous decision parameters ¶
Returns a wrapper object for the known response body format(s).
Corresponds with POST /downloadQueue/{queueId}/items/{itemId}/restart (the `DownloadQueuePostQueueItemsItemRestart` operationId).
func (*ClientWithResponses) DownloadQueuePostWithResponse ¶
func (c *ClientWithResponses) DownloadQueuePostWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DownloadQueuePostResponse, error)
DownloadQueuePostWithResponse Get or create a download queue
Available: 0.2.0
Get or create a download queue for this client by its client id and for this user as identified by the token ¶
Returns a wrapper object for the known response body format(s).
Corresponds with POST /downloadQueue (the `DownloadQueuePost` operationId).
func (*ClientWithResponses) EventsourceGetSlashWithResponse ¶
func (c *ClientWithResponses) EventsourceGetSlashWithResponse(ctx context.Context, params *EventsourceGetSlashParams, reqEditors ...RequestEditorFn) (*EventsourceGetSlashResponse, error)
EventsourceGetSlashWithResponse Connect to Eventsource
Connect to the event source to get a stream of events.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /:/eventsource/notifications (the `EventsourceGetSlash` operationId).
func (*ClientWithResponses) GetIdentityWithResponse ¶
func (c *ClientWithResponses) GetIdentityWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetIdentityResponse, error)
GetIdentityWithResponse Get PMS identity
Get details about this PMS's identity.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /identity (the `GetIdentity` operationId).
func (*ClientWithResponses) GetMediaProvidersWithResponse ¶
func (c *ClientWithResponses) GetMediaProvidersWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetMediaProvidersResponse, error)
GetMediaProvidersWithResponse Get the list of available media providers
Get the list of all available media providers for this PMS. This will generally include the library provider and possibly EPG if DVR is set up.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /media/providers (the `GetMediaProviders` operationId).
func (*ClientWithResponses) GetMetadataAgentProviderGroupWithResponse ¶
func (c *ClientWithResponses) GetMetadataAgentProviderGroupWithResponse(ctx context.Context, groupID int, reqEditors ...RequestEditorFn) (*GetMetadataAgentProviderGroupResponse, error)
GetMetadataAgentProviderGroupWithResponse Get a metadata agent provider group
Get the metadata agent provider group with the given id.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /media/providers/metadata/group/{groupId} (the `GetMetadataAgentProviderGroup` operationId).
func (*ClientWithResponses) GetMetadataAgentProviderGroupsWithResponse ¶
func (c *ClientWithResponses) GetMetadataAgentProviderGroupsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetMetadataAgentProviderGroupsResponse, error)
GetMetadataAgentProviderGroupsWithResponse Get the list of available metadata agent provider groups
Get the list of all available metadata agent provider groups for this PMS.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /media/providers/metadata/group (the `GetMetadataAgentProviderGroups` operationId).
func (*ClientWithResponses) GetMetadataAgentProviderWithResponse ¶
func (c *ClientWithResponses) GetMetadataAgentProviderWithResponse(ctx context.Context, providerID int, reqEditors ...RequestEditorFn) (*GetMetadataAgentProviderResponse, error)
GetMetadataAgentProviderWithResponse Get a metadata agent provider
Get the metadata agent provider with the given id.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /media/providers/metadata/{providerId} (the `GetMetadataAgentProvider` operationId).
func (*ClientWithResponses) GetMetadataAgentProvidersWithResponse ¶
func (c *ClientWithResponses) GetMetadataAgentProvidersWithResponse(ctx context.Context, params *GetMetadataAgentProvidersParams, reqEditors ...RequestEditorFn) (*GetMetadataAgentProvidersResponse, error)
GetMetadataAgentProvidersWithResponse Get the list of available metadata agent providers
Get the list of all available metadata agent providers for this PMS.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /media/providers/metadata (the `GetMetadataAgentProviders` operationId).
func (*ClientWithResponses) GetSlashWithResponse ¶
func (c *ClientWithResponses) GetSlashWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetSlashResponse, error)
GetSlashWithResponse Get PMS info
Information about this PMS setup and configuration.
Returns a wrapper object for the known response body format(s).
Corresponds with GET / (the `GetSlash` operationId).
func (*ClientWithResponses) HubsGetContinueWatchingWithResponse ¶
func (c *ClientWithResponses) HubsGetContinueWatchingWithResponse(ctx context.Context, params *HubsGetContinueWatchingParams, reqEditors ...RequestEditorFn) (*HubsGetContinueWatchingResponse, error)
HubsGetContinueWatchingWithResponse Get the continue watching hub
Get the global continue watching hub.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /hubs/continueWatching (the `HubsGetContinueWatching` operationId).
func (*ClientWithResponses) HubsGetItemsWithResponse ¶
func (c *ClientWithResponses) HubsGetItemsWithResponse(ctx context.Context, params *HubsGetItemsParams, reqEditors ...RequestEditorFn) (*HubsGetItemsResponse, error)
HubsGetItemsWithResponse Get a hub's items
Get the items within a single hub specified by identifier.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /hubs/items (the `HubsGetItems` operationId).
func (*ClientWithResponses) HubsGetMetadataMetadataPostplayWithResponse ¶
func (c *ClientWithResponses) HubsGetMetadataMetadataPostplayWithResponse(ctx context.Context, metadataID int, params *HubsGetMetadataMetadataPostplayParams, reqEditors ...RequestEditorFn) (*HubsGetMetadataMetadataPostplayResponse, error)
HubsGetMetadataMetadataPostplayWithResponse Get postplay hubs
Get the hubs for a metadata to be displayed in post play.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /hubs/metadata/{metadataId}/postplay (the `HubsGetMetadataMetadataPostplay` operationId).
func (*ClientWithResponses) HubsGetMetadataMetadataRelatedWithResponse ¶
func (c *ClientWithResponses) HubsGetMetadataMetadataRelatedWithResponse(ctx context.Context, metadataID int, params *HubsGetMetadataMetadataRelatedParams, reqEditors ...RequestEditorFn) (*HubsGetMetadataMetadataRelatedResponse, error)
HubsGetMetadataMetadataRelatedWithResponse Get related hubs
Get the hubs for a metadata related to the provided metadata item.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /hubs/metadata/{metadataId}/related (the `HubsGetMetadataMetadataRelated` operationId).
func (*ClientWithResponses) HubsGetMetadataMetadataWithResponse ¶
func (c *ClientWithResponses) HubsGetMetadataMetadataWithResponse(ctx context.Context, metadataID int, params *HubsGetMetadataMetadataParams, reqEditors ...RequestEditorFn) (*HubsGetMetadataMetadataResponse, error)
HubsGetMetadataMetadataWithResponse Get hubs for a section by metadata item
Get the hubs for a section by metadata item. Currently only for music sections
Returns a wrapper object for the known response body format(s).
Corresponds with GET /hubs/metadata/{metadataId} (the `HubsGetMetadataMetadata` operationId).
func (*ClientWithResponses) HubsGetPopularInLibrariesWithResponse ¶
func (c *ClientWithResponses) HubsGetPopularInLibrariesWithResponse(ctx context.Context, params *HubsGetPopularInLibrariesParams, reqEditors ...RequestEditorFn) (*HubsGetPopularInLibrariesResponse, error)
HubsGetPopularInLibrariesWithResponse Get the popular in your libraries hub
Get the global popular in your libraries hub.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /hubs/popularInLibraries (the `HubsGetPopularInLibraries` operationId).
func (*ClientWithResponses) HubsGetPromotedWithResponse ¶
func (c *ClientWithResponses) HubsGetPromotedWithResponse(ctx context.Context, params *HubsGetPromotedParams, reqEditors ...RequestEditorFn) (*HubsGetPromotedResponse, error)
HubsGetPromotedWithResponse Get the hubs which are promoted
Get the global hubs which are promoted (should be displayed on the home screen).
Returns a wrapper object for the known response body format(s).
Corresponds with GET /hubs/promoted (the `HubsGetPromoted` operationId).
func (*ClientWithResponses) HubsGetSearchWithResponse ¶
func (c *ClientWithResponses) HubsGetSearchWithResponse(ctx context.Context, params *HubsGetSearchParams, reqEditors ...RequestEditorFn) (*HubsGetSearchResponse, error)
HubsGetSearchWithResponse Search Hub
Perform a search and get the result as hubs ¶
This endpoint performs a search across all library sections, or a single section, and returns matches as hubs, split up by type. It performs spell checking, looks for partial matches, and orders the hubs based on quality of results. In addition, based on matches, it will return other related matches (e.g. for a genre match, it may return movies in that genre, or for an actor match, movies with that actor).
In the response's items, the following extra attributes are returned to further describe or disambiguate the result:
- `reason`: The reason for the result, if not because of a direct search term match; can be either:
- `section`: There are multiple identical results from different sections.
- `originalTitle`: There was a search term match from the original title field (sometimes those can be very different or in a foreign language).
- `<hub identifier>`: If the reason for the result is due to a result in another hub, the source hub identifier is returned. For example, if the search is for "dylan" then Bob Dylan may be returned as an artist result, an a few of his albums returned as album results with a reason code of `artist` (the identifier of that particular hub). Or if the search is for "arnold", there might be movie results returned with a reason of `actor`
- `reasonTitle`: The string associated with the reason code. For a section reason, it'll be the section name; For a hub identifier, it'll be a string associated with the match (e.g. `Arnold Schwarzenegger` for movies which were returned because the search was for "arnold"). - `reasonID`: The ID of the item associated with the reason for the result. This might be a section ID, a tag ID, an artist ID, or a show ID.
This request is intended to be very fast, and called as the user types.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /hubs/search (the `HubsGetSearch` operationId).
func (*ClientWithResponses) HubsGetSectionWithResponse ¶
func (c *ClientWithResponses) HubsGetSectionWithResponse(ctx context.Context, sectionID int, params *HubsGetSectionParams, reqEditors ...RequestEditorFn) (*HubsGetSectionResponse, error)
HubsGetSectionWithResponse Get section hubs
Get the hubs for a single section.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /hubs/sections/{sectionId} (the `HubsGetSection` operationId).
func (*ClientWithResponses) HubsGetSlashWithResponse ¶
func (c *ClientWithResponses) HubsGetSlashWithResponse(ctx context.Context, params *HubsGetSlashParams, reqEditors ...RequestEditorFn) (*HubsGetSlashResponse, error)
HubsGetSlashWithResponse Get global hubs
Get the global hubs in this PMS.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /hubs (the `HubsGetSlash` operationId).
func (*ClientWithResponses) HubsSearchGetVoiceWithResponse ¶
func (c *ClientWithResponses) HubsSearchGetVoiceWithResponse(ctx context.Context, params *HubsSearchGetVoiceParams, reqEditors ...RequestEditorFn) (*HubsSearchGetVoiceResponse, error)
HubsSearchGetVoiceWithResponse Voice Search Hub
Perform a search tailored to voice input and get the result as hubs ¶
This endpoint performs a search specifically tailored towards voice or other imprecise input which may work badly with the substring and spell-checking heuristics used by the `/hubs/search` endpoint. It uses a [Levenshtein distance](https://en.wikipedia.org/wiki/Levenshtein_distance) heuristic to search titles, and as such is much slower than the other search endpoint. Whenever possible, clients should limit the search to the appropriate type.
Results, as well as their containing per-type hubs, contain a `distance` attribute which can be used to judge result quality.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /hubs/search/voice (the `HubsSearchGetVoice` operationId).
func (*ClientWithResponses) HubsSectionsSectionManageDeleteIdentifierWithResponse ¶
func (c *ClientWithResponses) HubsSectionsSectionManageDeleteIdentifierWithResponse(ctx context.Context, sectionID int, identifier string, reqEditors ...RequestEditorFn) (*HubsSectionsSectionManageDeleteIdentifierResponse, error)
HubsSectionsSectionManageDeleteIdentifierWithResponse Delete a custom hub
Delete a custom hub from the server.
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /hubs/sections/{sectionId}/manage/{identifier} (the `HubsSectionsSectionManageDeleteIdentifier` operationId).
func (*ClientWithResponses) HubsSectionsSectionManageDeleteSlashWithResponse ¶
func (c *ClientWithResponses) HubsSectionsSectionManageDeleteSlashWithResponse(ctx context.Context, sectionID int, reqEditors ...RequestEditorFn) (*HubsSectionsSectionManageDeleteSlashResponse, error)
HubsSectionsSectionManageDeleteSlashWithResponse Reset hubs to defaults
Reset hubs for this section to defaults and delete custom hubs.
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /hubs/sections/{sectionId}/manage (the `HubsSectionsSectionManageDeleteSlash` operationId).
func (*ClientWithResponses) HubsSectionsSectionManageGetSlashWithResponse ¶
func (c *ClientWithResponses) HubsSectionsSectionManageGetSlashWithResponse(ctx context.Context, sectionID int, params *HubsSectionsSectionManageGetSlashParams, reqEditors ...RequestEditorFn) (*HubsSectionsSectionManageGetSlashResponse, error)
HubsSectionsSectionManageGetSlashWithResponse Get hubs
Get the list of hubs including both built-in and custom.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /hubs/sections/{sectionId}/manage (the `HubsSectionsSectionManageGetSlash` operationId).
func (*ClientWithResponses) HubsSectionsSectionManagePostSlashWithResponse ¶
func (c *ClientWithResponses) HubsSectionsSectionManagePostSlashWithResponse(ctx context.Context, sectionID int, params *HubsSectionsSectionManagePostSlashParams, reqEditors ...RequestEditorFn) (*HubsSectionsSectionManagePostSlashResponse, error)
HubsSectionsSectionManagePostSlashWithResponse Create a custom hub
Create a custom hub based on a metadata item.
Returns a wrapper object for the known response body format(s).
Corresponds with POST /hubs/sections/{sectionId}/manage (the `HubsSectionsSectionManagePostSlash` operationId).
func (*ClientWithResponses) HubsSectionsSectionManagePutIdentifierWithResponse ¶
func (c *ClientWithResponses) HubsSectionsSectionManagePutIdentifierWithResponse(ctx context.Context, sectionID int, identifier string, params *HubsSectionsSectionManagePutIdentifierParams, reqEditors ...RequestEditorFn) (*HubsSectionsSectionManagePutIdentifierResponse, error)
HubsSectionsSectionManagePutIdentifierWithResponse Change hub visibility
Changed the visibility of a hub for both the admin and shared users.
Returns a wrapper object for the known response body format(s).
Corresponds with PUT /hubs/sections/{sectionId}/manage/{identifier} (the `HubsSectionsSectionManagePutIdentifier` operationId).
func (*ClientWithResponses) HubsSectionsSectionManagePutMoveWithResponse ¶
func (c *ClientWithResponses) HubsSectionsSectionManagePutMoveWithResponse(ctx context.Context, sectionID int, params *HubsSectionsSectionManagePutMoveParams, reqEditors ...RequestEditorFn) (*HubsSectionsSectionManagePutMoveResponse, error)
HubsSectionsSectionManagePutMoveWithResponse Move Hub
Changed the ordering of a hub among others hubs.
Returns a wrapper object for the known response body format(s).
Corresponds with PUT /hubs/sections/{sectionId}/manage/move (the `HubsSectionsSectionManagePutMove` operationId).
func (*ClientWithResponses) ImageTranscodeWithResponse ¶
func (c *ClientWithResponses) ImageTranscodeWithResponse(ctx context.Context, params *ImageTranscodeParams, reqEditors ...RequestEditorFn) (*ImageTranscodeResponse, error)
ImageTranscodeWithResponse Transcode an image
Transcode an image, possibly changing format or size ¶
Returns a wrapper object for the known response body format(s).
Corresponds with GET /photo/:/transcode (the `ImageTranscode` operationId).
func (*ClientWithResponses) LibraryCollectionCollectionGetCompositeWithResponse ¶
func (c *ClientWithResponses) LibraryCollectionCollectionGetCompositeWithResponse(ctx context.Context, collectionID int, updatedAt int, params *LibraryCollectionCollectionGetCompositeParams, reqEditors ...RequestEditorFn) (*LibraryCollectionCollectionGetCompositeResponse, error)
LibraryCollectionCollectionGetCompositeWithResponse Get a collection's image
Get an image for the collection based on the items within.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /library/collections/{collectionId}/composite/{updatedAt} (the `LibraryCollectionCollectionGetComposite` operationId).
func (*ClientWithResponses) LibraryCollectionCollectionGetItemsWithResponse ¶
func (c *ClientWithResponses) LibraryCollectionCollectionGetItemsWithResponse(ctx context.Context, collectionID int, reqEditors ...RequestEditorFn) (*LibraryCollectionCollectionGetItemsResponse, error)
LibraryCollectionCollectionGetItemsWithResponse Get items in a collection
Get items in a collection. Note if this collection contains more than 100 items, paging must be used.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /library/collections/{collectionId}/items (the `LibraryCollectionCollectionGetItems` operationId).
func (*ClientWithResponses) LibraryCollectionCollectionPutItemsItemMoveWithResponse ¶
func (c *ClientWithResponses) LibraryCollectionCollectionPutItemsItemMoveWithResponse(ctx context.Context, collectionID int, itemID int, params *LibraryCollectionCollectionPutItemsItemMoveParams, reqEditors ...RequestEditorFn) (*LibraryCollectionCollectionPutItemsItemMoveResponse, error)
LibraryCollectionCollectionPutItemsItemMoveWithResponse Reorder an item in the collection
Reorder items in a collection with one item after another.
Returns a wrapper object for the known response body format(s).
Corresponds with PUT /library/collections/{collectionId}/items/{itemId}/move (the `LibraryCollectionCollectionPutItemsItemMove` operationId).
func (*ClientWithResponses) LibraryCollectionCollectionPutItemsItemWithResponse ¶
func (c *ClientWithResponses) LibraryCollectionCollectionPutItemsItemWithResponse(ctx context.Context, collectionID int, itemID int, reqEditors ...RequestEditorFn) (*LibraryCollectionCollectionPutItemsItemResponse, error)
LibraryCollectionCollectionPutItemsItemWithResponse Delete an item from a collection
Returns a wrapper object for the known response body format(s).
Corresponds with PUT /library/collections/{collectionId}/items/{itemId} (the `LibraryCollectionCollectionPutItemsItem` operationId).
func (*ClientWithResponses) LibraryCollectionCollectionPutItemsWithResponse ¶
func (c *ClientWithResponses) LibraryCollectionCollectionPutItemsWithResponse(ctx context.Context, collectionID int, params *LibraryCollectionCollectionPutItemsParams, reqEditors ...RequestEditorFn) (*LibraryCollectionCollectionPutItemsResponse, error)
LibraryCollectionCollectionPutItemsWithResponse Add items to a collection
Add items to a collection by uri.
Returns a wrapper object for the known response body format(s).
Corresponds with PUT /library/collections/{collectionId}/items (the `LibraryCollectionCollectionPutItems` operationId).
func (*ClientWithResponses) LibraryCollectionPostSlashWithResponse ¶
func (c *ClientWithResponses) LibraryCollectionPostSlashWithResponse(ctx context.Context, params *LibraryCollectionPostSlashParams, reqEditors ...RequestEditorFn) (*LibraryCollectionPostSlashResponse, error)
LibraryCollectionPostSlashWithResponse Create a collection
Create a collection in the library.
Returns a wrapper object for the known response body format(s).
Corresponds with POST /library/collections (the `LibraryCollectionPostSlash` operationId).
func (*ClientWithResponses) LibraryDeleteCachesWithResponse ¶
func (c *ClientWithResponses) LibraryDeleteCachesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*LibraryDeleteCachesResponse, error)
LibraryDeleteCachesWithResponse Delete library caches
Delete the hub caches so they are recomputed on next request.
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /library/caches (the `LibraryDeleteCaches` operationId).
func (*ClientWithResponses) LibraryDeleteSectionWithResponse ¶
func (c *ClientWithResponses) LibraryDeleteSectionWithResponse(ctx context.Context, sectionID string, params *LibraryDeleteSectionParams, reqEditors ...RequestEditorFn) (*LibraryDeleteSectionResponse, error)
LibraryDeleteSectionWithResponse Delete a library section
Delete a library section by id.
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /library/sections/{sectionId} (the `LibraryDeleteSection` operationId).
func (*ClientWithResponses) LibraryDeleteSectionsAllRefreshWithResponse ¶
func (c *ClientWithResponses) LibraryDeleteSectionsAllRefreshWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*LibraryDeleteSectionsAllRefreshResponse, error)
LibraryDeleteSectionsAllRefreshWithResponse Stop refresh
Stop all refreshes across all sections.
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /library/sections/all/refresh (the `LibraryDeleteSectionsAllRefresh` operationId).
func (*ClientWithResponses) LibraryDeleteStreamsStreamWithResponse ¶
func (c *ClientWithResponses) LibraryDeleteStreamsStreamWithResponse(ctx context.Context, streamID int, ext string, reqEditors ...RequestEditorFn) (*LibraryDeleteStreamsStreamResponse, error)
LibraryDeleteStreamsStreamWithResponse Delete a stream
Delete a stream. Only applies to downloaded subtitle streams or a sidecar subtitle when media deletion is enabled.
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /library/streams/{streamId}.{ext} (the `LibraryDeleteStreamsStream` operationId).
func (*ClientWithResponses) LibraryGetAllWithResponse ¶
func (c *ClientWithResponses) LibraryGetAllWithResponse(ctx context.Context, params *LibraryGetAllParams, reqEditors ...RequestEditorFn) (*LibraryGetAllResponse, error)
LibraryGetAllWithResponse Get all items in library
Request all metadata items according to a query.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /library/all (the `LibraryGetAll` operationId).
func (*ClientWithResponses) LibraryGetMatchesWithResponse ¶
func (c *ClientWithResponses) LibraryGetMatchesWithResponse(ctx context.Context, params *LibraryGetMatchesParams, reqEditors ...RequestEditorFn) (*LibraryGetMatchesResponse, error)
LibraryGetMatchesWithResponse Get library matches
The matches endpoint is used to match content external to the library with content inside the library. This is done by passing a series of semantic "hints" about the content (its type, name, or release year). Each type (e.g. movie) has a canonical set of minimal required hints. This ability to match content is useful in a variety of scenarios. For example, in the DVR, the EPG uses the endpoint to match recording rules against airing content. And in the cloud, the UMP uses the endpoint to match up a piece of media with rich metadata. The endpoint response can including multiple matches, if there is ambiguity, each one containing a `score` from 0 to 100. For somewhat historical reasons, anything over 85 is considered a positive match (we prefer false negatives over false positives in general for matching). The `guid` hint is somewhat special, in that it generally represents a unique identity for a piece of media (e.g. the IMDB `ttXXX`) identifier, in contrast with other hints which can be much more ambiguous (e.g. a title of `Jane Eyre`, which could refer to the 1943 or the 2011 version). Episodes require either a season/episode pair, or an air date (or both). Either the path must be sent, or the show title
Returns a wrapper object for the known response body format(s).
Corresponds with GET /library/matches (the `LibraryGetMatches` operationId).
func (*ClientWithResponses) LibraryGetMediaMediaChapterImagesChapterWithResponse ¶
func (c *ClientWithResponses) LibraryGetMediaMediaChapterImagesChapterWithResponse(ctx context.Context, mediaID int, chapter int, reqEditors ...RequestEditorFn) (*LibraryGetMediaMediaChapterImagesChapterResponse, error)
LibraryGetMediaMediaChapterImagesChapterWithResponse Get a chapter image
Get a single chapter image for a piece of media.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /library/media/{mediaId}/chapterImages/{chapter} (the `LibraryGetMediaMediaChapterImagesChapter` operationId).
func (*ClientWithResponses) LibraryGetMetadataAugmentationsAugmentationWithResponse ¶
func (c *ClientWithResponses) LibraryGetMetadataAugmentationsAugmentationWithResponse(ctx context.Context, augmentationID string, params *LibraryGetMetadataAugmentationsAugmentationParams, reqEditors ...RequestEditorFn) (*LibraryGetMetadataAugmentationsAugmentationResponse, error)
LibraryGetMetadataAugmentationsAugmentationWithResponse Get augmentation status
Get augmentation status and potentially wait for completion.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /library/metadata/augmentations/{augmentationId} (the `LibraryGetMetadataAugmentationsAugmentation` operationId).
func (*ClientWithResponses) LibraryGetPartsPartChangestampFilenameWithResponse ¶
func (c *ClientWithResponses) LibraryGetPartsPartChangestampFilenameWithResponse(ctx context.Context, partID int, changestamp int, filename string, params *LibraryGetPartsPartChangestampFilenameParams, reqEditors ...RequestEditorFn) (*LibraryGetPartsPartChangestampFilenameResponse, error)
LibraryGetPartsPartChangestampFilenameWithResponse Get a media part
Get a media part for streaming or download.
- streaming: This is the default scenario. Bandwidth usage on this endpoint will be guaranteed (on the server's end) to be at least the bandwidth reservation given in the decision. If no decision exists, an ad-hoc decision will be created if sufficient bandwidth exists. Clients should not rely on ad-hoc decisions being made as this may be removed in the future.
- download: Indicated if the query parameter indicates this is a download. Bandwidth will be prioritized behind playbacks and will get a fair share of what remains.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /library/parts/{partId}/{changestamp}/{filename} (the `LibraryGetPartsPartChangestampFilename` operationId).
func (*ClientWithResponses) LibraryGetPartsPartIndexesIndexOffsetWithResponse ¶
func (c *ClientWithResponses) LibraryGetPartsPartIndexesIndexOffsetWithResponse(ctx context.Context, partID int, index LibraryGetPartsPartIndexesIndexOffsetParamsIndex, offset int, reqEditors ...RequestEditorFn) (*LibraryGetPartsPartIndexesIndexOffsetResponse, error)
LibraryGetPartsPartIndexesIndexOffsetWithResponse Get an image from part BIF
Extract an image from the BIF for a part at a particular offset.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /library/parts/{partId}/indexes/{index}/{offset} (the `LibraryGetPartsPartIndexesIndexOffset` operationId).
func (*ClientWithResponses) LibraryGetPartsPartIndexesIndexWithResponse ¶
func (c *ClientWithResponses) LibraryGetPartsPartIndexesIndexWithResponse(ctx context.Context, partID int, index LibraryGetPartsPartIndexesIndexParamsIndex, params *LibraryGetPartsPartIndexesIndexParams, reqEditors ...RequestEditorFn) (*LibraryGetPartsPartIndexesIndexResponse, error)
LibraryGetPartsPartIndexesIndexWithResponse Get BIF index for a part
Get BIF index for a part by index type.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /library/parts/{partId}/indexes/{index} (the `LibraryGetPartsPartIndexesIndex` operationId).
func (*ClientWithResponses) LibraryGetPeoplePersonMediaWithResponse ¶
func (c *ClientWithResponses) LibraryGetPeoplePersonMediaWithResponse(ctx context.Context, personID struct { union json.RawMessage }, reqEditors ...RequestEditorFn) (*LibraryGetPeoplePersonMediaResponse, error)
LibraryGetPeoplePersonMediaWithResponse Get media for a person
Get all the media for a single actor.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /library/people/{personId}/media (the `LibraryGetPeoplePersonMedia` operationId).
func (*ClientWithResponses) LibraryGetPeoplePersonWithResponse ¶
func (c *ClientWithResponses) LibraryGetPeoplePersonWithResponse(ctx context.Context, personID struct { union json.RawMessage }, reqEditors ...RequestEditorFn) (*LibraryGetPeoplePersonResponse, error)
LibraryGetPeoplePersonWithResponse Get person details
Get details for a single actor.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /library/people/{personId} (the `LibraryGetPeoplePerson` operationId).
func (*ClientWithResponses) LibraryGetRandomArtworkWithResponse ¶
func (c *ClientWithResponses) LibraryGetRandomArtworkWithResponse(ctx context.Context, params *LibraryGetRandomArtworkParams, reqEditors ...RequestEditorFn) (*LibraryGetRandomArtworkResponse, error)
LibraryGetRandomArtworkWithResponse Get random artwork
Get random artwork across sections. This is commonly used for a screensaver.
This retrieves 100 random artwork paths in the specified sections and returns them. Restrictions are put in place to not return artwork for items the user is not allowed to access. Artwork will be for Movies, Shows, and Artists only.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /library/randomArtwork (the `LibraryGetRandomArtwork` operationId).
func (*ClientWithResponses) LibraryGetSectionsPrefsWithResponse ¶
func (c *ClientWithResponses) LibraryGetSectionsPrefsWithResponse(ctx context.Context, params *LibraryGetSectionsPrefsParams, reqEditors ...RequestEditorFn) (*LibraryGetSectionsPrefsResponse, error)
LibraryGetSectionsPrefsWithResponse Get section prefs
Get a section's preferences for a metadata type.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /library/sections/prefs (the `LibraryGetSectionsPrefs` operationId).
func (*ClientWithResponses) LibraryGetSectionsWithResponse ¶
func (c *ClientWithResponses) LibraryGetSectionsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*LibraryGetSectionsResponse, error)
LibraryGetSectionsWithResponse Get library sections (main Media Provider Only)
A library section (commonly referred to as just a library) is a collection of media. Libraries are typed, and depending on their type provide either a flat or a hierarchical view of the media. For example, a music library has an artist > albums > tracks structure, whereas a movie library is flat. Libraries have features beyond just being a collection of media; for starters, they include information about supported types, filters and sorts. This allows a client to provide a rich interface around the media (e.g. allow sorting movies by release year).
Returns a wrapper object for the known response body format(s).
Corresponds with GET /library/sections/all (the `LibraryGetSections` operationId).
func (*ClientWithResponses) LibraryGetStreamsStreamLevelsWithResponse ¶
func (c *ClientWithResponses) LibraryGetStreamsStreamLevelsWithResponse(ctx context.Context, streamID int, params *LibraryGetStreamsStreamLevelsParams, reqEditors ...RequestEditorFn) (*LibraryGetStreamsStreamLevelsResponse, error)
LibraryGetStreamsStreamLevelsWithResponse Get loudness about a stream in json
The the loudness of a stream in db, one entry per 100ms ¶
Returns a wrapper object for the known response body format(s).
Corresponds with GET /library/streams/{streamId}/levels (the `LibraryGetStreamsStreamLevels` operationId).
func (*ClientWithResponses) LibraryGetStreamsStreamLoudnessWithResponse ¶
func (c *ClientWithResponses) LibraryGetStreamsStreamLoudnessWithResponse(ctx context.Context, streamID int, params *LibraryGetStreamsStreamLoudnessParams, reqEditors ...RequestEditorFn) (*LibraryGetStreamsStreamLoudnessResponse, error)
LibraryGetStreamsStreamLoudnessWithResponse Get loudness about a stream
The the loudness of a stream in db, one number per line, one entry per 100ms ¶
Returns a wrapper object for the known response body format(s).
Corresponds with GET /library/streams/{streamId}/loudness (the `LibraryGetStreamsStreamLoudness` operationId).
func (*ClientWithResponses) LibraryGetStreamsStreamWithResponse ¶
func (c *ClientWithResponses) LibraryGetStreamsStreamWithResponse(ctx context.Context, streamID int, ext string, params *LibraryGetStreamsStreamParams, reqEditors ...RequestEditorFn) (*LibraryGetStreamsStreamResponse, error)
LibraryGetStreamsStreamWithResponse Get a stream
Get a stream (such a a sidecar subtitle stream).
Returns a wrapper object for the known response body format(s).
Corresponds with GET /library/streams/{streamId}.{ext} (the `LibraryGetStreamsStream` operationId).
func (*ClientWithResponses) LibraryGetTagsWithResponse ¶
func (c *ClientWithResponses) LibraryGetTagsWithResponse(ctx context.Context, params *LibraryGetTagsParams, reqEditors ...RequestEditorFn) (*LibraryGetTagsResponse, error)
LibraryGetTagsWithResponse Get all library tags of a type
Returns a wrapper object for the known response body format(s).
Corresponds with GET /library/tags (the `LibraryGetTags` operationId).
func (*ClientWithResponses) LibraryMetadataDeleteElementWithResponse ¶
func (c *ClientWithResponses) LibraryMetadataDeleteElementWithResponse(ctx context.Context, ids string, element LibraryMetadataDeleteElementParamsElement, reqEditors ...RequestEditorFn) (*LibraryMetadataDeleteElementResponse, error)
LibraryMetadataDeleteElementWithResponse Delete an item's artwork, theme, etc
Delete the artwork, thumb, element for a metadata item This operation will also lock the field. 'thumb' images for video items will be reset to a screengrab of the video after a refresh. Generally only the admin can perform this action. The exception is if the metadata is a playlist created by the user
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /library/metadata/{ids}/{element} (the `LibraryMetadataDeleteElement` operationId).
func (*ClientWithResponses) LibraryMetadataDeleteMarkerMarkerWithResponse ¶
func (c *ClientWithResponses) LibraryMetadataDeleteMarkerMarkerWithResponse(ctx context.Context, ids string, marker string, reqEditors ...RequestEditorFn) (*LibraryMetadataDeleteMarkerMarkerResponse, error)
LibraryMetadataDeleteMarkerMarkerWithResponse Delete a marker
Delete a marker for this user on the metadata item.
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /library/metadata/{ids}/marker/{marker} (the `LibraryMetadataDeleteMarkerMarker` operationId).
func (*ClientWithResponses) LibraryMetadataDeleteMediaMediaItemWithResponse ¶
func (c *ClientWithResponses) LibraryMetadataDeleteMediaMediaItemWithResponse(ctx context.Context, ids string, mediaItem string, params *LibraryMetadataDeleteMediaMediaItemParams, reqEditors ...RequestEditorFn) (*LibraryMetadataDeleteMediaMediaItemResponse, error)
LibraryMetadataDeleteMediaMediaItemWithResponse Delete a media item
Delete a single media from a metadata item in the library.
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /library/metadata/{ids}/media/{mediaItem} (the `LibraryMetadataDeleteMediaMediaItem` operationId).
func (*ClientWithResponses) LibraryMetadataDeleteSlashWithResponse ¶
func (c *ClientWithResponses) LibraryMetadataDeleteSlashWithResponse(ctx context.Context, ids string, params *LibraryMetadataDeleteSlashParams, reqEditors ...RequestEditorFn) (*LibraryMetadataDeleteSlashResponse, error)
LibraryMetadataDeleteSlashWithResponse Delete a metadata item
Delete a single metadata item from the library, deleting media as well ¶
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /library/metadata/{ids} (the `LibraryMetadataDeleteSlash` operationId).
func (*ClientWithResponses) LibraryMetadataGetAllLeavesWithResponse ¶
func (c *ClientWithResponses) LibraryMetadataGetAllLeavesWithResponse(ctx context.Context, ids string, reqEditors ...RequestEditorFn) (*LibraryMetadataGetAllLeavesResponse, error)
LibraryMetadataGetAllLeavesWithResponse Get the leaves of an item
Get the leaves for a metadata item such as the episodes in a show.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /library/metadata/{ids}/allLeaves (the `LibraryMetadataGetAllLeaves` operationId).
func (*ClientWithResponses) LibraryMetadataGetElementWithResponse ¶
func (c *ClientWithResponses) LibraryMetadataGetElementWithResponse(ctx context.Context, ids string, element LibraryMetadataGetElementParamsElement, timestamp int, reqEditors ...RequestEditorFn) (*LibraryMetadataGetElementResponse, error)
LibraryMetadataGetElementWithResponse Get an item's artwork, theme, etc
Get the artwork, thumb, element for a metadata item ¶
Returns a wrapper object for the known response body format(s).
Corresponds with GET /library/metadata/{ids}/{element}/{timestamp} (the `LibraryMetadataGetElement` operationId).
func (*ClientWithResponses) LibraryMetadataGetExtrasWithResponse ¶
func (c *ClientWithResponses) LibraryMetadataGetExtrasWithResponse(ctx context.Context, ids string, reqEditors ...RequestEditorFn) (*LibraryMetadataGetExtrasResponse, error)
LibraryMetadataGetExtrasWithResponse Get an item's extras
Get the extras for a metadata item.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /library/metadata/{ids}/extras (the `LibraryMetadataGetExtras` operationId).
func (*ClientWithResponses) LibraryMetadataGetFileWithResponse ¶
func (c *ClientWithResponses) LibraryMetadataGetFileWithResponse(ctx context.Context, ids string, params *LibraryMetadataGetFileParams, reqEditors ...RequestEditorFn) (*LibraryMetadataGetFileResponse, error)
LibraryMetadataGetFileWithResponse Get a file from a metadata or media bundle
Get a bundle file for a metadata or media item. This is either an image or a mp3 (for a show's theme)
Returns a wrapper object for the known response body format(s).
Corresponds with GET /library/metadata/{ids}/file (the `LibraryMetadataGetFile` operationId).
func (*ClientWithResponses) LibraryMetadataGetMatchesWithResponse ¶
func (c *ClientWithResponses) LibraryMetadataGetMatchesWithResponse(ctx context.Context, ids string, params *LibraryMetadataGetMatchesParams, reqEditors ...RequestEditorFn) (*LibraryMetadataGetMatchesResponse, error)
LibraryMetadataGetMatchesWithResponse Get metadata matches for an item
Get the list of metadata matches for a metadata item.
Returns a wrapper object for the known response body format(s).
Corresponds with PUT /library/metadata/{ids}/matches (the `LibraryMetadataGetMatches` operationId).
func (*ClientWithResponses) LibraryMetadataGetNearestWithResponse ¶
func (c *ClientWithResponses) LibraryMetadataGetNearestWithResponse(ctx context.Context, ids string, params *LibraryMetadataGetNearestParams, reqEditors ...RequestEditorFn) (*LibraryMetadataGetNearestResponse, error)
LibraryMetadataGetNearestWithResponse Get nearest tracks to metadata item
Get the nearest tracks, sonically, to the provided track ¶
Returns a wrapper object for the known response body format(s).
Corresponds with GET /library/metadata/{ids}/nearest (the `LibraryMetadataGetNearest` operationId).
func (*ClientWithResponses) LibraryMetadataGetRelatedWithResponse ¶
func (c *ClientWithResponses) LibraryMetadataGetRelatedWithResponse(ctx context.Context, ids string, reqEditors ...RequestEditorFn) (*LibraryMetadataGetRelatedResponse, error)
LibraryMetadataGetRelatedWithResponse Get related items
Get a hub of related items to a metadata item.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /library/metadata/{ids}/related (the `LibraryMetadataGetRelated` operationId).
func (*ClientWithResponses) LibraryMetadataGetSimilarWithResponse ¶
func (c *ClientWithResponses) LibraryMetadataGetSimilarWithResponse(ctx context.Context, ids string, params *LibraryMetadataGetSimilarParams, reqEditors ...RequestEditorFn) (*LibraryMetadataGetSimilarResponse, error)
LibraryMetadataGetSimilarWithResponse Get similar items
Get a list of similar items to a metadata item.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /library/metadata/{ids}/similar (the `LibraryMetadataGetSimilar` operationId).
func (*ClientWithResponses) LibraryMetadataGetSlashWithResponse ¶
func (c *ClientWithResponses) LibraryMetadataGetSlashWithResponse(ctx context.Context, ids []string, params *LibraryMetadataGetSlashParams, reqEditors ...RequestEditorFn) (*LibraryMetadataGetSlashResponse, error)
LibraryMetadataGetSlashWithResponse Get a metadata item
Get one or more metadata items.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /library/metadata/{ids} (the `LibraryMetadataGetSlash` operationId).
func (*ClientWithResponses) LibraryMetadataGetTreeWithResponse ¶
func (c *ClientWithResponses) LibraryMetadataGetTreeWithResponse(ctx context.Context, ids string, reqEditors ...RequestEditorFn) (*LibraryMetadataGetTreeResponse, error)
LibraryMetadataGetTreeWithResponse Get metadata items as a tree
Get a tree of metadata items, such as the seasons/episodes of a show
Returns a wrapper object for the known response body format(s).
Corresponds with GET /library/metadata/{ids}/tree (the `LibraryMetadataGetTree` operationId).
func (*ClientWithResponses) LibraryMetadataGetUsersTopWithResponse ¶
func (c *ClientWithResponses) LibraryMetadataGetUsersTopWithResponse(ctx context.Context, ids string, reqEditors ...RequestEditorFn) (*LibraryMetadataGetUsersTopResponse, error)
LibraryMetadataGetUsersTopWithResponse Get metadata top users
Get the list of users which have played this item starting with the most.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /library/metadata/{ids}/users/top (the `LibraryMetadataGetUsersTop` operationId).
func (*ClientWithResponses) LibraryMetadataPostElementWithResponse ¶
func (c *ClientWithResponses) LibraryMetadataPostElementWithResponse(ctx context.Context, ids string, element LibraryMetadataPostElementParamsElement, params *LibraryMetadataPostElementParams, reqEditors ...RequestEditorFn) (*LibraryMetadataPostElementResponse, error)
LibraryMetadataPostElementWithResponse Set an item's artwork, theme, etc
Set the artwork, thumb, element for a metadata item Generally only the admin can perform this action. The exception is if the metadata is a playlist created by the user
Returns a wrapper object for the known response body format(s).
Corresponds with POST /library/metadata/{ids}/{element} (the `LibraryMetadataPostElement` operationId).
func (*ClientWithResponses) LibraryMetadataPostExtrasWithResponse ¶
func (c *ClientWithResponses) LibraryMetadataPostExtrasWithResponse(ctx context.Context, ids string, params *LibraryMetadataPostExtrasParams, reqEditors ...RequestEditorFn) (*LibraryMetadataPostExtrasResponse, error)
LibraryMetadataPostExtrasWithResponse Add to an item's extras
Add an extra to a metadata item.
Returns a wrapper object for the known response body format(s).
Corresponds with POST /library/metadata/{ids}/extras (the `LibraryMetadataPostExtras` operationId).
func (*ClientWithResponses) LibraryMetadataPostMarkerWithResponse ¶
func (c *ClientWithResponses) LibraryMetadataPostMarkerWithResponse(ctx context.Context, ids string, params *LibraryMetadataPostMarkerParams, reqEditors ...RequestEditorFn) (*LibraryMetadataPostMarkerResponse, error)
LibraryMetadataPostMarkerWithResponse Create a marker
Create a marker for this user on the metadata item.
Returns a wrapper object for the known response body format(s).
Corresponds with POST /library/metadata/{ids}/marker (the `LibraryMetadataPostMarker` operationId).
func (*ClientWithResponses) LibraryMetadataPostSubtitlesWithResponse ¶
func (c *ClientWithResponses) LibraryMetadataPostSubtitlesWithResponse(ctx context.Context, ids string, params *LibraryMetadataPostSubtitlesParams, reqEditors ...RequestEditorFn) (*LibraryMetadataPostSubtitlesResponse, error)
LibraryMetadataPostSubtitlesWithResponse Add subtitles
Add a subtitle to a metadata item.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /library/metadata/{ids}/subtitles (the `LibraryMetadataPostSubtitles` operationId).
func (*ClientWithResponses) LibraryMetadataPutAddetectWithResponse ¶
func (c *ClientWithResponses) LibraryMetadataPutAddetectWithResponse(ctx context.Context, ids string, reqEditors ...RequestEditorFn) (*LibraryMetadataPutAddetectResponse, error)
LibraryMetadataPutAddetectWithResponse Ad-detect an item
Start the detection of ads in a metadata item.
Returns a wrapper object for the known response body format(s).
Corresponds with PUT /library/metadata/{ids}/addetect (the `LibraryMetadataPutAddetect` operationId).
func (*ClientWithResponses) LibraryMetadataPutAnalyzeLoudnessWithResponse ¶
func (c *ClientWithResponses) LibraryMetadataPutAnalyzeLoudnessWithResponse(ctx context.Context, ids string, params *LibraryMetadataPutAnalyzeLoudnessParams, reqEditors ...RequestEditorFn) (*LibraryMetadataPutAnalyzeLoudnessResponse, error)
LibraryMetadataPutAnalyzeLoudnessWithResponse Detect loudness of audio streams
Detect loudness properties of all audio streams.
Returns a wrapper object for the known response body format(s).
Corresponds with PUT /library/metadata/{ids}/analyzeLoudness (the `LibraryMetadataPutAnalyzeLoudness` operationId).
func (*ClientWithResponses) LibraryMetadataPutAnalyzeWithResponse ¶
func (c *ClientWithResponses) LibraryMetadataPutAnalyzeWithResponse(ctx context.Context, ids string, params *LibraryMetadataPutAnalyzeParams, reqEditors ...RequestEditorFn) (*LibraryMetadataPutAnalyzeResponse, error)
LibraryMetadataPutAnalyzeWithResponse Analyze an item
Start the analysis of a metadata item.
Returns a wrapper object for the known response body format(s).
Corresponds with PUT /library/metadata/{ids}/analyze (the `LibraryMetadataPutAnalyze` operationId).
func (*ClientWithResponses) LibraryMetadataPutChapterThumbsWithResponse ¶
func (c *ClientWithResponses) LibraryMetadataPutChapterThumbsWithResponse(ctx context.Context, ids string, params *LibraryMetadataPutChapterThumbsParams, reqEditors ...RequestEditorFn) (*LibraryMetadataPutChapterThumbsResponse, error)
LibraryMetadataPutChapterThumbsWithResponse Generate thumbs of chapters for an item
Start the chapter thumb generation for an item.
Returns a wrapper object for the known response body format(s).
Corresponds with PUT /library/metadata/{ids}/chapterThumbs (the `LibraryMetadataPutChapterThumbs` operationId).
func (*ClientWithResponses) LibraryMetadataPutCreditsWithResponse ¶
func (c *ClientWithResponses) LibraryMetadataPutCreditsWithResponse(ctx context.Context, ids string, params *LibraryMetadataPutCreditsParams, reqEditors ...RequestEditorFn) (*LibraryMetadataPutCreditsResponse, error)
LibraryMetadataPutCreditsWithResponse Credit detect a metadata item
Start credit detection on a metadata item.
Returns a wrapper object for the known response body format(s).
Corresponds with PUT /library/metadata/{ids}/credits (the `LibraryMetadataPutCredits` operationId).
func (*ClientWithResponses) LibraryMetadataPutElementWithResponse ¶
func (c *ClientWithResponses) LibraryMetadataPutElementWithResponse(ctx context.Context, ids string, element LibraryMetadataPutElementParamsElement, params *LibraryMetadataPutElementParams, reqEditors ...RequestEditorFn) (*LibraryMetadataPutElementResponse, error)
LibraryMetadataPutElementWithResponse Set an item's artwork, theme, etc
Set the artwork, thumb, element for a metadata item Generally only the admin can perform this action. The exception is if the metadata is a playlist created by the user
Returns a wrapper object for the known response body format(s).
Corresponds with PUT /library/metadata/{ids}/{element} (the `LibraryMetadataPutElement` operationId).
func (*ClientWithResponses) LibraryMetadataPutIndexWithResponse ¶
func (c *ClientWithResponses) LibraryMetadataPutIndexWithResponse(ctx context.Context, ids string, params *LibraryMetadataPutIndexParams, reqEditors ...RequestEditorFn) (*LibraryMetadataPutIndexResponse, error)
LibraryMetadataPutIndexWithResponse Start BIF generation of an item
Start the indexing (BIF generation) of an item.
Returns a wrapper object for the known response body format(s).
Corresponds with PUT /library/metadata/{ids}/index (the `LibraryMetadataPutIndex` operationId).
func (*ClientWithResponses) LibraryMetadataPutIntroWithResponse ¶
func (c *ClientWithResponses) LibraryMetadataPutIntroWithResponse(ctx context.Context, ids string, params *LibraryMetadataPutIntroParams, reqEditors ...RequestEditorFn) (*LibraryMetadataPutIntroResponse, error)
LibraryMetadataPutIntroWithResponse Intro detect an item
Start the detection of intros in a metadata item.
Returns a wrapper object for the known response body format(s).
Corresponds with PUT /library/metadata/{ids}/intro (the `LibraryMetadataPutIntro` operationId).
func (*ClientWithResponses) LibraryMetadataPutMarkerMarkerWithResponse ¶
func (c *ClientWithResponses) LibraryMetadataPutMarkerMarkerWithResponse(ctx context.Context, ids string, marker string, params *LibraryMetadataPutMarkerMarkerParams, reqEditors ...RequestEditorFn) (*LibraryMetadataPutMarkerMarkerResponse, error)
LibraryMetadataPutMarkerMarkerWithResponse Edit a marker
Edit a marker for this user on the metadata item.
Returns a wrapper object for the known response body format(s).
Corresponds with PUT /library/metadata/{ids}/marker/{marker} (the `LibraryMetadataPutMarkerMarker` operationId).
func (*ClientWithResponses) LibraryMetadataPutMatchWithResponse ¶
func (c *ClientWithResponses) LibraryMetadataPutMatchWithResponse(ctx context.Context, ids string, params *LibraryMetadataPutMatchParams, reqEditors ...RequestEditorFn) (*LibraryMetadataPutMatchResponse, error)
LibraryMetadataPutMatchWithResponse Match a metadata item
Match a metadata item to a guid.
Returns a wrapper object for the known response body format(s).
Corresponds with PUT /library/metadata/{ids}/match (the `LibraryMetadataPutMatch` operationId).
func (*ClientWithResponses) LibraryMetadataPutMergeWithResponse ¶
func (c *ClientWithResponses) LibraryMetadataPutMergeWithResponse(ctx context.Context, ids string, params *LibraryMetadataPutMergeParams, reqEditors ...RequestEditorFn) (*LibraryMetadataPutMergeResponse, error)
LibraryMetadataPutMergeWithResponse Merge a metadata item
Merge a metadata item with other items.
Returns a wrapper object for the known response body format(s).
Corresponds with PUT /library/metadata/{ids}/merge (the `LibraryMetadataPutMerge` operationId).
func (*ClientWithResponses) LibraryMetadataPutPrefsWithResponse ¶
func (c *ClientWithResponses) LibraryMetadataPutPrefsWithResponse(ctx context.Context, ids string, params *LibraryMetadataPutPrefsParams, reqEditors ...RequestEditorFn) (*LibraryMetadataPutPrefsResponse, error)
LibraryMetadataPutPrefsWithResponse Set metadata preferences
Set the preferences on a metadata item.
Returns a wrapper object for the known response body format(s).
Corresponds with PUT /library/metadata/{ids}/prefs (the `LibraryMetadataPutPrefs` operationId).
func (*ClientWithResponses) LibraryMetadataPutRefreshWithResponse ¶
func (c *ClientWithResponses) LibraryMetadataPutRefreshWithResponse(ctx context.Context, ids string, params *LibraryMetadataPutRefreshParams, reqEditors ...RequestEditorFn) (*LibraryMetadataPutRefreshResponse, error)
LibraryMetadataPutRefreshWithResponse Refresh a metadata item
Refresh a metadata item from the agent.
Returns a wrapper object for the known response body format(s).
Corresponds with PUT /library/metadata/{ids}/refresh (the `LibraryMetadataPutRefresh` operationId).
func (*ClientWithResponses) LibraryMetadataPutSlashWithResponse ¶
func (c *ClientWithResponses) LibraryMetadataPutSlashWithResponse(ctx context.Context, ids []string, params *LibraryMetadataPutSlashParams, reqEditors ...RequestEditorFn) (*LibraryMetadataPutSlashResponse, error)
LibraryMetadataPutSlashWithResponse Edit a metadata item
Edit metadata items setting fields.
Returns a wrapper object for the known response body format(s).
Corresponds with PUT /library/metadata/{ids} (the `LibraryMetadataPutSlash` operationId).
func (*ClientWithResponses) LibraryMetadataPutSplitWithResponse ¶
func (c *ClientWithResponses) LibraryMetadataPutSplitWithResponse(ctx context.Context, ids string, reqEditors ...RequestEditorFn) (*LibraryMetadataPutSplitResponse, error)
LibraryMetadataPutSplitWithResponse Split a metadata item
Split a metadata item into multiple items.
Returns a wrapper object for the known response body format(s).
Corresponds with PUT /library/metadata/{ids}/split (the `LibraryMetadataPutSplit` operationId).
func (*ClientWithResponses) LibraryMetadataPutUnmatchWithResponse ¶
func (c *ClientWithResponses) LibraryMetadataPutUnmatchWithResponse(ctx context.Context, ids string, reqEditors ...RequestEditorFn) (*LibraryMetadataPutUnmatchResponse, error)
LibraryMetadataPutUnmatchWithResponse Unmatch a metadata item
Unmatch a metadata item to info fetched from the agent.
Returns a wrapper object for the known response body format(s).
Corresponds with PUT /library/metadata/{ids}/unmatch (the `LibraryMetadataPutUnmatch` operationId).
func (*ClientWithResponses) LibraryMetadataPutVoiceActivityWithResponse ¶
func (c *ClientWithResponses) LibraryMetadataPutVoiceActivityWithResponse(ctx context.Context, ids string, params *LibraryMetadataPutVoiceActivityParams, reqEditors ...RequestEditorFn) (*LibraryMetadataPutVoiceActivityResponse, error)
LibraryMetadataPutVoiceActivityWithResponse Detect voice activity
Start the detection of voice in a metadata item.
Returns a wrapper object for the known response body format(s).
Corresponds with PUT /library/metadata/{ids}/voiceActivity (the `LibraryMetadataPutVoiceActivity` operationId).
func (*ClientWithResponses) LibraryPostFileWithResponse ¶
func (c *ClientWithResponses) LibraryPostFileWithResponse(ctx context.Context, params *LibraryPostFileParams, reqEditors ...RequestEditorFn) (*LibraryPostFileResponse, error)
LibraryPostFileWithResponse Ingest a transient item
This endpoint takes a file path specified in the `url` parameter, matches it using the scanner's match mechanism, downloads rich metadata, and then ingests the item as a transient item (without a library section). In the case where the file represents an episode, the entire tree (show, season, and episode) is added as transient items. At this time, movies and episodes are the only supported types, which are gleaned automatically from the file path. Note that any of the parameters passed to the metadata details endpoint (e.g. `includeExtras=1`) work here.
Returns a wrapper object for the known response body format(s).
Corresponds with POST /library/file (the `LibraryPostFile` operationId).
func (*ClientWithResponses) LibraryPostSectionWithResponse ¶
func (c *ClientWithResponses) LibraryPostSectionWithResponse(ctx context.Context, params *LibraryPostSectionParams, reqEditors ...RequestEditorFn) (*LibraryPostSectionResponse, error)
LibraryPostSectionWithResponse Add a library section
Add a new library section to the server.
Returns a wrapper object for the known response body format(s).
Corresponds with POST /library/sections/all (the `LibraryPostSection` operationId).
func (*ClientWithResponses) LibraryPostSectionsRefreshWithResponse ¶
func (c *ClientWithResponses) LibraryPostSectionsRefreshWithResponse(ctx context.Context, params *LibraryPostSectionsRefreshParams, reqEditors ...RequestEditorFn) (*LibraryPostSectionsRefreshResponse, error)
LibraryPostSectionsRefreshWithResponse Refresh all sections
Tell PMS to refresh all section metadata.
Returns a wrapper object for the known response body format(s).
Corresponds with POST /library/sections/refresh (the `LibraryPostSectionsRefresh` operationId).
func (*ClientWithResponses) LibraryPutCleanBundlesWithResponse ¶
func (c *ClientWithResponses) LibraryPutCleanBundlesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*LibraryPutCleanBundlesResponse, error)
LibraryPutCleanBundlesWithResponse Clean bundles
Clean out any now unused bundles. Bundles can become unused when media is deleted
Returns a wrapper object for the known response body format(s).
Corresponds with PUT /library/clean/bundles (the `LibraryPutCleanBundles` operationId).
func (*ClientWithResponses) LibraryPutOptimizeWithResponse ¶
func (c *ClientWithResponses) LibraryPutOptimizeWithResponse(ctx context.Context, params *LibraryPutOptimizeParams, reqEditors ...RequestEditorFn) (*LibraryPutOptimizeResponse, error)
LibraryPutOptimizeWithResponse Optimize the Database
Initiate optimize on the database.
Returns a wrapper object for the known response body format(s).
Corresponds with PUT /library/optimize (the `LibraryPutOptimize` operationId).
func (*ClientWithResponses) LibraryPutPartsPartWithResponse ¶
func (c *ClientWithResponses) LibraryPutPartsPartWithResponse(ctx context.Context, partID int, params *LibraryPutPartsPartParams, reqEditors ...RequestEditorFn) (*LibraryPutPartsPartResponse, error)
LibraryPutPartsPartWithResponse Set stream selection
Set which streams (audio/subtitle) are selected by this user.
Returns a wrapper object for the known response body format(s).
Corresponds with PUT /library/parts/{partId} (the `LibraryPutPartsPart` operationId).
func (*ClientWithResponses) LibraryPutStreamsStreamWithResponse ¶
func (c *ClientWithResponses) LibraryPutStreamsStreamWithResponse(ctx context.Context, streamID int, ext string, params *LibraryPutStreamsStreamParams, reqEditors ...RequestEditorFn) (*LibraryPutStreamsStreamResponse, error)
LibraryPutStreamsStreamWithResponse Set a stream offset
Set a stream offset in ms. This may not be respected by all clients
Returns a wrapper object for the known response body format(s).
Corresponds with PUT /library/streams/{streamId}.{ext} (the `LibraryPutStreamsStream` operationId).
func (*ClientWithResponses) LibrarySectionDeleteCollectionCollectionWithResponse ¶
func (c *ClientWithResponses) LibrarySectionDeleteCollectionCollectionWithResponse(ctx context.Context, sectionID int, collectionID int, reqEditors ...RequestEditorFn) (*LibrarySectionDeleteCollectionCollectionResponse, error)
LibrarySectionDeleteCollectionCollectionWithResponse Delete a collection
Delete a library collection from the PMS.
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /library/sections/{sectionId}/collection/{collectionId} (the `LibrarySectionDeleteCollectionCollection` operationId).
func (*ClientWithResponses) LibrarySectionDeleteIndexesWithResponse ¶
func (c *ClientWithResponses) LibrarySectionDeleteIndexesWithResponse(ctx context.Context, sectionID int, reqEditors ...RequestEditorFn) (*LibrarySectionDeleteIndexesResponse, error)
LibrarySectionDeleteIndexesWithResponse Delete section indexes
Delete all the indexes in a section.
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /library/sections/{sectionId}/indexes (the `LibrarySectionDeleteIndexes` operationId).
func (*ClientWithResponses) LibrarySectionDeleteIntrosWithResponse ¶
func (c *ClientWithResponses) LibrarySectionDeleteIntrosWithResponse(ctx context.Context, sectionID int, reqEditors ...RequestEditorFn) (*LibrarySectionDeleteIntrosResponse, error)
LibrarySectionDeleteIntrosWithResponse Delete section intro markers
Delete all the intro markers in a section.
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /library/sections/{sectionId}/intros (the `LibrarySectionDeleteIntros` operationId).
func (*ClientWithResponses) LibrarySectionDeleteRefreshWithResponse ¶
func (c *ClientWithResponses) LibrarySectionDeleteRefreshWithResponse(ctx context.Context, sectionID int, reqEditors ...RequestEditorFn) (*LibrarySectionDeleteRefreshResponse, error)
LibrarySectionDeleteRefreshWithResponse Cancel section refresh
Cancel the refresh of a section.
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /library/sections/{sectionId}/refresh (the `LibrarySectionDeleteRefresh` operationId).
func (*ClientWithResponses) LibrarySectionGetAlbumsWithResponse ¶
func (c *ClientWithResponses) LibrarySectionGetAlbumsWithResponse(ctx context.Context, sectionID int, reqEditors ...RequestEditorFn) (*LibrarySectionGetAlbumsResponse, error)
LibrarySectionGetAlbumsWithResponse Set section albums
Get all albums in a music section.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /library/sections/{sectionId}/albums (the `LibrarySectionGetAlbums` operationId).
func (*ClientWithResponses) LibrarySectionGetAllLeavesWithResponse ¶
func (c *ClientWithResponses) LibrarySectionGetAllLeavesWithResponse(ctx context.Context, sectionID int, reqEditors ...RequestEditorFn) (*LibrarySectionGetAllLeavesResponse, error)
LibrarySectionGetAllLeavesWithResponse Set section leaves
Get all leaves in a section (such as episodes in a show section).
Returns a wrapper object for the known response body format(s).
Corresponds with GET /library/sections/{sectionId}/allLeaves (the `LibrarySectionGetAllLeaves` operationId).
func (*ClientWithResponses) LibrarySectionGetAllWithResponse ¶
func (c *ClientWithResponses) LibrarySectionGetAllWithResponse(ctx context.Context, sectionID string, params *LibrarySectionGetAllParams, reqEditors ...RequestEditorFn) (*LibrarySectionGetAllResponse, error)
LibrarySectionGetAllWithResponse Get items in the section
Get the items in a section, potentially filtering them ¶
Returns a wrapper object for the known response body format(s).
Corresponds with GET /library/sections/{sectionId}/all (the `LibrarySectionGetAll` operationId).
func (*ClientWithResponses) LibrarySectionGetArtsWithResponse ¶
func (c *ClientWithResponses) LibrarySectionGetArtsWithResponse(ctx context.Context, sectionID int, reqEditors ...RequestEditorFn) (*LibrarySectionGetArtsResponse, error)
LibrarySectionGetArtsWithResponse Set section artwork
Get artwork for a library section.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /library/sections/{sectionId}/arts (the `LibrarySectionGetArts` operationId).
func (*ClientWithResponses) LibrarySectionGetAudioCodecsWithResponse ¶
func (c *ClientWithResponses) LibrarySectionGetAudioCodecsWithResponse(ctx context.Context, sectionID int, params *LibrarySectionGetAudioCodecsParams, reqEditors ...RequestEditorFn) (*LibrarySectionGetAudioCodecsResponse, error)
LibrarySectionGetAudioCodecsWithResponse Get audio codecs in a section
Get list of distinct audio codecs found in this library section.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /library/sections/{sectionId}/audioCodec (the `LibrarySectionGetAudioCodecs` operationId).
func (*ClientWithResponses) LibrarySectionGetAudioLayoutsWithResponse ¶
func (c *ClientWithResponses) LibrarySectionGetAudioLayoutsWithResponse(ctx context.Context, sectionID int, params *LibrarySectionGetAudioLayoutsParams, reqEditors ...RequestEditorFn) (*LibrarySectionGetAudioLayoutsResponse, error)
LibrarySectionGetAudioLayoutsWithResponse Get audio layouts in a section
Get list of distinct audio layouts (e.g. stereo, 5.1, 7.1) found in this library section
Returns a wrapper object for the known response body format(s).
Corresponds with GET /library/sections/{sectionId}/audioLayout (the `LibrarySectionGetAudioLayouts` operationId).
func (*ClientWithResponses) LibrarySectionGetAutocompleteWithResponse ¶
func (c *ClientWithResponses) LibrarySectionGetAutocompleteWithResponse(ctx context.Context, sectionID int, params *LibrarySectionGetAutocompleteParams, reqEditors ...RequestEditorFn) (*LibrarySectionGetAutocompleteResponse, error)
LibrarySectionGetAutocompleteWithResponse Get autocompletions for search
The field to autocomplete on is specified by the {field}.query parameter. For example `genre.query` or `title.query`. Returns a set of items from the filtered items whose {field} starts with {field}.query. In the results, a {field}.queryRange will be present to express the range of the match
Returns a wrapper object for the known response body format(s).
Corresponds with GET /library/sections/{sectionId}/autocomplete (the `LibrarySectionGetAutocomplete` operationId).
func (*ClientWithResponses) LibrarySectionGetCategoriesWithResponse ¶
func (c *ClientWithResponses) LibrarySectionGetCategoriesWithResponse(ctx context.Context, sectionID int, reqEditors ...RequestEditorFn) (*LibrarySectionGetCategoriesResponse, error)
LibrarySectionGetCategoriesWithResponse Set section categories
Get categories in a library section.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /library/sections/{sectionId}/categories (the `LibrarySectionGetCategories` operationId).
func (*ClientWithResponses) LibrarySectionGetClusterWithResponse ¶
func (c *ClientWithResponses) LibrarySectionGetClusterWithResponse(ctx context.Context, sectionID int, reqEditors ...RequestEditorFn) (*LibrarySectionGetClusterResponse, error)
LibrarySectionGetClusterWithResponse Set section clusters
Get clusters in a library section (typically for photos).
Returns a wrapper object for the known response body format(s).
Corresponds with GET /library/sections/{sectionId}/cluster (the `LibrarySectionGetCluster` operationId).
func (*ClientWithResponses) LibrarySectionGetCollectionsWithResponse ¶
func (c *ClientWithResponses) LibrarySectionGetCollectionsWithResponse(ctx context.Context, sectionID int, params *LibrarySectionGetCollectionsParams, reqEditors ...RequestEditorFn) (*LibrarySectionGetCollectionsResponse, error)
LibrarySectionGetCollectionsWithResponse Get collections in a section
Get all collections in a section.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /library/sections/{sectionId}/collections (the `LibrarySectionGetCollections` operationId).
func (*ClientWithResponses) LibrarySectionGetCommonWithResponse ¶
func (c *ClientWithResponses) LibrarySectionGetCommonWithResponse(ctx context.Context, sectionID int, params *LibrarySectionGetCommonParams, reqEditors ...RequestEditorFn) (*LibrarySectionGetCommonResponse, error)
LibrarySectionGetCommonWithResponse Get common fields for items
Represents a "Common" item. It contains only the common attributes of the items selected by the provided filter Fields which are not common will be expressed in the `mixedFields` field
Returns a wrapper object for the known response body format(s).
Corresponds with GET /library/sections/{sectionId}/common (the `LibrarySectionGetCommon` operationId).
func (*ClientWithResponses) LibrarySectionGetCompositeWithResponse ¶
func (c *ClientWithResponses) LibrarySectionGetCompositeWithResponse(ctx context.Context, sectionID int, updatedAt int, params *LibrarySectionGetCompositeParams, reqEditors ...RequestEditorFn) (*LibrarySectionGetCompositeResponse, error)
LibrarySectionGetCompositeWithResponse Get a section composite image
Get a composite image of images in this section.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /library/sections/{sectionId}/composite/{updatedAt} (the `LibrarySectionGetComposite` operationId).
func (*ClientWithResponses) LibrarySectionGetComputePathWithResponse ¶
func (c *ClientWithResponses) LibrarySectionGetComputePathWithResponse(ctx context.Context, sectionID int, params *LibrarySectionGetComputePathParams, reqEditors ...RequestEditorFn) (*LibrarySectionGetComputePathResponse, error)
LibrarySectionGetComputePathWithResponse Similar tracks to transition from one to another
Get a list of audio tracks starting at one and ending at another which are similar across the path.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /library/sections/{sectionId}/computePath (the `LibrarySectionGetComputePath` operationId).
func (*ClientWithResponses) LibrarySectionGetFiltersWithResponse ¶
func (c *ClientWithResponses) LibrarySectionGetFiltersWithResponse(ctx context.Context, sectionID int, reqEditors ...RequestEditorFn) (*LibrarySectionGetFiltersResponse, error)
LibrarySectionGetFiltersWithResponse Get section filters
Get common filters on a section.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /library/sections/{sectionId}/filters (the `LibrarySectionGetFilters` operationId).
func (*ClientWithResponses) LibrarySectionGetFirstCharatersWithResponse ¶
func (c *ClientWithResponses) LibrarySectionGetFirstCharatersWithResponse(ctx context.Context, sectionID int, params *LibrarySectionGetFirstCharatersParams, reqEditors ...RequestEditorFn) (*LibrarySectionGetFirstCharatersResponse, error)
LibrarySectionGetFirstCharatersWithResponse Get list of first characters
Get list of first characters in this section.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /library/sections/{sectionId}/firstCharacters (the `LibrarySectionGetFirstCharaters` operationId).
func (*ClientWithResponses) LibrarySectionGetLocationsWithResponse ¶
func (c *ClientWithResponses) LibrarySectionGetLocationsWithResponse(ctx context.Context, sectionID int, reqEditors ...RequestEditorFn) (*LibrarySectionGetLocationsResponse, error)
LibrarySectionGetLocationsWithResponse Get all folder locations
Get all folder locations of the media in a section.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /library/sections/{sectionId}/location (the `LibrarySectionGetLocations` operationId).
func (*ClientWithResponses) LibrarySectionGetMomentWithResponse ¶
func (c *ClientWithResponses) LibrarySectionGetMomentWithResponse(ctx context.Context, sectionID int, reqEditors ...RequestEditorFn) (*LibrarySectionGetMomentResponse, error)
LibrarySectionGetMomentWithResponse Set section moments
Get moments in a library section (typically for photos).
Returns a wrapper object for the known response body format(s).
Corresponds with GET /library/sections/{sectionId}/moment (the `LibrarySectionGetMoment` operationId).
func (*ClientWithResponses) LibrarySectionGetNearestWithResponse ¶
func (c *ClientWithResponses) LibrarySectionGetNearestWithResponse(ctx context.Context, sectionID int, params *LibrarySectionGetNearestParams, reqEditors ...RequestEditorFn) (*LibrarySectionGetNearestResponse, error)
LibrarySectionGetNearestWithResponse The nearest audio tracks
Get the nearest audio tracks to a particular analysis.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /library/sections/{sectionId}/nearest (the `LibrarySectionGetNearest` operationId).
func (*ClientWithResponses) LibrarySectionGetPrefsWithResponse ¶
func (c *ClientWithResponses) LibrarySectionGetPrefsWithResponse(ctx context.Context, sectionID int, params *LibrarySectionGetPrefsParams, reqEditors ...RequestEditorFn) (*LibrarySectionGetPrefsResponse, error)
LibrarySectionGetPrefsWithResponse Get section prefs
Get the prefs for a section by id and potentially overriding the agent.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /library/sections/{sectionId}/prefs (the `LibrarySectionGetPrefs` operationId).
func (*ClientWithResponses) LibrarySectionGetSectionWithResponse ¶
func (c *ClientWithResponses) LibrarySectionGetSectionWithResponse(ctx context.Context, sectionID string, params *LibrarySectionGetSectionParams, reqEditors ...RequestEditorFn) (*LibrarySectionGetSectionResponse, error)
LibrarySectionGetSectionWithResponse Get a library section by id
Returns details for the library. This can be thought of as an interstitial endpoint because it contains information about the library, rather than content itself. It often contains a list of `Directory` metadata objects: These used to be used by clients to build a menuing system.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /library/sections/{sectionId} (the `LibrarySectionGetSection` operationId).
func (*ClientWithResponses) LibrarySectionGetSortsWithResponse ¶
func (c *ClientWithResponses) LibrarySectionGetSortsWithResponse(ctx context.Context, sectionID int, reqEditors ...RequestEditorFn) (*LibrarySectionGetSortsResponse, error)
LibrarySectionGetSortsWithResponse Get a section sorts
Get the sort mechanisms available in a section.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /library/sections/{sectionId}/sorts (the `LibrarySectionGetSorts` operationId).
func (*ClientWithResponses) LibrarySectionGetSubtitleCodecsWithResponse ¶
func (c *ClientWithResponses) LibrarySectionGetSubtitleCodecsWithResponse(ctx context.Context, sectionID int, params *LibrarySectionGetSubtitleCodecsParams, reqEditors ...RequestEditorFn) (*LibrarySectionGetSubtitleCodecsResponse, error)
LibrarySectionGetSubtitleCodecsWithResponse Get subtitle codecs in a section
Get list of distinct subtitle codecs found in this library section.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /library/sections/{sectionId}/subtitleCodec (the `LibrarySectionGetSubtitleCodecs` operationId).
func (*ClientWithResponses) LibrarySectionGetVideoCodecsWithResponse ¶
func (c *ClientWithResponses) LibrarySectionGetVideoCodecsWithResponse(ctx context.Context, sectionID int, params *LibrarySectionGetVideoCodecsParams, reqEditors ...RequestEditorFn) (*LibrarySectionGetVideoCodecsResponse, error)
LibrarySectionGetVideoCodecsWithResponse Get video codecs in a section
Get list of distinct video codecs found in this library section.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /library/sections/{sectionId}/videoCodec (the `LibrarySectionGetVideoCodecs` operationId).
func (*ClientWithResponses) LibrarySectionPostRefreshWithResponse ¶
func (c *ClientWithResponses) LibrarySectionPostRefreshWithResponse(ctx context.Context, sectionID int, params *LibrarySectionPostRefreshParams, reqEditors ...RequestEditorFn) (*LibrarySectionPostRefreshResponse, error)
LibrarySectionPostRefreshWithResponse Refresh section
Start a refresh of this section.
Returns a wrapper object for the known response body format(s).
Corresponds with POST /library/sections/{sectionId}/refresh (the `LibrarySectionPostRefresh` operationId).
func (*ClientWithResponses) LibrarySectionPutAllWithResponse ¶
func (c *ClientWithResponses) LibrarySectionPutAllWithResponse(ctx context.Context, sectionID string, params *LibrarySectionPutAllParams, reqEditors ...RequestEditorFn) (*LibrarySectionPutAllResponse, error)
LibrarySectionPutAllWithResponse Set the fields of the filtered items
This endpoint takes an large possible set of values. Here are some examples. - **Parameters, extra documentation**
- artist.title.value
- When used with track, both artist.title.value and album.title.value need to be specified
- title.value usage
- Summary
- Tracks always rename and never merge
- Albums and Artists
- if single item and item without title does not exist, it is renamed.
- if single item and item with title does exist they are merged.
- if multiple they are always merged.
- Tracks
- Works as expected will update the track's title
- Single track: `/library/sections/{id}/all?type=10&id=42&title.value=NewName`
- Multiple tracks: `/library/sections/{id}/all?type=10&id=42,43,44&title.value=NewName`
- All tracks: `/library/sections/{id}/all?type=10&title.value=NewName`
- Albums
- Functionality changes depending on the existence of an album with the same title
- Album exists
- Single album: `/library/sections/{id}/all?type=9&id=42&title.value=Album 2`
- Album with id 42 is merged into album titled "Album 2"
- Multiple/All albums: `/library/sections/{id}/all?type=9&title.value=Moo Album`
- All albums are merged into the existing album titled "Moo Album"
- Album does not exist
- Single album: `/library/sections/{id}/all?type=9&id=42&title.value=NewAlbumTitle`
- Album with id 42 has title modified to "NewAlbumTitle"
- Multiple/All albums: `/library/sections/{id}/all?type=9&title.value=NewAlbumTitle`
- All albums are merged into a new album with title="NewAlbumTitle"
- Artists
- Functionaly changes depending on the existence of an artist with the same title.
- Artist exists
- Single artist: `/library/sections/{id}/all?type=8&id=42&title.value=Artist 2`
- Artist with id 42 is merged into existing artist titled "Artist 2"
- Multiple/All artists: `/library/sections/{id}/all?type=8&title.value=Artist 3`
- All artists are merged into the existing artist titled "Artist 3"
- Artist does not exist
- Single artist: `/library/sections/{id}/all?type=8&id=42&title.value=NewArtistTitle`
- Artist with id 42 has title modified to "NewArtistTitle"
- Multiple/All artists: `/library/sections/{id}/all?type=8&title.value=NewArtistTitle`
- All artists are merged into a new artist with title="NewArtistTitle"
- **Notes**
- Technically square brackets are not allowed in an URI except the Internet Protocol Literal Address
- RFC3513: A host identified by an Internet Protocol literal address, version 6 [RFC3513] or later, is distinguished by enclosing the IP literal within square brackets ("[" and "]"). This is the only place where square bracket characters are allowed in the URI syntax.
- Escaped square brackets are allowed, but don't render well
Returns a wrapper object for the known response body format(s).
Corresponds with PUT /library/sections/{sectionId}/all (the `LibrarySectionPutAll` operationId).
func (*ClientWithResponses) LibrarySectionPutAnalyzeWithResponse ¶
func (c *ClientWithResponses) LibrarySectionPutAnalyzeWithResponse(ctx context.Context, sectionID int, reqEditors ...RequestEditorFn) (*LibrarySectionPutAnalyzeResponse, error)
LibrarySectionPutAnalyzeWithResponse Analyze a section
Start analysis of all items in a section. If BIF generation is enabled, this will also be started on this section
Returns a wrapper object for the known response body format(s).
Corresponds with PUT /library/sections/{sectionId}/analyze (the `LibrarySectionPutAnalyze` operationId).
func (*ClientWithResponses) LibrarySectionPutEmptyTrashWithResponse ¶
func (c *ClientWithResponses) LibrarySectionPutEmptyTrashWithResponse(ctx context.Context, sectionID int, reqEditors ...RequestEditorFn) (*LibrarySectionPutEmptyTrashResponse, error)
LibrarySectionPutEmptyTrashWithResponse Empty section trash
Empty trash in the section, permanently deleting media/metadata for missing media
Returns a wrapper object for the known response body format(s).
Corresponds with PUT /library/sections/{sectionId}/emptyTrash (the `LibrarySectionPutEmptyTrash` operationId).
func (*ClientWithResponses) LibrarySectionPutPrefsWithResponse ¶
func (c *ClientWithResponses) LibrarySectionPutPrefsWithResponse(ctx context.Context, sectionID int, params *LibrarySectionPutPrefsParams, reqEditors ...RequestEditorFn) (*LibrarySectionPutPrefsResponse, error)
LibrarySectionPutPrefsWithResponse Set section prefs
Set the prefs for a section by id.
Returns a wrapper object for the known response body format(s).
Corresponds with PUT /library/sections/{sectionId}/prefs (the `LibrarySectionPutPrefs` operationId).
func (*ClientWithResponses) LibrarySectionPutSectionWithResponse ¶
func (c *ClientWithResponses) LibrarySectionPutSectionWithResponse(ctx context.Context, sectionID string, params *LibrarySectionPutSectionParams, reqEditors ...RequestEditorFn) (*LibrarySectionPutSectionResponse, error)
LibrarySectionPutSectionWithResponse Edit a library section
Edit a library section by id setting parameters.
Returns a wrapper object for the known response body format(s).
Corresponds with PUT /library/sections/{sectionId} (the `LibrarySectionPutSection` operationId).
func (*ClientWithResponses) LivetvDVRDeleteDVRDeviceWithResponse ¶
func (c *ClientWithResponses) LivetvDVRDeleteDVRDeviceWithResponse(ctx context.Context, dvrid int, deviceID int, reqEditors ...RequestEditorFn) (*LivetvDVRDeleteDVRDeviceResponse, error)
LivetvDVRDeleteDVRDeviceWithResponse Remove a device from an existing DVR
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /livetv/dvrs/{dvrId}/devices/{deviceId} (the `LivetvDVRDeleteDVRDevice` operationId).
func (*ClientWithResponses) LivetvDVRDeleteDVRWithResponse ¶
func (c *ClientWithResponses) LivetvDVRDeleteDVRWithResponse(ctx context.Context, dvrid int, reqEditors ...RequestEditorFn) (*LivetvDVRDeleteDVRResponse, error)
LivetvDVRDeleteDVRWithResponse Delete a single DVR
Delete a single DVR by its id (key).
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /livetv/dvrs/{dvrId} (the `LivetvDVRDeleteDVR` operationId).
func (*ClientWithResponses) LivetvDVRDeleteLineupWithResponse ¶
func (c *ClientWithResponses) LivetvDVRDeleteLineupWithResponse(ctx context.Context, dvrid int, params *LivetvDVRDeleteLineupParams, reqEditors ...RequestEditorFn) (*LivetvDVRDeleteLineupResponse, error)
LivetvDVRDeleteLineupWithResponse Delete a DVR Lineup
Deletes a DVR device's lineup.
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /livetv/dvrs/{dvrId}/lineups (the `LivetvDVRDeleteLineup` operationId).
func (*ClientWithResponses) LivetvDVRDeleteReloadGuideWithResponse ¶
func (c *ClientWithResponses) LivetvDVRDeleteReloadGuideWithResponse(ctx context.Context, dvrid int, reqEditors ...RequestEditorFn) (*LivetvDVRDeleteReloadGuideResponse, error)
LivetvDVRDeleteReloadGuideWithResponse Tell a DVR to stop reloading program guide
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /livetv/dvrs/{dvrId}/reloadGuide (the `LivetvDVRDeleteReloadGuide` operationId).
func (*ClientWithResponses) LivetvDVRGetDVRWithResponse ¶
func (c *ClientWithResponses) LivetvDVRGetDVRWithResponse(ctx context.Context, dvrid int, reqEditors ...RequestEditorFn) (*LivetvDVRGetDVRResponse, error)
LivetvDVRGetDVRWithResponse Get a single DVR
Get a single DVR by its id (key).
Returns a wrapper object for the known response body format(s).
Corresponds with GET /livetv/dvrs/{dvrId} (the `LivetvDVRGetDVR` operationId).
func (*ClientWithResponses) LivetvDVRGetSlashWithResponse ¶
func (c *ClientWithResponses) LivetvDVRGetSlashWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*LivetvDVRGetSlashResponse, error)
LivetvDVRGetSlashWithResponse Get DVRs
Get the list of all available DVRs.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /livetv/dvrs (the `LivetvDVRGetSlash` operationId).
func (*ClientWithResponses) LivetvDVRPostChannelsChannelTuneWithResponse ¶
func (c *ClientWithResponses) LivetvDVRPostChannelsChannelTuneWithResponse(ctx context.Context, dvrid int, channel string, reqEditors ...RequestEditorFn) (*LivetvDVRPostChannelsChannelTuneResponse, error)
LivetvDVRPostChannelsChannelTuneWithResponse Tune a channel on a DVR
Tune a channel on a DVR to the provided channel.
Returns a wrapper object for the known response body format(s).
Corresponds with POST /livetv/dvrs/{dvrId}/channels/{channel}/tune (the `LivetvDVRPostChannelsChannelTune` operationId).
func (*ClientWithResponses) LivetvDVRPostReloadGuideWithResponse ¶
func (c *ClientWithResponses) LivetvDVRPostReloadGuideWithResponse(ctx context.Context, dvrid int, reqEditors ...RequestEditorFn) (*LivetvDVRPostReloadGuideResponse, error)
LivetvDVRPostReloadGuideWithResponse Tell a DVR to reload program guide
Returns a wrapper object for the known response body format(s).
Corresponds with POST /livetv/dvrs/{dvrId}/reloadGuide (the `LivetvDVRPostReloadGuide` operationId).
func (*ClientWithResponses) LivetvDVRPostSlashWithResponse ¶
func (c *ClientWithResponses) LivetvDVRPostSlashWithResponse(ctx context.Context, params *LivetvDVRPostSlashParams, reqEditors ...RequestEditorFn) (*LivetvDVRPostSlashResponse, error)
LivetvDVRPostSlashWithResponse Create a DVR
Creation of a DVR, after creation of a devcie and a lineup is selected ¶
Returns a wrapper object for the known response body format(s).
Corresponds with POST /livetv/dvrs (the `LivetvDVRPostSlash` operationId).
func (*ClientWithResponses) LivetvDVRPutDVRDeviceWithResponse ¶
func (c *ClientWithResponses) LivetvDVRPutDVRDeviceWithResponse(ctx context.Context, dvrid int, deviceID int, reqEditors ...RequestEditorFn) (*LivetvDVRPutDVRDeviceResponse, error)
LivetvDVRPutDVRDeviceWithResponse Add a device to an existing DVR
Returns a wrapper object for the known response body format(s).
Corresponds with PUT /livetv/dvrs/{dvrId}/devices/{deviceId} (the `LivetvDVRPutDVRDevice` operationId).
func (*ClientWithResponses) LivetvDVRPutLineupWithResponse ¶
func (c *ClientWithResponses) LivetvDVRPutLineupWithResponse(ctx context.Context, dvrid int, params *LivetvDVRPutLineupParams, reqEditors ...RequestEditorFn) (*LivetvDVRPutLineupResponse, error)
LivetvDVRPutLineupWithResponse Add a DVR Lineup
Add a lineup to a DVR device's set of lineups.
Returns a wrapper object for the known response body format(s).
Corresponds with PUT /livetv/dvrs/{dvrId}/lineups (the `LivetvDVRPutLineup` operationId).
func (*ClientWithResponses) LivetvDVRPutPrefsWithResponse ¶
func (c *ClientWithResponses) LivetvDVRPutPrefsWithResponse(ctx context.Context, dvrid int, params *LivetvDVRPutPrefsParams, reqEditors ...RequestEditorFn) (*LivetvDVRPutPrefsResponse, error)
LivetvDVRPutPrefsWithResponse Set DVR preferences
Set DVR preferences by name avd value.
Returns a wrapper object for the known response body format(s).
Corresponds with PUT /livetv/dvrs/{dvrId}/prefs (the `LivetvDVRPutPrefs` operationId).
func (*ClientWithResponses) LivetvEPGGetChannelmapWithResponse ¶
func (c *ClientWithResponses) LivetvEPGGetChannelmapWithResponse(ctx context.Context, params *LivetvEPGGetChannelmapParams, reqEditors ...RequestEditorFn) (*LivetvEPGGetChannelmapResponse, error)
LivetvEPGGetChannelmapWithResponse Compute the best channel map
Compute the best channel map, given device and lineup ¶
Returns a wrapper object for the known response body format(s).
Corresponds with GET /livetv/epg/channelmap (the `LivetvEPGGetChannelmap` operationId).
func (*ClientWithResponses) LivetvEPGGetChannelsWithResponse ¶
func (c *ClientWithResponses) LivetvEPGGetChannelsWithResponse(ctx context.Context, params *LivetvEPGGetChannelsParams, reqEditors ...RequestEditorFn) (*LivetvEPGGetChannelsResponse, error)
LivetvEPGGetChannelsWithResponse Get channels for a lineup
Get channels for a lineup within an EPG provider.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /livetv/epg/channels (the `LivetvEPGGetChannels` operationId).
func (*ClientWithResponses) LivetvEPGGetCountriesCountryLineupsWithResponse ¶
func (c *ClientWithResponses) LivetvEPGGetCountriesCountryLineupsWithResponse(ctx context.Context, country string, epgid string, params *LivetvEPGGetCountriesCountryLineupsParams, reqEditors ...RequestEditorFn) (*LivetvEPGGetCountriesCountryLineupsResponse, error)
LivetvEPGGetCountriesCountryLineupsWithResponse Get lineups for a country via postal code
Returns a list of lineups for a given country, EPG provider and postal code ¶
Returns a wrapper object for the known response body format(s).
Corresponds with GET /livetv/epg/countries/{country}/{epgId}/lineups (the `LivetvEPGGetCountriesCountryLineups` operationId).
func (*ClientWithResponses) LivetvEPGGetCountriesCountryRegionsRegionLineupsWithResponse ¶
func (c *ClientWithResponses) LivetvEPGGetCountriesCountryRegionsRegionLineupsWithResponse(ctx context.Context, country string, epgid string, region string, reqEditors ...RequestEditorFn) (*LivetvEPGGetCountriesCountryRegionsRegionLineupsResponse, error)
LivetvEPGGetCountriesCountryRegionsRegionLineupsWithResponse Get lineups for a region
Get lineups for a region within an EPG provider.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /livetv/epg/countries/{country}/{epgId}/regions/{region}/lineups (the `LivetvEPGGetCountriesCountryRegionsRegionLineups` operationId).
func (*ClientWithResponses) LivetvEPGGetCountriesCountryRegionsWithResponse ¶
func (c *ClientWithResponses) LivetvEPGGetCountriesCountryRegionsWithResponse(ctx context.Context, country string, epgid string, reqEditors ...RequestEditorFn) (*LivetvEPGGetCountriesCountryRegionsResponse, error)
LivetvEPGGetCountriesCountryRegionsWithResponse Get regions for a country
Get regions for a country within an EPG provider.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /livetv/epg/countries/{country}/{epgId}/regions (the `LivetvEPGGetCountriesCountryRegions` operationId).
func (*ClientWithResponses) LivetvEPGGetCountriesWithResponse ¶
func (c *ClientWithResponses) LivetvEPGGetCountriesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*LivetvEPGGetCountriesResponse, error)
LivetvEPGGetCountriesWithResponse Get all countries
This endpoint returns a list of countries which EPG data is available for. There are three flavors, as specfied by the `flavor` attribute
Returns a wrapper object for the known response body format(s).
Corresponds with GET /livetv/epg/countries (the `LivetvEPGGetCountries` operationId).
func (*ClientWithResponses) LivetvEPGGetLanguagesWithResponse ¶
func (c *ClientWithResponses) LivetvEPGGetLanguagesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*LivetvEPGGetLanguagesResponse, error)
LivetvEPGGetLanguagesWithResponse Get all languages
Returns a list of all possible languages for EPG data.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /livetv/epg/languages (the `LivetvEPGGetLanguages` operationId).
func (*ClientWithResponses) LivetvEPGGetLineupWithResponse ¶
func (c *ClientWithResponses) LivetvEPGGetLineupWithResponse(ctx context.Context, params *LivetvEPGGetLineupParams, reqEditors ...RequestEditorFn) (*LivetvEPGGetLineupResponse, error)
LivetvEPGGetLineupWithResponse Compute the best lineup
Compute the best lineup, given lineup group and device ¶
Returns a wrapper object for the known response body format(s).
Corresponds with GET /livetv/epg/lineup (the `LivetvEPGGetLineup` operationId).
func (*ClientWithResponses) LivetvEPGGetLineupchannelsWithResponse ¶
func (c *ClientWithResponses) LivetvEPGGetLineupchannelsWithResponse(ctx context.Context, params *LivetvEPGGetLineupchannelsParams, reqEditors ...RequestEditorFn) (*LivetvEPGGetLineupchannelsResponse, error)
LivetvEPGGetLineupchannelsWithResponse Get the channels for mulitple lineups
Get the channels across multiple lineups.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /livetv/epg/lineupchannels (the `LivetvEPGGetLineupchannels` operationId).
func (*ClientWithResponses) LivetvSessionsGetSessionConsumerIndexWithResponse ¶
func (c *ClientWithResponses) LivetvSessionsGetSessionConsumerIndexWithResponse(ctx context.Context, sessionID string, consumerID string, reqEditors ...RequestEditorFn) (*LivetvSessionsGetSessionConsumerIndexResponse, error)
LivetvSessionsGetSessionConsumerIndexWithResponse Get a session playlist index
Get a playlist index for playing this session.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /livetv/sessions/{sessionId}/{consumerId}/index.m3u8 (the `LivetvSessionsGetSessionConsumerIndex` operationId).
func (*ClientWithResponses) LivetvSessionsGetSessionConsumerSegmentWithResponse ¶
func (c *ClientWithResponses) LivetvSessionsGetSessionConsumerSegmentWithResponse(ctx context.Context, sessionID string, consumerID string, segmentID string, reqEditors ...RequestEditorFn) (*LivetvSessionsGetSessionConsumerSegmentResponse, error)
LivetvSessionsGetSessionConsumerSegmentWithResponse Get a single session segment
Get a single livetv session segment.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /livetv/sessions/{sessionId}/{consumerId}/{segmentId} (the `LivetvSessionsGetSessionConsumerSegment` operationId).
func (*ClientWithResponses) LivetvSessionsGetSessionWithResponse ¶
func (c *ClientWithResponses) LivetvSessionsGetSessionWithResponse(ctx context.Context, sessionID string, reqEditors ...RequestEditorFn) (*LivetvSessionsGetSessionResponse, error)
LivetvSessionsGetSessionWithResponse Get a single session
Get a single livetv session and metadata.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /livetv/sessions/{sessionId} (the `LivetvSessionsGetSession` operationId).
func (*ClientWithResponses) LivetvSessionsGetSlashWithResponse ¶
func (c *ClientWithResponses) LivetvSessionsGetSlashWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*LivetvSessionsGetSlashResponse, error)
LivetvSessionsGetSlashWithResponse Get all sessions
Get all livetv sessions and metadata.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /livetv/sessions (the `LivetvSessionsGetSlash` operationId).
func (*ClientWithResponses) LogPostPapertrailWithResponse ¶
func (c *ClientWithResponses) LogPostPapertrailWithResponse(ctx context.Context, params *LogPostPapertrailParams, reqEditors ...RequestEditorFn) (*LogPostPapertrailResponse, error)
LogPostPapertrailWithResponse Enabling Papertrail
This endpoint will enable all Plex Media Serverlogs to be sent to the Papertrail networked logging site for a period of time ¶
Note: This endpoint responds to all HTTP verbs but POST is preferred
Returns a wrapper object for the known response body format(s).
Corresponds with POST /log/networked (the `LogPostPapertrail` operationId).
func (*ClientWithResponses) LogPostSlashWithBodyWithResponse ¶
func (c *ClientWithResponses) LogPostSlashWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*LogPostSlashResponse, error)
LogPostSlashWithBodyWithResponse Logging a multi-line message to the Plex Media Server log
This endpoint will write multiple lines to the main Plex Media Server log in a single request. It takes a set of query strings as would normally sent to the above PUT endpoint as a linefeed-separated block of POST data. The parameters for each query string match as above.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /log (the `LogPostSlash` operationId).
func (*ClientWithResponses) LogPostSlashWithTextBodyWithResponse ¶
func (c *ClientWithResponses) LogPostSlashWithTextBodyWithResponse(ctx context.Context, body LogPostSlashTextRequestBody, reqEditors ...RequestEditorFn) (*LogPostSlashResponse, error)
LogPostSlashWithTextBodyWithResponse Logging a multi-line message to the Plex Media Server log
This endpoint will write multiple lines to the main Plex Media Server log in a single request. It takes a set of query strings as would normally sent to the above PUT endpoint as a linefeed-separated block of POST data. The parameters for each query string match as above.
Takes a body of the `text/plain` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /log (the `LogPostSlash` operationId).
func (*ClientWithResponses) LogPutSlashWithResponse ¶
func (c *ClientWithResponses) LogPutSlashWithResponse(ctx context.Context, params *LogPutSlashParams, reqEditors ...RequestEditorFn) (*LogPutSlashResponse, error)
LogPutSlashWithResponse Logging a single-line message to the Plex Media Server log
This endpoint will write a single-line log message, including a level and source to the main Plex Media Server log.
Note: This endpoint responds to all HTTP verbs **except POST** but PUT is preferred
Returns a wrapper object for the known response body format(s).
Corresponds with PUT /log (the `LogPutSlash` operationId).
func (*ClientWithResponses) MediaGrabberDeleteDevicesDeviceScanWithResponse ¶
func (c *ClientWithResponses) MediaGrabberDeleteDevicesDeviceScanWithResponse(ctx context.Context, deviceID int, reqEditors ...RequestEditorFn) (*MediaGrabberDeleteDevicesDeviceScanResponse, error)
MediaGrabberDeleteDevicesDeviceScanWithResponse Tell a device to stop scanning for channels
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /media/grabbers/devices/{deviceId}/scan (the `MediaGrabberDeleteDevicesDeviceScan` operationId).
func (*ClientWithResponses) MediaGrabberDeleteOperationsOperationWithResponse ¶
func (c *ClientWithResponses) MediaGrabberDeleteOperationsOperationWithResponse(ctx context.Context, operationID string, reqEditors ...RequestEditorFn) (*MediaGrabberDeleteOperationsOperationResponse, error)
MediaGrabberDeleteOperationsOperationWithResponse Cancel an existing grab
Cancels an existing media grab (recording). It can be used to resolve a conflict which exists for a rolling subscription. Note: This cancellation does not persist across a server restart, but neither does a rolling subscription itself.
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /media/grabbers/operations/{operationId} (the `MediaGrabberDeleteOperationsOperation` operationId).
func (*ClientWithResponses) MediaGrabberDevicesDeviceDeleteSlashWithResponse ¶
func (c *ClientWithResponses) MediaGrabberDevicesDeviceDeleteSlashWithResponse(ctx context.Context, deviceID int, reqEditors ...RequestEditorFn) (*MediaGrabberDevicesDeviceDeleteSlashResponse, error)
MediaGrabberDevicesDeviceDeleteSlashWithResponse Remove a device
Remove a devices by its id along with its channel mappings.
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /media/grabbers/devices/{deviceId} (the `MediaGrabberDevicesDeviceDeleteSlash` operationId).
func (*ClientWithResponses) MediaGrabberDevicesDeviceGetChannelsWithResponse ¶
func (c *ClientWithResponses) MediaGrabberDevicesDeviceGetChannelsWithResponse(ctx context.Context, deviceID int, reqEditors ...RequestEditorFn) (*MediaGrabberDevicesDeviceGetChannelsResponse, error)
MediaGrabberDevicesDeviceGetChannelsWithResponse Get a device's channels
Get a device's channels by its id.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /media/grabbers/devices/{deviceId}/channels (the `MediaGrabberDevicesDeviceGetChannels` operationId).
func (*ClientWithResponses) MediaGrabberDevicesDeviceGetSlashWithResponse ¶
func (c *ClientWithResponses) MediaGrabberDevicesDeviceGetSlashWithResponse(ctx context.Context, deviceID int, reqEditors ...RequestEditorFn) (*MediaGrabberDevicesDeviceGetSlashResponse, error)
MediaGrabberDevicesDeviceGetSlashWithResponse Get device details
Get a device's details by its id.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /media/grabbers/devices/{deviceId} (the `MediaGrabberDevicesDeviceGetSlash` operationId).
func (*ClientWithResponses) MediaGrabberDevicesDeviceGetThumbVersionWithResponse ¶
func (c *ClientWithResponses) MediaGrabberDevicesDeviceGetThumbVersionWithResponse(ctx context.Context, deviceID int, version int, reqEditors ...RequestEditorFn) (*MediaGrabberDevicesDeviceGetThumbVersionResponse, error)
MediaGrabberDevicesDeviceGetThumbVersionWithResponse Get device thumb
Get a device's thumb for display to the user.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /media/grabbers/devices/{deviceId}/thumb/{version} (the `MediaGrabberDevicesDeviceGetThumbVersion` operationId).
func (*ClientWithResponses) MediaGrabberDevicesDevicePostScanWithResponse ¶
func (c *ClientWithResponses) MediaGrabberDevicesDevicePostScanWithResponse(ctx context.Context, deviceID int, params *MediaGrabberDevicesDevicePostScanParams, reqEditors ...RequestEditorFn) (*MediaGrabberDevicesDevicePostScanResponse, error)
MediaGrabberDevicesDevicePostScanWithResponse Tell a device to scan for channels
Returns a wrapper object for the known response body format(s).
Corresponds with POST /media/grabbers/devices/{deviceId}/scan (the `MediaGrabberDevicesDevicePostScan` operationId).
func (*ClientWithResponses) MediaGrabberDevicesDevicePutChannelmapWithResponse ¶
func (c *ClientWithResponses) MediaGrabberDevicesDevicePutChannelmapWithResponse(ctx context.Context, deviceID int, params *MediaGrabberDevicesDevicePutChannelmapParams, reqEditors ...RequestEditorFn) (*MediaGrabberDevicesDevicePutChannelmapResponse, error)
MediaGrabberDevicesDevicePutChannelmapWithResponse Set a device's channel mapping
Returns a wrapper object for the known response body format(s).
Corresponds with PUT /media/grabbers/devices/{deviceId}/channelmap (the `MediaGrabberDevicesDevicePutChannelmap` operationId).
func (*ClientWithResponses) MediaGrabberDevicesDevicePutPrefsWithResponse ¶
func (c *ClientWithResponses) MediaGrabberDevicesDevicePutPrefsWithResponse(ctx context.Context, deviceID int, params *MediaGrabberDevicesDevicePutPrefsParams, reqEditors ...RequestEditorFn) (*MediaGrabberDevicesDevicePutPrefsResponse, error)
MediaGrabberDevicesDevicePutPrefsWithResponse Set device preferences
Set device preferences by its id.
Returns a wrapper object for the known response body format(s).
Corresponds with PUT /media/grabbers/devices/{deviceId}/prefs (the `MediaGrabberDevicesDevicePutPrefs` operationId).
func (*ClientWithResponses) MediaGrabberDevicesDevicePutSlashWithResponse ¶
func (c *ClientWithResponses) MediaGrabberDevicesDevicePutSlashWithResponse(ctx context.Context, deviceID int, params *MediaGrabberDevicesDevicePutSlashParams, reqEditors ...RequestEditorFn) (*MediaGrabberDevicesDevicePutSlashResponse, error)
MediaGrabberDevicesDevicePutSlashWithResponse Enable or disable a device
Enable or disable a device by its id.
Returns a wrapper object for the known response body format(s).
Corresponds with PUT /media/grabbers/devices/{deviceId} (the `MediaGrabberDevicesDevicePutSlash` operationId).
func (*ClientWithResponses) MediaGrabberGetDevicesWithResponse ¶
func (c *ClientWithResponses) MediaGrabberGetDevicesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*MediaGrabberGetDevicesResponse, error)
MediaGrabberGetDevicesWithResponse Get all devices
Get the list of all devices present.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /media/grabbers/devices (the `MediaGrabberGetDevices` operationId).
func (*ClientWithResponses) MediaGrabberGetSlashWithResponse ¶
func (c *ClientWithResponses) MediaGrabberGetSlashWithResponse(ctx context.Context, params *MediaGrabberGetSlashParams, reqEditors ...RequestEditorFn) (*MediaGrabberGetSlashResponse, error)
MediaGrabberGetSlashWithResponse Get available grabbers
Get available grabbers visible to the server.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /media/grabbers (the `MediaGrabberGetSlash` operationId).
func (*ClientWithResponses) MediaGrabberPostDeviceDiscoverWithResponse ¶
func (c *ClientWithResponses) MediaGrabberPostDeviceDiscoverWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*MediaGrabberPostDeviceDiscoverResponse, error)
MediaGrabberPostDeviceDiscoverWithResponse Tell grabbers to discover devices
Returns a wrapper object for the known response body format(s).
Corresponds with POST /media/grabbers/devices/discover (the `MediaGrabberPostDeviceDiscover` operationId).
func (*ClientWithResponses) MediaGrabberPostDevicesWithResponse ¶
func (c *ClientWithResponses) MediaGrabberPostDevicesWithResponse(ctx context.Context, params *MediaGrabberPostDevicesParams, reqEditors ...RequestEditorFn) (*MediaGrabberPostDevicesResponse, error)
MediaGrabberPostDevicesWithResponse Add a device
This endpoint adds a device to an existing grabber. The device is identified, and added to the correct grabber.
Returns a wrapper object for the known response body format(s).
Corresponds with POST /media/grabbers/devices (the `MediaGrabberPostDevices` operationId).
func (*ClientWithResponses) MediaProviderEPGChannelsWithResponse ¶
func (c *ClientWithResponses) MediaProviderEPGChannelsWithResponse(ctx context.Context, identifier MediaProviderEPGChannelsParamsIdentifier, deviceID int, params *MediaProviderEPGChannelsParams, reqEditors ...RequestEditorFn) (*MediaProviderEPGChannelsResponse, error)
MediaProviderEPGChannelsWithResponse Get channels for a lineup
Get channels for a lineup within an EPG provider.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /tv.plex.providers.epg.{identifier}:{deviceId}/lineups/dvr/channels (the `MediaProviderEPGChannels` operationId).
func (*ClientWithResponses) MediaProviderEPGGridWithResponse ¶
func (c *ClientWithResponses) MediaProviderEPGGridWithResponse(ctx context.Context, identifier MediaProviderEPGGridParamsIdentifier, deviceID int, params *MediaProviderEPGGridParams, reqEditors ...RequestEditorFn) (*MediaProviderEPGGridResponse, error)
MediaProviderEPGGridWithResponse Get airing information
Get the airing information for a given channel on a given day.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /tv.plex.providers.epg.{identifier}:{deviceId}/grid (the `MediaProviderEPGGrid` operationId).
func (*ClientWithResponses) MediaProviderEPGWatchnowAllWithResponse ¶
func (c *ClientWithResponses) MediaProviderEPGWatchnowAllWithResponse(ctx context.Context, identifier MediaProviderEPGWatchnowAllParamsIdentifier, deviceID int, reqEditors ...RequestEditorFn) (*MediaProviderEPGWatchnowAllResponse, error)
MediaProviderEPGWatchnowAllWithResponse Get currently airing
Get the information for all currently airing shows on the specified provider.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /tv.plex.providers.epg.{identifier}:{deviceId}/watchnow/all (the `MediaProviderEPGWatchnowAll` operationId).
func (*ClientWithResponses) MediaProviderEPGWatchnowWithResponse ¶
func (c *ClientWithResponses) MediaProviderEPGWatchnowWithResponse(ctx context.Context, identifier MediaProviderEPGWatchnowParamsIdentifier, deviceID int, reqEditors ...RequestEditorFn) (*MediaProviderEPGWatchnowResponse, error)
MediaProviderEPGWatchnowWithResponse Get hubs
Get the watchnow hubs for the specified provider.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /tv.plex.providers.epg.{identifier}:{deviceId}/watchnow (the `MediaProviderEPGWatchnow` operationId).
func (*ClientWithResponses) MediaSubscriptionsDeleteSubscriptionWithResponse ¶
func (c *ClientWithResponses) MediaSubscriptionsDeleteSubscriptionWithResponse(ctx context.Context, subscriptionID int, reqEditors ...RequestEditorFn) (*MediaSubscriptionsDeleteSubscriptionResponse, error)
MediaSubscriptionsDeleteSubscriptionWithResponse Delete a subscription
Delete a subscription, cancelling all of its grabs as well ¶
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /media/subscriptions/{subscriptionId} (the `MediaSubscriptionsDeleteSubscription` operationId).
func (*ClientWithResponses) MediaSubscriptionsGetScheduledWithResponse ¶
func (c *ClientWithResponses) MediaSubscriptionsGetScheduledWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*MediaSubscriptionsGetScheduledResponse, error)
MediaSubscriptionsGetScheduledWithResponse Get all scheduled recordings
Get all scheduled recordings across all subscriptions.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /media/subscriptions/scheduled (the `MediaSubscriptionsGetScheduled` operationId).
func (*ClientWithResponses) MediaSubscriptionsGetSlashWithResponse ¶
func (c *ClientWithResponses) MediaSubscriptionsGetSlashWithResponse(ctx context.Context, params *MediaSubscriptionsGetSlashParams, reqEditors ...RequestEditorFn) (*MediaSubscriptionsGetSlashResponse, error)
MediaSubscriptionsGetSlashWithResponse Get all subscriptions
Get all subscriptions and potentially the grabs too.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /media/subscriptions (the `MediaSubscriptionsGetSlash` operationId).
func (*ClientWithResponses) MediaSubscriptionsGetSubscriptionWithResponse ¶
func (c *ClientWithResponses) MediaSubscriptionsGetSubscriptionWithResponse(ctx context.Context, subscriptionID int, params *MediaSubscriptionsGetSubscriptionParams, reqEditors ...RequestEditorFn) (*MediaSubscriptionsGetSubscriptionResponse, error)
MediaSubscriptionsGetSubscriptionWithResponse Get a single subscription
Get a single subscription and potentially the grabs too.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /media/subscriptions/{subscriptionId} (the `MediaSubscriptionsGetSubscription` operationId).
func (*ClientWithResponses) MediaSubscriptionsGetTemplateWithResponse ¶
func (c *ClientWithResponses) MediaSubscriptionsGetTemplateWithResponse(ctx context.Context, params *MediaSubscriptionsGetTemplateParams, reqEditors ...RequestEditorFn) (*MediaSubscriptionsGetTemplateResponse, error)
MediaSubscriptionsGetTemplateWithResponse Get the subscription template
Get the templates for a piece of media which could include fetching one airing, season, the whole show, etc.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /media/subscriptions/template (the `MediaSubscriptionsGetTemplate` operationId).
func (*ClientWithResponses) MediaSubscriptionsPostProcessWithResponse ¶
func (c *ClientWithResponses) MediaSubscriptionsPostProcessWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*MediaSubscriptionsPostProcessResponse, error)
MediaSubscriptionsPostProcessWithResponse Process all subscriptions
Process all subscriptions asynchronously.
Returns a wrapper object for the known response body format(s).
Corresponds with POST /media/subscriptions/process (the `MediaSubscriptionsPostProcess` operationId).
func (*ClientWithResponses) MediaSubscriptionsPostSlashWithResponse ¶
func (c *ClientWithResponses) MediaSubscriptionsPostSlashWithResponse(ctx context.Context, params *MediaSubscriptionsPostSlashParams, reqEditors ...RequestEditorFn) (*MediaSubscriptionsPostSlashResponse, error)
MediaSubscriptionsPostSlashWithResponse Create a subscription
Create a subscription. The query parameters should be mostly derived from the [template](#tag/Subscriptions/operation/mediaSubscriptionsGetTemplate)
Returns a wrapper object for the known response body format(s).
Corresponds with POST /media/subscriptions (the `MediaSubscriptionsPostSlash` operationId).
func (*ClientWithResponses) MediaSubscriptionsPutSubscriptionMoveWithResponse ¶
func (c *ClientWithResponses) MediaSubscriptionsPutSubscriptionMoveWithResponse(ctx context.Context, subscriptionID int, params *MediaSubscriptionsPutSubscriptionMoveParams, reqEditors ...RequestEditorFn) (*MediaSubscriptionsPutSubscriptionMoveResponse, error)
MediaSubscriptionsPutSubscriptionMoveWithResponse Re-order a subscription
Re-order a subscription to change its priority.
Returns a wrapper object for the known response body format(s).
Corresponds with PUT /media/subscriptions/{subscriptionId}/move (the `MediaSubscriptionsPutSubscriptionMove` operationId).
func (*ClientWithResponses) MediaSubscriptionsPutSubscriptionWithResponse ¶
func (c *ClientWithResponses) MediaSubscriptionsPutSubscriptionWithResponse(ctx context.Context, subscriptionID int, params *MediaSubscriptionsPutSubscriptionParams, reqEditors ...RequestEditorFn) (*MediaSubscriptionsPutSubscriptionResponse, error)
MediaSubscriptionsPutSubscriptionWithResponse Edit a subscription
Edit a subscription's preferences.
Returns a wrapper object for the known response body format(s).
Corresponds with PUT /media/subscriptions/{subscriptionId} (the `MediaSubscriptionsPutSubscription` operationId).
func (*ClientWithResponses) PlayQueuePlayQueueResetWithResponse ¶
func (c *ClientWithResponses) PlayQueuePlayQueueResetWithResponse(ctx context.Context, playQueueID int, reqEditors ...RequestEditorFn) (*PlayQueuePlayQueueResetResponse, error)
PlayQueuePlayQueueResetWithResponse Reset a play queue
Reset a play queue to the first item being the current item.
Returns a wrapper object for the known response body format(s).
Corresponds with PUT /playQueues/{playQueueId}/reset (the `PlayQueuePlayQueueReset` operationId).
func (*ClientWithResponses) PlayQueuePostSlashWithResponse ¶
func (c *ClientWithResponses) PlayQueuePostSlashWithResponse(ctx context.Context, params *PlayQueuePostSlashParams, reqEditors ...RequestEditorFn) (*PlayQueuePostSlashResponse, error)
PlayQueuePostSlashWithResponse Create a play queue
Makes a new play queue for a device. The source of the playqueue can either be a URI, or a playlist. The response is a media container with the initial items in the queue. Each item in the queue will be a regular item but with `playQueueItemID` - a unique ID since the queue could have repeated items with the same `ratingKey`. Note: Either `uri` or `playlistID` must be specified
Returns a wrapper object for the known response body format(s).
Corresponds with POST /playQueues (the `PlayQueuePostSlash` operationId).
func (*ClientWithResponses) PlayQueueQueueDeleteItemsItemWithResponse ¶
func (c *ClientWithResponses) PlayQueueQueueDeleteItemsItemWithResponse(ctx context.Context, playQueueID int, playQueueItemID int, reqEditors ...RequestEditorFn) (*PlayQueueQueueDeleteItemsItemResponse, error)
PlayQueueQueueDeleteItemsItemWithResponse Delete an item from a play queue
Deletes an item in a play queue. Increments the version of the play queue. Returns the modified play queue.
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /playQueues/{playQueueId}/items/{playQueueItemId} (the `PlayQueueQueueDeleteItemsItem` operationId).
func (*ClientWithResponses) PlayQueueQueueDeleteItemsWithResponse ¶
func (c *ClientWithResponses) PlayQueueQueueDeleteItemsWithResponse(ctx context.Context, playQueueID int, reqEditors ...RequestEditorFn) (*PlayQueueQueueDeleteItemsResponse, error)
PlayQueueQueueDeleteItemsWithResponse Clear a play queue
Deletes all items in the play queue, and increases the version of the play queue.
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /playQueues/{playQueueId}/items (the `PlayQueueQueueDeleteItems` operationId).
func (*ClientWithResponses) PlayQueueQueueGetSlashWithResponse ¶
func (c *ClientWithResponses) PlayQueueQueueGetSlashWithResponse(ctx context.Context, playQueueID int, params *PlayQueueQueueGetSlashParams, reqEditors ...RequestEditorFn) (*PlayQueueQueueGetSlashResponse, error)
PlayQueueQueueGetSlashWithResponse Retrieve a play queue
Retrieves the play queue, centered at current item. This can be treated as a regular container by play queue-oblivious clients, but they may wish to request a large window onto the queue since they won't know to refresh.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /playQueues/{playQueueId} (the `PlayQueueQueueGetSlash` operationId).
func (*ClientWithResponses) PlayQueueQueuePutItemsMoveWithResponse ¶
func (c *ClientWithResponses) PlayQueueQueuePutItemsMoveWithResponse(ctx context.Context, playQueueID int, playQueueItemID int, params *PlayQueueQueuePutItemsMoveParams, reqEditors ...RequestEditorFn) (*PlayQueueQueuePutItemsMoveResponse, error)
PlayQueueQueuePutItemsMoveWithResponse Move an item in a play queue
Moves an item in a play queue, and increases the version of the play queue. Returns the modified play queue.
Returns a wrapper object for the known response body format(s).
Corresponds with PUT /playQueues/{playQueueId}/items/{playQueueItemId}/move (the `PlayQueueQueuePutItemsMove` operationId).
func (*ClientWithResponses) PlayQueueQueuePutItemsShuffleWithResponse ¶
func (c *ClientWithResponses) PlayQueueQueuePutItemsShuffleWithResponse(ctx context.Context, playQueueID int, reqEditors ...RequestEditorFn) (*PlayQueueQueuePutItemsShuffleResponse, error)
PlayQueueQueuePutItemsShuffleWithResponse Shuffle a play queue
Shuffle a play queue (or reshuffles if already shuffled). The currently selected item is maintained. Note that this is currently only supported for play queues *without* an Up Next area. Returns the modified play queue.
Returns a wrapper object for the known response body format(s).
Corresponds with PUT /playQueues/{playQueueId}/shuffle (the `PlayQueueQueuePutItemsShuffle` operationId).
func (*ClientWithResponses) PlayQueueQueuePutItemsUnshuffleWithResponse ¶
func (c *ClientWithResponses) PlayQueueQueuePutItemsUnshuffleWithResponse(ctx context.Context, playQueueID int, reqEditors ...RequestEditorFn) (*PlayQueueQueuePutItemsUnshuffleResponse, error)
PlayQueueQueuePutItemsUnshuffleWithResponse Unshuffle a play queue
Unshuffles a play queue and restores "natural order". Note that this is currently only supported for play queues *without* an Up Next area. Returns the modified play queue.
Returns a wrapper object for the known response body format(s).
Corresponds with PUT /playQueues/{playQueueId}/unshuffle (the `PlayQueueQueuePutItemsUnshuffle` operationId).
func (*ClientWithResponses) PlayQueueQueuePutSlashWithResponse ¶
func (c *ClientWithResponses) PlayQueueQueuePutSlashWithResponse(ctx context.Context, playQueueID int, params *PlayQueueQueuePutSlashParams, reqEditors ...RequestEditorFn) (*PlayQueueQueuePutSlashResponse, error)
PlayQueueQueuePutSlashWithResponse Add a generator or playlist to a play queue
Adds an item to a play queue (e.g. party mode). Increments the version of the play queue. Takes the following parameters (`uri` and `playlistID` are mutually exclusive). Returns the modified play queue.
Returns a wrapper object for the known response body format(s).
Corresponds with PUT /playQueues/{playQueueId} (the `PlayQueueQueuePutSlash` operationId).
func (*ClientWithResponses) PlaylistDeleteItemsGeneratorWithResponse ¶
func (c *ClientWithResponses) PlaylistDeleteItemsGeneratorWithResponse(ctx context.Context, playlistID int, generatorID int, reqEditors ...RequestEditorFn) (*PlaylistDeleteItemsGeneratorResponse, error)
PlaylistDeleteItemsGeneratorWithResponse Delete a Generator
Deletes an item from a playlist. Only works with dumb playlists.
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /playlists/{playlistId}/items/{generatorId} (the `PlaylistDeleteItemsGenerator` operationId).
func (*ClientWithResponses) PlaylistDeleteItemsWithResponse ¶
func (c *ClientWithResponses) PlaylistDeleteItemsWithResponse(ctx context.Context, playlistID int, reqEditors ...RequestEditorFn) (*PlaylistDeleteItemsResponse, error)
PlaylistDeleteItemsWithResponse Clearing a playlist
Clears a playlist, only works with dumb playlists. Returns the playlist.
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /playlists/{playlistId}/items (the `PlaylistDeleteItems` operationId).
func (*ClientWithResponses) PlaylistDeletePlaylistWithResponse ¶
func (c *ClientWithResponses) PlaylistDeletePlaylistWithResponse(ctx context.Context, playlistID int, reqEditors ...RequestEditorFn) (*PlaylistDeletePlaylistResponse, error)
PlaylistDeletePlaylistWithResponse Delete a Playlist
Deletes a playlist by provided id.
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /playlists/{playlistId} (the `PlaylistDeletePlaylist` operationId).
func (*ClientWithResponses) PlaylistGetGeneratorsWithResponse ¶
func (c *ClientWithResponses) PlaylistGetGeneratorsWithResponse(ctx context.Context, playlistID int, reqEditors ...RequestEditorFn) (*PlaylistGetGeneratorsResponse, error)
PlaylistGetGeneratorsWithResponse Get a playlist's generators
Get all the generators in a playlist.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /playlists/{playlistId}/generators (the `PlaylistGetGenerators` operationId).
func (*ClientWithResponses) PlaylistGetItemsGeneratorItemsWithResponse ¶
func (c *ClientWithResponses) PlaylistGetItemsGeneratorItemsWithResponse(ctx context.Context, playlistID int, generatorID int, reqEditors ...RequestEditorFn) (*PlaylistGetItemsGeneratorItemsResponse, error)
PlaylistGetItemsGeneratorItemsWithResponse Get a playlist generator's items
Returns a wrapper object for the known response body format(s).
Corresponds with GET /playlists/{playlistId}/items/{generatorId}/items (the `PlaylistGetItemsGeneratorItems` operationId).
func (*ClientWithResponses) PlaylistGetItemsGeneratorWithResponse ¶
func (c *ClientWithResponses) PlaylistGetItemsGeneratorWithResponse(ctx context.Context, playlistID int, generatorID int, reqEditors ...RequestEditorFn) (*PlaylistGetItemsGeneratorResponse, error)
PlaylistGetItemsGeneratorWithResponse Get a playlist generator
Get a playlist's generator. Only used for optimized versions
Returns a wrapper object for the known response body format(s).
Corresponds with GET /playlists/{playlistId}/items/{generatorId} (the `PlaylistGetItemsGenerator` operationId).
func (*ClientWithResponses) PlaylistGetItemsWithResponse ¶
func (c *ClientWithResponses) PlaylistGetItemsWithResponse(ctx context.Context, playlistID int, params *PlaylistGetItemsParams, reqEditors ...RequestEditorFn) (*PlaylistGetItemsResponse, error)
PlaylistGetItemsWithResponse Retrieve Playlist Contents
Gets the contents if a playlist. Should be paged by clients via standard mechanisms. By default leaves are returned (e.g. episodes, movies). In order to return other types you can use the `type` parameter. For example, you could use this to display a list of recently added albums vis a smart playlist. Note that for dumb playlists, items have a `playlistItemID` attribute which is used for deleting or moving items.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /playlists/{playlistId}/items (the `PlaylistGetItems` operationId).
func (*ClientWithResponses) PlaylistGetPlaylistWithResponse ¶
func (c *ClientWithResponses) PlaylistGetPlaylistWithResponse(ctx context.Context, playlistID int, reqEditors ...RequestEditorFn) (*PlaylistGetPlaylistResponse, error)
PlaylistGetPlaylistWithResponse Retrieve Playlist
Gets detailed metadata for a playlist. A playlist for many purposes (rating, editing metadata, tagging), can be treated like a regular metadata item: Smart playlist details contain the `content` attribute. This is the content URI for the generator. This can then be parsed by a client to provide smart playlist editing.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /playlists/{playlistId} (the `PlaylistGetPlaylist` operationId).
func (*ClientWithResponses) PlaylistGetSlashWithResponse ¶
func (c *ClientWithResponses) PlaylistGetSlashWithResponse(ctx context.Context, params *PlaylistGetSlashParams, reqEditors ...RequestEditorFn) (*PlaylistGetSlashResponse, error)
PlaylistGetSlashWithResponse Retrieve Playlists
Gets a list of playlists and playlist folders for a user. General filters are permitted, such as `sort=lastViewedAt:desc`. A flat playlist list can be retrieved using `type=15` to limit the collection to just playlists.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /playlists (the `PlaylistGetSlash` operationId).
func (*ClientWithResponses) PlaylistPostSlashWithResponse ¶
func (c *ClientWithResponses) PlaylistPostSlashWithResponse(ctx context.Context, params *PlaylistPostSlashParams, reqEditors ...RequestEditorFn) (*PlaylistPostSlashResponse, error)
PlaylistPostSlashWithResponse Create a Playlist
Create a new playlist. By default the playlist is blank.
Returns a wrapper object for the known response body format(s).
Corresponds with POST /playlists (the `PlaylistPostSlash` operationId).
func (*ClientWithResponses) PlaylistPostUploadWithResponse ¶
func (c *ClientWithResponses) PlaylistPostUploadWithResponse(ctx context.Context, params *PlaylistPostUploadParams, reqEditors ...RequestEditorFn) (*PlaylistPostUploadResponse, error)
PlaylistPostUploadWithResponse Upload
Imports m3u playlists by passing a path on the server to scan for m3u-formatted playlist files, or a path to a single playlist file.
Returns a wrapper object for the known response body format(s).
Corresponds with POST /playlists/upload (the `PlaylistPostUpload` operationId).
func (*ClientWithResponses) PlaylistPutItemsGeneratorReprocessWithResponse ¶
func (c *ClientWithResponses) PlaylistPutItemsGeneratorReprocessWithResponse(ctx context.Context, playlistID int, generatorID int, metadataID int, action PlaylistPutItemsGeneratorReprocessParamsAction, reqEditors ...RequestEditorFn) (*PlaylistPutItemsGeneratorReprocessResponse, error)
PlaylistPutItemsGeneratorReprocessWithResponse Reprocess a generator
Make a generator reprocess (refresh).
Returns a wrapper object for the known response body format(s).
Corresponds with PUT /playlists/{playlistId}/items/{generatorId}/{metadataId}/{action} (the `PlaylistPutItemsGeneratorReprocess` operationId).
func (*ClientWithResponses) PlaylistPutItemsGeneratorWithResponse ¶
func (c *ClientWithResponses) PlaylistPutItemsGeneratorWithResponse(ctx context.Context, playlistID int, generatorID int, params *PlaylistPutItemsGeneratorParams, reqEditors ...RequestEditorFn) (*PlaylistPutItemsGeneratorResponse, error)
PlaylistPutItemsGeneratorWithResponse Modify a Generator
Modify a playlist generator. Only used for optimizer
Returns a wrapper object for the known response body format(s).
Corresponds with PUT /playlists/{playlistId}/items/{generatorId} (the `PlaylistPutItemsGenerator` operationId).
func (*ClientWithResponses) PlaylistPutItemsMoveWithResponse ¶
func (c *ClientWithResponses) PlaylistPutItemsMoveWithResponse(ctx context.Context, playlistID int, playlistItemID int, params *PlaylistPutItemsMoveParams, reqEditors ...RequestEditorFn) (*PlaylistPutItemsMoveResponse, error)
PlaylistPutItemsMoveWithResponse Moving items in a playlist
Moves an item in a playlist. Only works with dumb playlists.
Returns a wrapper object for the known response body format(s).
Corresponds with PUT /playlists/{playlistId}/items/{playlistItemId}/move (the `PlaylistPutItemsMove` operationId).
func (*ClientWithResponses) PlaylistPutItemsWithResponse ¶
func (c *ClientWithResponses) PlaylistPutItemsWithResponse(ctx context.Context, playlistID int, params *PlaylistPutItemsParams, reqEditors ...RequestEditorFn) (*PlaylistPutItemsResponse, error)
PlaylistPutItemsWithResponse Adding to a Playlist
Adds a generator to a playlist, same parameters as the POST above. With a dumb playlist, this adds the specified items to the playlist. With a smart playlist, passing a new `uri` parameter replaces the rules for the playlist. Returns the playlist.
Returns a wrapper object for the known response body format(s).
Corresponds with PUT /playlists/{playlistId}/items (the `PlaylistPutItems` operationId).
func (*ClientWithResponses) PlaylistPutPlaylistWithResponse ¶
func (c *ClientWithResponses) PlaylistPutPlaylistWithResponse(ctx context.Context, playlistID int, reqEditors ...RequestEditorFn) (*PlaylistPutPlaylistResponse, error)
PlaylistPutPlaylistWithResponse Editing a Playlist
Edits a playlist in the same manner as [editing metadata](#tag/Provider/operation/metadataPutItem).
Returns a wrapper object for the known response body format(s).
Corresponds with PUT /playlists/{playlistId} (the `PlaylistPutPlaylist` operationId).
func (*ClientWithResponses) PostMediaProvidersRefreshWithResponse ¶
func (c *ClientWithResponses) PostMediaProvidersRefreshWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PostMediaProvidersRefreshResponse, error)
PostMediaProvidersRefreshWithResponse Refresh media providers
Refresh all known media providers. This is useful in case a provider has updated features.
Returns a wrapper object for the known response body format(s).
Corresponds with POST /media/providers/refresh (the `PostMediaProvidersRefresh` operationId).
func (*ClientWithResponses) PostMediaProvidersWithResponse ¶
func (c *ClientWithResponses) PostMediaProvidersWithResponse(ctx context.Context, params *PostMediaProvidersParams, reqEditors ...RequestEditorFn) (*PostMediaProvidersResponse, error)
PostMediaProvidersWithResponse Add a media provider
This endpoint registers a media provider with the server. Once registered, the media server acts as a reverse proxy to the provider, allowing both local and remote providers to work.
Returns a wrapper object for the known response body format(s).
Corresponds with POST /media/providers (the `PostMediaProviders` operationId).
func (*ClientWithResponses) PostMetadataAgentProviderGroupsWithResponse ¶
func (c *ClientWithResponses) PostMetadataAgentProviderGroupsWithResponse(ctx context.Context, params *PostMetadataAgentProviderGroupsParams, reqEditors ...RequestEditorFn) (*PostMetadataAgentProviderGroupsResponse, error)
PostMetadataAgentProviderGroupsWithResponse Add a metadata agent provider group
This endpoint registers a new metadata agent provider group and creates a new MetadataAgentGroupItem for the primraryIdentifier.
Returns a wrapper object for the known response body format(s).
Corresponds with POST /media/providers/metadata/group (the `PostMetadataAgentProviderGroups` operationId).
func (*ClientWithResponses) PostMetadataAgentProvidersWithResponse ¶
func (c *ClientWithResponses) PostMetadataAgentProvidersWithResponse(ctx context.Context, params *PostMetadataAgentProvidersParams, reqEditors ...RequestEditorFn) (*PostMetadataAgentProvidersResponse, error)
PostMetadataAgentProvidersWithResponse Add a metadata agent provider
This endpoint registers a metadata agent provider with the server. The provider URI must respond with a valid MediaProvider response.
Returns a wrapper object for the known response body format(s).
Corresponds with POST /media/providers/metadata (the `PostMetadataAgentProviders` operationId).
func (*ClientWithResponses) PreferencesGetGetWithResponse ¶
func (c *ClientWithResponses) PreferencesGetGetWithResponse(ctx context.Context, params *PreferencesGetGetParams, reqEditors ...RequestEditorFn) (*PreferencesGetGetResponse, error)
PreferencesGetGetWithResponse Get a preferences
Get a single preference and value.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /:/prefs/get (the `PreferencesGetGet` operationId).
func (*ClientWithResponses) PreferencesGetSlashWithResponse ¶
func (c *ClientWithResponses) PreferencesGetSlashWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PreferencesGetSlashResponse, error)
PreferencesGetSlashWithResponse Get all preferences
Get the list of all preferences.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /:/prefs (the `PreferencesGetSlash` operationId).
func (*ClientWithResponses) PreferencesPutSlashWithResponse ¶
func (c *ClientWithResponses) PreferencesPutSlashWithResponse(ctx context.Context, params *PreferencesPutSlashParams, reqEditors ...RequestEditorFn) (*PreferencesPutSlashResponse, error)
PreferencesPutSlashWithResponse Set preferences
Set a set of preferences in query parameters.
Returns a wrapper object for the known response body format(s).
Corresponds with PUT /:/prefs (the `PreferencesPutSlash` operationId).
func (*ClientWithResponses) PutMetadataAgentProviderGroupItemWithResponse ¶
func (c *ClientWithResponses) PutMetadataAgentProviderGroupItemWithResponse(ctx context.Context, groupID int, providerID int, params *PutMetadataAgentProviderGroupItemParams, reqEditors ...RequestEditorFn) (*PutMetadataAgentProviderGroupItemResponse, error)
PutMetadataAgentProviderGroupItemWithResponse Modify a metadata agent provider group's items
Modify a metadata agent provider group's items. This will assign the specified provider id to the group if it does not already exist.
Providing the optional after query parameter on an existing group item will move its position in the group relative to the item with the specified ID.
Returns a wrapper object for the known response body format(s).
Corresponds with PUT /media/providers/metadata/group/{groupId}/items/{providerId} (the `PutMetadataAgentProviderGroupItem` operationId).
func (*ClientWithResponses) PutMetadataAgentProviderGroupWithResponse ¶
func (c *ClientWithResponses) PutMetadataAgentProviderGroupWithResponse(ctx context.Context, groupID int, params *PutMetadataAgentProviderGroupParams, reqEditors ...RequestEditorFn) (*PutMetadataAgentProviderGroupResponse, error)
PutMetadataAgentProviderGroupWithResponse Modify a metadata agent provider group
Modify the metadata agent group with the given id. Only the title can be changed.
Returns a wrapper object for the known response body format(s).
Corresponds with PUT /media/providers/metadata/group/{groupId} (the `PutMetadataAgentProviderGroup` operationId).
func (*ClientWithResponses) PutMetadataAgentProviderWithResponse ¶
func (c *ClientWithResponses) PutMetadataAgentProviderWithResponse(ctx context.Context, providerID int, params *PutMetadataAgentProviderParams, reqEditors ...RequestEditorFn) (*PutMetadataAgentProviderResponse, error)
PutMetadataAgentProviderWithResponse Modify a metadata agent provider
Modify the metadata agent provider with the given id. Only the URI is passed, the response to the URI will determine the other properties.
Returns a wrapper object for the known response body format(s).
Corresponds with PUT /media/providers/metadata/{providerId} (the `PutMetadataAgentProvider` operationId).
func (*ClientWithResponses) PutRateWithResponse ¶
func (c *ClientWithResponses) PutRateWithResponse(ctx context.Context, params *PutRateParams, reqEditors ...RequestEditorFn) (*PutRateResponse, error)
PutRateWithResponse Rate an item
Set the rating on an item. This API does respond to the GET verb but applications should use PUT
Returns a wrapper object for the known response body format(s).
Corresponds with PUT /:/rate (the `PutRate` operationId).
func (*ClientWithResponses) PutScrobbleWithResponse ¶
func (c *ClientWithResponses) PutScrobbleWithResponse(ctx context.Context, params *PutScrobbleParams, reqEditors ...RequestEditorFn) (*PutScrobbleResponse, error)
PutScrobbleWithResponse Mark an item as played
Mark an item as played. Note, this does not create any view history of this item but rather just sets the state as played. The client must provide either the `key` or `uri` query parameter This API does respond to the GET verb but applications should use PUT
Returns a wrapper object for the known response body format(s).
Corresponds with PUT /:/scrobble (the `PutScrobble` operationId).
func (*ClientWithResponses) PutUnscrobbleWithResponse ¶
func (c *ClientWithResponses) PutUnscrobbleWithResponse(ctx context.Context, params *PutUnscrobbleParams, reqEditors ...RequestEditorFn) (*PutUnscrobbleResponse, error)
PutUnscrobbleWithResponse Mark an item as unplayed
Mark an item as unplayed. The client must provide either the `key` or `uri` query parameter This API does respond to the GET verb but applications should use PUT
Returns a wrapper object for the known response body format(s).
Corresponds with PUT /:/unscrobble (the `PutUnscrobble` operationId).
func (*ClientWithResponses) SecurityGetResourcesWithResponse ¶
func (c *ClientWithResponses) SecurityGetResourcesWithResponse(ctx context.Context, params *SecurityGetResourcesParams, reqEditors ...RequestEditorFn) (*SecurityGetResourcesResponse, error)
SecurityGetResourcesWithResponse Get Source Connection Information
If a caller requires connection details and a transient token for a source that is known to the server, for example a cloud media provider or shared PMS, then this endpoint can be called. This endpoint is only accessible with either an admin token or a valid transient token generated from an admin token.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /security/resources (the `SecurityGetResources` operationId).
func (*ClientWithResponses) SecurityPostTokenWithResponse ¶
func (c *ClientWithResponses) SecurityPostTokenWithResponse(ctx context.Context, params *SecurityPostTokenParams, reqEditors ...RequestEditorFn) (*SecurityPostTokenResponse, error)
SecurityPostTokenWithResponse Get Transient Tokens
This endpoint provides the caller with a temporary token with the same access level as the caller's token. These tokens are valid for up to 48 hours and are destroyed if the server instance is restarted. Note: This endpoint responds to all HTTP verbs but POST in preferred
Returns a wrapper object for the known response body format(s).
Corresponds with POST /security/token (the `SecurityPostToken` operationId).
func (*ClientWithResponses) StatusDeleteHistoryWithResponse ¶
func (c *ClientWithResponses) StatusDeleteHistoryWithResponse(ctx context.Context, historyID int, reqEditors ...RequestEditorFn) (*StatusDeleteHistoryResponse, error)
StatusDeleteHistoryWithResponse Delete Single History Item
Delete a single history item by id.
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /status/sessions/history/{historyId} (the `StatusDeleteHistory` operationId).
func (*ClientWithResponses) StatusGetBackgroundWithResponse ¶
func (c *ClientWithResponses) StatusGetBackgroundWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*StatusGetBackgroundResponse, error)
StatusGetBackgroundWithResponse Get background tasks
Get the list of all background tasks.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /status/sessions/background (the `StatusGetBackground` operationId).
func (*ClientWithResponses) StatusGetHistoryAllWithResponse ¶
func (c *ClientWithResponses) StatusGetHistoryAllWithResponse(ctx context.Context, params *StatusGetHistoryAllParams, reqEditors ...RequestEditorFn) (*StatusGetHistoryAllResponse, error)
StatusGetHistoryAllWithResponse List Playback History
List all playback history (Admin can see all users, others can only see their own). Pagination should be used on this endpoint. Additionally this endpoint supports `includeFields`, `excludeFields`, `includeElements`, and `excludeElements` parameters.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /status/sessions/history/all (the `StatusGetHistoryAll` operationId).
func (*ClientWithResponses) StatusGetHistoryWithResponse ¶
func (c *ClientWithResponses) StatusGetHistoryWithResponse(ctx context.Context, historyID int, reqEditors ...RequestEditorFn) (*StatusGetHistoryResponse, error)
StatusGetHistoryWithResponse Get Single History Item
Get a single history item by id.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /status/sessions/history/{historyId} (the `StatusGetHistory` operationId).
func (*ClientWithResponses) StatusGetSlashWithResponse ¶
func (c *ClientWithResponses) StatusGetSlashWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*StatusGetSlashResponse, error)
StatusGetSlashWithResponse List Sessions
List all current playbacks on this server.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /status/sessions (the `StatusGetSlash` operationId).
func (*ClientWithResponses) StatusPostTerminateWithResponse ¶
func (c *ClientWithResponses) StatusPostTerminateWithResponse(ctx context.Context, params *StatusPostTerminateParams, reqEditors ...RequestEditorFn) (*StatusPostTerminateResponse, error)
StatusPostTerminateWithResponse Terminate a session
Terminate a playback session kicking off the user.
Returns a wrapper object for the known response body format(s).
Corresponds with POST /status/sessions/terminate (the `StatusPostTerminate` operationId).
func (*ClientWithResponses) TimelinePostSlashWithResponse ¶
func (c *ClientWithResponses) TimelinePostSlashWithResponse(ctx context.Context, params *TimelinePostSlashParams, reqEditors ...RequestEditorFn) (*TimelinePostSlashResponse, error)
TimelinePostSlashWithResponse Report media timeline
This endpoint is hit during media playback for an item. It must be hit whenever the play state changes, or in the absence of a play state change, in a regular fashion (generally this means every 10 seconds on a LAN/WAN, and every 20 seconds over cellular).
Returns a wrapper object for the known response body format(s).
Corresponds with POST /:/timeline (the `TimelinePostSlash` operationId).
func (*ClientWithResponses) TranscodeDecisionWithResponse ¶
func (c *ClientWithResponses) TranscodeDecisionWithResponse(ctx context.Context, transcodeType TranscodeDecisionParamsTranscodeType, params *TranscodeDecisionParams, reqEditors ...RequestEditorFn) (*TranscodeDecisionResponse, error)
TranscodeDecisionWithResponse Make a decision on media playback
Make a decision on media playback based on client profile, and requested settings such as bandwidth and resolution.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /{transcodeType}/:/transcode/universal/decision (the `TranscodeDecision` operationId).
func (*ClientWithResponses) TranscodeFallbackWithResponse ¶
func (c *ClientWithResponses) TranscodeFallbackWithResponse(ctx context.Context, transcodeType TranscodeFallbackParamsTranscodeType, params *TranscodeFallbackParams, reqEditors ...RequestEditorFn) (*TranscodeFallbackResponse, error)
TranscodeFallbackWithResponse Manually trigger a transcoder fallback
Manually trigger a transcoder fallback ex: HEVC to h.264 or hw to sw
Returns a wrapper object for the known response body format(s).
Corresponds with POST /{transcodeType}/:/transcode/universal/fallback (the `TranscodeFallback` operationId).
func (*ClientWithResponses) TranscodeStartWithResponse ¶
func (c *ClientWithResponses) TranscodeStartWithResponse(ctx context.Context, transcodeType TranscodeStartParamsTranscodeType, params *TranscodeStartParams, reqEditors ...RequestEditorFn) (*TranscodeStartResponse, error)
TranscodeStartWithResponse Start A Transcoding Session
Starts the transcoder and returns the corresponding streaming resource document.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /{transcodeType}/:/transcode/universal/start.* (the `TranscodeStart` operationId).
func (*ClientWithResponses) TranscodeSubtitlesWithResponse ¶
func (c *ClientWithResponses) TranscodeSubtitlesWithResponse(ctx context.Context, transcodeType TranscodeSubtitlesParamsTranscodeType, params *TranscodeSubtitlesParams, reqEditors ...RequestEditorFn) (*TranscodeSubtitlesResponse, error)
TranscodeSubtitlesWithResponse Transcode subtitles
Only transcode subtitle streams.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /{transcodeType}/:/transcode/universal/subtitles (the `TranscodeSubtitles` operationId).
func (*ClientWithResponses) UltraBlurGetColorsWithResponse ¶
func (c *ClientWithResponses) UltraBlurGetColorsWithResponse(ctx context.Context, params *UltraBlurGetColorsParams, reqEditors ...RequestEditorFn) (*UltraBlurGetColorsResponse, error)
UltraBlurGetColorsWithResponse Get UltraBlur Colors
Retrieves the four colors extracted from an image for clients to use to generate an ultrablur image.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /services/ultrablur/colors (the `UltraBlurGetColors` operationId).
func (*ClientWithResponses) UltraBlurGetImageWithResponse ¶
func (c *ClientWithResponses) UltraBlurGetImageWithResponse(ctx context.Context, params *UltraBlurGetImageParams, reqEditors ...RequestEditorFn) (*UltraBlurGetImageResponse, error)
UltraBlurGetImageWithResponse Get UltraBlur Image
Retrieves a server-side generated UltraBlur image based on the provided color inputs. Clients should always call this via the photo transcoder endpoint.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /services/ultrablur/image (the `UltraBlurGetImage` operationId).
func (*ClientWithResponses) UpdaterGetStatusWithResponse ¶
func (c *ClientWithResponses) UpdaterGetStatusWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*UpdaterGetStatusResponse, error)
UpdaterGetStatusWithResponse Querying status of updates
Get the status of updating the server.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /updater/status (the `UpdaterGetStatus` operationId).
func (*ClientWithResponses) UpdaterPutApplyWithResponse ¶
func (c *ClientWithResponses) UpdaterPutApplyWithResponse(ctx context.Context, params *UpdaterPutApplyParams, reqEditors ...RequestEditorFn) (*UpdaterPutApplyResponse, error)
UpdaterPutApplyWithResponse Applying updates
Apply any downloaded updates. Note that the two parameters `tonight` and `skip` are effectively mutually exclusive. The `tonight` parameter takes precedence and `skip` will be ignored if `tonight` is also passed.
Returns a wrapper object for the known response body format(s).
Corresponds with PUT /updater/apply (the `UpdaterPutApply` operationId).
func (*ClientWithResponses) UpdaterPutCheckWithResponse ¶
func (c *ClientWithResponses) UpdaterPutCheckWithResponse(ctx context.Context, params *UpdaterPutCheckParams, reqEditors ...RequestEditorFn) (*UpdaterPutCheckResponse, error)
UpdaterPutCheckWithResponse Checking for updates
Perform an update check and potentially download.
Returns a wrapper object for the known response body format(s).
Corresponds with PUT /updater/check (the `UpdaterPutCheck` operationId).
func (*ClientWithResponses) WebsocketGetSlashWithResponse ¶
func (c *ClientWithResponses) WebsocketGetSlashWithResponse(ctx context.Context, params *WebsocketGetSlashParams, reqEditors ...RequestEditorFn) (*WebsocketGetSlashResponse, error)
WebsocketGetSlashWithResponse Connect to WebSocket
Connect to the web socket to get a stream of events.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /:/websocket/notifications (the `WebsocketGetSlash` operationId).
type ClientWithResponsesInterface ¶
type ClientWithResponsesInterface interface {
// GetSlashWithResponse Get PMS info
//
// Information about this PMS setup and configuration.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET / (the `GetSlash` operationId).
GetSlashWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetSlashResponse, error)
// EventsourceGetSlashWithResponse Connect to Eventsource
//
// Connect to the event source to get a stream of events.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /:/eventsource/notifications (the `EventsourceGetSlash` operationId).
EventsourceGetSlashWithResponse(ctx context.Context, params *EventsourceGetSlashParams, reqEditors ...RequestEditorFn) (*EventsourceGetSlashResponse, error)
// PreferencesGetSlashWithResponse Get all preferences
//
// Get the list of all preferences.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /:/prefs (the `PreferencesGetSlash` operationId).
PreferencesGetSlashWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PreferencesGetSlashResponse, error)
// PreferencesPutSlashWithResponse Set preferences
//
// Set a set of preferences in query parameters.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /:/prefs (the `PreferencesPutSlash` operationId).
PreferencesPutSlashWithResponse(ctx context.Context, params *PreferencesPutSlashParams, reqEditors ...RequestEditorFn) (*PreferencesPutSlashResponse, error)
// PreferencesGetGetWithResponse Get a preferences
//
// Get a single preference and value.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /:/prefs/get (the `PreferencesGetGet` operationId).
PreferencesGetGetWithResponse(ctx context.Context, params *PreferencesGetGetParams, reqEditors ...RequestEditorFn) (*PreferencesGetGetResponse, error)
// PutRateWithResponse Rate an item
//
// Set the rating on an item.
// This API does respond to the GET verb but applications should use PUT
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /:/rate (the `PutRate` operationId).
PutRateWithResponse(ctx context.Context, params *PutRateParams, reqEditors ...RequestEditorFn) (*PutRateResponse, error)
// PutScrobbleWithResponse Mark an item as played
//
// Mark an item as played. Note, this does not create any view history of this item but rather just sets the state as played. The client must provide either the `key` or `uri` query parameter
// This API does respond to the GET verb but applications should use PUT
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /:/scrobble (the `PutScrobble` operationId).
PutScrobbleWithResponse(ctx context.Context, params *PutScrobbleParams, reqEditors ...RequestEditorFn) (*PutScrobbleResponse, error)
// TimelinePostSlashWithResponse Report media timeline
//
// This endpoint is hit during media playback for an item. It must be hit whenever the play state changes, or in the absence of a play state change, in a regular fashion (generally this means every 10 seconds on a LAN/WAN, and every 20 seconds over cellular).
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /:/timeline (the `TimelinePostSlash` operationId).
TimelinePostSlashWithResponse(ctx context.Context, params *TimelinePostSlashParams, reqEditors ...RequestEditorFn) (*TimelinePostSlashResponse, error)
// PutUnscrobbleWithResponse Mark an item as unplayed
//
// Mark an item as unplayed. The client must provide either the `key` or `uri` query parameter
// This API does respond to the GET verb but applications should use PUT
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /:/unscrobble (the `PutUnscrobble` operationId).
PutUnscrobbleWithResponse(ctx context.Context, params *PutUnscrobbleParams, reqEditors ...RequestEditorFn) (*PutUnscrobbleResponse, error)
// WebsocketGetSlashWithResponse Connect to WebSocket
//
// Connect to the web socket to get a stream of events.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /:/websocket/notifications (the `WebsocketGetSlash` operationId).
WebsocketGetSlashWithResponse(ctx context.Context, params *WebsocketGetSlashParams, reqEditors ...RequestEditorFn) (*WebsocketGetSlashResponse, error)
// ActivitiesGetSlashWithResponse Get all activities
//
// List all activities on the server. Admins can see all activities but other users can only see their own
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /activities (the `ActivitiesGetSlash` operationId).
ActivitiesGetSlashWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ActivitiesGetSlashResponse, error)
// ActivitiesDeleteActivityWithResponse Cancel a running activity
//
// Cancel a running activity. Admins can cancel all activities but other users can only cancel their own
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /activities/{activityId} (the `ActivitiesDeleteActivity` operationId).
ActivitiesDeleteActivityWithResponse(ctx context.Context, activityID string, reqEditors ...RequestEditorFn) (*ActivitiesDeleteActivityResponse, error)
// ButlerDeleteSlashWithResponse Stop all Butler tasks
//
// This endpoint will stop all currently running tasks and remove any scheduled tasks from the queue.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /butler (the `ButlerDeleteSlash` operationId).
ButlerDeleteSlashWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ButlerDeleteSlashResponse, error)
// ButlerGetSlashWithResponse Get all Butler tasks
//
// Get the list of butler tasks and their scheduling.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /butler (the `ButlerGetSlash` operationId).
ButlerGetSlashWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ButlerGetSlashResponse, error)
// ButlerPostSlashWithResponse Start all Butler tasks
//
// This endpoint will attempt to start all Butler tasks that are enabled in the settings. Butler tasks normally run automatically during a time window configured on the server's Settings page but can be manually started using this endpoint. Tasks will run with the following criteria:
//
// 1. Any tasks not scheduled to run on the current day will be skipped.
// 2. If a task is configured to run at a random time during the configured window and we are outside that window, the task will start immediately.
// 3. If a task is configured to run at a random time during the configured window and we are within that window, the task will be scheduled at a random time within the window.
// 4. If we are outside the configured window, the task will start immediately.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /butler (the `ButlerPostSlash` operationId).
ButlerPostSlashWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ButlerPostSlashResponse, error)
// ButlerDeleteTaskWithResponse Stop a single Butler task
//
// This endpoint will stop a currently running task by name, or remove it from the list of scheduled tasks if it exists
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /butler/{task} (the `ButlerDeleteTask` operationId).
ButlerDeleteTaskWithResponse(ctx context.Context, task ButlerDeleteTaskParamsTask, reqEditors ...RequestEditorFn) (*ButlerDeleteTaskResponse, error)
// ButlerPostTaskWithResponse Start a single Butler task
//
// This endpoint will attempt to start a specific Butler task by name.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /butler/{task} (the `ButlerPostTask` operationId).
ButlerPostTaskWithResponse(ctx context.Context, task ButlerPostTaskParamsTask, reqEditors ...RequestEditorFn) (*ButlerPostTaskResponse, error)
// DownloadQueuePostWithResponse Get or create a download queue
//
// Available: 0.2.0
//
// Get or create a download queue for this client by its client id and for this user as identified by the token
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /downloadQueue (the `DownloadQueuePost` operationId).
DownloadQueuePostWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DownloadQueuePostResponse, error)
// DownloadQueueGetQueueWithResponse Get a download queue
//
// Available: 0.2.0
//
// Get a download queue by its id
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /downloadQueue/{queueId} (the `DownloadQueueGetQueue` operationId).
DownloadQueueGetQueueWithResponse(ctx context.Context, queueID int, reqEditors ...RequestEditorFn) (*DownloadQueueGetQueueResponse, error)
// DownloadQueuePostQueueAddWithResponse Add to download queue
//
// Available: 0.2.0
//
// Add items to the download queue
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /downloadQueue/{queueId}/add (the `DownloadQueuePostQueueAdd` operationId).
DownloadQueuePostQueueAddWithResponse(ctx context.Context, queueID int, params *DownloadQueuePostQueueAddParams, reqEditors ...RequestEditorFn) (*DownloadQueuePostQueueAddResponse, error)
// DownloadQueueGetQueueItemItemDecisionWithResponse Grab download queue item decision
//
// Available: 0.2.0
//
// Grab the decision for a download queue item
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /downloadQueue/{queueId}/item/{itemId}/decision (the `DownloadQueueGetQueueItemItemDecision` operationId).
DownloadQueueGetQueueItemItemDecisionWithResponse(ctx context.Context, queueID int, itemID int, reqEditors ...RequestEditorFn) (*DownloadQueueGetQueueItemItemDecisionResponse, error)
// DownloadQueueGetQueueItemItemMediaWithResponse Grab download queue media
//
// Available: 0.2.0
//
// Grab the media for a download queue item
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /downloadQueue/{queueId}/item/{itemId}/media (the `DownloadQueueGetQueueItemItemMedia` operationId).
DownloadQueueGetQueueItemItemMediaWithResponse(ctx context.Context, queueID int, itemID int, reqEditors ...RequestEditorFn) (*DownloadQueueGetQueueItemItemMediaResponse, error)
// DownloadQueueGetQueueItemsWithResponse Get download queue items
//
// Available: 0.2.0
//
// Get items from a download queue
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /downloadQueue/{queueId}/items (the `DownloadQueueGetQueueItems` operationId).
DownloadQueueGetQueueItemsWithResponse(ctx context.Context, queueID int, reqEditors ...RequestEditorFn) (*DownloadQueueGetQueueItemsResponse, error)
// DownloadQueueDeleteQueueItemsItemWithResponse Delete download queue items
//
// delete items from a download queue.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /downloadQueue/{queueId}/items/{itemId} (the `DownloadQueueDeleteQueueItemsItem` operationId).
DownloadQueueDeleteQueueItemsItemWithResponse(ctx context.Context, queueID int, itemID []int, reqEditors ...RequestEditorFn) (*DownloadQueueDeleteQueueItemsItemResponse, error)
// DownloadQueueGetQueueItemsItemWithResponse Get download queue items
//
// Available: 0.2.0
//
// Get items from a download queue
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /downloadQueue/{queueId}/items/{itemId} (the `DownloadQueueGetQueueItemsItem` operationId).
DownloadQueueGetQueueItemsItemWithResponse(ctx context.Context, queueID int, itemID []int, reqEditors ...RequestEditorFn) (*DownloadQueueGetQueueItemsItemResponse, error)
// DownloadQueuePostQueueItemsItemRestartWithResponse Restart processing of items from the decision
//
// Available: 0.2.0
//
// Reprocess download queue items with previous decision parameters
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /downloadQueue/{queueId}/items/{itemId}/restart (the `DownloadQueuePostQueueItemsItemRestart` operationId).
DownloadQueuePostQueueItemsItemRestartWithResponse(ctx context.Context, queueID int, itemID []int, reqEditors ...RequestEditorFn) (*DownloadQueuePostQueueItemsItemRestartResponse, error)
// HubsGetSlashWithResponse Get global hubs
//
// Get the global hubs in this PMS.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /hubs (the `HubsGetSlash` operationId).
HubsGetSlashWithResponse(ctx context.Context, params *HubsGetSlashParams, reqEditors ...RequestEditorFn) (*HubsGetSlashResponse, error)
// HubsGetContinueWatchingWithResponse Get the continue watching hub
//
// Get the global continue watching hub.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /hubs/continueWatching (the `HubsGetContinueWatching` operationId).
HubsGetContinueWatchingWithResponse(ctx context.Context, params *HubsGetContinueWatchingParams, reqEditors ...RequestEditorFn) (*HubsGetContinueWatchingResponse, error)
// HubsGetItemsWithResponse Get a hub's items
//
// Get the items within a single hub specified by identifier.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /hubs/items (the `HubsGetItems` operationId).
HubsGetItemsWithResponse(ctx context.Context, params *HubsGetItemsParams, reqEditors ...RequestEditorFn) (*HubsGetItemsResponse, error)
// HubsGetMetadataMetadataWithResponse Get hubs for a section by metadata item
//
// Get the hubs for a section by metadata item. Currently only for music sections
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /hubs/metadata/{metadataId} (the `HubsGetMetadataMetadata` operationId).
HubsGetMetadataMetadataWithResponse(ctx context.Context, metadataID int, params *HubsGetMetadataMetadataParams, reqEditors ...RequestEditorFn) (*HubsGetMetadataMetadataResponse, error)
// HubsGetMetadataMetadataPostplayWithResponse Get postplay hubs
//
// Get the hubs for a metadata to be displayed in post play.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /hubs/metadata/{metadataId}/postplay (the `HubsGetMetadataMetadataPostplay` operationId).
HubsGetMetadataMetadataPostplayWithResponse(ctx context.Context, metadataID int, params *HubsGetMetadataMetadataPostplayParams, reqEditors ...RequestEditorFn) (*HubsGetMetadataMetadataPostplayResponse, error)
// HubsGetMetadataMetadataRelatedWithResponse Get related hubs
//
// Get the hubs for a metadata related to the provided metadata item.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /hubs/metadata/{metadataId}/related (the `HubsGetMetadataMetadataRelated` operationId).
HubsGetMetadataMetadataRelatedWithResponse(ctx context.Context, metadataID int, params *HubsGetMetadataMetadataRelatedParams, reqEditors ...RequestEditorFn) (*HubsGetMetadataMetadataRelatedResponse, error)
// HubsGetPopularInLibrariesWithResponse Get the popular in your libraries hub
//
// Get the global popular in your libraries hub.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /hubs/popularInLibraries (the `HubsGetPopularInLibraries` operationId).
HubsGetPopularInLibrariesWithResponse(ctx context.Context, params *HubsGetPopularInLibrariesParams, reqEditors ...RequestEditorFn) (*HubsGetPopularInLibrariesResponse, error)
// HubsGetPromotedWithResponse Get the hubs which are promoted
//
// Get the global hubs which are promoted (should be displayed on the home screen).
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /hubs/promoted (the `HubsGetPromoted` operationId).
HubsGetPromotedWithResponse(ctx context.Context, params *HubsGetPromotedParams, reqEditors ...RequestEditorFn) (*HubsGetPromotedResponse, error)
// HubsGetSearchWithResponse Search Hub
//
// Perform a search and get the result as hubs
//
// This endpoint performs a search across all library sections, or a single section, and returns matches as hubs, split up by type. It performs spell checking, looks for partial matches, and orders the hubs based on quality of results. In addition, based on matches, it will return other related matches (e.g. for a genre match, it may return movies in that genre, or for an actor match, movies with that actor).
//
// In the response's items, the following extra attributes are returned to further describe or disambiguate the result:
//
// - `reason`: The reason for the result, if not because of a direct search term match; can be either:
// - `section`: There are multiple identical results from different sections.
// - `originalTitle`: There was a search term match from the original title field (sometimes those can be very different or in a foreign language).
// - `<hub identifier>`: If the reason for the result is due to a result in another hub, the source hub identifier is returned. For example, if the search is for "dylan" then Bob Dylan may be returned as an artist result, an a few of his albums returned as album results with a reason code of `artist` (the identifier of that particular hub). Or if the search is for "arnold", there might be movie results returned with a reason of `actor`
// - `reasonTitle`: The string associated with the reason code. For a section reason, it'll be the section name; For a hub identifier, it'll be a string associated with the match (e.g. `Arnold Schwarzenegger` for movies which were returned because the search was for "arnold").
// - `reasonID`: The ID of the item associated with the reason for the result. This might be a section ID, a tag ID, an artist ID, or a show ID.
//
// This request is intended to be very fast, and called as the user types.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /hubs/search (the `HubsGetSearch` operationId).
HubsGetSearchWithResponse(ctx context.Context, params *HubsGetSearchParams, reqEditors ...RequestEditorFn) (*HubsGetSearchResponse, error)
// HubsSearchGetVoiceWithResponse Voice Search Hub
//
// Perform a search tailored to voice input and get the result as hubs
//
// This endpoint performs a search specifically tailored towards voice or other imprecise input which may work badly with the substring and spell-checking heuristics used by the `/hubs/search` endpoint. It uses a [Levenshtein distance](https://en.wikipedia.org/wiki/Levenshtein_distance) heuristic to search titles, and as such is much slower than the other search endpoint. Whenever possible, clients should limit the search to the appropriate type.
//
// Results, as well as their containing per-type hubs, contain a `distance` attribute which can be used to judge result quality.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /hubs/search/voice (the `HubsSearchGetVoice` operationId).
HubsSearchGetVoiceWithResponse(ctx context.Context, params *HubsSearchGetVoiceParams, reqEditors ...RequestEditorFn) (*HubsSearchGetVoiceResponse, error)
// HubsGetSectionWithResponse Get section hubs
//
// Get the hubs for a single section.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /hubs/sections/{sectionId} (the `HubsGetSection` operationId).
HubsGetSectionWithResponse(ctx context.Context, sectionID int, params *HubsGetSectionParams, reqEditors ...RequestEditorFn) (*HubsGetSectionResponse, error)
// HubsSectionsSectionManageDeleteSlashWithResponse Reset hubs to defaults
//
// Reset hubs for this section to defaults and delete custom hubs.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /hubs/sections/{sectionId}/manage (the `HubsSectionsSectionManageDeleteSlash` operationId).
HubsSectionsSectionManageDeleteSlashWithResponse(ctx context.Context, sectionID int, reqEditors ...RequestEditorFn) (*HubsSectionsSectionManageDeleteSlashResponse, error)
// HubsSectionsSectionManageGetSlashWithResponse Get hubs
//
// Get the list of hubs including both built-in and custom.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /hubs/sections/{sectionId}/manage (the `HubsSectionsSectionManageGetSlash` operationId).
HubsSectionsSectionManageGetSlashWithResponse(ctx context.Context, sectionID int, params *HubsSectionsSectionManageGetSlashParams, reqEditors ...RequestEditorFn) (*HubsSectionsSectionManageGetSlashResponse, error)
// HubsSectionsSectionManagePostSlashWithResponse Create a custom hub
//
// Create a custom hub based on a metadata item.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /hubs/sections/{sectionId}/manage (the `HubsSectionsSectionManagePostSlash` operationId).
HubsSectionsSectionManagePostSlashWithResponse(ctx context.Context, sectionID int, params *HubsSectionsSectionManagePostSlashParams, reqEditors ...RequestEditorFn) (*HubsSectionsSectionManagePostSlashResponse, error)
// HubsSectionsSectionManagePutMoveWithResponse Move Hub
//
// Changed the ordering of a hub among others hubs.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /hubs/sections/{sectionId}/manage/move (the `HubsSectionsSectionManagePutMove` operationId).
HubsSectionsSectionManagePutMoveWithResponse(ctx context.Context, sectionID int, params *HubsSectionsSectionManagePutMoveParams, reqEditors ...RequestEditorFn) (*HubsSectionsSectionManagePutMoveResponse, error)
// HubsSectionsSectionManageDeleteIdentifierWithResponse Delete a custom hub
//
// Delete a custom hub from the server.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /hubs/sections/{sectionId}/manage/{identifier} (the `HubsSectionsSectionManageDeleteIdentifier` operationId).
HubsSectionsSectionManageDeleteIdentifierWithResponse(ctx context.Context, sectionID int, identifier string, reqEditors ...RequestEditorFn) (*HubsSectionsSectionManageDeleteIdentifierResponse, error)
// HubsSectionsSectionManagePutIdentifierWithResponse Change hub visibility
//
// Changed the visibility of a hub for both the admin and shared users.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /hubs/sections/{sectionId}/manage/{identifier} (the `HubsSectionsSectionManagePutIdentifier` operationId).
HubsSectionsSectionManagePutIdentifierWithResponse(ctx context.Context, sectionID int, identifier string, params *HubsSectionsSectionManagePutIdentifierParams, reqEditors ...RequestEditorFn) (*HubsSectionsSectionManagePutIdentifierResponse, error)
// GetIdentityWithResponse Get PMS identity
//
// Get details about this PMS's identity.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /identity (the `GetIdentity` operationId).
GetIdentityWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetIdentityResponse, error)
// LibraryGetAllWithResponse Get all items in library
//
// Request all metadata items according to a query.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /library/all (the `LibraryGetAll` operationId).
LibraryGetAllWithResponse(ctx context.Context, params *LibraryGetAllParams, reqEditors ...RequestEditorFn) (*LibraryGetAllResponse, error)
// LibraryDeleteCachesWithResponse Delete library caches
//
// Delete the hub caches so they are recomputed on next request.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /library/caches (the `LibraryDeleteCaches` operationId).
LibraryDeleteCachesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*LibraryDeleteCachesResponse, error)
// LibraryPutCleanBundlesWithResponse Clean bundles
//
// Clean out any now unused bundles. Bundles can become unused when media is deleted
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /library/clean/bundles (the `LibraryPutCleanBundles` operationId).
LibraryPutCleanBundlesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*LibraryPutCleanBundlesResponse, error)
// LibraryCollectionPostSlashWithResponse Create a collection
//
// Create a collection in the library.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /library/collections (the `LibraryCollectionPostSlash` operationId).
LibraryCollectionPostSlashWithResponse(ctx context.Context, params *LibraryCollectionPostSlashParams, reqEditors ...RequestEditorFn) (*LibraryCollectionPostSlashResponse, error)
// LibraryCollectionCollectionGetCompositeWithResponse Get a collection's image
//
// Get an image for the collection based on the items within.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /library/collections/{collectionId}/composite/{updatedAt} (the `LibraryCollectionCollectionGetComposite` operationId).
LibraryCollectionCollectionGetCompositeWithResponse(ctx context.Context, collectionID int, updatedAt int, params *LibraryCollectionCollectionGetCompositeParams, reqEditors ...RequestEditorFn) (*LibraryCollectionCollectionGetCompositeResponse, error)
// LibraryCollectionCollectionGetItemsWithResponse Get items in a collection
//
// Get items in a collection. Note if this collection contains more than 100 items, paging must be used.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /library/collections/{collectionId}/items (the `LibraryCollectionCollectionGetItems` operationId).
LibraryCollectionCollectionGetItemsWithResponse(ctx context.Context, collectionID int, reqEditors ...RequestEditorFn) (*LibraryCollectionCollectionGetItemsResponse, error)
// LibraryCollectionCollectionPutItemsWithResponse Add items to a collection
//
// Add items to a collection by uri.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /library/collections/{collectionId}/items (the `LibraryCollectionCollectionPutItems` operationId).
LibraryCollectionCollectionPutItemsWithResponse(ctx context.Context, collectionID int, params *LibraryCollectionCollectionPutItemsParams, reqEditors ...RequestEditorFn) (*LibraryCollectionCollectionPutItemsResponse, error)
// LibraryCollectionCollectionPutItemsItemWithResponse Delete an item from a collection
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /library/collections/{collectionId}/items/{itemId} (the `LibraryCollectionCollectionPutItemsItem` operationId).
LibraryCollectionCollectionPutItemsItemWithResponse(ctx context.Context, collectionID int, itemID int, reqEditors ...RequestEditorFn) (*LibraryCollectionCollectionPutItemsItemResponse, error)
// LibraryCollectionCollectionPutItemsItemMoveWithResponse Reorder an item in the collection
//
// Reorder items in a collection with one item after another.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /library/collections/{collectionId}/items/{itemId}/move (the `LibraryCollectionCollectionPutItemsItemMove` operationId).
LibraryCollectionCollectionPutItemsItemMoveWithResponse(ctx context.Context, collectionID int, itemID int, params *LibraryCollectionCollectionPutItemsItemMoveParams, reqEditors ...RequestEditorFn) (*LibraryCollectionCollectionPutItemsItemMoveResponse, error)
// LibraryPostFileWithResponse Ingest a transient item
//
// This endpoint takes a file path specified in the `url` parameter, matches it using the scanner's match mechanism, downloads rich metadata, and then ingests the item as a transient item (without a library section). In the case where the file represents an episode, the entire tree (show, season, and episode) is added as transient items. At this time, movies and episodes are the only supported types, which are gleaned automatically from the file path.
// Note that any of the parameters passed to the metadata details endpoint (e.g. `includeExtras=1`) work here.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /library/file (the `LibraryPostFile` operationId).
LibraryPostFileWithResponse(ctx context.Context, params *LibraryPostFileParams, reqEditors ...RequestEditorFn) (*LibraryPostFileResponse, error)
// LibraryGetMatchesWithResponse Get library matches
//
// The matches endpoint is used to match content external to the library with content inside the library. This is done by passing a series of semantic "hints" about the content (its type, name, or release year). Each type (e.g. movie) has a canonical set of minimal required hints.
// This ability to match content is useful in a variety of scenarios. For example, in the DVR, the EPG uses the endpoint to match recording rules against airing content. And in the cloud, the UMP uses the endpoint to match up a piece of media with rich metadata.
// The endpoint response can including multiple matches, if there is ambiguity, each one containing a `score` from 0 to 100. For somewhat historical reasons, anything over 85 is considered a positive match (we prefer false negatives over false positives in general for matching).
// The `guid` hint is somewhat special, in that it generally represents a unique identity for a piece of media (e.g. the IMDB `ttXXX`) identifier, in contrast with other hints which can be much more ambiguous (e.g. a title of `Jane Eyre`, which could refer to the 1943 or the 2011 version).
// Episodes require either a season/episode pair, or an air date (or both). Either the path must be sent, or the show title
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /library/matches (the `LibraryGetMatches` operationId).
LibraryGetMatchesWithResponse(ctx context.Context, params *LibraryGetMatchesParams, reqEditors ...RequestEditorFn) (*LibraryGetMatchesResponse, error)
// LibraryGetMediaMediaChapterImagesChapterWithResponse Get a chapter image
//
// Get a single chapter image for a piece of media.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /library/media/{mediaId}/chapterImages/{chapter} (the `LibraryGetMediaMediaChapterImagesChapter` operationId).
LibraryGetMediaMediaChapterImagesChapterWithResponse(ctx context.Context, mediaID int, chapter int, reqEditors ...RequestEditorFn) (*LibraryGetMediaMediaChapterImagesChapterResponse, error)
// LibraryGetMetadataAugmentationsAugmentationWithResponse Get augmentation status
//
// Get augmentation status and potentially wait for completion.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /library/metadata/augmentations/{augmentationId} (the `LibraryGetMetadataAugmentationsAugmentation` operationId).
LibraryGetMetadataAugmentationsAugmentationWithResponse(ctx context.Context, augmentationID string, params *LibraryGetMetadataAugmentationsAugmentationParams, reqEditors ...RequestEditorFn) (*LibraryGetMetadataAugmentationsAugmentationResponse, error)
// LibraryMetadataDeleteSlashWithResponse Delete a metadata item
//
// Delete a single metadata item from the library, deleting media as well
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /library/metadata/{ids} (the `LibraryMetadataDeleteSlash` operationId).
LibraryMetadataDeleteSlashWithResponse(ctx context.Context, ids string, params *LibraryMetadataDeleteSlashParams, reqEditors ...RequestEditorFn) (*LibraryMetadataDeleteSlashResponse, error)
// LibraryMetadataGetSlashWithResponse Get a metadata item
//
// Get one or more metadata items.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /library/metadata/{ids} (the `LibraryMetadataGetSlash` operationId).
LibraryMetadataGetSlashWithResponse(ctx context.Context, ids []string, params *LibraryMetadataGetSlashParams, reqEditors ...RequestEditorFn) (*LibraryMetadataGetSlashResponse, error)
// LibraryMetadataPutSlashWithResponse Edit a metadata item
//
// Edit metadata items setting fields.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /library/metadata/{ids} (the `LibraryMetadataPutSlash` operationId).
LibraryMetadataPutSlashWithResponse(ctx context.Context, ids []string, params *LibraryMetadataPutSlashParams, reqEditors ...RequestEditorFn) (*LibraryMetadataPutSlashResponse, error)
// LibraryMetadataPutAddetectWithResponse Ad-detect an item
//
// Start the detection of ads in a metadata item.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /library/metadata/{ids}/addetect (the `LibraryMetadataPutAddetect` operationId).
LibraryMetadataPutAddetectWithResponse(ctx context.Context, ids string, reqEditors ...RequestEditorFn) (*LibraryMetadataPutAddetectResponse, error)
// LibraryMetadataGetAllLeavesWithResponse Get the leaves of an item
//
// Get the leaves for a metadata item such as the episodes in a show.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /library/metadata/{ids}/allLeaves (the `LibraryMetadataGetAllLeaves` operationId).
LibraryMetadataGetAllLeavesWithResponse(ctx context.Context, ids string, reqEditors ...RequestEditorFn) (*LibraryMetadataGetAllLeavesResponse, error)
// LibraryMetadataPutAnalyzeWithResponse Analyze an item
//
// Start the analysis of a metadata item.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /library/metadata/{ids}/analyze (the `LibraryMetadataPutAnalyze` operationId).
LibraryMetadataPutAnalyzeWithResponse(ctx context.Context, ids string, params *LibraryMetadataPutAnalyzeParams, reqEditors ...RequestEditorFn) (*LibraryMetadataPutAnalyzeResponse, error)
// LibraryMetadataPutAnalyzeLoudnessWithResponse Detect loudness of audio streams
//
// Detect loudness properties of all audio streams.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /library/metadata/{ids}/analyzeLoudness (the `LibraryMetadataPutAnalyzeLoudness` operationId).
LibraryMetadataPutAnalyzeLoudnessWithResponse(ctx context.Context, ids string, params *LibraryMetadataPutAnalyzeLoudnessParams, reqEditors ...RequestEditorFn) (*LibraryMetadataPutAnalyzeLoudnessResponse, error)
// LibraryMetadataPutChapterThumbsWithResponse Generate thumbs of chapters for an item
//
// Start the chapter thumb generation for an item.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /library/metadata/{ids}/chapterThumbs (the `LibraryMetadataPutChapterThumbs` operationId).
LibraryMetadataPutChapterThumbsWithResponse(ctx context.Context, ids string, params *LibraryMetadataPutChapterThumbsParams, reqEditors ...RequestEditorFn) (*LibraryMetadataPutChapterThumbsResponse, error)
// LibraryMetadataPutCreditsWithResponse Credit detect a metadata item
//
// Start credit detection on a metadata item.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /library/metadata/{ids}/credits (the `LibraryMetadataPutCredits` operationId).
LibraryMetadataPutCreditsWithResponse(ctx context.Context, ids string, params *LibraryMetadataPutCreditsParams, reqEditors ...RequestEditorFn) (*LibraryMetadataPutCreditsResponse, error)
// LibraryMetadataGetExtrasWithResponse Get an item's extras
//
// Get the extras for a metadata item.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /library/metadata/{ids}/extras (the `LibraryMetadataGetExtras` operationId).
LibraryMetadataGetExtrasWithResponse(ctx context.Context, ids string, reqEditors ...RequestEditorFn) (*LibraryMetadataGetExtrasResponse, error)
// LibraryMetadataPostExtrasWithResponse Add to an item's extras
//
// Add an extra to a metadata item.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /library/metadata/{ids}/extras (the `LibraryMetadataPostExtras` operationId).
LibraryMetadataPostExtrasWithResponse(ctx context.Context, ids string, params *LibraryMetadataPostExtrasParams, reqEditors ...RequestEditorFn) (*LibraryMetadataPostExtrasResponse, error)
// LibraryMetadataGetFileWithResponse Get a file from a metadata or media bundle
//
// Get a bundle file for a metadata or media item. This is either an image or a mp3 (for a show's theme)
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /library/metadata/{ids}/file (the `LibraryMetadataGetFile` operationId).
LibraryMetadataGetFileWithResponse(ctx context.Context, ids string, params *LibraryMetadataGetFileParams, reqEditors ...RequestEditorFn) (*LibraryMetadataGetFileResponse, error)
// LibraryMetadataPutIndexWithResponse Start BIF generation of an item
//
// Start the indexing (BIF generation) of an item.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /library/metadata/{ids}/index (the `LibraryMetadataPutIndex` operationId).
LibraryMetadataPutIndexWithResponse(ctx context.Context, ids string, params *LibraryMetadataPutIndexParams, reqEditors ...RequestEditorFn) (*LibraryMetadataPutIndexResponse, error)
// LibraryMetadataPutIntroWithResponse Intro detect an item
//
// Start the detection of intros in a metadata item.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /library/metadata/{ids}/intro (the `LibraryMetadataPutIntro` operationId).
LibraryMetadataPutIntroWithResponse(ctx context.Context, ids string, params *LibraryMetadataPutIntroParams, reqEditors ...RequestEditorFn) (*LibraryMetadataPutIntroResponse, error)
// LibraryMetadataPostMarkerWithResponse Create a marker
//
// Create a marker for this user on the metadata item.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /library/metadata/{ids}/marker (the `LibraryMetadataPostMarker` operationId).
LibraryMetadataPostMarkerWithResponse(ctx context.Context, ids string, params *LibraryMetadataPostMarkerParams, reqEditors ...RequestEditorFn) (*LibraryMetadataPostMarkerResponse, error)
// LibraryMetadataDeleteMarkerMarkerWithResponse Delete a marker
//
// Delete a marker for this user on the metadata item.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /library/metadata/{ids}/marker/{marker} (the `LibraryMetadataDeleteMarkerMarker` operationId).
LibraryMetadataDeleteMarkerMarkerWithResponse(ctx context.Context, ids string, marker string, reqEditors ...RequestEditorFn) (*LibraryMetadataDeleteMarkerMarkerResponse, error)
// LibraryMetadataPutMarkerMarkerWithResponse Edit a marker
//
// Edit a marker for this user on the metadata item.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /library/metadata/{ids}/marker/{marker} (the `LibraryMetadataPutMarkerMarker` operationId).
LibraryMetadataPutMarkerMarkerWithResponse(ctx context.Context, ids string, marker string, params *LibraryMetadataPutMarkerMarkerParams, reqEditors ...RequestEditorFn) (*LibraryMetadataPutMarkerMarkerResponse, error)
// LibraryMetadataPutMatchWithResponse Match a metadata item
//
// Match a metadata item to a guid.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /library/metadata/{ids}/match (the `LibraryMetadataPutMatch` operationId).
LibraryMetadataPutMatchWithResponse(ctx context.Context, ids string, params *LibraryMetadataPutMatchParams, reqEditors ...RequestEditorFn) (*LibraryMetadataPutMatchResponse, error)
// LibraryMetadataGetMatchesWithResponse Get metadata matches for an item
//
// Get the list of metadata matches for a metadata item.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /library/metadata/{ids}/matches (the `LibraryMetadataGetMatches` operationId).
LibraryMetadataGetMatchesWithResponse(ctx context.Context, ids string, params *LibraryMetadataGetMatchesParams, reqEditors ...RequestEditorFn) (*LibraryMetadataGetMatchesResponse, error)
// LibraryMetadataDeleteMediaMediaItemWithResponse Delete a media item
//
// Delete a single media from a metadata item in the library.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /library/metadata/{ids}/media/{mediaItem} (the `LibraryMetadataDeleteMediaMediaItem` operationId).
LibraryMetadataDeleteMediaMediaItemWithResponse(ctx context.Context, ids string, mediaItem string, params *LibraryMetadataDeleteMediaMediaItemParams, reqEditors ...RequestEditorFn) (*LibraryMetadataDeleteMediaMediaItemResponse, error)
// LibraryMetadataPutMergeWithResponse Merge a metadata item
//
// Merge a metadata item with other items.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /library/metadata/{ids}/merge (the `LibraryMetadataPutMerge` operationId).
LibraryMetadataPutMergeWithResponse(ctx context.Context, ids string, params *LibraryMetadataPutMergeParams, reqEditors ...RequestEditorFn) (*LibraryMetadataPutMergeResponse, error)
// LibraryMetadataGetNearestWithResponse Get nearest tracks to metadata item
//
// Get the nearest tracks, sonically, to the provided track
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /library/metadata/{ids}/nearest (the `LibraryMetadataGetNearest` operationId).
LibraryMetadataGetNearestWithResponse(ctx context.Context, ids string, params *LibraryMetadataGetNearestParams, reqEditors ...RequestEditorFn) (*LibraryMetadataGetNearestResponse, error)
// LibraryMetadataPutPrefsWithResponse Set metadata preferences
//
// Set the preferences on a metadata item.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /library/metadata/{ids}/prefs (the `LibraryMetadataPutPrefs` operationId).
LibraryMetadataPutPrefsWithResponse(ctx context.Context, ids string, params *LibraryMetadataPutPrefsParams, reqEditors ...RequestEditorFn) (*LibraryMetadataPutPrefsResponse, error)
// LibraryMetadataPutRefreshWithResponse Refresh a metadata item
//
// Refresh a metadata item from the agent.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /library/metadata/{ids}/refresh (the `LibraryMetadataPutRefresh` operationId).
LibraryMetadataPutRefreshWithResponse(ctx context.Context, ids string, params *LibraryMetadataPutRefreshParams, reqEditors ...RequestEditorFn) (*LibraryMetadataPutRefreshResponse, error)
// LibraryMetadataGetRelatedWithResponse Get related items
//
// Get a hub of related items to a metadata item.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /library/metadata/{ids}/related (the `LibraryMetadataGetRelated` operationId).
LibraryMetadataGetRelatedWithResponse(ctx context.Context, ids string, reqEditors ...RequestEditorFn) (*LibraryMetadataGetRelatedResponse, error)
// LibraryMetadataGetSimilarWithResponse Get similar items
//
// Get a list of similar items to a metadata item.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /library/metadata/{ids}/similar (the `LibraryMetadataGetSimilar` operationId).
LibraryMetadataGetSimilarWithResponse(ctx context.Context, ids string, params *LibraryMetadataGetSimilarParams, reqEditors ...RequestEditorFn) (*LibraryMetadataGetSimilarResponse, error)
// LibraryMetadataPutSplitWithResponse Split a metadata item
//
// Split a metadata item into multiple items.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /library/metadata/{ids}/split (the `LibraryMetadataPutSplit` operationId).
LibraryMetadataPutSplitWithResponse(ctx context.Context, ids string, reqEditors ...RequestEditorFn) (*LibraryMetadataPutSplitResponse, error)
// LibraryMetadataPostSubtitlesWithResponse Add subtitles
//
// Add a subtitle to a metadata item.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /library/metadata/{ids}/subtitles (the `LibraryMetadataPostSubtitles` operationId).
LibraryMetadataPostSubtitlesWithResponse(ctx context.Context, ids string, params *LibraryMetadataPostSubtitlesParams, reqEditors ...RequestEditorFn) (*LibraryMetadataPostSubtitlesResponse, error)
// LibraryMetadataGetTreeWithResponse Get metadata items as a tree
//
// Get a tree of metadata items, such as the seasons/episodes of a show
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /library/metadata/{ids}/tree (the `LibraryMetadataGetTree` operationId).
LibraryMetadataGetTreeWithResponse(ctx context.Context, ids string, reqEditors ...RequestEditorFn) (*LibraryMetadataGetTreeResponse, error)
// LibraryMetadataPutUnmatchWithResponse Unmatch a metadata item
//
// Unmatch a metadata item to info fetched from the agent.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /library/metadata/{ids}/unmatch (the `LibraryMetadataPutUnmatch` operationId).
LibraryMetadataPutUnmatchWithResponse(ctx context.Context, ids string, reqEditors ...RequestEditorFn) (*LibraryMetadataPutUnmatchResponse, error)
// LibraryMetadataGetUsersTopWithResponse Get metadata top users
//
// Get the list of users which have played this item starting with the most.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /library/metadata/{ids}/users/top (the `LibraryMetadataGetUsersTop` operationId).
LibraryMetadataGetUsersTopWithResponse(ctx context.Context, ids string, reqEditors ...RequestEditorFn) (*LibraryMetadataGetUsersTopResponse, error)
// LibraryMetadataPutVoiceActivityWithResponse Detect voice activity
//
// Start the detection of voice in a metadata item.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /library/metadata/{ids}/voiceActivity (the `LibraryMetadataPutVoiceActivity` operationId).
LibraryMetadataPutVoiceActivityWithResponse(ctx context.Context, ids string, params *LibraryMetadataPutVoiceActivityParams, reqEditors ...RequestEditorFn) (*LibraryMetadataPutVoiceActivityResponse, error)
// LibraryMetadataDeleteElementWithResponse Delete an item's artwork, theme, etc
//
// Delete the artwork, thumb, element for a metadata item
// This operation will also lock the field. 'thumb' images for video items will be reset to a screengrab of the video after a refresh.
// Generally only the admin can perform this action. The exception is if the metadata is a playlist created by the user
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /library/metadata/{ids}/{element} (the `LibraryMetadataDeleteElement` operationId).
LibraryMetadataDeleteElementWithResponse(ctx context.Context, ids string, element LibraryMetadataDeleteElementParamsElement, reqEditors ...RequestEditorFn) (*LibraryMetadataDeleteElementResponse, error)
// LibraryMetadataPostElementWithResponse Set an item's artwork, theme, etc
//
// Set the artwork, thumb, element for a metadata item
// Generally only the admin can perform this action. The exception is if the metadata is a playlist created by the user
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /library/metadata/{ids}/{element} (the `LibraryMetadataPostElement` operationId).
LibraryMetadataPostElementWithResponse(ctx context.Context, ids string, element LibraryMetadataPostElementParamsElement, params *LibraryMetadataPostElementParams, reqEditors ...RequestEditorFn) (*LibraryMetadataPostElementResponse, error)
// LibraryMetadataPutElementWithResponse Set an item's artwork, theme, etc
//
// Set the artwork, thumb, element for a metadata item
// Generally only the admin can perform this action. The exception is if the metadata is a playlist created by the user
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /library/metadata/{ids}/{element} (the `LibraryMetadataPutElement` operationId).
LibraryMetadataPutElementWithResponse(ctx context.Context, ids string, element LibraryMetadataPutElementParamsElement, params *LibraryMetadataPutElementParams, reqEditors ...RequestEditorFn) (*LibraryMetadataPutElementResponse, error)
// LibraryMetadataGetElementWithResponse Get an item's artwork, theme, etc
//
// Get the artwork, thumb, element for a metadata item
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /library/metadata/{ids}/{element}/{timestamp} (the `LibraryMetadataGetElement` operationId).
LibraryMetadataGetElementWithResponse(ctx context.Context, ids string, element LibraryMetadataGetElementParamsElement, timestamp int, reqEditors ...RequestEditorFn) (*LibraryMetadataGetElementResponse, error)
// LibraryPutOptimizeWithResponse Optimize the Database
//
// Initiate optimize on the database.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /library/optimize (the `LibraryPutOptimize` operationId).
LibraryPutOptimizeWithResponse(ctx context.Context, params *LibraryPutOptimizeParams, reqEditors ...RequestEditorFn) (*LibraryPutOptimizeResponse, error)
// LibraryPutPartsPartWithResponse Set stream selection
//
// Set which streams (audio/subtitle) are selected by this user.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /library/parts/{partId} (the `LibraryPutPartsPart` operationId).
LibraryPutPartsPartWithResponse(ctx context.Context, partID int, params *LibraryPutPartsPartParams, reqEditors ...RequestEditorFn) (*LibraryPutPartsPartResponse, error)
// LibraryGetPartsPartIndexesIndexWithResponse Get BIF index for a part
//
// Get BIF index for a part by index type.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /library/parts/{partId}/indexes/{index} (the `LibraryGetPartsPartIndexesIndex` operationId).
LibraryGetPartsPartIndexesIndexWithResponse(ctx context.Context, partID int, index LibraryGetPartsPartIndexesIndexParamsIndex, params *LibraryGetPartsPartIndexesIndexParams, reqEditors ...RequestEditorFn) (*LibraryGetPartsPartIndexesIndexResponse, error)
// LibraryGetPartsPartIndexesIndexOffsetWithResponse Get an image from part BIF
//
// Extract an image from the BIF for a part at a particular offset.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /library/parts/{partId}/indexes/{index}/{offset} (the `LibraryGetPartsPartIndexesIndexOffset` operationId).
LibraryGetPartsPartIndexesIndexOffsetWithResponse(ctx context.Context, partID int, index LibraryGetPartsPartIndexesIndexOffsetParamsIndex, offset int, reqEditors ...RequestEditorFn) (*LibraryGetPartsPartIndexesIndexOffsetResponse, error)
// LibraryGetPartsPartChangestampFilenameWithResponse Get a media part
//
// Get a media part for streaming or download.
// - streaming: This is the default scenario. Bandwidth usage on this endpoint will be guaranteed (on the server's end) to be at least the bandwidth reservation given in the decision. If no decision exists, an ad-hoc decision will be created if sufficient bandwidth exists. Clients should not rely on ad-hoc decisions being made as this may be removed in the future.
// - download: Indicated if the query parameter indicates this is a download. Bandwidth will be prioritized behind playbacks and will get a fair share of what remains.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /library/parts/{partId}/{changestamp}/{filename} (the `LibraryGetPartsPartChangestampFilename` operationId).
LibraryGetPartsPartChangestampFilenameWithResponse(ctx context.Context, partID int, changestamp int, filename string, params *LibraryGetPartsPartChangestampFilenameParams, reqEditors ...RequestEditorFn) (*LibraryGetPartsPartChangestampFilenameResponse, error)
// LibraryGetPeoplePersonWithResponse Get person details
//
// Get details for a single actor.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /library/people/{personId} (the `LibraryGetPeoplePerson` operationId).
LibraryGetPeoplePersonWithResponse(ctx context.Context, personID struct {
// contains filtered or unexported fields
}, reqEditors ...RequestEditorFn) (*LibraryGetPeoplePersonResponse, error)
// LibraryGetPeoplePersonMediaWithResponse Get media for a person
//
// Get all the media for a single actor.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /library/people/{personId}/media (the `LibraryGetPeoplePersonMedia` operationId).
LibraryGetPeoplePersonMediaWithResponse(ctx context.Context, personID struct {
// contains filtered or unexported fields
}, reqEditors ...RequestEditorFn) (*LibraryGetPeoplePersonMediaResponse, error)
// LibraryGetRandomArtworkWithResponse Get random artwork
//
// Get random artwork across sections. This is commonly used for a screensaver.
//
// This retrieves 100 random artwork paths in the specified sections and returns them. Restrictions are put in place to not return artwork for items the user is not allowed to access. Artwork will be for Movies, Shows, and Artists only.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /library/randomArtwork (the `LibraryGetRandomArtwork` operationId).
LibraryGetRandomArtworkWithResponse(ctx context.Context, params *LibraryGetRandomArtworkParams, reqEditors ...RequestEditorFn) (*LibraryGetRandomArtworkResponse, error)
// LibraryGetSectionsWithResponse Get library sections (main Media Provider Only)
//
// A library section (commonly referred to as just a library) is a collection of media. Libraries are typed, and depending on their type provide either a flat or a hierarchical view of the media. For example, a music library has an artist > albums > tracks structure, whereas a movie library is flat.
// Libraries have features beyond just being a collection of media; for starters, they include information about supported types, filters and sorts. This allows a client to provide a rich interface around the media (e.g. allow sorting movies by release year).
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /library/sections/all (the `LibraryGetSections` operationId).
LibraryGetSectionsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*LibraryGetSectionsResponse, error)
// LibraryPostSectionWithResponse Add a library section
//
// Add a new library section to the server.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /library/sections/all (the `LibraryPostSection` operationId).
LibraryPostSectionWithResponse(ctx context.Context, params *LibraryPostSectionParams, reqEditors ...RequestEditorFn) (*LibraryPostSectionResponse, error)
// LibraryDeleteSectionsAllRefreshWithResponse Stop refresh
//
// Stop all refreshes across all sections.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /library/sections/all/refresh (the `LibraryDeleteSectionsAllRefresh` operationId).
LibraryDeleteSectionsAllRefreshWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*LibraryDeleteSectionsAllRefreshResponse, error)
// LibraryGetSectionsPrefsWithResponse Get section prefs
//
// Get a section's preferences for a metadata type.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /library/sections/prefs (the `LibraryGetSectionsPrefs` operationId).
LibraryGetSectionsPrefsWithResponse(ctx context.Context, params *LibraryGetSectionsPrefsParams, reqEditors ...RequestEditorFn) (*LibraryGetSectionsPrefsResponse, error)
// LibraryPostSectionsRefreshWithResponse Refresh all sections
//
// Tell PMS to refresh all section metadata.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /library/sections/refresh (the `LibraryPostSectionsRefresh` operationId).
LibraryPostSectionsRefreshWithResponse(ctx context.Context, params *LibraryPostSectionsRefreshParams, reqEditors ...RequestEditorFn) (*LibraryPostSectionsRefreshResponse, error)
// LibraryDeleteSectionWithResponse Delete a library section
//
// Delete a library section by id.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /library/sections/{sectionId} (the `LibraryDeleteSection` operationId).
LibraryDeleteSectionWithResponse(ctx context.Context, sectionID string, params *LibraryDeleteSectionParams, reqEditors ...RequestEditorFn) (*LibraryDeleteSectionResponse, error)
// LibrarySectionGetSectionWithResponse Get a library section by id
//
// Returns details for the library. This can be thought of as an interstitial endpoint because it contains information about the library, rather than content itself. It often contains a list of `Directory` metadata objects: These used to be used by clients to build a menuing system.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /library/sections/{sectionId} (the `LibrarySectionGetSection` operationId).
LibrarySectionGetSectionWithResponse(ctx context.Context, sectionID string, params *LibrarySectionGetSectionParams, reqEditors ...RequestEditorFn) (*LibrarySectionGetSectionResponse, error)
// LibrarySectionPutSectionWithResponse Edit a library section
//
// Edit a library section by id setting parameters.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /library/sections/{sectionId} (the `LibrarySectionPutSection` operationId).
LibrarySectionPutSectionWithResponse(ctx context.Context, sectionID string, params *LibrarySectionPutSectionParams, reqEditors ...RequestEditorFn) (*LibrarySectionPutSectionResponse, error)
// LibrarySectionGetAlbumsWithResponse Set section albums
//
// Get all albums in a music section.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /library/sections/{sectionId}/albums (the `LibrarySectionGetAlbums` operationId).
LibrarySectionGetAlbumsWithResponse(ctx context.Context, sectionID int, reqEditors ...RequestEditorFn) (*LibrarySectionGetAlbumsResponse, error)
// LibrarySectionGetAllWithResponse Get items in the section
//
// Get the items in a section, potentially filtering them
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /library/sections/{sectionId}/all (the `LibrarySectionGetAll` operationId).
LibrarySectionGetAllWithResponse(ctx context.Context, sectionID string, params *LibrarySectionGetAllParams, reqEditors ...RequestEditorFn) (*LibrarySectionGetAllResponse, error)
// LibrarySectionPutAllWithResponse Set the fields of the filtered items
//
// This endpoint takes an large possible set of values. Here are some examples.
// - **Parameters, extra documentation**
// - artist.title.value
// - When used with track, both artist.title.value and album.title.value need to be specified
// - title.value usage
// - Summary
// - Tracks always rename and never merge
// - Albums and Artists
// - if single item and item without title does not exist, it is renamed.
// - if single item and item with title does exist they are merged.
// - if multiple they are always merged.
// - Tracks
// - Works as expected will update the track's title
// - Single track: `/library/sections/{id}/all?type=10&id=42&title.value=NewName`
// - Multiple tracks: `/library/sections/{id}/all?type=10&id=42,43,44&title.value=NewName`
// - All tracks: `/library/sections/{id}/all?type=10&title.value=NewName`
// - Albums
// - Functionality changes depending on the existence of an album with the same title
// - Album exists
// - Single album: `/library/sections/{id}/all?type=9&id=42&title.value=Album 2`
// - Album with id 42 is merged into album titled "Album 2"
// - Multiple/All albums: `/library/sections/{id}/all?type=9&title.value=Moo Album`
// - All albums are merged into the existing album titled "Moo Album"
// - Album does not exist
// - Single album: `/library/sections/{id}/all?type=9&id=42&title.value=NewAlbumTitle`
// - Album with id 42 has title modified to "NewAlbumTitle"
// - Multiple/All albums: `/library/sections/{id}/all?type=9&title.value=NewAlbumTitle`
// - All albums are merged into a new album with title="NewAlbumTitle"
// - Artists
// - Functionaly changes depending on the existence of an artist with the same title.
// - Artist exists
// - Single artist: `/library/sections/{id}/all?type=8&id=42&title.value=Artist 2`
// - Artist with id 42 is merged into existing artist titled "Artist 2"
// - Multiple/All artists: `/library/sections/{id}/all?type=8&title.value=Artist 3`
// - All artists are merged into the existing artist titled "Artist 3"
// - Artist does not exist
// - Single artist: `/library/sections/{id}/all?type=8&id=42&title.value=NewArtistTitle`
// - Artist with id 42 has title modified to "NewArtistTitle"
// - Multiple/All artists: `/library/sections/{id}/all?type=8&title.value=NewArtistTitle`
// - All artists are merged into a new artist with title="NewArtistTitle"
//
// - **Notes**
// - Technically square brackets are not allowed in an URI except the Internet Protocol Literal Address
// - RFC3513: A host identified by an Internet Protocol literal address, version 6 [RFC3513] or later, is distinguished by enclosing the IP literal within square brackets ("[" and "]"). This is the only place where square bracket characters are allowed in the URI syntax.
// - Escaped square brackets are allowed, but don't render well
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /library/sections/{sectionId}/all (the `LibrarySectionPutAll` operationId).
LibrarySectionPutAllWithResponse(ctx context.Context, sectionID string, params *LibrarySectionPutAllParams, reqEditors ...RequestEditorFn) (*LibrarySectionPutAllResponse, error)
// LibrarySectionGetAllLeavesWithResponse Set section leaves
//
// Get all leaves in a section (such as episodes in a show section).
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /library/sections/{sectionId}/allLeaves (the `LibrarySectionGetAllLeaves` operationId).
LibrarySectionGetAllLeavesWithResponse(ctx context.Context, sectionID int, reqEditors ...RequestEditorFn) (*LibrarySectionGetAllLeavesResponse, error)
// LibrarySectionPutAnalyzeWithResponse Analyze a section
//
// Start analysis of all items in a section. If BIF generation is enabled, this will also be started on this section
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /library/sections/{sectionId}/analyze (the `LibrarySectionPutAnalyze` operationId).
LibrarySectionPutAnalyzeWithResponse(ctx context.Context, sectionID int, reqEditors ...RequestEditorFn) (*LibrarySectionPutAnalyzeResponse, error)
// LibrarySectionGetArtsWithResponse Set section artwork
//
// Get artwork for a library section.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /library/sections/{sectionId}/arts (the `LibrarySectionGetArts` operationId).
LibrarySectionGetArtsWithResponse(ctx context.Context, sectionID int, reqEditors ...RequestEditorFn) (*LibrarySectionGetArtsResponse, error)
// LibrarySectionGetAudioCodecsWithResponse Get audio codecs in a section
//
// Get list of distinct audio codecs found in this library section.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /library/sections/{sectionId}/audioCodec (the `LibrarySectionGetAudioCodecs` operationId).
LibrarySectionGetAudioCodecsWithResponse(ctx context.Context, sectionID int, params *LibrarySectionGetAudioCodecsParams, reqEditors ...RequestEditorFn) (*LibrarySectionGetAudioCodecsResponse, error)
// LibrarySectionGetAudioLayoutsWithResponse Get audio layouts in a section
//
// Get list of distinct audio layouts (e.g. stereo, 5.1, 7.1) found in this library section
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /library/sections/{sectionId}/audioLayout (the `LibrarySectionGetAudioLayouts` operationId).
LibrarySectionGetAudioLayoutsWithResponse(ctx context.Context, sectionID int, params *LibrarySectionGetAudioLayoutsParams, reqEditors ...RequestEditorFn) (*LibrarySectionGetAudioLayoutsResponse, error)
// LibrarySectionGetAutocompleteWithResponse Get autocompletions for search
//
// The field to autocomplete on is specified by the {field}.query parameter. For example `genre.query` or `title.query`.
// Returns a set of items from the filtered items whose {field} starts with {field}.query. In the results, a {field}.queryRange will be present to express the range of the match
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /library/sections/{sectionId}/autocomplete (the `LibrarySectionGetAutocomplete` operationId).
LibrarySectionGetAutocompleteWithResponse(ctx context.Context, sectionID int, params *LibrarySectionGetAutocompleteParams, reqEditors ...RequestEditorFn) (*LibrarySectionGetAutocompleteResponse, error)
// LibrarySectionGetCategoriesWithResponse Set section categories
//
// Get categories in a library section.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /library/sections/{sectionId}/categories (the `LibrarySectionGetCategories` operationId).
LibrarySectionGetCategoriesWithResponse(ctx context.Context, sectionID int, reqEditors ...RequestEditorFn) (*LibrarySectionGetCategoriesResponse, error)
// LibrarySectionGetClusterWithResponse Set section clusters
//
// Get clusters in a library section (typically for photos).
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /library/sections/{sectionId}/cluster (the `LibrarySectionGetCluster` operationId).
LibrarySectionGetClusterWithResponse(ctx context.Context, sectionID int, reqEditors ...RequestEditorFn) (*LibrarySectionGetClusterResponse, error)
// LibrarySectionDeleteCollectionCollectionWithResponse Delete a collection
//
// Delete a library collection from the PMS.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /library/sections/{sectionId}/collection/{collectionId} (the `LibrarySectionDeleteCollectionCollection` operationId).
LibrarySectionDeleteCollectionCollectionWithResponse(ctx context.Context, sectionID int, collectionID int, reqEditors ...RequestEditorFn) (*LibrarySectionDeleteCollectionCollectionResponse, error)
// LibrarySectionGetCollectionsWithResponse Get collections in a section
//
// Get all collections in a section.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /library/sections/{sectionId}/collections (the `LibrarySectionGetCollections` operationId).
LibrarySectionGetCollectionsWithResponse(ctx context.Context, sectionID int, params *LibrarySectionGetCollectionsParams, reqEditors ...RequestEditorFn) (*LibrarySectionGetCollectionsResponse, error)
// LibrarySectionGetCommonWithResponse Get common fields for items
//
// Represents a "Common" item. It contains only the common attributes of the items selected by the provided filter
// Fields which are not common will be expressed in the `mixedFields` field
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /library/sections/{sectionId}/common (the `LibrarySectionGetCommon` operationId).
LibrarySectionGetCommonWithResponse(ctx context.Context, sectionID int, params *LibrarySectionGetCommonParams, reqEditors ...RequestEditorFn) (*LibrarySectionGetCommonResponse, error)
// LibrarySectionGetCompositeWithResponse Get a section composite image
//
// Get a composite image of images in this section.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /library/sections/{sectionId}/composite/{updatedAt} (the `LibrarySectionGetComposite` operationId).
LibrarySectionGetCompositeWithResponse(ctx context.Context, sectionID int, updatedAt int, params *LibrarySectionGetCompositeParams, reqEditors ...RequestEditorFn) (*LibrarySectionGetCompositeResponse, error)
// LibrarySectionGetComputePathWithResponse Similar tracks to transition from one to another
//
// Get a list of audio tracks starting at one and ending at another which are similar across the path.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /library/sections/{sectionId}/computePath (the `LibrarySectionGetComputePath` operationId).
LibrarySectionGetComputePathWithResponse(ctx context.Context, sectionID int, params *LibrarySectionGetComputePathParams, reqEditors ...RequestEditorFn) (*LibrarySectionGetComputePathResponse, error)
// LibrarySectionPutEmptyTrashWithResponse Empty section trash
//
// Empty trash in the section, permanently deleting media/metadata for missing media
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /library/sections/{sectionId}/emptyTrash (the `LibrarySectionPutEmptyTrash` operationId).
LibrarySectionPutEmptyTrashWithResponse(ctx context.Context, sectionID int, reqEditors ...RequestEditorFn) (*LibrarySectionPutEmptyTrashResponse, error)
// LibrarySectionGetFiltersWithResponse Get section filters
//
// Get common filters on a section.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /library/sections/{sectionId}/filters (the `LibrarySectionGetFilters` operationId).
LibrarySectionGetFiltersWithResponse(ctx context.Context, sectionID int, reqEditors ...RequestEditorFn) (*LibrarySectionGetFiltersResponse, error)
// LibrarySectionGetFirstCharatersWithResponse Get list of first characters
//
// Get list of first characters in this section.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /library/sections/{sectionId}/firstCharacters (the `LibrarySectionGetFirstCharaters` operationId).
LibrarySectionGetFirstCharatersWithResponse(ctx context.Context, sectionID int, params *LibrarySectionGetFirstCharatersParams, reqEditors ...RequestEditorFn) (*LibrarySectionGetFirstCharatersResponse, error)
// LibrarySectionDeleteIndexesWithResponse Delete section indexes
//
// Delete all the indexes in a section.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /library/sections/{sectionId}/indexes (the `LibrarySectionDeleteIndexes` operationId).
LibrarySectionDeleteIndexesWithResponse(ctx context.Context, sectionID int, reqEditors ...RequestEditorFn) (*LibrarySectionDeleteIndexesResponse, error)
// LibrarySectionDeleteIntrosWithResponse Delete section intro markers
//
// Delete all the intro markers in a section.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /library/sections/{sectionId}/intros (the `LibrarySectionDeleteIntros` operationId).
LibrarySectionDeleteIntrosWithResponse(ctx context.Context, sectionID int, reqEditors ...RequestEditorFn) (*LibrarySectionDeleteIntrosResponse, error)
// LibrarySectionGetLocationsWithResponse Get all folder locations
//
// Get all folder locations of the media in a section.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /library/sections/{sectionId}/location (the `LibrarySectionGetLocations` operationId).
LibrarySectionGetLocationsWithResponse(ctx context.Context, sectionID int, reqEditors ...RequestEditorFn) (*LibrarySectionGetLocationsResponse, error)
// LibrarySectionGetMomentWithResponse Set section moments
//
// Get moments in a library section (typically for photos).
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /library/sections/{sectionId}/moment (the `LibrarySectionGetMoment` operationId).
LibrarySectionGetMomentWithResponse(ctx context.Context, sectionID int, reqEditors ...RequestEditorFn) (*LibrarySectionGetMomentResponse, error)
// LibrarySectionGetNearestWithResponse The nearest audio tracks
//
// Get the nearest audio tracks to a particular analysis.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /library/sections/{sectionId}/nearest (the `LibrarySectionGetNearest` operationId).
LibrarySectionGetNearestWithResponse(ctx context.Context, sectionID int, params *LibrarySectionGetNearestParams, reqEditors ...RequestEditorFn) (*LibrarySectionGetNearestResponse, error)
// LibrarySectionGetPrefsWithResponse Get section prefs
//
// Get the prefs for a section by id and potentially overriding the agent.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /library/sections/{sectionId}/prefs (the `LibrarySectionGetPrefs` operationId).
LibrarySectionGetPrefsWithResponse(ctx context.Context, sectionID int, params *LibrarySectionGetPrefsParams, reqEditors ...RequestEditorFn) (*LibrarySectionGetPrefsResponse, error)
// LibrarySectionPutPrefsWithResponse Set section prefs
//
// Set the prefs for a section by id.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /library/sections/{sectionId}/prefs (the `LibrarySectionPutPrefs` operationId).
LibrarySectionPutPrefsWithResponse(ctx context.Context, sectionID int, params *LibrarySectionPutPrefsParams, reqEditors ...RequestEditorFn) (*LibrarySectionPutPrefsResponse, error)
// LibrarySectionDeleteRefreshWithResponse Cancel section refresh
//
// Cancel the refresh of a section.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /library/sections/{sectionId}/refresh (the `LibrarySectionDeleteRefresh` operationId).
LibrarySectionDeleteRefreshWithResponse(ctx context.Context, sectionID int, reqEditors ...RequestEditorFn) (*LibrarySectionDeleteRefreshResponse, error)
// LibrarySectionPostRefreshWithResponse Refresh section
//
// Start a refresh of this section.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /library/sections/{sectionId}/refresh (the `LibrarySectionPostRefresh` operationId).
LibrarySectionPostRefreshWithResponse(ctx context.Context, sectionID int, params *LibrarySectionPostRefreshParams, reqEditors ...RequestEditorFn) (*LibrarySectionPostRefreshResponse, error)
// LibrarySectionGetSortsWithResponse Get a section sorts
//
// Get the sort mechanisms available in a section.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /library/sections/{sectionId}/sorts (the `LibrarySectionGetSorts` operationId).
LibrarySectionGetSortsWithResponse(ctx context.Context, sectionID int, reqEditors ...RequestEditorFn) (*LibrarySectionGetSortsResponse, error)
// LibrarySectionGetSubtitleCodecsWithResponse Get subtitle codecs in a section
//
// Get list of distinct subtitle codecs found in this library section.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /library/sections/{sectionId}/subtitleCodec (the `LibrarySectionGetSubtitleCodecs` operationId).
LibrarySectionGetSubtitleCodecsWithResponse(ctx context.Context, sectionID int, params *LibrarySectionGetSubtitleCodecsParams, reqEditors ...RequestEditorFn) (*LibrarySectionGetSubtitleCodecsResponse, error)
// LibrarySectionGetVideoCodecsWithResponse Get video codecs in a section
//
// Get list of distinct video codecs found in this library section.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /library/sections/{sectionId}/videoCodec (the `LibrarySectionGetVideoCodecs` operationId).
LibrarySectionGetVideoCodecsWithResponse(ctx context.Context, sectionID int, params *LibrarySectionGetVideoCodecsParams, reqEditors ...RequestEditorFn) (*LibrarySectionGetVideoCodecsResponse, error)
// LibraryDeleteStreamsStreamWithResponse Delete a stream
//
// Delete a stream. Only applies to downloaded subtitle streams or a sidecar subtitle when media deletion is enabled.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /library/streams/{streamId}.{ext} (the `LibraryDeleteStreamsStream` operationId).
LibraryDeleteStreamsStreamWithResponse(ctx context.Context, streamID int, ext string, reqEditors ...RequestEditorFn) (*LibraryDeleteStreamsStreamResponse, error)
// LibraryGetStreamsStreamWithResponse Get a stream
//
// Get a stream (such a a sidecar subtitle stream).
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /library/streams/{streamId}.{ext} (the `LibraryGetStreamsStream` operationId).
LibraryGetStreamsStreamWithResponse(ctx context.Context, streamID int, ext string, params *LibraryGetStreamsStreamParams, reqEditors ...RequestEditorFn) (*LibraryGetStreamsStreamResponse, error)
// LibraryPutStreamsStreamWithResponse Set a stream offset
//
// Set a stream offset in ms. This may not be respected by all clients
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /library/streams/{streamId}.{ext} (the `LibraryPutStreamsStream` operationId).
LibraryPutStreamsStreamWithResponse(ctx context.Context, streamID int, ext string, params *LibraryPutStreamsStreamParams, reqEditors ...RequestEditorFn) (*LibraryPutStreamsStreamResponse, error)
// LibraryGetStreamsStreamLevelsWithResponse Get loudness about a stream in json
//
// The the loudness of a stream in db, one entry per 100ms
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /library/streams/{streamId}/levels (the `LibraryGetStreamsStreamLevels` operationId).
LibraryGetStreamsStreamLevelsWithResponse(ctx context.Context, streamID int, params *LibraryGetStreamsStreamLevelsParams, reqEditors ...RequestEditorFn) (*LibraryGetStreamsStreamLevelsResponse, error)
// LibraryGetStreamsStreamLoudnessWithResponse Get loudness about a stream
//
// The the loudness of a stream in db, one number per line, one entry per 100ms
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /library/streams/{streamId}/loudness (the `LibraryGetStreamsStreamLoudness` operationId).
LibraryGetStreamsStreamLoudnessWithResponse(ctx context.Context, streamID int, params *LibraryGetStreamsStreamLoudnessParams, reqEditors ...RequestEditorFn) (*LibraryGetStreamsStreamLoudnessResponse, error)
// LibraryGetTagsWithResponse Get all library tags of a type
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /library/tags (the `LibraryGetTags` operationId).
LibraryGetTagsWithResponse(ctx context.Context, params *LibraryGetTagsParams, reqEditors ...RequestEditorFn) (*LibraryGetTagsResponse, error)
// LivetvDVRGetSlashWithResponse Get DVRs
//
// Get the list of all available DVRs.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /livetv/dvrs (the `LivetvDVRGetSlash` operationId).
LivetvDVRGetSlashWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*LivetvDVRGetSlashResponse, error)
// LivetvDVRPostSlashWithResponse Create a DVR
//
// Creation of a DVR, after creation of a devcie and a lineup is selected
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /livetv/dvrs (the `LivetvDVRPostSlash` operationId).
LivetvDVRPostSlashWithResponse(ctx context.Context, params *LivetvDVRPostSlashParams, reqEditors ...RequestEditorFn) (*LivetvDVRPostSlashResponse, error)
// LivetvDVRDeleteDVRWithResponse Delete a single DVR
//
// Delete a single DVR by its id (key).
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /livetv/dvrs/{dvrId} (the `LivetvDVRDeleteDVR` operationId).
LivetvDVRDeleteDVRWithResponse(ctx context.Context, dvrid int, reqEditors ...RequestEditorFn) (*LivetvDVRDeleteDVRResponse, error)
// LivetvDVRGetDVRWithResponse Get a single DVR
//
// Get a single DVR by its id (key).
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /livetv/dvrs/{dvrId} (the `LivetvDVRGetDVR` operationId).
LivetvDVRGetDVRWithResponse(ctx context.Context, dvrid int, reqEditors ...RequestEditorFn) (*LivetvDVRGetDVRResponse, error)
// LivetvDVRPostChannelsChannelTuneWithResponse Tune a channel on a DVR
//
// Tune a channel on a DVR to the provided channel.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /livetv/dvrs/{dvrId}/channels/{channel}/tune (the `LivetvDVRPostChannelsChannelTune` operationId).
LivetvDVRPostChannelsChannelTuneWithResponse(ctx context.Context, dvrid int, channel string, reqEditors ...RequestEditorFn) (*LivetvDVRPostChannelsChannelTuneResponse, error)
// LivetvDVRDeleteDVRDeviceWithResponse Remove a device from an existing DVR
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /livetv/dvrs/{dvrId}/devices/{deviceId} (the `LivetvDVRDeleteDVRDevice` operationId).
LivetvDVRDeleteDVRDeviceWithResponse(ctx context.Context, dvrid int, deviceID int, reqEditors ...RequestEditorFn) (*LivetvDVRDeleteDVRDeviceResponse, error)
// LivetvDVRPutDVRDeviceWithResponse Add a device to an existing DVR
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /livetv/dvrs/{dvrId}/devices/{deviceId} (the `LivetvDVRPutDVRDevice` operationId).
LivetvDVRPutDVRDeviceWithResponse(ctx context.Context, dvrid int, deviceID int, reqEditors ...RequestEditorFn) (*LivetvDVRPutDVRDeviceResponse, error)
// LivetvDVRDeleteLineupWithResponse Delete a DVR Lineup
//
// Deletes a DVR device's lineup.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /livetv/dvrs/{dvrId}/lineups (the `LivetvDVRDeleteLineup` operationId).
LivetvDVRDeleteLineupWithResponse(ctx context.Context, dvrid int, params *LivetvDVRDeleteLineupParams, reqEditors ...RequestEditorFn) (*LivetvDVRDeleteLineupResponse, error)
// LivetvDVRPutLineupWithResponse Add a DVR Lineup
//
// Add a lineup to a DVR device's set of lineups.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /livetv/dvrs/{dvrId}/lineups (the `LivetvDVRPutLineup` operationId).
LivetvDVRPutLineupWithResponse(ctx context.Context, dvrid int, params *LivetvDVRPutLineupParams, reqEditors ...RequestEditorFn) (*LivetvDVRPutLineupResponse, error)
// LivetvDVRPutPrefsWithResponse Set DVR preferences
//
// Set DVR preferences by name avd value.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /livetv/dvrs/{dvrId}/prefs (the `LivetvDVRPutPrefs` operationId).
LivetvDVRPutPrefsWithResponse(ctx context.Context, dvrid int, params *LivetvDVRPutPrefsParams, reqEditors ...RequestEditorFn) (*LivetvDVRPutPrefsResponse, error)
// LivetvDVRDeleteReloadGuideWithResponse Tell a DVR to stop reloading program guide
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /livetv/dvrs/{dvrId}/reloadGuide (the `LivetvDVRDeleteReloadGuide` operationId).
LivetvDVRDeleteReloadGuideWithResponse(ctx context.Context, dvrid int, reqEditors ...RequestEditorFn) (*LivetvDVRDeleteReloadGuideResponse, error)
// LivetvDVRPostReloadGuideWithResponse Tell a DVR to reload program guide
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /livetv/dvrs/{dvrId}/reloadGuide (the `LivetvDVRPostReloadGuide` operationId).
LivetvDVRPostReloadGuideWithResponse(ctx context.Context, dvrid int, reqEditors ...RequestEditorFn) (*LivetvDVRPostReloadGuideResponse, error)
// LivetvEPGGetChannelmapWithResponse Compute the best channel map
//
// Compute the best channel map, given device and lineup
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /livetv/epg/channelmap (the `LivetvEPGGetChannelmap` operationId).
LivetvEPGGetChannelmapWithResponse(ctx context.Context, params *LivetvEPGGetChannelmapParams, reqEditors ...RequestEditorFn) (*LivetvEPGGetChannelmapResponse, error)
// LivetvEPGGetChannelsWithResponse Get channels for a lineup
//
// Get channels for a lineup within an EPG provider.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /livetv/epg/channels (the `LivetvEPGGetChannels` operationId).
LivetvEPGGetChannelsWithResponse(ctx context.Context, params *LivetvEPGGetChannelsParams, reqEditors ...RequestEditorFn) (*LivetvEPGGetChannelsResponse, error)
// LivetvEPGGetCountriesWithResponse Get all countries
//
// This endpoint returns a list of countries which EPG data is available for. There are three flavors, as specfied by the `flavor` attribute
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /livetv/epg/countries (the `LivetvEPGGetCountries` operationId).
LivetvEPGGetCountriesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*LivetvEPGGetCountriesResponse, error)
// LivetvEPGGetCountriesCountryLineupsWithResponse Get lineups for a country via postal code
//
// Returns a list of lineups for a given country, EPG provider and postal code
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /livetv/epg/countries/{country}/{epgId}/lineups (the `LivetvEPGGetCountriesCountryLineups` operationId).
LivetvEPGGetCountriesCountryLineupsWithResponse(ctx context.Context, country string, epgid string, params *LivetvEPGGetCountriesCountryLineupsParams, reqEditors ...RequestEditorFn) (*LivetvEPGGetCountriesCountryLineupsResponse, error)
// LivetvEPGGetCountriesCountryRegionsWithResponse Get regions for a country
//
// Get regions for a country within an EPG provider.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /livetv/epg/countries/{country}/{epgId}/regions (the `LivetvEPGGetCountriesCountryRegions` operationId).
LivetvEPGGetCountriesCountryRegionsWithResponse(ctx context.Context, country string, epgid string, reqEditors ...RequestEditorFn) (*LivetvEPGGetCountriesCountryRegionsResponse, error)
// LivetvEPGGetCountriesCountryRegionsRegionLineupsWithResponse Get lineups for a region
//
// Get lineups for a region within an EPG provider.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /livetv/epg/countries/{country}/{epgId}/regions/{region}/lineups (the `LivetvEPGGetCountriesCountryRegionsRegionLineups` operationId).
LivetvEPGGetCountriesCountryRegionsRegionLineupsWithResponse(ctx context.Context, country string, epgid string, region string, reqEditors ...RequestEditorFn) (*LivetvEPGGetCountriesCountryRegionsRegionLineupsResponse, error)
// LivetvEPGGetLanguagesWithResponse Get all languages
//
// Returns a list of all possible languages for EPG data.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /livetv/epg/languages (the `LivetvEPGGetLanguages` operationId).
LivetvEPGGetLanguagesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*LivetvEPGGetLanguagesResponse, error)
// LivetvEPGGetLineupWithResponse Compute the best lineup
//
// Compute the best lineup, given lineup group and device
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /livetv/epg/lineup (the `LivetvEPGGetLineup` operationId).
LivetvEPGGetLineupWithResponse(ctx context.Context, params *LivetvEPGGetLineupParams, reqEditors ...RequestEditorFn) (*LivetvEPGGetLineupResponse, error)
// LivetvEPGGetLineupchannelsWithResponse Get the channels for mulitple lineups
//
// Get the channels across multiple lineups.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /livetv/epg/lineupchannels (the `LivetvEPGGetLineupchannels` operationId).
LivetvEPGGetLineupchannelsWithResponse(ctx context.Context, params *LivetvEPGGetLineupchannelsParams, reqEditors ...RequestEditorFn) (*LivetvEPGGetLineupchannelsResponse, error)
// LivetvSessionsGetSlashWithResponse Get all sessions
//
// Get all livetv sessions and metadata.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /livetv/sessions (the `LivetvSessionsGetSlash` operationId).
LivetvSessionsGetSlashWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*LivetvSessionsGetSlashResponse, error)
// LivetvSessionsGetSessionWithResponse Get a single session
//
// Get a single livetv session and metadata.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /livetv/sessions/{sessionId} (the `LivetvSessionsGetSession` operationId).
LivetvSessionsGetSessionWithResponse(ctx context.Context, sessionID string, reqEditors ...RequestEditorFn) (*LivetvSessionsGetSessionResponse, error)
// LivetvSessionsGetSessionConsumerIndexWithResponse Get a session playlist index
//
// Get a playlist index for playing this session.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /livetv/sessions/{sessionId}/{consumerId}/index.m3u8 (the `LivetvSessionsGetSessionConsumerIndex` operationId).
LivetvSessionsGetSessionConsumerIndexWithResponse(ctx context.Context, sessionID string, consumerID string, reqEditors ...RequestEditorFn) (*LivetvSessionsGetSessionConsumerIndexResponse, error)
// LivetvSessionsGetSessionConsumerSegmentWithResponse Get a single session segment
//
// Get a single livetv session segment.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /livetv/sessions/{sessionId}/{consumerId}/{segmentId} (the `LivetvSessionsGetSessionConsumerSegment` operationId).
LivetvSessionsGetSessionConsumerSegmentWithResponse(ctx context.Context, sessionID string, consumerID string, segmentID string, reqEditors ...RequestEditorFn) (*LivetvSessionsGetSessionConsumerSegmentResponse, error)
// LogPostSlashWithBodyWithResponse Logging a multi-line message to the Plex Media Server log
//
// This endpoint will write multiple lines to the main Plex Media Server log in a single request. It takes a set of query strings as would normally sent to the above PUT endpoint as a linefeed-separated block of POST data. The parameters for each query string match as above.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /log (the `LogPostSlash` operationId).
LogPostSlashWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*LogPostSlashResponse, error)
// LogPostSlashWithTextBodyWithResponse Logging a multi-line message to the Plex Media Server log
//
// This endpoint will write multiple lines to the main Plex Media Server log in a single request. It takes a set of query strings as would normally sent to the above PUT endpoint as a linefeed-separated block of POST data. The parameters for each query string match as above.
//
// Takes a body of the `text/plain` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /log (the `LogPostSlash` operationId).
LogPostSlashWithTextBodyWithResponse(ctx context.Context, body LogPostSlashTextRequestBody, reqEditors ...RequestEditorFn) (*LogPostSlashResponse, error)
// LogPutSlashWithResponse Logging a single-line message to the Plex Media Server log
//
// This endpoint will write a single-line log message, including a level and source to the main Plex Media Server log.
//
// Note: This endpoint responds to all HTTP verbs **except POST** but PUT is preferred
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /log (the `LogPutSlash` operationId).
LogPutSlashWithResponse(ctx context.Context, params *LogPutSlashParams, reqEditors ...RequestEditorFn) (*LogPutSlashResponse, error)
// LogPostPapertrailWithResponse Enabling Papertrail
//
// This endpoint will enable all Plex Media Serverlogs to be sent to the Papertrail networked logging site for a period of time
//
// Note: This endpoint responds to all HTTP verbs but POST is preferred
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /log/networked (the `LogPostPapertrail` operationId).
LogPostPapertrailWithResponse(ctx context.Context, params *LogPostPapertrailParams, reqEditors ...RequestEditorFn) (*LogPostPapertrailResponse, error)
// MediaGrabberGetSlashWithResponse Get available grabbers
//
// Get available grabbers visible to the server.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /media/grabbers (the `MediaGrabberGetSlash` operationId).
MediaGrabberGetSlashWithResponse(ctx context.Context, params *MediaGrabberGetSlashParams, reqEditors ...RequestEditorFn) (*MediaGrabberGetSlashResponse, error)
// MediaGrabberGetDevicesWithResponse Get all devices
//
// Get the list of all devices present.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /media/grabbers/devices (the `MediaGrabberGetDevices` operationId).
MediaGrabberGetDevicesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*MediaGrabberGetDevicesResponse, error)
// MediaGrabberPostDevicesWithResponse Add a device
//
// This endpoint adds a device to an existing grabber. The device is identified, and added to the correct grabber.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /media/grabbers/devices (the `MediaGrabberPostDevices` operationId).
MediaGrabberPostDevicesWithResponse(ctx context.Context, params *MediaGrabberPostDevicesParams, reqEditors ...RequestEditorFn) (*MediaGrabberPostDevicesResponse, error)
// MediaGrabberPostDeviceDiscoverWithResponse Tell grabbers to discover devices
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /media/grabbers/devices/discover (the `MediaGrabberPostDeviceDiscover` operationId).
MediaGrabberPostDeviceDiscoverWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*MediaGrabberPostDeviceDiscoverResponse, error)
// MediaGrabberDevicesDeviceDeleteSlashWithResponse Remove a device
//
// Remove a devices by its id along with its channel mappings.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /media/grabbers/devices/{deviceId} (the `MediaGrabberDevicesDeviceDeleteSlash` operationId).
MediaGrabberDevicesDeviceDeleteSlashWithResponse(ctx context.Context, deviceID int, reqEditors ...RequestEditorFn) (*MediaGrabberDevicesDeviceDeleteSlashResponse, error)
// MediaGrabberDevicesDeviceGetSlashWithResponse Get device details
//
// Get a device's details by its id.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /media/grabbers/devices/{deviceId} (the `MediaGrabberDevicesDeviceGetSlash` operationId).
MediaGrabberDevicesDeviceGetSlashWithResponse(ctx context.Context, deviceID int, reqEditors ...RequestEditorFn) (*MediaGrabberDevicesDeviceGetSlashResponse, error)
// MediaGrabberDevicesDevicePutSlashWithResponse Enable or disable a device
//
// Enable or disable a device by its id.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /media/grabbers/devices/{deviceId} (the `MediaGrabberDevicesDevicePutSlash` operationId).
MediaGrabberDevicesDevicePutSlashWithResponse(ctx context.Context, deviceID int, params *MediaGrabberDevicesDevicePutSlashParams, reqEditors ...RequestEditorFn) (*MediaGrabberDevicesDevicePutSlashResponse, error)
// MediaGrabberDevicesDevicePutChannelmapWithResponse Set a device's channel mapping
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /media/grabbers/devices/{deviceId}/channelmap (the `MediaGrabberDevicesDevicePutChannelmap` operationId).
MediaGrabberDevicesDevicePutChannelmapWithResponse(ctx context.Context, deviceID int, params *MediaGrabberDevicesDevicePutChannelmapParams, reqEditors ...RequestEditorFn) (*MediaGrabberDevicesDevicePutChannelmapResponse, error)
// MediaGrabberDevicesDeviceGetChannelsWithResponse Get a device's channels
//
// Get a device's channels by its id.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /media/grabbers/devices/{deviceId}/channels (the `MediaGrabberDevicesDeviceGetChannels` operationId).
MediaGrabberDevicesDeviceGetChannelsWithResponse(ctx context.Context, deviceID int, reqEditors ...RequestEditorFn) (*MediaGrabberDevicesDeviceGetChannelsResponse, error)
// MediaGrabberDevicesDevicePutPrefsWithResponse Set device preferences
//
// Set device preferences by its id.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /media/grabbers/devices/{deviceId}/prefs (the `MediaGrabberDevicesDevicePutPrefs` operationId).
MediaGrabberDevicesDevicePutPrefsWithResponse(ctx context.Context, deviceID int, params *MediaGrabberDevicesDevicePutPrefsParams, reqEditors ...RequestEditorFn) (*MediaGrabberDevicesDevicePutPrefsResponse, error)
// MediaGrabberDeleteDevicesDeviceScanWithResponse Tell a device to stop scanning for channels
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /media/grabbers/devices/{deviceId}/scan (the `MediaGrabberDeleteDevicesDeviceScan` operationId).
MediaGrabberDeleteDevicesDeviceScanWithResponse(ctx context.Context, deviceID int, reqEditors ...RequestEditorFn) (*MediaGrabberDeleteDevicesDeviceScanResponse, error)
// MediaGrabberDevicesDevicePostScanWithResponse Tell a device to scan for channels
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /media/grabbers/devices/{deviceId}/scan (the `MediaGrabberDevicesDevicePostScan` operationId).
MediaGrabberDevicesDevicePostScanWithResponse(ctx context.Context, deviceID int, params *MediaGrabberDevicesDevicePostScanParams, reqEditors ...RequestEditorFn) (*MediaGrabberDevicesDevicePostScanResponse, error)
// MediaGrabberDevicesDeviceGetThumbVersionWithResponse Get device thumb
//
// Get a device's thumb for display to the user.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /media/grabbers/devices/{deviceId}/thumb/{version} (the `MediaGrabberDevicesDeviceGetThumbVersion` operationId).
MediaGrabberDevicesDeviceGetThumbVersionWithResponse(ctx context.Context, deviceID int, version int, reqEditors ...RequestEditorFn) (*MediaGrabberDevicesDeviceGetThumbVersionResponse, error)
// MediaGrabberDeleteOperationsOperationWithResponse Cancel an existing grab
//
// Cancels an existing media grab (recording). It can be used to resolve a conflict which exists for a rolling subscription.
// Note: This cancellation does not persist across a server restart, but neither does a rolling subscription itself.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /media/grabbers/operations/{operationId} (the `MediaGrabberDeleteOperationsOperation` operationId).
MediaGrabberDeleteOperationsOperationWithResponse(ctx context.Context, operationID string, reqEditors ...RequestEditorFn) (*MediaGrabberDeleteOperationsOperationResponse, error)
// GetMediaProvidersWithResponse Get the list of available media providers
//
// Get the list of all available media providers for this PMS. This will generally include the library provider and possibly EPG if DVR is set up.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /media/providers (the `GetMediaProviders` operationId).
GetMediaProvidersWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetMediaProvidersResponse, error)
// PostMediaProvidersWithResponse Add a media provider
//
// This endpoint registers a media provider with the server. Once registered, the media server acts as a reverse proxy to the provider, allowing both local and remote providers to work.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /media/providers (the `PostMediaProviders` operationId).
PostMediaProvidersWithResponse(ctx context.Context, params *PostMediaProvidersParams, reqEditors ...RequestEditorFn) (*PostMediaProvidersResponse, error)
// GetMetadataAgentProvidersWithResponse Get the list of available metadata agent providers
//
// Get the list of all available metadata agent providers for this PMS.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /media/providers/metadata (the `GetMetadataAgentProviders` operationId).
GetMetadataAgentProvidersWithResponse(ctx context.Context, params *GetMetadataAgentProvidersParams, reqEditors ...RequestEditorFn) (*GetMetadataAgentProvidersResponse, error)
// PostMetadataAgentProvidersWithResponse Add a metadata agent provider
//
// This endpoint registers a metadata agent provider with the server. The provider URI must respond with a valid MediaProvider response.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /media/providers/metadata (the `PostMetadataAgentProviders` operationId).
PostMetadataAgentProvidersWithResponse(ctx context.Context, params *PostMetadataAgentProvidersParams, reqEditors ...RequestEditorFn) (*PostMetadataAgentProvidersResponse, error)
// GetMetadataAgentProviderGroupsWithResponse Get the list of available metadata agent provider groups
//
// Get the list of all available metadata agent provider groups for this PMS.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /media/providers/metadata/group (the `GetMetadataAgentProviderGroups` operationId).
GetMetadataAgentProviderGroupsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetMetadataAgentProviderGroupsResponse, error)
// PostMetadataAgentProviderGroupsWithResponse Add a metadata agent provider group
//
// This endpoint registers a new metadata agent provider group and creates a new MetadataAgentGroupItem for the primraryIdentifier.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /media/providers/metadata/group (the `PostMetadataAgentProviderGroups` operationId).
PostMetadataAgentProviderGroupsWithResponse(ctx context.Context, params *PostMetadataAgentProviderGroupsParams, reqEditors ...RequestEditorFn) (*PostMetadataAgentProviderGroupsResponse, error)
// DeleteMetadataAgentProviderGroupWithResponse Delete a metadata agent provider group
//
// Deletes a metadata agent provider group with the given id. This will also delete any MetadataAgentGroupItem objects associated with the group.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /media/providers/metadata/group/{groupId} (the `DeleteMetadataAgentProviderGroup` operationId).
DeleteMetadataAgentProviderGroupWithResponse(ctx context.Context, groupID int, reqEditors ...RequestEditorFn) (*DeleteMetadataAgentProviderGroupResponse, error)
// GetMetadataAgentProviderGroupWithResponse Get a metadata agent provider group
//
// Get the metadata agent provider group with the given id.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /media/providers/metadata/group/{groupId} (the `GetMetadataAgentProviderGroup` operationId).
GetMetadataAgentProviderGroupWithResponse(ctx context.Context, groupID int, reqEditors ...RequestEditorFn) (*GetMetadataAgentProviderGroupResponse, error)
// PutMetadataAgentProviderGroupWithResponse Modify a metadata agent provider group
//
// Modify the metadata agent group with the given id. Only the title can be changed.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /media/providers/metadata/group/{groupId} (the `PutMetadataAgentProviderGroup` operationId).
PutMetadataAgentProviderGroupWithResponse(ctx context.Context, groupID int, params *PutMetadataAgentProviderGroupParams, reqEditors ...RequestEditorFn) (*PutMetadataAgentProviderGroupResponse, error)
// DeleteMetadataAgentProviderGroupItemWithResponse Delete a metadata agent provider group item
//
// Deletes a metadata agent provider group item with the given id.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /media/providers/metadata/group/{groupId}/items/{providerId} (the `DeleteMetadataAgentProviderGroupItem` operationId).
DeleteMetadataAgentProviderGroupItemWithResponse(ctx context.Context, groupID int, providerID int, reqEditors ...RequestEditorFn) (*DeleteMetadataAgentProviderGroupItemResponse, error)
// PutMetadataAgentProviderGroupItemWithResponse Modify a metadata agent provider group's items
//
// Modify a metadata agent provider group's items. This will assign the specified provider id to the group if it does not already exist.
//
// Providing the optional after query parameter on an existing group item will move its position in the group relative to the item with the specified ID.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /media/providers/metadata/group/{groupId}/items/{providerId} (the `PutMetadataAgentProviderGroupItem` operationId).
PutMetadataAgentProviderGroupItemWithResponse(ctx context.Context, groupID int, providerID int, params *PutMetadataAgentProviderGroupItemParams, reqEditors ...RequestEditorFn) (*PutMetadataAgentProviderGroupItemResponse, error)
// DeleteMetadataAgentProviderWithResponse Delete a metadata agent provider
//
// Deletes a metadata agent provider with the given id. This will fail if the provider is being used inside a MetadataAgentGroup.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /media/providers/metadata/{providerId} (the `DeleteMetadataAgentProvider` operationId).
DeleteMetadataAgentProviderWithResponse(ctx context.Context, providerID int, reqEditors ...RequestEditorFn) (*DeleteMetadataAgentProviderResponse, error)
// GetMetadataAgentProviderWithResponse Get a metadata agent provider
//
// Get the metadata agent provider with the given id.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /media/providers/metadata/{providerId} (the `GetMetadataAgentProvider` operationId).
GetMetadataAgentProviderWithResponse(ctx context.Context, providerID int, reqEditors ...RequestEditorFn) (*GetMetadataAgentProviderResponse, error)
// PutMetadataAgentProviderWithResponse Modify a metadata agent provider
//
// Modify the metadata agent provider with the given id. Only the URI is passed, the response to the URI will determine the other properties.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /media/providers/metadata/{providerId} (the `PutMetadataAgentProvider` operationId).
PutMetadataAgentProviderWithResponse(ctx context.Context, providerID int, params *PutMetadataAgentProviderParams, reqEditors ...RequestEditorFn) (*PutMetadataAgentProviderResponse, error)
// PostMediaProvidersRefreshWithResponse Refresh media providers
//
// Refresh all known media providers. This is useful in case a provider has updated features.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /media/providers/refresh (the `PostMediaProvidersRefresh` operationId).
PostMediaProvidersRefreshWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PostMediaProvidersRefreshResponse, error)
// DeleteMediaProviderWithResponse Delete a media provider
//
// Deletes a media provider with the given id.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /media/providers/{provider} (the `DeleteMediaProvider` operationId).
DeleteMediaProviderWithResponse(ctx context.Context, provider string, reqEditors ...RequestEditorFn) (*DeleteMediaProviderResponse, error)
// MediaSubscriptionsGetSlashWithResponse Get all subscriptions
//
// Get all subscriptions and potentially the grabs too.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /media/subscriptions (the `MediaSubscriptionsGetSlash` operationId).
MediaSubscriptionsGetSlashWithResponse(ctx context.Context, params *MediaSubscriptionsGetSlashParams, reqEditors ...RequestEditorFn) (*MediaSubscriptionsGetSlashResponse, error)
// MediaSubscriptionsPostSlashWithResponse Create a subscription
//
// Create a subscription. The query parameters should be mostly derived from the [template](#tag/Subscriptions/operation/mediaSubscriptionsGetTemplate)
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /media/subscriptions (the `MediaSubscriptionsPostSlash` operationId).
MediaSubscriptionsPostSlashWithResponse(ctx context.Context, params *MediaSubscriptionsPostSlashParams, reqEditors ...RequestEditorFn) (*MediaSubscriptionsPostSlashResponse, error)
// MediaSubscriptionsPostProcessWithResponse Process all subscriptions
//
// Process all subscriptions asynchronously.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /media/subscriptions/process (the `MediaSubscriptionsPostProcess` operationId).
MediaSubscriptionsPostProcessWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*MediaSubscriptionsPostProcessResponse, error)
// MediaSubscriptionsGetScheduledWithResponse Get all scheduled recordings
//
// Get all scheduled recordings across all subscriptions.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /media/subscriptions/scheduled (the `MediaSubscriptionsGetScheduled` operationId).
MediaSubscriptionsGetScheduledWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*MediaSubscriptionsGetScheduledResponse, error)
// MediaSubscriptionsGetTemplateWithResponse Get the subscription template
//
// Get the templates for a piece of media which could include fetching one airing, season, the whole show, etc.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /media/subscriptions/template (the `MediaSubscriptionsGetTemplate` operationId).
MediaSubscriptionsGetTemplateWithResponse(ctx context.Context, params *MediaSubscriptionsGetTemplateParams, reqEditors ...RequestEditorFn) (*MediaSubscriptionsGetTemplateResponse, error)
// MediaSubscriptionsDeleteSubscriptionWithResponse Delete a subscription
//
// Delete a subscription, cancelling all of its grabs as well
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /media/subscriptions/{subscriptionId} (the `MediaSubscriptionsDeleteSubscription` operationId).
MediaSubscriptionsDeleteSubscriptionWithResponse(ctx context.Context, subscriptionID int, reqEditors ...RequestEditorFn) (*MediaSubscriptionsDeleteSubscriptionResponse, error)
// MediaSubscriptionsGetSubscriptionWithResponse Get a single subscription
//
// Get a single subscription and potentially the grabs too.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /media/subscriptions/{subscriptionId} (the `MediaSubscriptionsGetSubscription` operationId).
MediaSubscriptionsGetSubscriptionWithResponse(ctx context.Context, subscriptionID int, params *MediaSubscriptionsGetSubscriptionParams, reqEditors ...RequestEditorFn) (*MediaSubscriptionsGetSubscriptionResponse, error)
// MediaSubscriptionsPutSubscriptionWithResponse Edit a subscription
//
// Edit a subscription's preferences.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /media/subscriptions/{subscriptionId} (the `MediaSubscriptionsPutSubscription` operationId).
MediaSubscriptionsPutSubscriptionWithResponse(ctx context.Context, subscriptionID int, params *MediaSubscriptionsPutSubscriptionParams, reqEditors ...RequestEditorFn) (*MediaSubscriptionsPutSubscriptionResponse, error)
// MediaSubscriptionsPutSubscriptionMoveWithResponse Re-order a subscription
//
// Re-order a subscription to change its priority.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /media/subscriptions/{subscriptionId}/move (the `MediaSubscriptionsPutSubscriptionMove` operationId).
MediaSubscriptionsPutSubscriptionMoveWithResponse(ctx context.Context, subscriptionID int, params *MediaSubscriptionsPutSubscriptionMoveParams, reqEditors ...RequestEditorFn) (*MediaSubscriptionsPutSubscriptionMoveResponse, error)
// ImageTranscodeWithResponse Transcode an image
//
// Transcode an image, possibly changing format or size
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /photo/:/transcode (the `ImageTranscode` operationId).
ImageTranscodeWithResponse(ctx context.Context, params *ImageTranscodeParams, reqEditors ...RequestEditorFn) (*ImageTranscodeResponse, error)
// PlayQueuePostSlashWithResponse Create a play queue
//
// Makes a new play queue for a device. The source of the playqueue can either be a URI, or a playlist. The response is a media container with the initial items in the queue. Each item in the queue will be a regular item but with `playQueueItemID` - a unique ID since the queue could have repeated items with the same `ratingKey`.
// Note: Either `uri` or `playlistID` must be specified
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /playQueues (the `PlayQueuePostSlash` operationId).
PlayQueuePostSlashWithResponse(ctx context.Context, params *PlayQueuePostSlashParams, reqEditors ...RequestEditorFn) (*PlayQueuePostSlashResponse, error)
// PlayQueueQueueGetSlashWithResponse Retrieve a play queue
//
// Retrieves the play queue, centered at current item. This can be treated as a regular container by play queue-oblivious clients, but they may wish to request a large window onto the queue since they won't know to refresh.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /playQueues/{playQueueId} (the `PlayQueueQueueGetSlash` operationId).
PlayQueueQueueGetSlashWithResponse(ctx context.Context, playQueueID int, params *PlayQueueQueueGetSlashParams, reqEditors ...RequestEditorFn) (*PlayQueueQueueGetSlashResponse, error)
// PlayQueueQueuePutSlashWithResponse Add a generator or playlist to a play queue
//
// Adds an item to a play queue (e.g. party mode). Increments the version of the play queue. Takes the following parameters (`uri` and `playlistID` are mutually exclusive). Returns the modified play queue.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /playQueues/{playQueueId} (the `PlayQueueQueuePutSlash` operationId).
PlayQueueQueuePutSlashWithResponse(ctx context.Context, playQueueID int, params *PlayQueueQueuePutSlashParams, reqEditors ...RequestEditorFn) (*PlayQueueQueuePutSlashResponse, error)
// PlayQueueQueueDeleteItemsWithResponse Clear a play queue
//
// Deletes all items in the play queue, and increases the version of the play queue.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /playQueues/{playQueueId}/items (the `PlayQueueQueueDeleteItems` operationId).
PlayQueueQueueDeleteItemsWithResponse(ctx context.Context, playQueueID int, reqEditors ...RequestEditorFn) (*PlayQueueQueueDeleteItemsResponse, error)
// PlayQueueQueueDeleteItemsItemWithResponse Delete an item from a play queue
//
// Deletes an item in a play queue. Increments the version of the play queue. Returns the modified play queue.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /playQueues/{playQueueId}/items/{playQueueItemId} (the `PlayQueueQueueDeleteItemsItem` operationId).
PlayQueueQueueDeleteItemsItemWithResponse(ctx context.Context, playQueueID int, playQueueItemID int, reqEditors ...RequestEditorFn) (*PlayQueueQueueDeleteItemsItemResponse, error)
// PlayQueueQueuePutItemsMoveWithResponse Move an item in a play queue
//
// Moves an item in a play queue, and increases the version of the play queue. Returns the modified play queue.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /playQueues/{playQueueId}/items/{playQueueItemId}/move (the `PlayQueueQueuePutItemsMove` operationId).
PlayQueueQueuePutItemsMoveWithResponse(ctx context.Context, playQueueID int, playQueueItemID int, params *PlayQueueQueuePutItemsMoveParams, reqEditors ...RequestEditorFn) (*PlayQueueQueuePutItemsMoveResponse, error)
// PlayQueuePlayQueueResetWithResponse Reset a play queue
//
// Reset a play queue to the first item being the current item.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /playQueues/{playQueueId}/reset (the `PlayQueuePlayQueueReset` operationId).
PlayQueuePlayQueueResetWithResponse(ctx context.Context, playQueueID int, reqEditors ...RequestEditorFn) (*PlayQueuePlayQueueResetResponse, error)
// PlayQueueQueuePutItemsShuffleWithResponse Shuffle a play queue
//
// Shuffle a play queue (or reshuffles if already shuffled). The currently selected item is maintained. Note that this is currently only supported for play queues *without* an Up Next area. Returns the modified play queue.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /playQueues/{playQueueId}/shuffle (the `PlayQueueQueuePutItemsShuffle` operationId).
PlayQueueQueuePutItemsShuffleWithResponse(ctx context.Context, playQueueID int, reqEditors ...RequestEditorFn) (*PlayQueueQueuePutItemsShuffleResponse, error)
// PlayQueueQueuePutItemsUnshuffleWithResponse Unshuffle a play queue
//
// Unshuffles a play queue and restores "natural order". Note that this is currently only supported for play queues *without* an Up Next area. Returns the modified play queue.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /playQueues/{playQueueId}/unshuffle (the `PlayQueueQueuePutItemsUnshuffle` operationId).
PlayQueueQueuePutItemsUnshuffleWithResponse(ctx context.Context, playQueueID int, reqEditors ...RequestEditorFn) (*PlayQueueQueuePutItemsUnshuffleResponse, error)
// PlaylistGetSlashWithResponse Retrieve Playlists
//
// Gets a list of playlists and playlist folders for a user. General filters are permitted, such as `sort=lastViewedAt:desc`. A flat playlist list can be retrieved using `type=15` to limit the collection to just playlists.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /playlists (the `PlaylistGetSlash` operationId).
PlaylistGetSlashWithResponse(ctx context.Context, params *PlaylistGetSlashParams, reqEditors ...RequestEditorFn) (*PlaylistGetSlashResponse, error)
// PlaylistPostSlashWithResponse Create a Playlist
//
// Create a new playlist. By default the playlist is blank.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /playlists (the `PlaylistPostSlash` operationId).
PlaylistPostSlashWithResponse(ctx context.Context, params *PlaylistPostSlashParams, reqEditors ...RequestEditorFn) (*PlaylistPostSlashResponse, error)
// PlaylistPostUploadWithResponse Upload
//
// Imports m3u playlists by passing a path on the server to scan for m3u-formatted playlist files, or a path to a single playlist file.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /playlists/upload (the `PlaylistPostUpload` operationId).
PlaylistPostUploadWithResponse(ctx context.Context, params *PlaylistPostUploadParams, reqEditors ...RequestEditorFn) (*PlaylistPostUploadResponse, error)
// PlaylistDeletePlaylistWithResponse Delete a Playlist
//
// Deletes a playlist by provided id.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /playlists/{playlistId} (the `PlaylistDeletePlaylist` operationId).
PlaylistDeletePlaylistWithResponse(ctx context.Context, playlistID int, reqEditors ...RequestEditorFn) (*PlaylistDeletePlaylistResponse, error)
// PlaylistGetPlaylistWithResponse Retrieve Playlist
//
// Gets detailed metadata for a playlist. A playlist for many purposes (rating, editing metadata, tagging), can be treated like a regular metadata item:
// Smart playlist details contain the `content` attribute. This is the content URI for the generator. This can then be parsed by a client to provide smart playlist editing.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /playlists/{playlistId} (the `PlaylistGetPlaylist` operationId).
PlaylistGetPlaylistWithResponse(ctx context.Context, playlistID int, reqEditors ...RequestEditorFn) (*PlaylistGetPlaylistResponse, error)
// PlaylistPutPlaylistWithResponse Editing a Playlist
//
// Edits a playlist in the same manner as [editing metadata](#tag/Provider/operation/metadataPutItem).
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /playlists/{playlistId} (the `PlaylistPutPlaylist` operationId).
PlaylistPutPlaylistWithResponse(ctx context.Context, playlistID int, reqEditors ...RequestEditorFn) (*PlaylistPutPlaylistResponse, error)
// PlaylistGetGeneratorsWithResponse Get a playlist's generators
//
// Get all the generators in a playlist.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /playlists/{playlistId}/generators (the `PlaylistGetGenerators` operationId).
PlaylistGetGeneratorsWithResponse(ctx context.Context, playlistID int, reqEditors ...RequestEditorFn) (*PlaylistGetGeneratorsResponse, error)
// PlaylistDeleteItemsWithResponse Clearing a playlist
//
// Clears a playlist, only works with dumb playlists. Returns the playlist.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /playlists/{playlistId}/items (the `PlaylistDeleteItems` operationId).
PlaylistDeleteItemsWithResponse(ctx context.Context, playlistID int, reqEditors ...RequestEditorFn) (*PlaylistDeleteItemsResponse, error)
// PlaylistGetItemsWithResponse Retrieve Playlist Contents
//
// Gets the contents if a playlist. Should be paged by clients via standard mechanisms. By default leaves are returned (e.g. episodes, movies). In order to return other types you can use the `type` parameter. For example, you could use this to display a list of recently added albums vis a smart playlist. Note that for dumb playlists, items have a `playlistItemID` attribute which is used for deleting or moving items.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /playlists/{playlistId}/items (the `PlaylistGetItems` operationId).
PlaylistGetItemsWithResponse(ctx context.Context, playlistID int, params *PlaylistGetItemsParams, reqEditors ...RequestEditorFn) (*PlaylistGetItemsResponse, error)
// PlaylistPutItemsWithResponse Adding to a Playlist
//
// Adds a generator to a playlist, same parameters as the POST above. With a dumb playlist, this adds the specified items to the playlist. With a smart playlist, passing a new `uri` parameter replaces the rules for the playlist. Returns the playlist.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /playlists/{playlistId}/items (the `PlaylistPutItems` operationId).
PlaylistPutItemsWithResponse(ctx context.Context, playlistID int, params *PlaylistPutItemsParams, reqEditors ...RequestEditorFn) (*PlaylistPutItemsResponse, error)
// PlaylistDeleteItemsGeneratorWithResponse Delete a Generator
//
// Deletes an item from a playlist. Only works with dumb playlists.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /playlists/{playlistId}/items/{generatorId} (the `PlaylistDeleteItemsGenerator` operationId).
PlaylistDeleteItemsGeneratorWithResponse(ctx context.Context, playlistID int, generatorID int, reqEditors ...RequestEditorFn) (*PlaylistDeleteItemsGeneratorResponse, error)
// PlaylistGetItemsGeneratorWithResponse Get a playlist generator
//
// Get a playlist's generator. Only used for optimized versions
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /playlists/{playlistId}/items/{generatorId} (the `PlaylistGetItemsGenerator` operationId).
PlaylistGetItemsGeneratorWithResponse(ctx context.Context, playlistID int, generatorID int, reqEditors ...RequestEditorFn) (*PlaylistGetItemsGeneratorResponse, error)
// PlaylistPutItemsGeneratorWithResponse Modify a Generator
//
// Modify a playlist generator. Only used for optimizer
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /playlists/{playlistId}/items/{generatorId} (the `PlaylistPutItemsGenerator` operationId).
PlaylistPutItemsGeneratorWithResponse(ctx context.Context, playlistID int, generatorID int, params *PlaylistPutItemsGeneratorParams, reqEditors ...RequestEditorFn) (*PlaylistPutItemsGeneratorResponse, error)
// PlaylistGetItemsGeneratorItemsWithResponse Get a playlist generator's items
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /playlists/{playlistId}/items/{generatorId}/items (the `PlaylistGetItemsGeneratorItems` operationId).
PlaylistGetItemsGeneratorItemsWithResponse(ctx context.Context, playlistID int, generatorID int, reqEditors ...RequestEditorFn) (*PlaylistGetItemsGeneratorItemsResponse, error)
// PlaylistPutItemsGeneratorReprocessWithResponse Reprocess a generator
//
// Make a generator reprocess (refresh).
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /playlists/{playlistId}/items/{generatorId}/{metadataId}/{action} (the `PlaylistPutItemsGeneratorReprocess` operationId).
PlaylistPutItemsGeneratorReprocessWithResponse(ctx context.Context, playlistID int, generatorID int, metadataID int, action PlaylistPutItemsGeneratorReprocessParamsAction, reqEditors ...RequestEditorFn) (*PlaylistPutItemsGeneratorReprocessResponse, error)
// PlaylistPutItemsMoveWithResponse Moving items in a playlist
//
// Moves an item in a playlist. Only works with dumb playlists.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /playlists/{playlistId}/items/{playlistItemId}/move (the `PlaylistPutItemsMove` operationId).
PlaylistPutItemsMoveWithResponse(ctx context.Context, playlistID int, playlistItemID int, params *PlaylistPutItemsMoveParams, reqEditors ...RequestEditorFn) (*PlaylistPutItemsMoveResponse, error)
// SecurityGetResourcesWithResponse Get Source Connection Information
//
// If a caller requires connection details and a transient token for a source that is known to the server, for example a cloud media provider or shared PMS, then this endpoint can be called. This endpoint is only accessible with either an admin token or a valid transient token generated from an admin token.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /security/resources (the `SecurityGetResources` operationId).
SecurityGetResourcesWithResponse(ctx context.Context, params *SecurityGetResourcesParams, reqEditors ...RequestEditorFn) (*SecurityGetResourcesResponse, error)
// SecurityPostTokenWithResponse Get Transient Tokens
//
// This endpoint provides the caller with a temporary token with the same access level as the caller's token. These tokens are valid for up to 48 hours and are destroyed if the server instance is restarted.
// Note: This endpoint responds to all HTTP verbs but POST in preferred
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /security/token (the `SecurityPostToken` operationId).
SecurityPostTokenWithResponse(ctx context.Context, params *SecurityPostTokenParams, reqEditors ...RequestEditorFn) (*SecurityPostTokenResponse, error)
// UltraBlurGetColorsWithResponse Get UltraBlur Colors
//
// Retrieves the four colors extracted from an image for clients to use to generate an ultrablur image.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /services/ultrablur/colors (the `UltraBlurGetColors` operationId).
UltraBlurGetColorsWithResponse(ctx context.Context, params *UltraBlurGetColorsParams, reqEditors ...RequestEditorFn) (*UltraBlurGetColorsResponse, error)
// UltraBlurGetImageWithResponse Get UltraBlur Image
//
// Retrieves a server-side generated UltraBlur image based on the provided color inputs. Clients should always call this via the photo transcoder endpoint.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /services/ultrablur/image (the `UltraBlurGetImage` operationId).
UltraBlurGetImageWithResponse(ctx context.Context, params *UltraBlurGetImageParams, reqEditors ...RequestEditorFn) (*UltraBlurGetImageResponse, error)
// StatusGetSlashWithResponse List Sessions
//
// List all current playbacks on this server.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /status/sessions (the `StatusGetSlash` operationId).
StatusGetSlashWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*StatusGetSlashResponse, error)
// StatusGetBackgroundWithResponse Get background tasks
//
// Get the list of all background tasks.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /status/sessions/background (the `StatusGetBackground` operationId).
StatusGetBackgroundWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*StatusGetBackgroundResponse, error)
// StatusGetHistoryAllWithResponse List Playback History
//
// List all playback history (Admin can see all users, others can only see their own).
// Pagination should be used on this endpoint. Additionally this endpoint supports `includeFields`, `excludeFields`, `includeElements`, and `excludeElements` parameters.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /status/sessions/history/all (the `StatusGetHistoryAll` operationId).
StatusGetHistoryAllWithResponse(ctx context.Context, params *StatusGetHistoryAllParams, reqEditors ...RequestEditorFn) (*StatusGetHistoryAllResponse, error)
// StatusDeleteHistoryWithResponse Delete Single History Item
//
// Delete a single history item by id.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /status/sessions/history/{historyId} (the `StatusDeleteHistory` operationId).
StatusDeleteHistoryWithResponse(ctx context.Context, historyID int, reqEditors ...RequestEditorFn) (*StatusDeleteHistoryResponse, error)
// StatusGetHistoryWithResponse Get Single History Item
//
// Get a single history item by id.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /status/sessions/history/{historyId} (the `StatusGetHistory` operationId).
StatusGetHistoryWithResponse(ctx context.Context, historyID int, reqEditors ...RequestEditorFn) (*StatusGetHistoryResponse, error)
// StatusPostTerminateWithResponse Terminate a session
//
// Terminate a playback session kicking off the user.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /status/sessions/terminate (the `StatusPostTerminate` operationId).
StatusPostTerminateWithResponse(ctx context.Context, params *StatusPostTerminateParams, reqEditors ...RequestEditorFn) (*StatusPostTerminateResponse, error)
// MediaProviderEPGGridWithResponse Get airing information
//
// Get the airing information for a given channel on a given day.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /tv.plex.providers.epg.{identifier}:{deviceId}/grid (the `MediaProviderEPGGrid` operationId).
MediaProviderEPGGridWithResponse(ctx context.Context, identifier MediaProviderEPGGridParamsIdentifier, deviceID int, params *MediaProviderEPGGridParams, reqEditors ...RequestEditorFn) (*MediaProviderEPGGridResponse, error)
// MediaProviderEPGChannelsWithResponse Get channels for a lineup
//
// Get channels for a lineup within an EPG provider.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /tv.plex.providers.epg.{identifier}:{deviceId}/lineups/dvr/channels (the `MediaProviderEPGChannels` operationId).
MediaProviderEPGChannelsWithResponse(ctx context.Context, identifier MediaProviderEPGChannelsParamsIdentifier, deviceID int, params *MediaProviderEPGChannelsParams, reqEditors ...RequestEditorFn) (*MediaProviderEPGChannelsResponse, error)
// MediaProviderEPGWatchnowWithResponse Get hubs
//
// Get the watchnow hubs for the specified provider.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /tv.plex.providers.epg.{identifier}:{deviceId}/watchnow (the `MediaProviderEPGWatchnow` operationId).
MediaProviderEPGWatchnowWithResponse(ctx context.Context, identifier MediaProviderEPGWatchnowParamsIdentifier, deviceID int, reqEditors ...RequestEditorFn) (*MediaProviderEPGWatchnowResponse, error)
// MediaProviderEPGWatchnowAllWithResponse Get currently airing
//
// Get the information for all currently airing shows on the specified provider.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /tv.plex.providers.epg.{identifier}:{deviceId}/watchnow/all (the `MediaProviderEPGWatchnowAll` operationId).
MediaProviderEPGWatchnowAllWithResponse(ctx context.Context, identifier MediaProviderEPGWatchnowAllParamsIdentifier, deviceID int, reqEditors ...RequestEditorFn) (*MediaProviderEPGWatchnowAllResponse, error)
// UpdaterPutApplyWithResponse Applying updates
//
// Apply any downloaded updates. Note that the two parameters `tonight` and `skip` are effectively mutually exclusive. The `tonight` parameter takes precedence and `skip` will be ignored if `tonight` is also passed.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /updater/apply (the `UpdaterPutApply` operationId).
UpdaterPutApplyWithResponse(ctx context.Context, params *UpdaterPutApplyParams, reqEditors ...RequestEditorFn) (*UpdaterPutApplyResponse, error)
// UpdaterPutCheckWithResponse Checking for updates
//
// Perform an update check and potentially download.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /updater/check (the `UpdaterPutCheck` operationId).
UpdaterPutCheckWithResponse(ctx context.Context, params *UpdaterPutCheckParams, reqEditors ...RequestEditorFn) (*UpdaterPutCheckResponse, error)
// UpdaterGetStatusWithResponse Querying status of updates
//
// Get the status of updating the server.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /updater/status (the `UpdaterGetStatus` operationId).
UpdaterGetStatusWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*UpdaterGetStatusResponse, error)
// TranscodeDecisionWithResponse Make a decision on media playback
//
// Make a decision on media playback based on client profile, and requested settings such as bandwidth and resolution.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /{transcodeType}/:/transcode/universal/decision (the `TranscodeDecision` operationId).
TranscodeDecisionWithResponse(ctx context.Context, transcodeType TranscodeDecisionParamsTranscodeType, params *TranscodeDecisionParams, reqEditors ...RequestEditorFn) (*TranscodeDecisionResponse, error)
// TranscodeFallbackWithResponse Manually trigger a transcoder fallback
//
// Manually trigger a transcoder fallback ex: HEVC to h.264 or hw to sw
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /{transcodeType}/:/transcode/universal/fallback (the `TranscodeFallback` operationId).
TranscodeFallbackWithResponse(ctx context.Context, transcodeType TranscodeFallbackParamsTranscodeType, params *TranscodeFallbackParams, reqEditors ...RequestEditorFn) (*TranscodeFallbackResponse, error)
// TranscodeStartWithResponse Start A Transcoding Session
//
// Starts the transcoder and returns the corresponding streaming resource document.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /{transcodeType}/:/transcode/universal/start.* (the `TranscodeStart` operationId).
TranscodeStartWithResponse(ctx context.Context, transcodeType TranscodeStartParamsTranscodeType, params *TranscodeStartParams, reqEditors ...RequestEditorFn) (*TranscodeStartResponse, error)
// TranscodeSubtitlesWithResponse Transcode subtitles
//
// Only transcode subtitle streams.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /{transcodeType}/:/transcode/universal/subtitles (the `TranscodeSubtitles` operationId).
TranscodeSubtitlesWithResponse(ctx context.Context, transcodeType TranscodeSubtitlesParamsTranscodeType, params *TranscodeSubtitlesParams, reqEditors ...RequestEditorFn) (*TranscodeSubtitlesResponse, error)
}
ClientWithResponsesInterface is the interface specification for the client with responses above.
type Composite ¶
type Composite struct {
// BackgroundColor 6 character hex RGB value for background color for image
BackgroundColor string `json:"backgroundColor,omitempty,omitzero"`
// Border The width of the intra-image border
Border int `json:"border,omitempty,omitzero"`
// Cols Number of columns to construct in the composite image
Cols int `json:"cols,omitempty,omitzero"`
// Crop Where to crop source images to fit into composite image proportions
Crop string `json:"crop,omitempty,omitzero"`
// Format The image type
Format string `json:"format,omitempty,omitzero"`
// Height The height of the image
Height int `json:"height,omitempty,omitzero"`
// Media The default image type to use as the sources
Media string `json:"media,omitempty,omitzero"`
// Repeat Allow repetion of images if there are not enough source images to fill grid
Repeat bool `json:"repeat,omitempty,omitzero"`
// Rows Number of rows to construct in the composite image
Rows int `json:"rows,omitempty,omitzero"`
// Type Limit composite to specified metadata types
Type int `json:"type,omitempty,omitzero"`
// Width The width of the image
Width int `json:"width,omitempty,omitzero"`
}
Composite defines model for composite.
type DVRRequestHandlerSlashGetResponses200 ¶
type DVRRequestHandlerSlashGetResponses200 struct {
MediaContainer struct {
DVR []struct {
Device []DeviceItems `json:"Device,omitempty,omitzero"`
Key string `json:"key,omitempty,omitzero"`
Language string `json:"language,omitempty,omitzero"`
Lineup string `json:"lineup,omitempty,omitzero"`
UUID string `json:"uuid,omitempty,omitzero"`
} `json:"DVR,omitempty,omitzero"`
Identifier string `json:"identifier,omitempty,omitzero"`
// Message A message associated with the status. Typically an error message.
Message string `json:"message,omitempty,omitzero"`
// Offset The offset of where this container page starts among the total objects available. Also provided in the X-Plex-Container-Start header
Offset int `json:"offset,omitempty,omitzero"`
Size int `json:"size,omitempty,omitzero"`
// Status A status indicator. If present and non-zero, indicates an error
Status int `json:"status,omitempty,omitzero"`
// TotalSize The total size of objects available. Also provided in the X-Plex-Container-Total-Size header
TotalSize int `json:"totalSize,omitempty,omitzero"`
} `json:"MediaContainer,omitempty,omitzero"`
}
DVRRequestHandlerSlashGetResponses200 defines model for dvrRequestHandler_slash-get-responses-200.
type DeleteMediaProviderResponse ¶
func ParseDeleteMediaProviderResponse ¶
func ParseDeleteMediaProviderResponse(rsp *http.Response) (*DeleteMediaProviderResponse, error)
ParseDeleteMediaProviderResponse parses an HTTP response from a DeleteMediaProviderWithResponse call
func (DeleteMediaProviderResponse) ContentType ¶
func (r DeleteMediaProviderResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteMediaProviderResponse) GetBody ¶
func (r DeleteMediaProviderResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DeleteMediaProviderResponse) Status ¶
func (r DeleteMediaProviderResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteMediaProviderResponse) StatusCode ¶
func (r DeleteMediaProviderResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteMetadataAgentProviderGroupItemResponse ¶
type DeleteMetadataAgentProviderGroupItemResponse struct {
Body []byte
HTTPResponse *http.Response
}
func ParseDeleteMetadataAgentProviderGroupItemResponse ¶
func ParseDeleteMetadataAgentProviderGroupItemResponse(rsp *http.Response) (*DeleteMetadataAgentProviderGroupItemResponse, error)
ParseDeleteMetadataAgentProviderGroupItemResponse parses an HTTP response from a DeleteMetadataAgentProviderGroupItemWithResponse call
func (DeleteMetadataAgentProviderGroupItemResponse) ContentType ¶
func (r DeleteMetadataAgentProviderGroupItemResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteMetadataAgentProviderGroupItemResponse) GetBody ¶
func (r DeleteMetadataAgentProviderGroupItemResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DeleteMetadataAgentProviderGroupItemResponse) Status ¶
func (r DeleteMetadataAgentProviderGroupItemResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteMetadataAgentProviderGroupItemResponse) StatusCode ¶
func (r DeleteMetadataAgentProviderGroupItemResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteMetadataAgentProviderGroupResponse ¶
func ParseDeleteMetadataAgentProviderGroupResponse ¶
func ParseDeleteMetadataAgentProviderGroupResponse(rsp *http.Response) (*DeleteMetadataAgentProviderGroupResponse, error)
ParseDeleteMetadataAgentProviderGroupResponse parses an HTTP response from a DeleteMetadataAgentProviderGroupWithResponse call
func (DeleteMetadataAgentProviderGroupResponse) ContentType ¶
func (r DeleteMetadataAgentProviderGroupResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteMetadataAgentProviderGroupResponse) GetBody ¶
func (r DeleteMetadataAgentProviderGroupResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DeleteMetadataAgentProviderGroupResponse) Status ¶
func (r DeleteMetadataAgentProviderGroupResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteMetadataAgentProviderGroupResponse) StatusCode ¶
func (r DeleteMetadataAgentProviderGroupResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteMetadataAgentProviderResponse ¶
func ParseDeleteMetadataAgentProviderResponse ¶
func ParseDeleteMetadataAgentProviderResponse(rsp *http.Response) (*DeleteMetadataAgentProviderResponse, error)
ParseDeleteMetadataAgentProviderResponse parses an HTTP response from a DeleteMetadataAgentProviderWithResponse call
func (DeleteMetadataAgentProviderResponse) ContentType ¶
func (r DeleteMetadataAgentProviderResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteMetadataAgentProviderResponse) GetBody ¶
func (r DeleteMetadataAgentProviderResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DeleteMetadataAgentProviderResponse) Status ¶
func (r DeleteMetadataAgentProviderResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteMetadataAgentProviderResponse) StatusCode ¶
func (r DeleteMetadataAgentProviderResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeviceItems ¶
type DeviceItems struct {
ChannelMapping []struct {
ChannelKey string `json:"channelKey,omitempty,omitzero"`
DeviceIdentifier string `json:"deviceIdentifier,omitempty,omitzero"`
Enabled string `json:"enabled,omitempty,omitzero"`
LineupIdentifier string `json:"lineupIdentifier,omitempty,omitzero"`
} `json:"ChannelMapping,omitempty,omitzero"`
Key string `json:"key,omitempty,omitzero"`
LastSeenAt int `json:"lastSeenAt,omitempty,omitzero"`
Make string `json:"make,omitempty,omitzero"`
Model string `json:"model,omitempty,omitzero"`
ModelNumber string `json:"modelNumber,omitempty,omitzero"`
Protocol string `json:"protocol,omitempty,omitzero"`
Sources string `json:"sources,omitempty,omitzero"`
State string `json:"state,omitempty,omitzero"`
Status string `json:"status,omitempty,omitzero"`
Tuners string `json:"tuners,omitempty,omitzero"`
URI string `json:"uri,omitempty,omitzero"`
UUID string `json:"uuid,omitempty,omitzero"`
}
DeviceItems defines model for Device-items.
type DirectPlayParam ¶
type DirectPlayParam int
DirectPlayParam defines model for 9.
const ( DirectPlayParamN0 DirectPlayParam = 0 DirectPlayParamN1 DirectPlayParam = 1 )
Defines values for DirectPlayParam.
func (DirectPlayParam) Valid ¶
func (e DirectPlayParam) Valid() bool
Valid indicates whether the value is a known member of the DirectPlayParam enum.
type DirectStreamAudioParam ¶
type DirectStreamAudioParam int
DirectStreamAudioParam defines model for 11.
const ( DirectStreamAudioParamN0 DirectStreamAudioParam = 0 DirectStreamAudioParamN1 DirectStreamAudioParam = 1 )
Defines values for DirectStreamAudioParam.
func (DirectStreamAudioParam) Valid ¶
func (e DirectStreamAudioParam) Valid() bool
Valid indicates whether the value is a known member of the DirectStreamAudioParam enum.
type DirectStreamParam ¶
type DirectStreamParam int
DirectStreamParam defines model for 10.
const ( DirectStreamParamN0 DirectStreamParam = 0 DirectStreamParamN1 DirectStreamParam = 1 )
Defines values for DirectStreamParam.
func (DirectStreamParam) Valid ¶
func (e DirectStreamParam) Valid() bool
Valid indicates whether the value is a known member of the DirectStreamParam enum.
type Directory ¶
type Directory struct {
Pivot []struct {
Context string `json:"context,omitempty,omitzero"`
ID string `json:"id,omitempty,omitzero"`
Key string `json:"key,omitempty,omitzero"`
Symbol string `json:"symbol,omitempty,omitzero"`
Title string `json:"title,omitempty,omitzero"`
Type string `json:"type,omitempty,omitzero"`
} `json:"Pivot,omitempty,omitzero"`
Art string `json:"art,omitempty,omitzero"`
Content bool `json:"content,omitempty,omitzero"`
Filter string `json:"filter,omitempty,omitzero"`
HasPrefs bool `json:"hasPrefs,omitempty,omitzero"`
HasStoreServices bool `json:"hasStoreServices,omitempty,omitzero"`
HubKey string `json:"hubKey,omitempty,omitzero"`
Identifier string `json:"identifier,omitempty,omitzero"`
Key string `json:"key,omitempty,omitzero"`
LastAccessedAt int `json:"lastAccessedAt,omitempty,omitzero"`
Thumb string `json:"thumb,omitempty,omitzero"`
Title string `json:"title,omitempty,omitzero"`
TitleBar string `json:"titleBar,omitempty,omitzero"`
Type string `json:"type,omitempty,omitzero"`
AdditionalProperties map[string]interface{} `json:"-"`
}
Directory defines model for directory.
func (Directory) Get ¶
Getter for additional properties for Directory. Returns the specified element and whether it was found
func (Directory) MarshalJSON ¶
Override default JSON handling for Directory to handle AdditionalProperties
func (*Directory) UnmarshalJSON ¶
Override default JSON handling for Directory to handle AdditionalProperties
type DisableResolutionRotationParam ¶
type DisableResolutionRotationParam int
DisableResolutionRotationParam defines model for 12.
const ( DisableResolutionRotationParamN0 DisableResolutionRotationParam = 0 DisableResolutionRotationParamN1 DisableResolutionRotationParam = 1 )
Defines values for DisableResolutionRotationParam.
func (DisableResolutionRotationParam) Valid ¶
func (e DisableResolutionRotationParam) Valid() bool
Valid indicates whether the value is a known member of the DisableResolutionRotationParam enum.
type DownloadQueueDeleteQueueItemsItemResponse ¶
func ParseDownloadQueueDeleteQueueItemsItemResponse ¶
func ParseDownloadQueueDeleteQueueItemsItemResponse(rsp *http.Response) (*DownloadQueueDeleteQueueItemsItemResponse, error)
ParseDownloadQueueDeleteQueueItemsItemResponse parses an HTTP response from a DownloadQueueDeleteQueueItemsItemWithResponse call
func (DownloadQueueDeleteQueueItemsItemResponse) ContentType ¶
func (r DownloadQueueDeleteQueueItemsItemResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DownloadQueueDeleteQueueItemsItemResponse) GetBody ¶
func (r DownloadQueueDeleteQueueItemsItemResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DownloadQueueDeleteQueueItemsItemResponse) Status ¶
func (r DownloadQueueDeleteQueueItemsItemResponse) Status() string
Status returns HTTPResponse.Status
func (DownloadQueueDeleteQueueItemsItemResponse) StatusCode ¶
func (r DownloadQueueDeleteQueueItemsItemResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DownloadQueueGetQueue200JSONResponseBodyMediaContainerDownloadQueueStatus ¶
type DownloadQueueGetQueue200JSONResponseBodyMediaContainerDownloadQueueStatus string
DownloadQueueGetQueue200JSONResponseBodyMediaContainerDownloadQueueStatus defines parameters for DownloadQueueGetQueue.
const ( DownloadQueueGetQueue200JSONResponseBodyMediaContainerDownloadQueueStatusDeciding DownloadQueueGetQueue200JSONResponseBodyMediaContainerDownloadQueueStatus = "deciding" DownloadQueueGetQueue200JSONResponseBodyMediaContainerDownloadQueueStatusDone DownloadQueueGetQueue200JSONResponseBodyMediaContainerDownloadQueueStatus = "done" DownloadQueueGetQueue200JSONResponseBodyMediaContainerDownloadQueueStatusError DownloadQueueGetQueue200JSONResponseBodyMediaContainerDownloadQueueStatus = "error" DownloadQueueGetQueue200JSONResponseBodyMediaContainerDownloadQueueStatusProcessing DownloadQueueGetQueue200JSONResponseBodyMediaContainerDownloadQueueStatus = "processing" DownloadQueueGetQueue200JSONResponseBodyMediaContainerDownloadQueueStatusWaiting DownloadQueueGetQueue200JSONResponseBodyMediaContainerDownloadQueueStatus = "waiting" )
Defines values for DownloadQueueGetQueue200JSONResponseBodyMediaContainerDownloadQueueStatus.
type DownloadQueueGetQueueItemItemDecisionResponse ¶
type DownloadQueueGetQueueItemItemDecisionResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *MediaContainerWithDecision
}
func ParseDownloadQueueGetQueueItemItemDecisionResponse ¶
func ParseDownloadQueueGetQueueItemItemDecisionResponse(rsp *http.Response) (*DownloadQueueGetQueueItemItemDecisionResponse, error)
ParseDownloadQueueGetQueueItemItemDecisionResponse parses an HTTP response from a DownloadQueueGetQueueItemItemDecisionWithResponse call
func (DownloadQueueGetQueueItemItemDecisionResponse) ContentType ¶
func (r DownloadQueueGetQueueItemItemDecisionResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DownloadQueueGetQueueItemItemDecisionResponse) GetBody ¶
func (r DownloadQueueGetQueueItemItemDecisionResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DownloadQueueGetQueueItemItemDecisionResponse) GetJSON200 ¶
func (r DownloadQueueGetQueueItemItemDecisionResponse) GetJSON200() *MediaContainerWithDecision
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (DownloadQueueGetQueueItemItemDecisionResponse) Status ¶
func (r DownloadQueueGetQueueItemItemDecisionResponse) Status() string
Status returns HTTPResponse.Status
func (DownloadQueueGetQueueItemItemDecisionResponse) StatusCode ¶
func (r DownloadQueueGetQueueItemItemDecisionResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DownloadQueueGetQueueItemItemMediaResponse ¶
type DownloadQueueGetQueueItemItemMediaResponse struct {
Body []byte
HTTPResponse *http.Response
// Headers503 the parsed response headers for an HTTP 503 response
Headers503 *DownloadQueueGetQueueItemItemMediaResponse503Headers
}
func ParseDownloadQueueGetQueueItemItemMediaResponse ¶
func ParseDownloadQueueGetQueueItemItemMediaResponse(rsp *http.Response) (*DownloadQueueGetQueueItemItemMediaResponse, error)
ParseDownloadQueueGetQueueItemItemMediaResponse parses an HTTP response from a DownloadQueueGetQueueItemItemMediaWithResponse call
func (DownloadQueueGetQueueItemItemMediaResponse) ContentType ¶
func (r DownloadQueueGetQueueItemItemMediaResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DownloadQueueGetQueueItemItemMediaResponse) GetBody ¶
func (r DownloadQueueGetQueueItemItemMediaResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DownloadQueueGetQueueItemItemMediaResponse) Status ¶
func (r DownloadQueueGetQueueItemItemMediaResponse) Status() string
Status returns HTTPResponse.Status
func (DownloadQueueGetQueueItemItemMediaResponse) StatusCode ¶
func (r DownloadQueueGetQueueItemItemMediaResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DownloadQueueGetQueueItemItemMediaResponse503Headers ¶
type DownloadQueueGetQueueItemItemMediaResponse503Headers struct {
RetryAfter int
}
DownloadQueueGetQueueItemItemMediaResponse503Headers the declared response headers of an HTTP 503 response for DownloadQueueGetQueueItemItemMedia
type DownloadQueueGetQueueItems200JSONResponseBodyMediaContainerDownloadQueueItemStatus ¶
type DownloadQueueGetQueueItems200JSONResponseBodyMediaContainerDownloadQueueItemStatus string
DownloadQueueGetQueueItems200JSONResponseBodyMediaContainerDownloadQueueItemStatus defines parameters for DownloadQueueGetQueueItems.
const ( DownloadQueueGetQueueItems200JSONResponseBodyMediaContainerDownloadQueueItemStatusAvailable DownloadQueueGetQueueItems200JSONResponseBodyMediaContainerDownloadQueueItemStatus = "available" DownloadQueueGetQueueItems200JSONResponseBodyMediaContainerDownloadQueueItemStatusDeciding DownloadQueueGetQueueItems200JSONResponseBodyMediaContainerDownloadQueueItemStatus = "deciding" DownloadQueueGetQueueItems200JSONResponseBodyMediaContainerDownloadQueueItemStatusError DownloadQueueGetQueueItems200JSONResponseBodyMediaContainerDownloadQueueItemStatus = "error" DownloadQueueGetQueueItems200JSONResponseBodyMediaContainerDownloadQueueItemStatusExpired DownloadQueueGetQueueItems200JSONResponseBodyMediaContainerDownloadQueueItemStatus = "expired" DownloadQueueGetQueueItems200JSONResponseBodyMediaContainerDownloadQueueItemStatusProcessing DownloadQueueGetQueueItems200JSONResponseBodyMediaContainerDownloadQueueItemStatus = "processing" DownloadQueueGetQueueItems200JSONResponseBodyMediaContainerDownloadQueueItemStatusWaiting DownloadQueueGetQueueItems200JSONResponseBodyMediaContainerDownloadQueueItemStatus = "waiting" )
Defines values for DownloadQueueGetQueueItems200JSONResponseBodyMediaContainerDownloadQueueItemStatus.
func (DownloadQueueGetQueueItems200JSONResponseBodyMediaContainerDownloadQueueItemStatus) Valid ¶
func (e DownloadQueueGetQueueItems200JSONResponseBodyMediaContainerDownloadQueueItemStatus) Valid() bool
Valid indicates whether the value is a known member of the DownloadQueueGetQueueItems200JSONResponseBodyMediaContainerDownloadQueueItemStatus enum.
type DownloadQueueGetQueueItemsItem200JSONResponseBodyMediaContainerDownloadQueueItemStatus ¶
type DownloadQueueGetQueueItemsItem200JSONResponseBodyMediaContainerDownloadQueueItemStatus string
DownloadQueueGetQueueItemsItem200JSONResponseBodyMediaContainerDownloadQueueItemStatus defines parameters for DownloadQueueGetQueueItemsItem.
const ( DownloadQueueGetQueueItemsItem200JSONResponseBodyMediaContainerDownloadQueueItemStatusAvailable DownloadQueueGetQueueItemsItem200JSONResponseBodyMediaContainerDownloadQueueItemStatus = "available" DownloadQueueGetQueueItemsItem200JSONResponseBodyMediaContainerDownloadQueueItemStatusDeciding DownloadQueueGetQueueItemsItem200JSONResponseBodyMediaContainerDownloadQueueItemStatus = "deciding" DownloadQueueGetQueueItemsItem200JSONResponseBodyMediaContainerDownloadQueueItemStatusError DownloadQueueGetQueueItemsItem200JSONResponseBodyMediaContainerDownloadQueueItemStatus = "error" DownloadQueueGetQueueItemsItem200JSONResponseBodyMediaContainerDownloadQueueItemStatusExpired DownloadQueueGetQueueItemsItem200JSONResponseBodyMediaContainerDownloadQueueItemStatus = "expired" DownloadQueueGetQueueItemsItem200JSONResponseBodyMediaContainerDownloadQueueItemStatusProcessing DownloadQueueGetQueueItemsItem200JSONResponseBodyMediaContainerDownloadQueueItemStatus = "processing" DownloadQueueGetQueueItemsItem200JSONResponseBodyMediaContainerDownloadQueueItemStatusWaiting DownloadQueueGetQueueItemsItem200JSONResponseBodyMediaContainerDownloadQueueItemStatus = "waiting" )
Defines values for DownloadQueueGetQueueItemsItem200JSONResponseBodyMediaContainerDownloadQueueItemStatus.
func (DownloadQueueGetQueueItemsItem200JSONResponseBodyMediaContainerDownloadQueueItemStatus) Valid ¶
func (e DownloadQueueGetQueueItemsItem200JSONResponseBodyMediaContainerDownloadQueueItemStatus) Valid() bool
Valid indicates whether the value is a known member of the DownloadQueueGetQueueItemsItem200JSONResponseBodyMediaContainerDownloadQueueItemStatus enum.
type DownloadQueueGetQueueItemsItemResponse ¶
type DownloadQueueGetQueueItemsItemResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *struct {
MediaContainer struct {
DownloadQueueItem []struct {
DecisionResult struct {
// AvailableBandwidth The maximum bitrate set when item was added
AvailableBandwidth int `json:"availableBandwidth,omitempty,omitzero"`
DirectPlayDecisionCode int `json:"directPlayDecisionCode,omitempty,omitzero"`
DirectPlayDecisionText string `json:"directPlayDecisionText,omitempty,omitzero"`
GeneralDecisionCode int `json:"generalDecisionCode,omitempty,omitzero"`
GeneralDecisionText string `json:"generalDecisionText,omitempty,omitzero"`
// MdeDecisionCode The code indicating the status of evaluation of playback when client indicates `hasMDE=1`
MdeDecisionCode int `json:"mdeDecisionCode,omitempty,omitzero"`
// MdeDecisionText Descriptive text for the above code
MdeDecisionText string `json:"mdeDecisionText,omitempty,omitzero"`
TranscodeDecisionCode int `json:"transcodeDecisionCode,omitempty,omitzero"`
TranscodeDecisionText string `json:"transcodeDecisionText,omitempty,omitzero"`
} `json:"DecisionResult,omitempty,omitzero"`
// TranscodeSession The transcode session if item is currently being transcoded.
TranscodeSession struct {
Complete bool `json:"complete,omitempty,omitzero"`
Context string `json:"context,omitempty,omitzero"`
Duration int `json:"duration,omitempty,omitzero"`
Error bool `json:"error,omitempty,omitzero"`
Key string `json:"key,omitempty,omitzero"`
Progress float32 `json:"progress,omitempty,omitzero"`
Protocol string `json:"protocol,omitempty,omitzero"`
Size int `json:"size,omitempty,omitzero"`
SourceAudioCodec string `json:"sourceAudioCodec,omitempty,omitzero"`
SourceVideoCodec string `json:"sourceVideoCodec,omitempty,omitzero"`
Speed float32 `json:"speed,omitempty,omitzero"`
Throttled bool `json:"throttled,omitempty,omitzero"`
TranscodeHwFullPipeline bool `json:"transcodeHwFullPipeline,omitempty,omitzero"`
TranscodeHwRequested bool `json:"transcodeHwRequested,omitempty,omitzero"`
} `json:"TranscodeSession,omitempty,omitzero"`
// Error The error encountered in transcoding or decision
Error string `json:"error,omitempty,omitzero"`
ID int `json:"id,omitempty,omitzero"`
Key string `json:"key,omitempty,omitzero"`
QueueID int `json:"queueId,omitempty,omitzero"`
// Status The state of the item:
// - deciding: The item decision is pending
// - waiting: The item is waiting for transcode
// - processing: The item is being transcoded
// - available: The item is available for download
// - error: The item encountered an error in the decision or transcode
// - expired: The transcoded item has timed out and is no longer available
Status DownloadQueueGetQueueItemsItem200JSONResponseBodyMediaContainerDownloadQueueItemStatus `json:"status,omitempty,omitzero"`
// Transcode The transcode session object which is not yet documented otherwise it'd be a $ref here.
Transcode map[string]interface{} `json:"transcode,omitempty,omitzero"`
} `json:"DownloadQueueItem,omitempty,omitzero"`
Identifier string `json:"identifier,omitempty,omitzero"`
// Offset The offset of where this container page starts among the total objects available. Also provided in the X-Plex-Container-Start header
Offset int `json:"offset,omitempty,omitzero"`
Size int `json:"size,omitempty,omitzero"`
// TotalSize The total size of objects available. Also provided in the X-Plex-Container-Total-Size header
TotalSize int `json:"totalSize,omitempty,omitzero"`
} `json:"MediaContainer,omitempty,omitzero"`
}
}
func ParseDownloadQueueGetQueueItemsItemResponse ¶
func ParseDownloadQueueGetQueueItemsItemResponse(rsp *http.Response) (*DownloadQueueGetQueueItemsItemResponse, error)
ParseDownloadQueueGetQueueItemsItemResponse parses an HTTP response from a DownloadQueueGetQueueItemsItemWithResponse call
func (DownloadQueueGetQueueItemsItemResponse) ContentType ¶
func (r DownloadQueueGetQueueItemsItemResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DownloadQueueGetQueueItemsItemResponse) GetBody ¶
func (r DownloadQueueGetQueueItemsItemResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DownloadQueueGetQueueItemsItemResponse) GetJSON200 ¶
func (r DownloadQueueGetQueueItemsItemResponse) GetJSON200() *struct { MediaContainer struct { DownloadQueueItem []struct { DecisionResult struct { // AvailableBandwidth The maximum bitrate set when item was added AvailableBandwidth int `json:"availableBandwidth,omitempty,omitzero"` DirectPlayDecisionCode int `json:"directPlayDecisionCode,omitempty,omitzero"` DirectPlayDecisionText string `json:"directPlayDecisionText,omitempty,omitzero"` GeneralDecisionCode int `json:"generalDecisionCode,omitempty,omitzero"` GeneralDecisionText string `json:"generalDecisionText,omitempty,omitzero"` // MdeDecisionCode The code indicating the status of evaluation of playback when client indicates `hasMDE=1` MdeDecisionCode int `json:"mdeDecisionCode,omitempty,omitzero"` // MdeDecisionText Descriptive text for the above code MdeDecisionText string `json:"mdeDecisionText,omitempty,omitzero"` TranscodeDecisionCode int `json:"transcodeDecisionCode,omitempty,omitzero"` TranscodeDecisionText string `json:"transcodeDecisionText,omitempty,omitzero"` } `json:"DecisionResult,omitempty,omitzero"` // TranscodeSession The transcode session if item is currently being transcoded. TranscodeSession struct { Complete bool `json:"complete,omitempty,omitzero"` Context string `json:"context,omitempty,omitzero"` Duration int `json:"duration,omitempty,omitzero"` Error bool `json:"error,omitempty,omitzero"` Key string `json:"key,omitempty,omitzero"` Progress float32 `json:"progress,omitempty,omitzero"` Protocol string `json:"protocol,omitempty,omitzero"` Size int `json:"size,omitempty,omitzero"` SourceAudioCodec string `json:"sourceAudioCodec,omitempty,omitzero"` SourceVideoCodec string `json:"sourceVideoCodec,omitempty,omitzero"` Speed float32 `json:"speed,omitempty,omitzero"` Throttled bool `json:"throttled,omitempty,omitzero"` TranscodeHwFullPipeline bool `json:"transcodeHwFullPipeline,omitempty,omitzero"` TranscodeHwRequested bool `json:"transcodeHwRequested,omitempty,omitzero"` } `json:"TranscodeSession,omitempty,omitzero"` // Error The error encountered in transcoding or decision Error string `json:"error,omitempty,omitzero"` ID int `json:"id,omitempty,omitzero"` Key string `json:"key,omitempty,omitzero"` QueueID int `json:"queueId,omitempty,omitzero"` // Status The state of the item: // - deciding: The item decision is pending // - waiting: The item is waiting for transcode // - processing: The item is being transcoded // - available: The item is available for download // - error: The item encountered an error in the decision or transcode // - expired: The transcoded item has timed out and is no longer available Status DownloadQueueGetQueueItemsItem200JSONResponseBodyMediaContainerDownloadQueueItemStatus `json:"status,omitempty,omitzero"` // Transcode The transcode session object which is not yet documented otherwise it'd be a $ref here. Transcode map[string]interface{} `json:"transcode,omitempty,omitzero"` } `json:"DownloadQueueItem,omitempty,omitzero"` Identifier string `json:"identifier,omitempty,omitzero"` // Offset The offset of where this container page starts among the total objects available. Also provided in the X-Plex-Container-Start header Offset int `json:"offset,omitempty,omitzero"` Size int `json:"size,omitempty,omitzero"` // TotalSize The total size of objects available. Also provided in the X-Plex-Container-Total-Size header TotalSize int `json:"totalSize,omitempty,omitzero"` } `json:"MediaContainer,omitempty,omitzero"` }
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (DownloadQueueGetQueueItemsItemResponse) Status ¶
func (r DownloadQueueGetQueueItemsItemResponse) Status() string
Status returns HTTPResponse.Status
func (DownloadQueueGetQueueItemsItemResponse) StatusCode ¶
func (r DownloadQueueGetQueueItemsItemResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DownloadQueueGetQueueItemsResponse ¶
type DownloadQueueGetQueueItemsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *struct {
MediaContainer struct {
DownloadQueueItem []struct {
DecisionResult struct {
// AvailableBandwidth The maximum bitrate set when item was added
AvailableBandwidth int `json:"availableBandwidth,omitempty,omitzero"`
DirectPlayDecisionCode int `json:"directPlayDecisionCode,omitempty,omitzero"`
DirectPlayDecisionText string `json:"directPlayDecisionText,omitempty,omitzero"`
GeneralDecisionCode int `json:"generalDecisionCode,omitempty,omitzero"`
GeneralDecisionText string `json:"generalDecisionText,omitempty,omitzero"`
// MdeDecisionCode The code indicating the status of evaluation of playback when client indicates `hasMDE=1`
MdeDecisionCode int `json:"mdeDecisionCode,omitempty,omitzero"`
// MdeDecisionText Descriptive text for the above code
MdeDecisionText string `json:"mdeDecisionText,omitempty,omitzero"`
TranscodeDecisionCode int `json:"transcodeDecisionCode,omitempty,omitzero"`
TranscodeDecisionText string `json:"transcodeDecisionText,omitempty,omitzero"`
} `json:"DecisionResult,omitempty,omitzero"`
// TranscodeSession The transcode session if item is currently being transcoded.
TranscodeSession struct {
Complete bool `json:"complete,omitempty,omitzero"`
Context string `json:"context,omitempty,omitzero"`
Duration int `json:"duration,omitempty,omitzero"`
Error bool `json:"error,omitempty,omitzero"`
Key string `json:"key,omitempty,omitzero"`
Progress float32 `json:"progress,omitempty,omitzero"`
Protocol string `json:"protocol,omitempty,omitzero"`
Size int `json:"size,omitempty,omitzero"`
SourceAudioCodec string `json:"sourceAudioCodec,omitempty,omitzero"`
SourceVideoCodec string `json:"sourceVideoCodec,omitempty,omitzero"`
Speed float32 `json:"speed,omitempty,omitzero"`
Throttled bool `json:"throttled,omitempty,omitzero"`
TranscodeHwFullPipeline bool `json:"transcodeHwFullPipeline,omitempty,omitzero"`
TranscodeHwRequested bool `json:"transcodeHwRequested,omitempty,omitzero"`
} `json:"TranscodeSession,omitempty,omitzero"`
// Error The error encountered in transcoding or decision
Error string `json:"error,omitempty,omitzero"`
ID int `json:"id,omitempty,omitzero"`
Key string `json:"key,omitempty,omitzero"`
QueueID int `json:"queueId,omitempty,omitzero"`
// Status The state of the item:
// - deciding: The item decision is pending
// - waiting: The item is waiting for transcode
// - processing: The item is being transcoded
// - available: The item is available for download
// - error: The item encountered an error in the decision or transcode
// - expired: The transcoded item has timed out and is no longer available
Status DownloadQueueGetQueueItems200JSONResponseBodyMediaContainerDownloadQueueItemStatus `json:"status,omitempty,omitzero"`
// Transcode The transcode session object which is not yet documented otherwise it'd be a $ref here.
Transcode map[string]interface{} `json:"transcode,omitempty,omitzero"`
} `json:"DownloadQueueItem,omitempty,omitzero"`
Identifier string `json:"identifier,omitempty,omitzero"`
// Offset The offset of where this container page starts among the total objects available. Also provided in the X-Plex-Container-Start header
Offset int `json:"offset,omitempty,omitzero"`
Size int `json:"size,omitempty,omitzero"`
// TotalSize The total size of objects available. Also provided in the X-Plex-Container-Total-Size header
TotalSize int `json:"totalSize,omitempty,omitzero"`
} `json:"MediaContainer,omitempty,omitzero"`
}
}
func ParseDownloadQueueGetQueueItemsResponse ¶
func ParseDownloadQueueGetQueueItemsResponse(rsp *http.Response) (*DownloadQueueGetQueueItemsResponse, error)
ParseDownloadQueueGetQueueItemsResponse parses an HTTP response from a DownloadQueueGetQueueItemsWithResponse call
func (DownloadQueueGetQueueItemsResponse) ContentType ¶
func (r DownloadQueueGetQueueItemsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DownloadQueueGetQueueItemsResponse) GetBody ¶
func (r DownloadQueueGetQueueItemsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DownloadQueueGetQueueItemsResponse) GetJSON200 ¶
func (r DownloadQueueGetQueueItemsResponse) GetJSON200() *struct { MediaContainer struct { DownloadQueueItem []struct { DecisionResult struct { // AvailableBandwidth The maximum bitrate set when item was added AvailableBandwidth int `json:"availableBandwidth,omitempty,omitzero"` DirectPlayDecisionCode int `json:"directPlayDecisionCode,omitempty,omitzero"` DirectPlayDecisionText string `json:"directPlayDecisionText,omitempty,omitzero"` GeneralDecisionCode int `json:"generalDecisionCode,omitempty,omitzero"` GeneralDecisionText string `json:"generalDecisionText,omitempty,omitzero"` // MdeDecisionCode The code indicating the status of evaluation of playback when client indicates `hasMDE=1` MdeDecisionCode int `json:"mdeDecisionCode,omitempty,omitzero"` // MdeDecisionText Descriptive text for the above code MdeDecisionText string `json:"mdeDecisionText,omitempty,omitzero"` TranscodeDecisionCode int `json:"transcodeDecisionCode,omitempty,omitzero"` TranscodeDecisionText string `json:"transcodeDecisionText,omitempty,omitzero"` } `json:"DecisionResult,omitempty,omitzero"` // TranscodeSession The transcode session if item is currently being transcoded. TranscodeSession struct { Complete bool `json:"complete,omitempty,omitzero"` Context string `json:"context,omitempty,omitzero"` Duration int `json:"duration,omitempty,omitzero"` Error bool `json:"error,omitempty,omitzero"` Key string `json:"key,omitempty,omitzero"` Progress float32 `json:"progress,omitempty,omitzero"` Protocol string `json:"protocol,omitempty,omitzero"` Size int `json:"size,omitempty,omitzero"` SourceAudioCodec string `json:"sourceAudioCodec,omitempty,omitzero"` SourceVideoCodec string `json:"sourceVideoCodec,omitempty,omitzero"` Speed float32 `json:"speed,omitempty,omitzero"` Throttled bool `json:"throttled,omitempty,omitzero"` TranscodeHwFullPipeline bool `json:"transcodeHwFullPipeline,omitempty,omitzero"` TranscodeHwRequested bool `json:"transcodeHwRequested,omitempty,omitzero"` } `json:"TranscodeSession,omitempty,omitzero"` // Error The error encountered in transcoding or decision Error string `json:"error,omitempty,omitzero"` ID int `json:"id,omitempty,omitzero"` Key string `json:"key,omitempty,omitzero"` QueueID int `json:"queueId,omitempty,omitzero"` // Status The state of the item: // - deciding: The item decision is pending // - waiting: The item is waiting for transcode // - processing: The item is being transcoded // - available: The item is available for download // - error: The item encountered an error in the decision or transcode // - expired: The transcoded item has timed out and is no longer available Status DownloadQueueGetQueueItems200JSONResponseBodyMediaContainerDownloadQueueItemStatus `json:"status,omitempty,omitzero"` // Transcode The transcode session object which is not yet documented otherwise it'd be a $ref here. Transcode map[string]interface{} `json:"transcode,omitempty,omitzero"` } `json:"DownloadQueueItem,omitempty,omitzero"` Identifier string `json:"identifier,omitempty,omitzero"` // Offset The offset of where this container page starts among the total objects available. Also provided in the X-Plex-Container-Start header Offset int `json:"offset,omitempty,omitzero"` Size int `json:"size,omitempty,omitzero"` // TotalSize The total size of objects available. Also provided in the X-Plex-Container-Total-Size header TotalSize int `json:"totalSize,omitempty,omitzero"` } `json:"MediaContainer,omitempty,omitzero"` }
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (DownloadQueueGetQueueItemsResponse) Status ¶
func (r DownloadQueueGetQueueItemsResponse) Status() string
Status returns HTTPResponse.Status
func (DownloadQueueGetQueueItemsResponse) StatusCode ¶
func (r DownloadQueueGetQueueItemsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DownloadQueueGetQueueResponse ¶
type DownloadQueueGetQueueResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *struct {
MediaContainer struct {
DownloadQueue []struct {
ID int `json:"id,omitempty,omitzero"`
ItemCount int `json:"itemCount,omitempty,omitzero"`
// Status The state of this queue
// - deciding: At least one item is still being decided
// - waiting: At least one item is waiting for transcode and none are currently transcoding
// - processing: At least one item is being transcoded
// - done: All items are available (or potentially expired)
// - error: At least one item has encountered an error
Status DownloadQueueGetQueue200JSONResponseBodyMediaContainerDownloadQueueStatus `json:"status,omitempty,omitzero"`
} `json:"DownloadQueue,omitempty,omitzero"`
Identifier string `json:"identifier,omitempty,omitzero"`
// Offset The offset of where this container page starts among the total objects available. Also provided in the X-Plex-Container-Start header
Offset int `json:"offset,omitempty,omitzero"`
Size int `json:"size,omitempty,omitzero"`
// TotalSize The total size of objects available. Also provided in the X-Plex-Container-Total-Size header
TotalSize int `json:"totalSize,omitempty,omitzero"`
} `json:"MediaContainer,omitempty,omitzero"`
}
}
func ParseDownloadQueueGetQueueResponse ¶
func ParseDownloadQueueGetQueueResponse(rsp *http.Response) (*DownloadQueueGetQueueResponse, error)
ParseDownloadQueueGetQueueResponse parses an HTTP response from a DownloadQueueGetQueueWithResponse call
func (DownloadQueueGetQueueResponse) ContentType ¶
func (r DownloadQueueGetQueueResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DownloadQueueGetQueueResponse) GetBody ¶
func (r DownloadQueueGetQueueResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DownloadQueueGetQueueResponse) GetJSON200 ¶
func (r DownloadQueueGetQueueResponse) GetJSON200() *struct { MediaContainer struct { DownloadQueue []struct { ID int `json:"id,omitempty,omitzero"` ItemCount int `json:"itemCount,omitempty,omitzero"` // Status The state of this queue // - deciding: At least one item is still being decided // - waiting: At least one item is waiting for transcode and none are currently transcoding // - processing: At least one item is being transcoded // - done: All items are available (or potentially expired) // - error: At least one item has encountered an error Status DownloadQueueGetQueue200JSONResponseBodyMediaContainerDownloadQueueStatus `json:"status,omitempty,omitzero"` } `json:"DownloadQueue,omitempty,omitzero"` Identifier string `json:"identifier,omitempty,omitzero"` // Offset The offset of where this container page starts among the total objects available. Also provided in the X-Plex-Container-Start header Offset int `json:"offset,omitempty,omitzero"` Size int `json:"size,omitempty,omitzero"` // TotalSize The total size of objects available. Also provided in the X-Plex-Container-Total-Size header TotalSize int `json:"totalSize,omitempty,omitzero"` } `json:"MediaContainer,omitempty,omitzero"` }
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (DownloadQueueGetQueueResponse) Status ¶
func (r DownloadQueueGetQueueResponse) Status() string
Status returns HTTPResponse.Status
func (DownloadQueueGetQueueResponse) StatusCode ¶
func (r DownloadQueueGetQueueResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DownloadQueuePost200JSONResponseBodyMediaContainerDownloadQueueStatus ¶
type DownloadQueuePost200JSONResponseBodyMediaContainerDownloadQueueStatus string
DownloadQueuePost200JSONResponseBodyMediaContainerDownloadQueueStatus defines parameters for DownloadQueuePost.
const ( DownloadQueuePost200JSONResponseBodyMediaContainerDownloadQueueStatusDeciding DownloadQueuePost200JSONResponseBodyMediaContainerDownloadQueueStatus = "deciding" DownloadQueuePost200JSONResponseBodyMediaContainerDownloadQueueStatusDone DownloadQueuePost200JSONResponseBodyMediaContainerDownloadQueueStatus = "done" DownloadQueuePost200JSONResponseBodyMediaContainerDownloadQueueStatusError DownloadQueuePost200JSONResponseBodyMediaContainerDownloadQueueStatus = "error" DownloadQueuePost200JSONResponseBodyMediaContainerDownloadQueueStatusProcessing DownloadQueuePost200JSONResponseBodyMediaContainerDownloadQueueStatus = "processing" DownloadQueuePost200JSONResponseBodyMediaContainerDownloadQueueStatusWaiting DownloadQueuePost200JSONResponseBodyMediaContainerDownloadQueueStatus = "waiting" )
Defines values for DownloadQueuePost200JSONResponseBodyMediaContainerDownloadQueueStatus.
type DownloadQueuePostQueueAddParams ¶
type DownloadQueuePostQueueAddParams struct {
// Keys Keys to add
Keys []string `form:"keys" json:"keys"`
// AdvancedSubtitlesParam Indicates how incompatible advanced subtitles (such as ass/ssa) should be included: * 'burn' - Burn incompatible advanced text subtitles into the video stream * 'text' - Transcode incompatible advanced text subtitles to a compatible text format, even if some markup is lost
AdvancedSubtitlesParam DownloadQueuePostQueueAddParamsAdvancedSubtitles `form:"advancedSubtitles,omitempty" json:"advancedSubtitles,omitempty,omitzero"`
// AudioBoostParam Percentage of original audio loudness to use when transcoding (100 is equivalent to original volume, 50 is half, 200 is double, etc)
AudioBoostParam AudioBoostParam `form:"audioBoost,omitempty" json:"audioBoost,omitempty,omitzero"`
// AudioChannelCountParam Target video number of audio channels.
AudioChannelCountParam AudioChannelCountParam `form:"audioChannelCount,omitempty" json:"audioChannelCount,omitempty,omitzero"`
// NormalizeLoudnessParam Indicates if the server should normalize the loudness of an audio track based on loudness analysis results.
NormalizeLoudnessParam DownloadQueuePostQueueAddParamsNormalizeLoudness `form:"normalizeLoudness,omitempty" json:"normalizeLoudness,omitempty,omitzero"`
// BoostDialogParam Indicates if the server boost the dialog found within an audio track.
BoostDialogParam DownloadQueuePostQueueAddParamsBoostDialog `form:"boostDialog,omitempty" json:"boostDialog,omitempty,omitzero"`
// AutoAdjustQualityParam Indicates the client supports ABR.
AutoAdjustQualityParam DownloadQueuePostQueueAddParamsAutoAdjustQuality `form:"autoAdjustQuality,omitempty" json:"autoAdjustQuality,omitempty,omitzero"`
// AutoAdjustSubtitleParam Indicates if the server should adjust subtitles based on Voice Activity Data.
AutoAdjustSubtitleParam DownloadQueuePostQueueAddParamsAutoAdjustSubtitle `form:"autoAdjustSubtitle,omitempty" json:"autoAdjustSubtitle,omitempty,omitzero"`
// DirectPlayParam Indicates the client supports direct playing the indicated content.
DirectPlayParam DownloadQueuePostQueueAddParamsDirectPlay `form:"directPlay,omitempty" json:"directPlay,omitempty,omitzero"`
// DirectStreamParam Indicates the client supports direct streaming the video of the indicated content.
DirectStreamParam DownloadQueuePostQueueAddParamsDirectStream `form:"directStream,omitempty" json:"directStream,omitempty,omitzero"`
// DirectStreamAudioParam Indicates the client supports direct streaming the audio of the indicated content.
DirectStreamAudioParam DownloadQueuePostQueueAddParamsDirectStreamAudio `form:"directStreamAudio,omitempty" json:"directStreamAudio,omitempty,omitzero"`
// DisableResolutionRotationParam Indicates if resolution should be adjusted for orientation.
DisableResolutionRotationParam DownloadQueuePostQueueAddParamsDisableResolutionRotation `form:"disableResolutionRotation,omitempty" json:"disableResolutionRotation,omitempty,omitzero"`
// HasMDEParam Ignore client profiles when determining if direct play is possible. Only has an effect when directPlay=1 and both mediaIndex and partIndex are specified and neither are -1
HasMDEParam DownloadQueuePostQueueAddParamsHasMDE `form:"hasMDE,omitempty" json:"hasMDE,omitempty,omitzero"`
// LocationParam Network type of the client, can be used to help determine target bitrate.
LocationParam DownloadQueuePostQueueAddParamsLocation `form:"location,omitempty" json:"location,omitempty,omitzero"`
// MediaBufferSizeParam Buffer size used in playback (in KB). Clients should specify a lower bound if not known exactly. This value could make the difference between transcoding and direct play on bandwidth constrained networks.
MediaBufferSizeParam MediaBufferSizeParam `form:"mediaBufferSize,omitempty" json:"mediaBufferSize,omitempty,omitzero"`
// MediaIndexParam Index of the media to transcode. -1 or not specified indicates let the server choose.
MediaIndexParam MediaIndexParam `form:"mediaIndex,omitempty" json:"mediaIndex,omitempty,omitzero"`
// MusicBitrateParam Target bitrate for audio only files (in kbps, used to transcode).
MusicBitrateParam MusicBitrateParam `form:"musicBitrate,omitempty" json:"musicBitrate,omitempty,omitzero"`
// OffsetParam Offset from the start of the media (in seconds).
OffsetParam OffsetParam `form:"offset,omitempty" json:"offset,omitempty,omitzero"`
// PartIndexParam Index of the part to transcode. -1 or not specified indicates the server should join parts together in a transcode
PartIndexParam PartIndexParam `form:"partIndex,omitempty" json:"partIndex,omitempty,omitzero"`
// PathParam Internal PMS path of the media to transcode.
PathParam PathParam `form:"path,omitempty" json:"path,omitempty,omitzero"`
// PeakBitrateParam Maximum bitrate (in kbps) to use in ABR.
PeakBitrateParam PeakBitrateParam `form:"peakBitrate,omitempty" json:"peakBitrate,omitempty,omitzero"`
// PhotoResolutionParam Target photo resolution.
PhotoResolutionParam PhotoResolutionParam `form:"photoResolution,omitempty" json:"photoResolution,omitempty,omitzero"`
// ProtocolParam Indicates the network streaming protocol to be used for the transcode session: * 'http' - include the file in the http response such as MKV streaming * 'hls' - hls stream (RFC 8216) * 'dash' - dash stream (ISO/IEC 23009-1:2022)
ProtocolParam DownloadQueuePostQueueAddParamsProtocol `form:"protocol,omitempty" json:"protocol,omitempty,omitzero"`
// SecondsPerSegmentParam Number of seconds to include in each transcoded segment
SecondsPerSegmentParam SecondsPerSegmentParam `form:"secondsPerSegment,omitempty" json:"secondsPerSegment,omitempty,omitzero"`
// SubtitleSizeParam Percentage of original subtitle size to use when burning subtitles (100 is equivalent to original size, 50 is half, ect)
SubtitleSizeParam SubtitleSizeParam `form:"subtitleSize,omitempty" json:"subtitleSize,omitempty,omitzero"`
// SubtitlesParam Indicates how subtitles should be included: * 'auto' - Compute the appropriate subtitle setting automatically * 'burn' - Burn the selected subtitle; auto if no selected subtitle * 'none' - Ignore all subtitle streams * 'sidecar' - The selected subtitle should be provided as a sidecar * 'embedded' - The selected subtitle should be provided as an embedded stream * 'segmented' - The selected subtitle should be provided as a segmented stream
SubtitlesParam DownloadQueuePostQueueAddParamsSubtitles `form:"subtitles,omitempty" json:"subtitles,omitempty,omitzero"`
// VideoBitrateParam Target video bitrate (in kbps).
VideoBitrateParam VideoBitrateParam `form:"videoBitrate,omitempty" json:"videoBitrate,omitempty,omitzero"`
// VideoQualityParam Target photo quality.
VideoQualityParam VideoQualityParam `form:"videoQuality,omitempty" json:"videoQuality,omitempty,omitzero"`
// VideoResolutionParam Target maximum video resolution.
VideoResolutionParam VideoResolutionParam `form:"videoResolution,omitempty" json:"videoResolution,omitempty,omitzero"`
// XPlexClientIdentifierParam Unique per client.
XPlexClientIdentifierParam XPlexClientIdentifierParam `json:"X-Plex-Client-Identifier"`
// XPlexClientProfileExtraParam See [Profile Augmentations](#section/API-Info/Profile-Augmentations) .
XPlexClientProfileExtraParam XPlexClientProfileExtraParam `json:"X-Plex-Client-Profile-Extra,omitempty,omitzero"`
// XPlexClientProfileNameParam Which built in Client Profile to use in the decision. Generally should only be used to specify the Generic profile.
XPlexClientProfileNameParam XPlexClientProfileNameParam `json:"X-Plex-Client-Profile-Name,omitempty,omitzero"`
// XPlexDeviceParam Device the client is running on
XPlexDeviceParam XPlexDeviceParam `json:"X-Plex-Device,omitempty,omitzero"`
// XPlexModelParam Model of the device the client is running on
XPlexModelParam XPlexModelParam `json:"X-Plex-Model,omitempty,omitzero"`
// XPlexPlatformParam Client Platform
XPlexPlatformParam XPlexPlatformParam `json:"X-Plex-Platform,omitempty,omitzero"`
}
DownloadQueuePostQueueAddParams defines parameters for DownloadQueuePostQueueAdd.
type DownloadQueuePostQueueAddParamsAdvancedSubtitles ¶
type DownloadQueuePostQueueAddParamsAdvancedSubtitles string
DownloadQueuePostQueueAddParamsAdvancedSubtitles defines parameters for DownloadQueuePostQueueAdd.
const ( DownloadQueuePostQueueAddParamsAdvancedSubtitlesBurn DownloadQueuePostQueueAddParamsAdvancedSubtitles = "burn" DownloadQueuePostQueueAddParamsAdvancedSubtitlesText DownloadQueuePostQueueAddParamsAdvancedSubtitles = "text" DownloadQueuePostQueueAddParamsAdvancedSubtitlesUnknown DownloadQueuePostQueueAddParamsAdvancedSubtitles = "unknown" )
Defines values for DownloadQueuePostQueueAddParamsAdvancedSubtitles.
func (DownloadQueuePostQueueAddParamsAdvancedSubtitles) Valid ¶
func (e DownloadQueuePostQueueAddParamsAdvancedSubtitles) Valid() bool
Valid indicates whether the value is a known member of the DownloadQueuePostQueueAddParamsAdvancedSubtitles enum.
type DownloadQueuePostQueueAddParamsAutoAdjustQuality ¶
type DownloadQueuePostQueueAddParamsAutoAdjustQuality int
DownloadQueuePostQueueAddParamsAutoAdjustQuality defines parameters for DownloadQueuePostQueueAdd.
const ( DownloadQueuePostQueueAddParamsAutoAdjustQualityN0 DownloadQueuePostQueueAddParamsAutoAdjustQuality = 0 DownloadQueuePostQueueAddParamsAutoAdjustQualityN1 DownloadQueuePostQueueAddParamsAutoAdjustQuality = 1 )
Defines values for DownloadQueuePostQueueAddParamsAutoAdjustQuality.
func (DownloadQueuePostQueueAddParamsAutoAdjustQuality) Valid ¶
func (e DownloadQueuePostQueueAddParamsAutoAdjustQuality) Valid() bool
Valid indicates whether the value is a known member of the DownloadQueuePostQueueAddParamsAutoAdjustQuality enum.
type DownloadQueuePostQueueAddParamsAutoAdjustSubtitle ¶
type DownloadQueuePostQueueAddParamsAutoAdjustSubtitle int
DownloadQueuePostQueueAddParamsAutoAdjustSubtitle defines parameters for DownloadQueuePostQueueAdd.
const ( DownloadQueuePostQueueAddParamsAutoAdjustSubtitleN0 DownloadQueuePostQueueAddParamsAutoAdjustSubtitle = 0 DownloadQueuePostQueueAddParamsAutoAdjustSubtitleN1 DownloadQueuePostQueueAddParamsAutoAdjustSubtitle = 1 )
Defines values for DownloadQueuePostQueueAddParamsAutoAdjustSubtitle.
func (DownloadQueuePostQueueAddParamsAutoAdjustSubtitle) Valid ¶
func (e DownloadQueuePostQueueAddParamsAutoAdjustSubtitle) Valid() bool
Valid indicates whether the value is a known member of the DownloadQueuePostQueueAddParamsAutoAdjustSubtitle enum.
type DownloadQueuePostQueueAddParamsBoostDialog ¶
type DownloadQueuePostQueueAddParamsBoostDialog int
DownloadQueuePostQueueAddParamsBoostDialog defines parameters for DownloadQueuePostQueueAdd.
const ( DownloadQueuePostQueueAddParamsBoostDialogN0 DownloadQueuePostQueueAddParamsBoostDialog = 0 DownloadQueuePostQueueAddParamsBoostDialogN1 DownloadQueuePostQueueAddParamsBoostDialog = 1 )
Defines values for DownloadQueuePostQueueAddParamsBoostDialog.
func (DownloadQueuePostQueueAddParamsBoostDialog) Valid ¶
func (e DownloadQueuePostQueueAddParamsBoostDialog) Valid() bool
Valid indicates whether the value is a known member of the DownloadQueuePostQueueAddParamsBoostDialog enum.
type DownloadQueuePostQueueAddParamsDirectPlay ¶
type DownloadQueuePostQueueAddParamsDirectPlay int
DownloadQueuePostQueueAddParamsDirectPlay defines parameters for DownloadQueuePostQueueAdd.
const ( DownloadQueuePostQueueAddParamsDirectPlayN0 DownloadQueuePostQueueAddParamsDirectPlay = 0 DownloadQueuePostQueueAddParamsDirectPlayN1 DownloadQueuePostQueueAddParamsDirectPlay = 1 )
Defines values for DownloadQueuePostQueueAddParamsDirectPlay.
func (DownloadQueuePostQueueAddParamsDirectPlay) Valid ¶
func (e DownloadQueuePostQueueAddParamsDirectPlay) Valid() bool
Valid indicates whether the value is a known member of the DownloadQueuePostQueueAddParamsDirectPlay enum.
type DownloadQueuePostQueueAddParamsDirectStream ¶
type DownloadQueuePostQueueAddParamsDirectStream int
DownloadQueuePostQueueAddParamsDirectStream defines parameters for DownloadQueuePostQueueAdd.
const ( DownloadQueuePostQueueAddParamsDirectStreamN0 DownloadQueuePostQueueAddParamsDirectStream = 0 DownloadQueuePostQueueAddParamsDirectStreamN1 DownloadQueuePostQueueAddParamsDirectStream = 1 )
Defines values for DownloadQueuePostQueueAddParamsDirectStream.
func (DownloadQueuePostQueueAddParamsDirectStream) Valid ¶
func (e DownloadQueuePostQueueAddParamsDirectStream) Valid() bool
Valid indicates whether the value is a known member of the DownloadQueuePostQueueAddParamsDirectStream enum.
type DownloadQueuePostQueueAddParamsDirectStreamAudio ¶
type DownloadQueuePostQueueAddParamsDirectStreamAudio int
DownloadQueuePostQueueAddParamsDirectStreamAudio defines parameters for DownloadQueuePostQueueAdd.
const ( DownloadQueuePostQueueAddParamsDirectStreamAudioN0 DownloadQueuePostQueueAddParamsDirectStreamAudio = 0 DownloadQueuePostQueueAddParamsDirectStreamAudioN1 DownloadQueuePostQueueAddParamsDirectStreamAudio = 1 )
Defines values for DownloadQueuePostQueueAddParamsDirectStreamAudio.
func (DownloadQueuePostQueueAddParamsDirectStreamAudio) Valid ¶
func (e DownloadQueuePostQueueAddParamsDirectStreamAudio) Valid() bool
Valid indicates whether the value is a known member of the DownloadQueuePostQueueAddParamsDirectStreamAudio enum.
type DownloadQueuePostQueueAddParamsDisableResolutionRotation ¶
type DownloadQueuePostQueueAddParamsDisableResolutionRotation int
DownloadQueuePostQueueAddParamsDisableResolutionRotation defines parameters for DownloadQueuePostQueueAdd.
const ( DownloadQueuePostQueueAddParamsDisableResolutionRotationN0 DownloadQueuePostQueueAddParamsDisableResolutionRotation = 0 DownloadQueuePostQueueAddParamsDisableResolutionRotationN1 DownloadQueuePostQueueAddParamsDisableResolutionRotation = 1 )
Defines values for DownloadQueuePostQueueAddParamsDisableResolutionRotation.
func (DownloadQueuePostQueueAddParamsDisableResolutionRotation) Valid ¶
func (e DownloadQueuePostQueueAddParamsDisableResolutionRotation) Valid() bool
Valid indicates whether the value is a known member of the DownloadQueuePostQueueAddParamsDisableResolutionRotation enum.
type DownloadQueuePostQueueAddParamsHasMDE ¶
type DownloadQueuePostQueueAddParamsHasMDE int
DownloadQueuePostQueueAddParamsHasMDE defines parameters for DownloadQueuePostQueueAdd.
const ( DownloadQueuePostQueueAddParamsHasMDEN0 DownloadQueuePostQueueAddParamsHasMDE = 0 DownloadQueuePostQueueAddParamsHasMDEN1 DownloadQueuePostQueueAddParamsHasMDE = 1 )
Defines values for DownloadQueuePostQueueAddParamsHasMDE.
func (DownloadQueuePostQueueAddParamsHasMDE) Valid ¶
func (e DownloadQueuePostQueueAddParamsHasMDE) Valid() bool
Valid indicates whether the value is a known member of the DownloadQueuePostQueueAddParamsHasMDE enum.
type DownloadQueuePostQueueAddParamsLocation ¶
type DownloadQueuePostQueueAddParamsLocation string
DownloadQueuePostQueueAddParamsLocation defines parameters for DownloadQueuePostQueueAdd.
const ( DownloadQueuePostQueueAddParamsLocationCellular DownloadQueuePostQueueAddParamsLocation = "cellular" DownloadQueuePostQueueAddParamsLocationLan DownloadQueuePostQueueAddParamsLocation = "lan" DownloadQueuePostQueueAddParamsLocationWan DownloadQueuePostQueueAddParamsLocation = "wan" )
Defines values for DownloadQueuePostQueueAddParamsLocation.
func (DownloadQueuePostQueueAddParamsLocation) Valid ¶
func (e DownloadQueuePostQueueAddParamsLocation) Valid() bool
Valid indicates whether the value is a known member of the DownloadQueuePostQueueAddParamsLocation enum.
type DownloadQueuePostQueueAddParamsNormalizeLoudness ¶
type DownloadQueuePostQueueAddParamsNormalizeLoudness int
DownloadQueuePostQueueAddParamsNormalizeLoudness defines parameters for DownloadQueuePostQueueAdd.
const ( DownloadQueuePostQueueAddParamsNormalizeLoudnessN0 DownloadQueuePostQueueAddParamsNormalizeLoudness = 0 DownloadQueuePostQueueAddParamsNormalizeLoudnessN1 DownloadQueuePostQueueAddParamsNormalizeLoudness = 1 )
Defines values for DownloadQueuePostQueueAddParamsNormalizeLoudness.
func (DownloadQueuePostQueueAddParamsNormalizeLoudness) Valid ¶
func (e DownloadQueuePostQueueAddParamsNormalizeLoudness) Valid() bool
Valid indicates whether the value is a known member of the DownloadQueuePostQueueAddParamsNormalizeLoudness enum.
type DownloadQueuePostQueueAddParamsProtocol ¶
type DownloadQueuePostQueueAddParamsProtocol string
DownloadQueuePostQueueAddParamsProtocol defines parameters for DownloadQueuePostQueueAdd.
const ( DownloadQueuePostQueueAddParamsProtocolDash DownloadQueuePostQueueAddParamsProtocol = "dash" DownloadQueuePostQueueAddParamsProtocolHTTP DownloadQueuePostQueueAddParamsProtocol = "http" DownloadQueuePostQueueAddParamsProtocolHls DownloadQueuePostQueueAddParamsProtocol = "hls" )
Defines values for DownloadQueuePostQueueAddParamsProtocol.
func (DownloadQueuePostQueueAddParamsProtocol) Valid ¶
func (e DownloadQueuePostQueueAddParamsProtocol) Valid() bool
Valid indicates whether the value is a known member of the DownloadQueuePostQueueAddParamsProtocol enum.
type DownloadQueuePostQueueAddParamsSubtitles ¶
type DownloadQueuePostQueueAddParamsSubtitles string
DownloadQueuePostQueueAddParamsSubtitles defines parameters for DownloadQueuePostQueueAdd.
const ( DownloadQueuePostQueueAddParamsSubtitlesAuto DownloadQueuePostQueueAddParamsSubtitles = "auto" DownloadQueuePostQueueAddParamsSubtitlesBurn DownloadQueuePostQueueAddParamsSubtitles = "burn" DownloadQueuePostQueueAddParamsSubtitlesEmbedded DownloadQueuePostQueueAddParamsSubtitles = "embedded" DownloadQueuePostQueueAddParamsSubtitlesNone DownloadQueuePostQueueAddParamsSubtitles = "none" DownloadQueuePostQueueAddParamsSubtitlesSegmented DownloadQueuePostQueueAddParamsSubtitles = "segmented" DownloadQueuePostQueueAddParamsSubtitlesSidecar DownloadQueuePostQueueAddParamsSubtitles = "sidecar" DownloadQueuePostQueueAddParamsSubtitlesUnknown DownloadQueuePostQueueAddParamsSubtitles = "unknown" )
Defines values for DownloadQueuePostQueueAddParamsSubtitles.
func (DownloadQueuePostQueueAddParamsSubtitles) Valid ¶
func (e DownloadQueuePostQueueAddParamsSubtitles) Valid() bool
Valid indicates whether the value is a known member of the DownloadQueuePostQueueAddParamsSubtitles enum.
type DownloadQueuePostQueueAddResponse ¶
type DownloadQueuePostQueueAddResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *struct {
MediaContainer struct {
AddedQueueItems []struct {
// ID The queue item id that was added or the existing one if an item already exists in this queue with the same parameters
ID int `json:"id,omitempty,omitzero"`
// Key The key added to the queue
Key string `json:"key,omitempty,omitzero"`
} `json:"AddedQueueItems,omitempty,omitzero"`
Identifier string `json:"identifier,omitempty,omitzero"`
// Offset The offset of where this container page starts among the total objects available. Also provided in the X-Plex-Container-Start header
Offset int `json:"offset,omitempty,omitzero"`
Size int `json:"size,omitempty,omitzero"`
// TotalSize The total size of objects available. Also provided in the X-Plex-Container-Total-Size header
TotalSize int `json:"totalSize,omitempty,omitzero"`
} `json:"MediaContainer,omitempty,omitzero"`
}
}
func ParseDownloadQueuePostQueueAddResponse ¶
func ParseDownloadQueuePostQueueAddResponse(rsp *http.Response) (*DownloadQueuePostQueueAddResponse, error)
ParseDownloadQueuePostQueueAddResponse parses an HTTP response from a DownloadQueuePostQueueAddWithResponse call
func (DownloadQueuePostQueueAddResponse) ContentType ¶
func (r DownloadQueuePostQueueAddResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DownloadQueuePostQueueAddResponse) GetBody ¶
func (r DownloadQueuePostQueueAddResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DownloadQueuePostQueueAddResponse) GetJSON200 ¶
func (r DownloadQueuePostQueueAddResponse) GetJSON200() *struct { MediaContainer struct { AddedQueueItems []struct { // ID The queue item id that was added or the existing one if an item already exists in this queue with the same parameters ID int `json:"id,omitempty,omitzero"` // Key The key added to the queue Key string `json:"key,omitempty,omitzero"` } `json:"AddedQueueItems,omitempty,omitzero"` Identifier string `json:"identifier,omitempty,omitzero"` // Offset The offset of where this container page starts among the total objects available. Also provided in the X-Plex-Container-Start header Offset int `json:"offset,omitempty,omitzero"` Size int `json:"size,omitempty,omitzero"` // TotalSize The total size of objects available. Also provided in the X-Plex-Container-Total-Size header TotalSize int `json:"totalSize,omitempty,omitzero"` } `json:"MediaContainer,omitempty,omitzero"` }
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (DownloadQueuePostQueueAddResponse) Status ¶
func (r DownloadQueuePostQueueAddResponse) Status() string
Status returns HTTPResponse.Status
func (DownloadQueuePostQueueAddResponse) StatusCode ¶
func (r DownloadQueuePostQueueAddResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DownloadQueuePostQueueItemsItemRestartResponse ¶
type DownloadQueuePostQueueItemsItemRestartResponse struct {
Body []byte
HTTPResponse *http.Response
}
func ParseDownloadQueuePostQueueItemsItemRestartResponse ¶
func ParseDownloadQueuePostQueueItemsItemRestartResponse(rsp *http.Response) (*DownloadQueuePostQueueItemsItemRestartResponse, error)
ParseDownloadQueuePostQueueItemsItemRestartResponse parses an HTTP response from a DownloadQueuePostQueueItemsItemRestartWithResponse call
func (DownloadQueuePostQueueItemsItemRestartResponse) ContentType ¶
func (r DownloadQueuePostQueueItemsItemRestartResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DownloadQueuePostQueueItemsItemRestartResponse) GetBody ¶
func (r DownloadQueuePostQueueItemsItemRestartResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DownloadQueuePostQueueItemsItemRestartResponse) Status ¶
func (r DownloadQueuePostQueueItemsItemRestartResponse) Status() string
Status returns HTTPResponse.Status
func (DownloadQueuePostQueueItemsItemRestartResponse) StatusCode ¶
func (r DownloadQueuePostQueueItemsItemRestartResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DownloadQueuePostResponse ¶
type DownloadQueuePostResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *struct {
MediaContainer struct {
DownloadQueue []struct {
ID int `json:"id,omitempty,omitzero"`
ItemCount int `json:"itemCount,omitempty,omitzero"`
// Status The state of this queue
// - deciding: At least one item is still being decided
// - waiting: At least one item is waiting for transcode and none are currently transcoding
// - processing: At least one item is being transcoded
// - done: All items are available (or potentially expired)
// - error: At least one item has encountered an error
Status DownloadQueuePost200JSONResponseBodyMediaContainerDownloadQueueStatus `json:"status,omitempty,omitzero"`
} `json:"DownloadQueue,omitempty,omitzero"`
Identifier string `json:"identifier,omitempty,omitzero"`
// Offset The offset of where this container page starts among the total objects available. Also provided in the X-Plex-Container-Start header
Offset int `json:"offset,omitempty,omitzero"`
Size int `json:"size,omitempty,omitzero"`
// TotalSize The total size of objects available. Also provided in the X-Plex-Container-Total-Size header
TotalSize int `json:"totalSize,omitempty,omitzero"`
} `json:"MediaContainer,omitempty,omitzero"`
}
}
func ParseDownloadQueuePostResponse ¶
func ParseDownloadQueuePostResponse(rsp *http.Response) (*DownloadQueuePostResponse, error)
ParseDownloadQueuePostResponse parses an HTTP response from a DownloadQueuePostWithResponse call
func (DownloadQueuePostResponse) ContentType ¶
func (r DownloadQueuePostResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DownloadQueuePostResponse) GetBody ¶
func (r DownloadQueuePostResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DownloadQueuePostResponse) GetJSON200 ¶
func (r DownloadQueuePostResponse) GetJSON200() *struct { MediaContainer struct { DownloadQueue []struct { ID int `json:"id,omitempty,omitzero"` ItemCount int `json:"itemCount,omitempty,omitzero"` // Status The state of this queue // - deciding: At least one item is still being decided // - waiting: At least one item is waiting for transcode and none are currently transcoding // - processing: At least one item is being transcoded // - done: All items are available (or potentially expired) // - error: At least one item has encountered an error Status DownloadQueuePost200JSONResponseBodyMediaContainerDownloadQueueStatus `json:"status,omitempty,omitzero"` } `json:"DownloadQueue,omitempty,omitzero"` Identifier string `json:"identifier,omitempty,omitzero"` // Offset The offset of where this container page starts among the total objects available. Also provided in the X-Plex-Container-Start header Offset int `json:"offset,omitempty,omitzero"` Size int `json:"size,omitempty,omitzero"` // TotalSize The total size of objects available. Also provided in the X-Plex-Container-Total-Size header TotalSize int `json:"totalSize,omitempty,omitzero"` } `json:"MediaContainer,omitempty,omitzero"` }
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (DownloadQueuePostResponse) Status ¶
func (r DownloadQueuePostResponse) Status() string
Status returns HTTPResponse.Status
func (DownloadQueuePostResponse) StatusCode ¶
func (r DownloadQueuePostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type EventsourceGetSlashParams ¶
type EventsourceGetSlashParams struct {
// Filter By default, all events except logs are sent. A rich filtering mechanism is provided to allow clients to opt into or out of each event type using the `filters` parameter. For example:
//
// - `filters=-log`: All event types except logs (the default).
// - `filters=foo,bar`: Only the foo and bar event types.
// - `filters=`: All events types.
// - `filters=-foo,bar`: All event types except foo and bar.
Filter []string `form:"filter,omitempty" json:"filter,omitempty,omitzero"`
}
EventsourceGetSlashParams defines parameters for EventsourceGetSlash.
type EventsourceGetSlashResponse ¶
func ParseEventsourceGetSlashResponse ¶
func ParseEventsourceGetSlashResponse(rsp *http.Response) (*EventsourceGetSlashResponse, error)
ParseEventsourceGetSlashResponse parses an HTTP response from a EventsourceGetSlashWithResponse call
func (EventsourceGetSlashResponse) ContentType ¶
func (r EventsourceGetSlashResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (EventsourceGetSlashResponse) GetBody ¶
func (r EventsourceGetSlashResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (EventsourceGetSlashResponse) Status ¶
func (r EventsourceGetSlashResponse) Status() string
Status returns HTTPResponse.Status
func (EventsourceGetSlashResponse) StatusCode ¶
func (r EventsourceGetSlashResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type Filter ¶
type Filter struct {
Pivot []struct {
Context string `json:"context,omitempty,omitzero"`
ID string `json:"id,omitempty,omitzero"`
Key string `json:"key,omitempty,omitzero"`
Symbol string `json:"symbol,omitempty,omitzero"`
Title string `json:"title,omitempty,omitzero"`
Type string `json:"type,omitempty,omitzero"`
} `json:"Pivot,omitempty,omitzero"`
Art string `json:"art,omitempty,omitzero"`
Content bool `json:"content,omitempty,omitzero"`
// Filter This represents the filter name used for the filter, which can be used to construct complex media queries with.
Filter string `json:"filter,omitempty,omitzero"`
// FilterType This is either `string`, `integer`, or `boolean`, and describes the type of values used for the filter.
FilterType string `json:"filterType,omitempty,omitzero"`
HasPrefs bool `json:"hasPrefs,omitempty,omitzero"`
HasStoreServices bool `json:"hasStoreServices,omitempty,omitzero"`
HubKey string `json:"hubKey,omitempty,omitzero"`
Identifier string `json:"identifier,omitempty,omitzero"`
// Key This provides the endpoint where the possible range of values for the filter can be retrieved (e.g. for a "Genre" filter, it returns a list of all the genres in the library). This will include a `type` argument that matches the metadata type of the Type element.
Key string `json:"key,omitempty,omitzero"`
LastAccessedAt int `json:"lastAccessedAt,omitempty,omitzero"`
Thumb string `json:"thumb,omitempty,omitzero"`
// Title The title for the filter.
Title string `json:"title,omitempty,omitzero"`
TitleBar string `json:"titleBar,omitempty,omitzero"`
Type string `json:"type,omitempty,omitzero"`
AdditionalProperties map[string]interface{} `json:"-"`
}
Filter defines model for filter.
func (Filter) Get ¶
Getter for additional properties for Filter. Returns the specified element and whether it was found
func (Filter) MarshalJSON ¶
Override default JSON handling for Filter to handle AdditionalProperties
func (*Filter) UnmarshalJSON ¶
Override default JSON handling for Filter to handle AdditionalProperties
type GUID ¶ added in v0.1.2
type GUID struct {
ID string `json:"id,omitempty,omitzero"`
}
GUID An identifier of a metadata item at an external agent, e.g. "imdb://tt0111161", "tmdb://278" or "tvdb://12345".
type GetIdentityResponse ¶
type GetIdentityResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *struct {
MediaContainer struct {
// Claimed Indicates whether this server has been claimed by a user
Claimed bool `json:"claimed,omitempty,omitzero"`
// MachineIdentifier A unique identifier of the computer
MachineIdentifier string `json:"machineIdentifier,omitempty,omitzero"`
Size int `json:"size,omitempty,omitzero"`
// Version The full version string of the PMS
Version string `json:"version,omitempty,omitzero"`
} `json:"MediaContainer,omitempty,omitzero"`
}
}
func ParseGetIdentityResponse ¶
func ParseGetIdentityResponse(rsp *http.Response) (*GetIdentityResponse, error)
ParseGetIdentityResponse parses an HTTP response from a GetIdentityWithResponse call
func (GetIdentityResponse) ContentType ¶
func (r GetIdentityResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetIdentityResponse) GetBody ¶
func (r GetIdentityResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetIdentityResponse) GetJSON200 ¶
func (r GetIdentityResponse) GetJSON200() *struct { MediaContainer struct { // Claimed Indicates whether this server has been claimed by a user Claimed bool `json:"claimed,omitempty,omitzero"` // MachineIdentifier A unique identifier of the computer MachineIdentifier string `json:"machineIdentifier,omitempty,omitzero"` Size int `json:"size,omitempty,omitzero"` // Version The full version string of the PMS Version string `json:"version,omitempty,omitzero"` } `json:"MediaContainer,omitempty,omitzero"` }
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetIdentityResponse) Status ¶
func (r GetIdentityResponse) Status() string
Status returns HTTPResponse.Status
func (GetIdentityResponse) StatusCode ¶
func (r GetIdentityResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetMediaProvidersResponse ¶
type GetMediaProvidersResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *struct {
MediaContainer struct {
Feature []struct {
Directory []Directory `json:"Directory,omitempty,omitzero"`
Key string `json:"key,omitempty,omitzero"`
Type string `json:"type,omitempty,omitzero"`
} `json:"Feature,omitempty,omitzero"`
AllowCameraUpload bool `json:"allowCameraUpload,omitempty,omitzero"`
AllowChannelAccess bool `json:"allowChannelAccess,omitempty,omitzero"`
AllowMediaDeletion bool `json:"allowMediaDeletion,omitempty,omitzero"`
AllowSharing bool `json:"allowSharing,omitempty,omitzero"`
AllowSync bool `json:"allowSync,omitempty,omitzero"`
AllowTuners bool `json:"allowTuners,omitempty,omitzero"`
BackgroundProcessing bool `json:"backgroundProcessing,omitempty,omitzero"`
Certificate bool `json:"certificate,omitempty,omitzero"`
CompanionProxy bool `json:"companionProxy,omitempty,omitzero"`
CountryCode string `json:"countryCode,omitempty,omitzero"`
Diagnostics string `json:"diagnostics,omitempty,omitzero"`
EventStream bool `json:"eventStream,omitempty,omitzero"`
FriendlyName string `json:"friendlyName,omitempty,omitzero"`
HubSearch bool `json:"hubSearch,omitempty,omitzero"`
// Identifier A unique identifier for the provider, e.g. `com.plexapp.plugins.library`.
Identifier string `json:"identifier,omitempty,omitzero"`
ItemClusters bool `json:"itemClusters,omitempty,omitzero"`
Livetv int `json:"livetv,omitempty,omitzero"`
MachineIdentifier interface{} `json:"machineIdentifier,omitempty,omitzero"`
MediaProviders bool `json:"mediaProviders,omitempty,omitzero"`
Multiuser bool `json:"multiuser,omitempty,omitzero"`
MusicAnalysis int `json:"musicAnalysis,omitempty,omitzero"`
MyPlex bool `json:"myPlex,omitempty,omitzero"`
MyPlexMappingState interface{} `json:"myPlexMappingState,omitempty,omitzero"`
MyPlexSigninState interface{} `json:"myPlexSigninState,omitempty,omitzero"`
MyPlexSubscription bool `json:"myPlexSubscription,omitempty,omitzero"`
MyPlexUsername string `json:"myPlexUsername,omitempty,omitzero"`
OfflineTranscode interface{} `json:"offlineTranscode,omitempty,omitzero"`
// Offset The offset of where this container page starts among the total objects available. Also provided in the X-Plex-Container-Start header
Offset int `json:"offset,omitempty,omitzero"`
// OwnerFeatures A comma-separated list of features which are enabled for the server owner
OwnerFeatures string `json:"ownerFeatures,omitempty,omitzero"`
Platform string `json:"platform,omitempty,omitzero"`
PlatformVersion string `json:"platformVersion,omitempty,omitzero"`
PluginHost bool `json:"pluginHost,omitempty,omitzero"`
// Protocols A comma-separated list of default protocols for the provider, which can be:
// - `stream`: The provider allows streaming media directly from the provider (e.g. for Vimeo). - `download`: The provider allows downloading media for offline storage, sync, etc. (e.g. Podcasts). - `livetv`: The provider provides live content which is only available on a schedule basis.
Protocols string `json:"protocols,omitempty,omitzero"`
PushNotifications bool `json:"pushNotifications,omitempty,omitzero"`
ReadOnlyLibraries bool `json:"readOnlyLibraries,omitempty,omitzero"`
Size int `json:"size,omitempty,omitzero"`
StreamingBrainABRVersion int `json:"streamingBrainABRVersion,omitempty,omitzero"`
StreamingBrainVersion int `json:"streamingBrainVersion,omitempty,omitzero"`
Sync bool `json:"sync,omitempty,omitzero"`
// Title The title of the provider.
Title string `json:"title,omitempty,omitzero"`
// TotalSize The total size of objects available. Also provided in the X-Plex-Container-Total-Size header
TotalSize int `json:"totalSize,omitempty,omitzero"`
TranscoderActiveVideoSessions int `json:"transcoderActiveVideoSessions,omitempty,omitzero"`
TranscoderAudio bool `json:"transcoderAudio,omitempty,omitzero"`
TranscoderLyrics bool `json:"transcoderLyrics,omitempty,omitzero"`
TranscoderPhoto bool `json:"transcoderPhoto,omitempty,omitzero"`
TranscoderSubtitles bool `json:"transcoderSubtitles,omitempty,omitzero"`
TranscoderVideo bool `json:"transcoderVideo,omitempty,omitzero"`
// TranscoderVideoBitrates The suggested video quality bitrates to present to the user
TranscoderVideoBitrates interface{} `json:"transcoderVideoBitrates,omitempty,omitzero"`
TranscoderVideoQualities string `json:"transcoderVideoQualities,omitempty,omitzero"`
// TranscoderVideoResolutions The suggested video resolutions to the above quality bitrates
TranscoderVideoResolutions interface{} `json:"transcoderVideoResolutions,omitempty,omitzero"`
// Types This attribute contains a comma-separated list of the media types exposed by the provider (e.g. `video, audio`).
Types string `json:"types,omitempty,omitzero"`
UpdatedAt int `json:"updatedAt,omitempty,omitzero"`
Updater bool `json:"updater,omitempty,omitzero"`
Version string `json:"version,omitempty,omitzero"`
VoiceSearch bool `json:"voiceSearch,omitempty,omitzero"`
} `json:"MediaContainer,omitempty,omitzero"`
}
}
func ParseGetMediaProvidersResponse ¶
func ParseGetMediaProvidersResponse(rsp *http.Response) (*GetMediaProvidersResponse, error)
ParseGetMediaProvidersResponse parses an HTTP response from a GetMediaProvidersWithResponse call
func (GetMediaProvidersResponse) ContentType ¶
func (r GetMediaProvidersResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetMediaProvidersResponse) GetBody ¶
func (r GetMediaProvidersResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetMediaProvidersResponse) GetJSON200 ¶
func (r GetMediaProvidersResponse) GetJSON200() *struct { MediaContainer struct { Feature []struct { Directory []Directory `json:"Directory,omitempty,omitzero"` Key string `json:"key,omitempty,omitzero"` Type string `json:"type,omitempty,omitzero"` } `json:"Feature,omitempty,omitzero"` AllowCameraUpload bool `json:"allowCameraUpload,omitempty,omitzero"` AllowChannelAccess bool `json:"allowChannelAccess,omitempty,omitzero"` AllowMediaDeletion bool `json:"allowMediaDeletion,omitempty,omitzero"` AllowSharing bool `json:"allowSharing,omitempty,omitzero"` AllowSync bool `json:"allowSync,omitempty,omitzero"` AllowTuners bool `json:"allowTuners,omitempty,omitzero"` BackgroundProcessing bool `json:"backgroundProcessing,omitempty,omitzero"` Certificate bool `json:"certificate,omitempty,omitzero"` CompanionProxy bool `json:"companionProxy,omitempty,omitzero"` CountryCode string `json:"countryCode,omitempty,omitzero"` Diagnostics string `json:"diagnostics,omitempty,omitzero"` EventStream bool `json:"eventStream,omitempty,omitzero"` FriendlyName string `json:"friendlyName,omitempty,omitzero"` HubSearch bool `json:"hubSearch,omitempty,omitzero"` // Identifier A unique identifier for the provider, e.g. `com.plexapp.plugins.library`. Identifier string `json:"identifier,omitempty,omitzero"` ItemClusters bool `json:"itemClusters,omitempty,omitzero"` Livetv int `json:"livetv,omitempty,omitzero"` MachineIdentifier interface{} `json:"machineIdentifier,omitempty,omitzero"` MediaProviders bool `json:"mediaProviders,omitempty,omitzero"` Multiuser bool `json:"multiuser,omitempty,omitzero"` MusicAnalysis int `json:"musicAnalysis,omitempty,omitzero"` MyPlex bool `json:"myPlex,omitempty,omitzero"` MyPlexMappingState interface{} `json:"myPlexMappingState,omitempty,omitzero"` MyPlexSigninState interface{} `json:"myPlexSigninState,omitempty,omitzero"` MyPlexSubscription bool `json:"myPlexSubscription,omitempty,omitzero"` MyPlexUsername string `json:"myPlexUsername,omitempty,omitzero"` OfflineTranscode interface{} `json:"offlineTranscode,omitempty,omitzero"` // Offset The offset of where this container page starts among the total objects available. Also provided in the X-Plex-Container-Start header Offset int `json:"offset,omitempty,omitzero"` // OwnerFeatures A comma-separated list of features which are enabled for the server owner OwnerFeatures string `json:"ownerFeatures,omitempty,omitzero"` Platform string `json:"platform,omitempty,omitzero"` PlatformVersion string `json:"platformVersion,omitempty,omitzero"` PluginHost bool `json:"pluginHost,omitempty,omitzero"` // Protocols A comma-separated list of default protocols for the provider, which can be: // - `stream`: The provider allows streaming media directly from the provider (e.g. for Vimeo). - `download`: The provider allows downloading media for offline storage, sync, etc. (e.g. Podcasts). - `livetv`: The provider provides live content which is only available on a schedule basis. Protocols string `json:"protocols,omitempty,omitzero"` PushNotifications bool `json:"pushNotifications,omitempty,omitzero"` ReadOnlyLibraries bool `json:"readOnlyLibraries,omitempty,omitzero"` Size int `json:"size,omitempty,omitzero"` StreamingBrainABRVersion int `json:"streamingBrainABRVersion,omitempty,omitzero"` StreamingBrainVersion int `json:"streamingBrainVersion,omitempty,omitzero"` Sync bool `json:"sync,omitempty,omitzero"` // Title The title of the provider. Title string `json:"title,omitempty,omitzero"` // TotalSize The total size of objects available. Also provided in the X-Plex-Container-Total-Size header TotalSize int `json:"totalSize,omitempty,omitzero"` TranscoderActiveVideoSessions int `json:"transcoderActiveVideoSessions,omitempty,omitzero"` TranscoderAudio bool `json:"transcoderAudio,omitempty,omitzero"` TranscoderLyrics bool `json:"transcoderLyrics,omitempty,omitzero"` TranscoderPhoto bool `json:"transcoderPhoto,omitempty,omitzero"` TranscoderSubtitles bool `json:"transcoderSubtitles,omitempty,omitzero"` TranscoderVideo bool `json:"transcoderVideo,omitempty,omitzero"` // TranscoderVideoBitrates The suggested video quality bitrates to present to the user TranscoderVideoBitrates interface{} `json:"transcoderVideoBitrates,omitempty,omitzero"` TranscoderVideoQualities string `json:"transcoderVideoQualities,omitempty,omitzero"` // TranscoderVideoResolutions The suggested video resolutions to the above quality bitrates TranscoderVideoResolutions interface{} `json:"transcoderVideoResolutions,omitempty,omitzero"` // Types This attribute contains a comma-separated list of the media types exposed by the provider (e.g. `video, audio`). Types string `json:"types,omitempty,omitzero"` UpdatedAt int `json:"updatedAt,omitempty,omitzero"` Updater bool `json:"updater,omitempty,omitzero"` Version string `json:"version,omitempty,omitzero"` VoiceSearch bool `json:"voiceSearch,omitempty,omitzero"` } `json:"MediaContainer,omitempty,omitzero"` }
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetMediaProvidersResponse) Status ¶
func (r GetMediaProvidersResponse) Status() string
Status returns HTTPResponse.Status
func (GetMediaProvidersResponse) StatusCode ¶
func (r GetMediaProvidersResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetMetadataAgentProviderGroupResponse ¶
type GetMetadataAgentProviderGroupResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *struct {
MediaContainer struct {
MetadataAgentProviderGroup []MetadataAgentProviderGroup `json:"MetadataAgentProviderGroup,omitempty,omitzero"`
Identifier string `json:"identifier,omitempty,omitzero"`
// Offset The offset of where this container page starts among the total objects available. Also provided in the X-Plex-Container-Start header
Offset int `json:"offset,omitempty,omitzero"`
Size int `json:"size,omitempty,omitzero"`
// TotalSize The total size of objects available. Also provided in the X-Plex-Container-Total-Size header
TotalSize int `json:"totalSize,omitempty,omitzero"`
} `json:"MediaContainer,omitempty,omitzero"`
}
}
func ParseGetMetadataAgentProviderGroupResponse ¶
func ParseGetMetadataAgentProviderGroupResponse(rsp *http.Response) (*GetMetadataAgentProviderGroupResponse, error)
ParseGetMetadataAgentProviderGroupResponse parses an HTTP response from a GetMetadataAgentProviderGroupWithResponse call
func (GetMetadataAgentProviderGroupResponse) ContentType ¶
func (r GetMetadataAgentProviderGroupResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetMetadataAgentProviderGroupResponse) GetBody ¶
func (r GetMetadataAgentProviderGroupResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetMetadataAgentProviderGroupResponse) GetJSON200 ¶
func (r GetMetadataAgentProviderGroupResponse) GetJSON200() *struct { MediaContainer struct { MetadataAgentProviderGroup []MetadataAgentProviderGroup `json:"MetadataAgentProviderGroup,omitempty,omitzero"` Identifier string `json:"identifier,omitempty,omitzero"` // Offset The offset of where this container page starts among the total objects available. Also provided in the X-Plex-Container-Start header Offset int `json:"offset,omitempty,omitzero"` Size int `json:"size,omitempty,omitzero"` // TotalSize The total size of objects available. Also provided in the X-Plex-Container-Total-Size header TotalSize int `json:"totalSize,omitempty,omitzero"` } `json:"MediaContainer,omitempty,omitzero"` }
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetMetadataAgentProviderGroupResponse) Status ¶
func (r GetMetadataAgentProviderGroupResponse) Status() string
Status returns HTTPResponse.Status
func (GetMetadataAgentProviderGroupResponse) StatusCode ¶
func (r GetMetadataAgentProviderGroupResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetMetadataAgentProviderGroupsResponse ¶
type GetMetadataAgentProviderGroupsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *struct {
MediaContainer struct {
MetadataAgentProviderGroup []MetadataAgentProviderGroup `json:"MetadataAgentProviderGroup,omitempty,omitzero"`
Identifier string `json:"identifier,omitempty,omitzero"`
// Offset The offset of where this container page starts among the total objects available. Also provided in the X-Plex-Container-Start header
Offset int `json:"offset,omitempty,omitzero"`
Size int `json:"size,omitempty,omitzero"`
// TotalSize The total size of objects available. Also provided in the X-Plex-Container-Total-Size header
TotalSize int `json:"totalSize,omitempty,omitzero"`
} `json:"MediaContainer,omitempty,omitzero"`
}
}
func ParseGetMetadataAgentProviderGroupsResponse ¶
func ParseGetMetadataAgentProviderGroupsResponse(rsp *http.Response) (*GetMetadataAgentProviderGroupsResponse, error)
ParseGetMetadataAgentProviderGroupsResponse parses an HTTP response from a GetMetadataAgentProviderGroupsWithResponse call
func (GetMetadataAgentProviderGroupsResponse) ContentType ¶
func (r GetMetadataAgentProviderGroupsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetMetadataAgentProviderGroupsResponse) GetBody ¶
func (r GetMetadataAgentProviderGroupsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetMetadataAgentProviderGroupsResponse) GetJSON200 ¶
func (r GetMetadataAgentProviderGroupsResponse) GetJSON200() *struct { MediaContainer struct { MetadataAgentProviderGroup []MetadataAgentProviderGroup `json:"MetadataAgentProviderGroup,omitempty,omitzero"` Identifier string `json:"identifier,omitempty,omitzero"` // Offset The offset of where this container page starts among the total objects available. Also provided in the X-Plex-Container-Start header Offset int `json:"offset,omitempty,omitzero"` Size int `json:"size,omitempty,omitzero"` // TotalSize The total size of objects available. Also provided in the X-Plex-Container-Total-Size header TotalSize int `json:"totalSize,omitempty,omitzero"` } `json:"MediaContainer,omitempty,omitzero"` }
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetMetadataAgentProviderGroupsResponse) Status ¶
func (r GetMetadataAgentProviderGroupsResponse) Status() string
Status returns HTTPResponse.Status
func (GetMetadataAgentProviderGroupsResponse) StatusCode ¶
func (r GetMetadataAgentProviderGroupsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetMetadataAgentProviderResponse ¶
type GetMetadataAgentProviderResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *MetadataAgentProviderManagerSlashGetResponses200
}
func ParseGetMetadataAgentProviderResponse ¶
func ParseGetMetadataAgentProviderResponse(rsp *http.Response) (*GetMetadataAgentProviderResponse, error)
ParseGetMetadataAgentProviderResponse parses an HTTP response from a GetMetadataAgentProviderWithResponse call
func (GetMetadataAgentProviderResponse) ContentType ¶
func (r GetMetadataAgentProviderResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetMetadataAgentProviderResponse) GetBody ¶
func (r GetMetadataAgentProviderResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetMetadataAgentProviderResponse) GetJSON200 ¶
func (r GetMetadataAgentProviderResponse) GetJSON200() *MetadataAgentProviderManagerSlashGetResponses200
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetMetadataAgentProviderResponse) Status ¶
func (r GetMetadataAgentProviderResponse) Status() string
Status returns HTTPResponse.Status
func (GetMetadataAgentProviderResponse) StatusCode ¶
func (r GetMetadataAgentProviderResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetMetadataAgentProvidersParams ¶
type GetMetadataAgentProvidersParams struct {
// MetadataTypes A comma-separated list of metadata types to filter the providers by. If not specified, all providers are returned.
MetadataTypes []int `form:"metadataTypes,omitempty" json:"metadataTypes,omitempty,omitzero"`
}
GetMetadataAgentProvidersParams defines parameters for GetMetadataAgentProviders.
type GetMetadataAgentProvidersResponse ¶
type GetMetadataAgentProvidersResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *struct {
MediaContainer struct {
MetadataAgentProvider []MetadataAgentProvider `json:"MetadataAgentProvider,omitempty,omitzero"`
Identifier string `json:"identifier,omitempty,omitzero"`
// Offset The offset of where this container page starts among the total objects available. Also provided in the X-Plex-Container-Start header
Offset int `json:"offset,omitempty,omitzero"`
Size int `json:"size,omitempty,omitzero"`
// TotalSize The total size of objects available. Also provided in the X-Plex-Container-Total-Size header
TotalSize int `json:"totalSize,omitempty,omitzero"`
} `json:"MediaContainer,omitempty,omitzero"`
}
}
func ParseGetMetadataAgentProvidersResponse ¶
func ParseGetMetadataAgentProvidersResponse(rsp *http.Response) (*GetMetadataAgentProvidersResponse, error)
ParseGetMetadataAgentProvidersResponse parses an HTTP response from a GetMetadataAgentProvidersWithResponse call
func (GetMetadataAgentProvidersResponse) ContentType ¶
func (r GetMetadataAgentProvidersResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetMetadataAgentProvidersResponse) GetBody ¶
func (r GetMetadataAgentProvidersResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetMetadataAgentProvidersResponse) GetJSON200 ¶
func (r GetMetadataAgentProvidersResponse) GetJSON200() *struct { MediaContainer struct { MetadataAgentProvider []MetadataAgentProvider `json:"MetadataAgentProvider,omitempty,omitzero"` Identifier string `json:"identifier,omitempty,omitzero"` // Offset The offset of where this container page starts among the total objects available. Also provided in the X-Plex-Container-Start header Offset int `json:"offset,omitempty,omitzero"` Size int `json:"size,omitempty,omitzero"` // TotalSize The total size of objects available. Also provided in the X-Plex-Container-Total-Size header TotalSize int `json:"totalSize,omitempty,omitzero"` } `json:"MediaContainer,omitempty,omitzero"` }
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetMetadataAgentProvidersResponse) Status ¶
func (r GetMetadataAgentProvidersResponse) Status() string
Status returns HTTPResponse.Status
func (GetMetadataAgentProvidersResponse) StatusCode ¶
func (r GetMetadataAgentProvidersResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetResponses200 ¶
type GetResponses200 struct {
MediaContainer struct {
Hub []struct {
// HomeVisibility Whether this hub is visible on the home screen
// - all: Visible to all users
// - none: Visible to no users
// - admin: Visible to only admin users
// - shared: Visible to shared users
HomeVisibility GetResponses200MediaContainerHubHomeVisibility `json:"homeVisibility,omitempty,omitzero"`
// Identifier The identifier for this hub
Identifier string `json:"identifier,omitempty,omitzero"`
// PromotedToOwnHome Whether this hub is visible to admin user home
PromotedToOwnHome bool `json:"promotedToOwnHome,omitempty,omitzero"`
// PromotedToRecommended Whether this hub is promoted to all for recommendations
PromotedToRecommended bool `json:"promotedToRecommended,omitempty,omitzero"`
// PromotedToSharedHome Whether this hub is visible to shared user's home
PromotedToSharedHome bool `json:"promotedToSharedHome,omitempty,omitzero"`
// RecommendationsVisibility The visibility of this hub in recommendations:
// - all: Visible to all users
// - none: Visible to no users
// - admin: Visible to only admin users
// - shared: Visible to shared users
RecommendationsVisibility GetResponses200MediaContainerHubRecommendationsVisibility `json:"recommendationsVisibility,omitempty,omitzero"`
// Title The title of this hub
Title string `json:"title,omitempty,omitzero"`
} `json:"Hub,omitempty,omitzero"`
Identifier string `json:"identifier,omitempty,omitzero"`
// Offset The offset of where this container page starts among the total objects available. Also provided in the X-Plex-Container-Start header
Offset int `json:"offset,omitempty,omitzero"`
Size int `json:"size,omitempty,omitzero"`
// TotalSize The total size of objects available. Also provided in the X-Plex-Container-Total-Size header
TotalSize int `json:"totalSize,omitempty,omitzero"`
} `json:"MediaContainer,omitempty,omitzero"`
}
GetResponses200 defines model for get-responses-200.
type GetResponses200MediaContainerHubHomeVisibility ¶
type GetResponses200MediaContainerHubHomeVisibility string
GetResponses200MediaContainerHubHomeVisibility Whether this hub is visible on the home screen
- all: Visible to all users
- none: Visible to no users
- admin: Visible to only admin users
- shared: Visible to shared users
const ( GetResponses200MediaContainerHubHomeVisibilityAdmin GetResponses200MediaContainerHubHomeVisibility = "admin" GetResponses200MediaContainerHubHomeVisibilityAll GetResponses200MediaContainerHubHomeVisibility = "all" GetResponses200MediaContainerHubHomeVisibilityNone GetResponses200MediaContainerHubHomeVisibility = "none" )
Defines values for GetResponses200MediaContainerHubHomeVisibility.
func (GetResponses200MediaContainerHubHomeVisibility) Valid ¶
func (e GetResponses200MediaContainerHubHomeVisibility) Valid() bool
Valid indicates whether the value is a known member of the GetResponses200MediaContainerHubHomeVisibility enum.
type GetResponses200MediaContainerHubRecommendationsVisibility ¶
type GetResponses200MediaContainerHubRecommendationsVisibility string
GetResponses200MediaContainerHubRecommendationsVisibility The visibility of this hub in recommendations:
- all: Visible to all users
- none: Visible to no users
- admin: Visible to only admin users
- shared: Visible to shared users
const ( GetResponses200MediaContainerHubRecommendationsVisibilityAdmin GetResponses200MediaContainerHubRecommendationsVisibility = "admin" GetResponses200MediaContainerHubRecommendationsVisibilityAll GetResponses200MediaContainerHubRecommendationsVisibility = "all" GetResponses200MediaContainerHubRecommendationsVisibilityNone GetResponses200MediaContainerHubRecommendationsVisibility = "none" )
Defines values for GetResponses200MediaContainerHubRecommendationsVisibility.
func (GetResponses200MediaContainerHubRecommendationsVisibility) Valid ¶
func (e GetResponses200MediaContainerHubRecommendationsVisibility) Valid() bool
Valid indicates whether the value is a known member of the GetResponses200MediaContainerHubRecommendationsVisibility enum.
type GetSlashResponse ¶
type GetSlashResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *struct {
MediaContainer struct {
Directory []struct {
Count int `json:"count,omitempty,omitzero"`
// Key The key where this directory is found
Key string `json:"key,omitempty,omitzero"`
Title string `json:"title,omitempty,omitzero"`
} `json:"Directory,omitempty,omitzero"`
AllowCameraUpload bool `json:"allowCameraUpload,omitempty,omitzero"`
AllowChannelAccess bool `json:"allowChannelAccess,omitempty,omitzero"`
AllowMediaDeletion bool `json:"allowMediaDeletion,omitempty,omitzero"`
AllowSharing bool `json:"allowSharing,omitempty,omitzero"`
AllowSync bool `json:"allowSync,omitempty,omitzero"`
AllowTuners bool `json:"allowTuners,omitempty,omitzero"`
BackgroundProcessing bool `json:"backgroundProcessing,omitempty,omitzero"`
Certificate bool `json:"certificate,omitempty,omitzero"`
CompanionProxy bool `json:"companionProxy,omitempty,omitzero"`
CountryCode string `json:"countryCode,omitempty,omitzero"`
Diagnostics string `json:"diagnostics,omitempty,omitzero"`
EventStream bool `json:"eventStream,omitempty,omitzero"`
FriendlyName string `json:"friendlyName,omitempty,omitzero"`
HubSearch bool `json:"hubSearch,omitempty,omitzero"`
Identifier string `json:"identifier,omitempty,omitzero"`
ItemClusters bool `json:"itemClusters,omitempty,omitzero"`
Livetv int `json:"livetv,omitempty,omitzero"`
MachineIdentifier interface{} `json:"machineIdentifier,omitempty,omitzero"`
MediaProviders bool `json:"mediaProviders,omitempty,omitzero"`
Multiuser bool `json:"multiuser,omitempty,omitzero"`
MusicAnalysis int `json:"musicAnalysis,omitempty,omitzero"`
MyPlex bool `json:"myPlex,omitempty,omitzero"`
MyPlexMappingState interface{} `json:"myPlexMappingState,omitempty,omitzero"`
MyPlexSigninState interface{} `json:"myPlexSigninState,omitempty,omitzero"`
MyPlexSubscription bool `json:"myPlexSubscription,omitempty,omitzero"`
MyPlexUsername string `json:"myPlexUsername,omitempty,omitzero"`
OfflineTranscode interface{} `json:"offlineTranscode,omitempty,omitzero"`
// Offset The offset of where this container page starts among the total objects available. Also provided in the X-Plex-Container-Start header
Offset int `json:"offset,omitempty,omitzero"`
// OwnerFeatures A comma-separated list of features which are enabled for the server owner
OwnerFeatures string `json:"ownerFeatures,omitempty,omitzero"`
Platform string `json:"platform,omitempty,omitzero"`
PlatformVersion string `json:"platformVersion,omitempty,omitzero"`
PluginHost bool `json:"pluginHost,omitempty,omitzero"`
PushNotifications bool `json:"pushNotifications,omitempty,omitzero"`
ReadOnlyLibraries bool `json:"readOnlyLibraries,omitempty,omitzero"`
Size int `json:"size,omitempty,omitzero"`
StreamingBrainABRVersion int `json:"streamingBrainABRVersion,omitempty,omitzero"`
StreamingBrainVersion int `json:"streamingBrainVersion,omitempty,omitzero"`
Sync bool `json:"sync,omitempty,omitzero"`
// TotalSize The total size of objects available. Also provided in the X-Plex-Container-Total-Size header
TotalSize int `json:"totalSize,omitempty,omitzero"`
TranscoderActiveVideoSessions int `json:"transcoderActiveVideoSessions,omitempty,omitzero"`
TranscoderAudio bool `json:"transcoderAudio,omitempty,omitzero"`
TranscoderLyrics bool `json:"transcoderLyrics,omitempty,omitzero"`
TranscoderPhoto bool `json:"transcoderPhoto,omitempty,omitzero"`
TranscoderSubtitles bool `json:"transcoderSubtitles,omitempty,omitzero"`
TranscoderVideo bool `json:"transcoderVideo,omitempty,omitzero"`
// TranscoderVideoBitrates The suggested video quality bitrates to present to the user
TranscoderVideoBitrates interface{} `json:"transcoderVideoBitrates,omitempty,omitzero"`
TranscoderVideoQualities string `json:"transcoderVideoQualities,omitempty,omitzero"`
// TranscoderVideoResolutions The suggested video resolutions to the above quality bitrates
TranscoderVideoResolutions interface{} `json:"transcoderVideoResolutions,omitempty,omitzero"`
UpdatedAt int `json:"updatedAt,omitempty,omitzero"`
Updater bool `json:"updater,omitempty,omitzero"`
Version string `json:"version,omitempty,omitzero"`
VoiceSearch bool `json:"voiceSearch,omitempty,omitzero"`
} `json:"MediaContainer,omitempty,omitzero"`
}
}
func ParseGetSlashResponse ¶
func ParseGetSlashResponse(rsp *http.Response) (*GetSlashResponse, error)
ParseGetSlashResponse parses an HTTP response from a GetSlashWithResponse call
func (GetSlashResponse) ContentType ¶
func (r GetSlashResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetSlashResponse) GetBody ¶
func (r GetSlashResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetSlashResponse) GetJSON200 ¶
func (r GetSlashResponse) GetJSON200() *struct { MediaContainer struct { Directory []struct { Count int `json:"count,omitempty,omitzero"` // Key The key where this directory is found Key string `json:"key,omitempty,omitzero"` Title string `json:"title,omitempty,omitzero"` } `json:"Directory,omitempty,omitzero"` AllowCameraUpload bool `json:"allowCameraUpload,omitempty,omitzero"` AllowChannelAccess bool `json:"allowChannelAccess,omitempty,omitzero"` AllowMediaDeletion bool `json:"allowMediaDeletion,omitempty,omitzero"` AllowSharing bool `json:"allowSharing,omitempty,omitzero"` AllowSync bool `json:"allowSync,omitempty,omitzero"` AllowTuners bool `json:"allowTuners,omitempty,omitzero"` BackgroundProcessing bool `json:"backgroundProcessing,omitempty,omitzero"` Certificate bool `json:"certificate,omitempty,omitzero"` CompanionProxy bool `json:"companionProxy,omitempty,omitzero"` CountryCode string `json:"countryCode,omitempty,omitzero"` Diagnostics string `json:"diagnostics,omitempty,omitzero"` EventStream bool `json:"eventStream,omitempty,omitzero"` FriendlyName string `json:"friendlyName,omitempty,omitzero"` HubSearch bool `json:"hubSearch,omitempty,omitzero"` Identifier string `json:"identifier,omitempty,omitzero"` ItemClusters bool `json:"itemClusters,omitempty,omitzero"` Livetv int `json:"livetv,omitempty,omitzero"` MachineIdentifier interface{} `json:"machineIdentifier,omitempty,omitzero"` MediaProviders bool `json:"mediaProviders,omitempty,omitzero"` Multiuser bool `json:"multiuser,omitempty,omitzero"` MusicAnalysis int `json:"musicAnalysis,omitempty,omitzero"` MyPlex bool `json:"myPlex,omitempty,omitzero"` MyPlexMappingState interface{} `json:"myPlexMappingState,omitempty,omitzero"` MyPlexSigninState interface{} `json:"myPlexSigninState,omitempty,omitzero"` MyPlexSubscription bool `json:"myPlexSubscription,omitempty,omitzero"` MyPlexUsername string `json:"myPlexUsername,omitempty,omitzero"` OfflineTranscode interface{} `json:"offlineTranscode,omitempty,omitzero"` // Offset The offset of where this container page starts among the total objects available. Also provided in the X-Plex-Container-Start header Offset int `json:"offset,omitempty,omitzero"` // OwnerFeatures A comma-separated list of features which are enabled for the server owner OwnerFeatures string `json:"ownerFeatures,omitempty,omitzero"` Platform string `json:"platform,omitempty,omitzero"` PlatformVersion string `json:"platformVersion,omitempty,omitzero"` PluginHost bool `json:"pluginHost,omitempty,omitzero"` PushNotifications bool `json:"pushNotifications,omitempty,omitzero"` ReadOnlyLibraries bool `json:"readOnlyLibraries,omitempty,omitzero"` Size int `json:"size,omitempty,omitzero"` StreamingBrainABRVersion int `json:"streamingBrainABRVersion,omitempty,omitzero"` StreamingBrainVersion int `json:"streamingBrainVersion,omitempty,omitzero"` Sync bool `json:"sync,omitempty,omitzero"` // TotalSize The total size of objects available. Also provided in the X-Plex-Container-Total-Size header TotalSize int `json:"totalSize,omitempty,omitzero"` TranscoderActiveVideoSessions int `json:"transcoderActiveVideoSessions,omitempty,omitzero"` TranscoderAudio bool `json:"transcoderAudio,omitempty,omitzero"` TranscoderLyrics bool `json:"transcoderLyrics,omitempty,omitzero"` TranscoderPhoto bool `json:"transcoderPhoto,omitempty,omitzero"` TranscoderSubtitles bool `json:"transcoderSubtitles,omitempty,omitzero"` TranscoderVideo bool `json:"transcoderVideo,omitempty,omitzero"` // TranscoderVideoBitrates The suggested video quality bitrates to present to the user TranscoderVideoBitrates interface{} `json:"transcoderVideoBitrates,omitempty,omitzero"` TranscoderVideoQualities string `json:"transcoderVideoQualities,omitempty,omitzero"` // TranscoderVideoResolutions The suggested video resolutions to the above quality bitrates TranscoderVideoResolutions interface{} `json:"transcoderVideoResolutions,omitempty,omitzero"` UpdatedAt int `json:"updatedAt,omitempty,omitzero"` Updater bool `json:"updater,omitempty,omitzero"` Version string `json:"version,omitempty,omitzero"` VoiceSearch bool `json:"voiceSearch,omitempty,omitzero"` } `json:"MediaContainer,omitempty,omitzero"` }
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetSlashResponse) Status ¶
func (r GetSlashResponse) Status() string
Status returns HTTPResponse.Status
func (GetSlashResponse) StatusCode ¶
func (r GetSlashResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type HasMDEParam ¶
type HasMDEParam int
HasMDEParam defines model for 13.
const ( HasMDEParamN0 HasMDEParam = 0 HasMDEParamN1 HasMDEParam = 1 )
Defines values for HasMDEParam.
func (HasMDEParam) Valid ¶
func (e HasMDEParam) Valid() bool
Valid indicates whether the value is a known member of the HasMDEParam enum.
type HistoryAllGetResponses200 ¶
type HistoryAllGetResponses200 struct {
MediaContainer HistoryAllGetResponses200_MediaContainer `json:"MediaContainer,omitempty,omitzero"`
}
HistoryAllGetResponses200 defines model for historyAll-get-responses-200.
type HistoryAllGetResponses200_MediaContainer ¶
type HistoryAllGetResponses200_MediaContainer struct {
Metadata []struct {
// AccountID The account id of this playback
AccountID int `json:"accountID,omitempty,omitzero"`
// DeviceID The device id which played the item
DeviceID int `json:"deviceID,omitempty,omitzero"`
// GrandparentKey The `key` of the grandparent of the item played, e.g. the show of an episode
GrandparentKey string `json:"grandparentKey,omitempty,omitzero"`
// GrandparentTitle The `title` of the grandparent of the item played
GrandparentTitle string `json:"grandparentTitle,omitempty,omitzero"`
// HistoryKey The key for this individual history item
HistoryKey string `json:"historyKey,omitempty,omitzero"`
// Index The episode number for episodes, the season number for seasons, or the track number for audio tracks
Index int `json:"index,omitempty,omitzero"`
// Key The metadata key for the item played
Key string `json:"key,omitempty,omitzero"`
// LibrarySectionID The library section id containing the item played
LibrarySectionID string `json:"librarySectionID,omitempty,omitzero"`
// OriginallyAvailableAt The originally available at of the item played
OriginallyAvailableAt string `json:"originallyAvailableAt,omitempty,omitzero"`
// ParentIndex The `index` of the parent of the item played
ParentIndex int `json:"parentIndex,omitempty,omitzero"`
// ParentKey The `key` of the parent of the item played
ParentKey string `json:"parentKey,omitempty,omitzero"`
// RatingKey The rating key for the item played
RatingKey string `json:"ratingKey,omitempty,omitzero"`
// Thumb The thumb of the item played
Thumb string `json:"thumb,omitempty,omitzero"`
// Title The title of the item played
Title string `json:"title,omitempty,omitzero"`
// Type The metadata type of the item played
Type string `json:"type,omitempty,omitzero"`
// ViewedAt The time when the item was played
ViewedAt int `json:"viewedAt,omitempty,omitzero"`
} `json:"Metadata,omitempty,omitzero"`
Identifier string `json:"identifier,omitempty,omitzero"`
// Offset The offset of where this container page starts among the total objects available. Also provided in the X-Plex-Container-Start header
Offset int `json:"offset,omitempty,omitzero"`
Size int `json:"size,omitempty,omitzero"`
// TotalSize The total size of objects available. Also provided in the X-Plex-Container-Total-Size header
TotalSize int `json:"totalSize,omitempty,omitzero"`
AdditionalProperties map[string]interface{} `json:"-"`
}
HistoryAllGetResponses200_MediaContainer defines model for HistoryAllGetResponses200.MediaContainer.
func (HistoryAllGetResponses200_MediaContainer) Get ¶
func (a HistoryAllGetResponses200_MediaContainer) Get(fieldName string) (value interface{}, found bool)
Getter for additional properties for HistoryAllGetResponses200_MediaContainer. Returns the specified element and whether it was found
func (HistoryAllGetResponses200_MediaContainer) MarshalJSON ¶
func (a HistoryAllGetResponses200_MediaContainer) MarshalJSON() ([]byte, error)
Override default JSON handling for HistoryAllGetResponses200_MediaContainer to handle AdditionalProperties
func (*HistoryAllGetResponses200_MediaContainer) Set ¶
func (a *HistoryAllGetResponses200_MediaContainer) Set(fieldName string, value interface{})
Setter for additional properties for HistoryAllGetResponses200_MediaContainer
func (*HistoryAllGetResponses200_MediaContainer) UnmarshalJSON ¶
func (a *HistoryAllGetResponses200_MediaContainer) UnmarshalJSON(b []byte) error
Override default JSON handling for HistoryAllGetResponses200_MediaContainer to handle AdditionalProperties
type HttpRequestDoer ¶
Doer performs HTTP requests.
The standard http.Client implements this interface.
type Hub ¶
type Hub struct {
Metadata []Metadata `json:"Metadata,omitempty,omitzero"`
Context string `json:"context,omitempty,omitzero"`
// HubIdentifier A unique identifier for the hub
HubIdentifier string `json:"hubIdentifier,omitempty,omitzero"`
// HubKey A key at which the exact content currently displayed can be fetched again. This is particularly important when a hub is marked as random and requesting the `key` may get different results. It's otherwise optional.
HubKey string `json:"hubKey,omitempty,omitzero"`
// Key The key at which all of the content for this hub can be retrieved
Key string `json:"key,omitempty,omitzero"`
// More "A boolean indicating that the hub contains more than what's included in the current response."
More bool `json:"more,omitempty,omitzero"`
// Promoted Indicating if the hub should be promoted to the user's homescreen
Promoted bool `json:"promoted,omitempty,omitzero"`
// Random Indicating that the contents of the hub may change on each request
Random bool `json:"random,omitempty,omitzero"`
Size int `json:"size,omitempty,omitzero"`
// Style A suggestion on how this hub's contents might be displayed by a client. Some examples include `hero`, `list`, `spotlight`, and `upsell`
Style string `json:"style,omitempty,omitzero"`
// Subtype The subtype of the items contained in this hub, or possibly `mixed` if there are multiple types
Subtype string `json:"subtype,omitempty,omitzero"`
// Title A title for this grouping of content
Title string `json:"title,omitempty,omitzero"`
TotalSize int `json:"totalSize,omitempty,omitzero"`
// Type The type of the items contained in this hub, or possibly `mixed` if there are multiple types
Type string `json:"type,omitempty,omitzero"`
AdditionalProperties map[string]interface{} `json:"-"`
}
Hub defines model for hub.
func (Hub) Get ¶
Getter for additional properties for Hub. Returns the specified element and whether it was found
func (Hub) MarshalJSON ¶
Override default JSON handling for Hub to handle AdditionalProperties
func (*Hub) UnmarshalJSON ¶
Override default JSON handling for Hub to handle AdditionalProperties
type HubsGetContinueWatchingParams ¶
type HubsGetContinueWatchingParams struct {
// Count Limit hub entry to count items
Count int `form:"count,omitempty" json:"count,omitempty,omitzero"`
}
HubsGetContinueWatchingParams defines parameters for HubsGetContinueWatching.
type HubsGetContinueWatchingResponse ¶
type HubsGetContinueWatchingResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *struct {
MediaContainer struct {
Hub []Hub `json:"Hub,omitempty,omitzero"`
Identifier string `json:"identifier,omitempty,omitzero"`
// Offset The offset of where this container page starts among the total objects available. Also provided in the X-Plex-Container-Start header
Offset int `json:"offset,omitempty,omitzero"`
Size int `json:"size,omitempty,omitzero"`
// TotalSize The total size of objects available. Also provided in the X-Plex-Container-Total-Size header
TotalSize int `json:"totalSize,omitempty,omitzero"`
} `json:"MediaContainer,omitempty,omitzero"`
}
// Headers200 the parsed response headers for an HTTP 200 response
Headers200 *HubsGetContinueWatchingResponse200Headers
}
func ParseHubsGetContinueWatchingResponse ¶
func ParseHubsGetContinueWatchingResponse(rsp *http.Response) (*HubsGetContinueWatchingResponse, error)
ParseHubsGetContinueWatchingResponse parses an HTTP response from a HubsGetContinueWatchingWithResponse call
func (HubsGetContinueWatchingResponse) ContentType ¶
func (r HubsGetContinueWatchingResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (HubsGetContinueWatchingResponse) GetBody ¶
func (r HubsGetContinueWatchingResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (HubsGetContinueWatchingResponse) GetJSON200 ¶
func (r HubsGetContinueWatchingResponse) GetJSON200() *struct { MediaContainer struct { Hub []Hub `json:"Hub,omitempty,omitzero"` Identifier string `json:"identifier,omitempty,omitzero"` // Offset The offset of where this container page starts among the total objects available. Also provided in the X-Plex-Container-Start header Offset int `json:"offset,omitempty,omitzero"` Size int `json:"size,omitempty,omitzero"` // TotalSize The total size of objects available. Also provided in the X-Plex-Container-Total-Size header TotalSize int `json:"totalSize,omitempty,omitzero"` } `json:"MediaContainer,omitempty,omitzero"` }
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (HubsGetContinueWatchingResponse) Status ¶
func (r HubsGetContinueWatchingResponse) Status() string
Status returns HTTPResponse.Status
func (HubsGetContinueWatchingResponse) StatusCode ¶
func (r HubsGetContinueWatchingResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type HubsGetContinueWatchingResponse200Headers ¶
type HubsGetContinueWatchingResponse200Headers struct {
XPlexContainerStart int
XPlexContainerTotalSize int
}
HubsGetContinueWatchingResponse200Headers the declared response headers of an HTTP 200 response for HubsGetContinueWatching
type HubsGetItemsParams ¶
type HubsGetItemsParams struct {
// Count Limit hub entry to count items
Count int `form:"count,omitempty" json:"count,omitempty,omitzero"`
// Identifier If provided, limit to only specified hubs
Identifier []string `form:"identifier" json:"identifier"`
}
HubsGetItemsParams defines parameters for HubsGetItems.
type HubsGetItemsResponse ¶
type HubsGetItemsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *struct {
MediaContainer PropertiesMediaContainer `json:"MediaContainer,omitempty,omitzero"`
}
// Headers200 the parsed response headers for an HTTP 200 response
Headers200 *HubsGetItemsResponse200Headers
}
func ParseHubsGetItemsResponse ¶
func ParseHubsGetItemsResponse(rsp *http.Response) (*HubsGetItemsResponse, error)
ParseHubsGetItemsResponse parses an HTTP response from a HubsGetItemsWithResponse call
func (HubsGetItemsResponse) ContentType ¶
func (r HubsGetItemsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (HubsGetItemsResponse) GetBody ¶
func (r HubsGetItemsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (HubsGetItemsResponse) GetJSON200 ¶
func (r HubsGetItemsResponse) GetJSON200() *struct { MediaContainer PropertiesMediaContainer `json:"MediaContainer,omitempty,omitzero"` }
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (HubsGetItemsResponse) Status ¶
func (r HubsGetItemsResponse) Status() string
Status returns HTTPResponse.Status
func (HubsGetItemsResponse) StatusCode ¶
func (r HubsGetItemsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type HubsGetItemsResponse200Headers ¶
HubsGetItemsResponse200Headers the declared response headers of an HTTP 200 response for HubsGetItems
type HubsGetMetadataMetadataParams ¶
type HubsGetMetadataMetadataParams struct {
// Count Limit hub entries to count items
Count int `form:"count,omitempty" json:"count,omitempty,omitzero"`
// OnlyTransient Only return hubs which are "transient", meaning those which are prone to changing after media playback or addition (e.g. On Deck, or Recently Added)
OnlyTransient HubsGetMetadataMetadataParamsOnlyTransient `form:"onlyTransient,omitempty" json:"onlyTransient,omitempty,omitzero"`
}
HubsGetMetadataMetadataParams defines parameters for HubsGetMetadataMetadata.
type HubsGetMetadataMetadataParamsOnlyTransient ¶
type HubsGetMetadataMetadataParamsOnlyTransient int
HubsGetMetadataMetadataParamsOnlyTransient defines parameters for HubsGetMetadataMetadata.
const ( HubsGetMetadataMetadataParamsOnlyTransientN0 HubsGetMetadataMetadataParamsOnlyTransient = 0 HubsGetMetadataMetadataParamsOnlyTransientN1 HubsGetMetadataMetadataParamsOnlyTransient = 1 )
Defines values for HubsGetMetadataMetadataParamsOnlyTransient.
func (HubsGetMetadataMetadataParamsOnlyTransient) Valid ¶
func (e HubsGetMetadataMetadataParamsOnlyTransient) Valid() bool
Valid indicates whether the value is a known member of the HubsGetMetadataMetadataParamsOnlyTransient enum.
type HubsGetMetadataMetadataPostplayParams ¶
type HubsGetMetadataMetadataPostplayParams struct {
// Count Limit hub entries to count items
Count int `form:"count,omitempty" json:"count,omitempty,omitzero"`
// OnlyTransient Only return hubs which are "transient", meaning those which are prone to changing after media playback or addition (e.g. On Deck, or Recently Added)
OnlyTransient HubsGetMetadataMetadataPostplayParamsOnlyTransient `form:"onlyTransient,omitempty" json:"onlyTransient,omitempty,omitzero"`
}
HubsGetMetadataMetadataPostplayParams defines parameters for HubsGetMetadataMetadataPostplay.
type HubsGetMetadataMetadataPostplayParamsOnlyTransient ¶
type HubsGetMetadataMetadataPostplayParamsOnlyTransient int
HubsGetMetadataMetadataPostplayParamsOnlyTransient defines parameters for HubsGetMetadataMetadataPostplay.
const ( HubsGetMetadataMetadataPostplayParamsOnlyTransientN0 HubsGetMetadataMetadataPostplayParamsOnlyTransient = 0 HubsGetMetadataMetadataPostplayParamsOnlyTransientN1 HubsGetMetadataMetadataPostplayParamsOnlyTransient = 1 )
Defines values for HubsGetMetadataMetadataPostplayParamsOnlyTransient.
func (HubsGetMetadataMetadataPostplayParamsOnlyTransient) Valid ¶
func (e HubsGetMetadataMetadataPostplayParamsOnlyTransient) Valid() bool
Valid indicates whether the value is a known member of the HubsGetMetadataMetadataPostplayParamsOnlyTransient enum.
type HubsGetMetadataMetadataPostplayResponse ¶
type HubsGetMetadataMetadataPostplayResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *Responses200
// Headers200 the parsed response headers for an HTTP 200 response
Headers200 *HubsGetMetadataMetadataPostplayResponse200Headers
}
func ParseHubsGetMetadataMetadataPostplayResponse ¶
func ParseHubsGetMetadataMetadataPostplayResponse(rsp *http.Response) (*HubsGetMetadataMetadataPostplayResponse, error)
ParseHubsGetMetadataMetadataPostplayResponse parses an HTTP response from a HubsGetMetadataMetadataPostplayWithResponse call
func (HubsGetMetadataMetadataPostplayResponse) ContentType ¶
func (r HubsGetMetadataMetadataPostplayResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (HubsGetMetadataMetadataPostplayResponse) GetBody ¶
func (r HubsGetMetadataMetadataPostplayResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (HubsGetMetadataMetadataPostplayResponse) GetJSON200 ¶
func (r HubsGetMetadataMetadataPostplayResponse) GetJSON200() *Responses200
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (HubsGetMetadataMetadataPostplayResponse) Status ¶
func (r HubsGetMetadataMetadataPostplayResponse) Status() string
Status returns HTTPResponse.Status
func (HubsGetMetadataMetadataPostplayResponse) StatusCode ¶
func (r HubsGetMetadataMetadataPostplayResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type HubsGetMetadataMetadataPostplayResponse200Headers ¶
type HubsGetMetadataMetadataPostplayResponse200Headers struct {
XPlexContainerStart int
XPlexContainerTotalSize int
}
HubsGetMetadataMetadataPostplayResponse200Headers the declared response headers of an HTTP 200 response for HubsGetMetadataMetadataPostplay
type HubsGetMetadataMetadataRelatedParams ¶
type HubsGetMetadataMetadataRelatedParams struct {
// Count Limit hub entries to count items
Count int `form:"count,omitempty" json:"count,omitempty,omitzero"`
// OnlyTransient Only return hubs which are "transient", meaning those which are prone to changing after media playback or addition (e.g. On Deck, or Recently Added)
OnlyTransient HubsGetMetadataMetadataRelatedParamsOnlyTransient `form:"onlyTransient,omitempty" json:"onlyTransient,omitempty,omitzero"`
}
HubsGetMetadataMetadataRelatedParams defines parameters for HubsGetMetadataMetadataRelated.
type HubsGetMetadataMetadataRelatedParamsOnlyTransient ¶
type HubsGetMetadataMetadataRelatedParamsOnlyTransient int
HubsGetMetadataMetadataRelatedParamsOnlyTransient defines parameters for HubsGetMetadataMetadataRelated.
const ( HubsGetMetadataMetadataRelatedParamsOnlyTransientN0 HubsGetMetadataMetadataRelatedParamsOnlyTransient = 0 HubsGetMetadataMetadataRelatedParamsOnlyTransientN1 HubsGetMetadataMetadataRelatedParamsOnlyTransient = 1 )
Defines values for HubsGetMetadataMetadataRelatedParamsOnlyTransient.
func (HubsGetMetadataMetadataRelatedParamsOnlyTransient) Valid ¶
func (e HubsGetMetadataMetadataRelatedParamsOnlyTransient) Valid() bool
Valid indicates whether the value is a known member of the HubsGetMetadataMetadataRelatedParamsOnlyTransient enum.
type HubsGetMetadataMetadataRelatedResponse ¶
type HubsGetMetadataMetadataRelatedResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *Responses200
// Headers200 the parsed response headers for an HTTP 200 response
Headers200 *HubsGetMetadataMetadataRelatedResponse200Headers
}
func ParseHubsGetMetadataMetadataRelatedResponse ¶
func ParseHubsGetMetadataMetadataRelatedResponse(rsp *http.Response) (*HubsGetMetadataMetadataRelatedResponse, error)
ParseHubsGetMetadataMetadataRelatedResponse parses an HTTP response from a HubsGetMetadataMetadataRelatedWithResponse call
func (HubsGetMetadataMetadataRelatedResponse) ContentType ¶
func (r HubsGetMetadataMetadataRelatedResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (HubsGetMetadataMetadataRelatedResponse) GetBody ¶
func (r HubsGetMetadataMetadataRelatedResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (HubsGetMetadataMetadataRelatedResponse) GetJSON200 ¶
func (r HubsGetMetadataMetadataRelatedResponse) GetJSON200() *Responses200
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (HubsGetMetadataMetadataRelatedResponse) Status ¶
func (r HubsGetMetadataMetadataRelatedResponse) Status() string
Status returns HTTPResponse.Status
func (HubsGetMetadataMetadataRelatedResponse) StatusCode ¶
func (r HubsGetMetadataMetadataRelatedResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type HubsGetMetadataMetadataRelatedResponse200Headers ¶
type HubsGetMetadataMetadataRelatedResponse200Headers struct {
XPlexContainerStart int
XPlexContainerTotalSize int
}
HubsGetMetadataMetadataRelatedResponse200Headers the declared response headers of an HTTP 200 response for HubsGetMetadataMetadataRelated
type HubsGetMetadataMetadataResponse ¶
type HubsGetMetadataMetadataResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *Responses200
// Headers200 the parsed response headers for an HTTP 200 response
Headers200 *HubsGetMetadataMetadataResponse200Headers
}
func ParseHubsGetMetadataMetadataResponse ¶
func ParseHubsGetMetadataMetadataResponse(rsp *http.Response) (*HubsGetMetadataMetadataResponse, error)
ParseHubsGetMetadataMetadataResponse parses an HTTP response from a HubsGetMetadataMetadataWithResponse call
func (HubsGetMetadataMetadataResponse) ContentType ¶
func (r HubsGetMetadataMetadataResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (HubsGetMetadataMetadataResponse) GetBody ¶
func (r HubsGetMetadataMetadataResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (HubsGetMetadataMetadataResponse) GetJSON200 ¶
func (r HubsGetMetadataMetadataResponse) GetJSON200() *Responses200
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (HubsGetMetadataMetadataResponse) Status ¶
func (r HubsGetMetadataMetadataResponse) Status() string
Status returns HTTPResponse.Status
func (HubsGetMetadataMetadataResponse) StatusCode ¶
func (r HubsGetMetadataMetadataResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type HubsGetMetadataMetadataResponse200Headers ¶
type HubsGetMetadataMetadataResponse200Headers struct {
XPlexContainerStart int
XPlexContainerTotalSize int
}
HubsGetMetadataMetadataResponse200Headers the declared response headers of an HTTP 200 response for HubsGetMetadataMetadata
type HubsGetPopularInLibrariesParams ¶
type HubsGetPopularInLibrariesParams struct {
// Count Limit hub entry to count items
Count int `form:"count,omitempty" json:"count,omitempty,omitzero"`
// ContentDirectoryID Restrict the hub to the given content directory ids
ContentDirectoryID []int `form:"contentDirectoryID,omitempty" json:"contentDirectoryID,omitempty,omitzero"`
}
HubsGetPopularInLibrariesParams defines parameters for HubsGetPopularInLibraries.
type HubsGetPopularInLibrariesResponse ¶
type HubsGetPopularInLibrariesResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *struct {
MediaContainer struct {
Hub []Hub `json:"Hub,omitempty,omitzero"`
Identifier string `json:"identifier,omitempty,omitzero"`
// Offset The offset of where this container page starts among the total objects available. Also provided in the X-Plex-Container-Start header
Offset int `json:"offset,omitempty,omitzero"`
Size int `json:"size,omitempty,omitzero"`
// TotalSize The total size of objects available. Also provided in the X-Plex-Container-Total-Size header
TotalSize int `json:"totalSize,omitempty,omitzero"`
} `json:"MediaContainer,omitempty,omitzero"`
}
// Headers200 the parsed response headers for an HTTP 200 response
Headers200 *HubsGetPopularInLibrariesResponse200Headers
}
func ParseHubsGetPopularInLibrariesResponse ¶
func ParseHubsGetPopularInLibrariesResponse(rsp *http.Response) (*HubsGetPopularInLibrariesResponse, error)
ParseHubsGetPopularInLibrariesResponse parses an HTTP response from a HubsGetPopularInLibrariesWithResponse call
func (HubsGetPopularInLibrariesResponse) ContentType ¶
func (r HubsGetPopularInLibrariesResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (HubsGetPopularInLibrariesResponse) GetBody ¶
func (r HubsGetPopularInLibrariesResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (HubsGetPopularInLibrariesResponse) GetJSON200 ¶
func (r HubsGetPopularInLibrariesResponse) GetJSON200() *struct { MediaContainer struct { Hub []Hub `json:"Hub,omitempty,omitzero"` Identifier string `json:"identifier,omitempty,omitzero"` // Offset The offset of where this container page starts among the total objects available. Also provided in the X-Plex-Container-Start header Offset int `json:"offset,omitempty,omitzero"` Size int `json:"size,omitempty,omitzero"` // TotalSize The total size of objects available. Also provided in the X-Plex-Container-Total-Size header TotalSize int `json:"totalSize,omitempty,omitzero"` } `json:"MediaContainer,omitempty,omitzero"` }
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (HubsGetPopularInLibrariesResponse) Status ¶
func (r HubsGetPopularInLibrariesResponse) Status() string
Status returns HTTPResponse.Status
func (HubsGetPopularInLibrariesResponse) StatusCode ¶
func (r HubsGetPopularInLibrariesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type HubsGetPopularInLibrariesResponse200Headers ¶
type HubsGetPopularInLibrariesResponse200Headers struct {
XPlexContainerStart int
XPlexContainerTotalSize int
}
HubsGetPopularInLibrariesResponse200Headers the declared response headers of an HTTP 200 response for HubsGetPopularInLibraries
type HubsGetPromotedParams ¶
type HubsGetPromotedParams struct {
// Count Limit hub entry to count items
Count int `form:"count,omitempty" json:"count,omitempty,omitzero"`
}
HubsGetPromotedParams defines parameters for HubsGetPromoted.
type HubsGetPromotedResponse ¶
type HubsGetPromotedResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *struct {
MediaContainer struct {
Hub []Hub `json:"Hub,omitempty,omitzero"`
Identifier string `json:"identifier,omitempty,omitzero"`
// Offset The offset of where this container page starts among the total objects available. Also provided in the X-Plex-Container-Start header
Offset int `json:"offset,omitempty,omitzero"`
Size int `json:"size,omitempty,omitzero"`
// TotalSize The total size of objects available. Also provided in the X-Plex-Container-Total-Size header
TotalSize int `json:"totalSize,omitempty,omitzero"`
} `json:"MediaContainer,omitempty,omitzero"`
}
// Headers200 the parsed response headers for an HTTP 200 response
Headers200 *HubsGetPromotedResponse200Headers
}
func ParseHubsGetPromotedResponse ¶
func ParseHubsGetPromotedResponse(rsp *http.Response) (*HubsGetPromotedResponse, error)
ParseHubsGetPromotedResponse parses an HTTP response from a HubsGetPromotedWithResponse call
func (HubsGetPromotedResponse) ContentType ¶
func (r HubsGetPromotedResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (HubsGetPromotedResponse) GetBody ¶
func (r HubsGetPromotedResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (HubsGetPromotedResponse) GetJSON200 ¶
func (r HubsGetPromotedResponse) GetJSON200() *struct { MediaContainer struct { Hub []Hub `json:"Hub,omitempty,omitzero"` Identifier string `json:"identifier,omitempty,omitzero"` // Offset The offset of where this container page starts among the total objects available. Also provided in the X-Plex-Container-Start header Offset int `json:"offset,omitempty,omitzero"` Size int `json:"size,omitempty,omitzero"` // TotalSize The total size of objects available. Also provided in the X-Plex-Container-Total-Size header TotalSize int `json:"totalSize,omitempty,omitzero"` } `json:"MediaContainer,omitempty,omitzero"` }
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (HubsGetPromotedResponse) Status ¶
func (r HubsGetPromotedResponse) Status() string
Status returns HTTPResponse.Status
func (HubsGetPromotedResponse) StatusCode ¶
func (r HubsGetPromotedResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type HubsGetPromotedResponse200Headers ¶
type HubsGetPromotedResponse200Headers struct {
XPlexContainerStart int
XPlexContainerTotalSize int
}
HubsGetPromotedResponse200Headers the declared response headers of an HTTP 200 response for HubsGetPromoted
type HubsGetSearchParams ¶
type HubsGetSearchParams struct {
// Query The query term
Query string `form:"query" json:"query"`
// SectionID This gives context to the search, and can result in re-ordering of search result hubs.
SectionID int `form:"sectionId,omitempty" json:"sectionId,omitempty,omitzero"`
// Limit The number of items to return per hub. 3 if not specified
Limit int `form:"limit,omitempty" json:"limit,omitempty,omitzero"`
}
HubsGetSearchParams defines parameters for HubsGetSearch.
type HubsGetSearchResponse ¶
type HubsGetSearchResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *struct {
MediaContainer struct {
Hub []Hub `json:"Hub,omitempty,omitzero"`
Identifier string `json:"identifier,omitempty,omitzero"`
// Offset The offset of where this container page starts among the total objects available. Also provided in the X-Plex-Container-Start header
Offset int `json:"offset,omitempty,omitzero"`
Size int `json:"size,omitempty,omitzero"`
// TotalSize The total size of objects available. Also provided in the X-Plex-Container-Total-Size header
TotalSize int `json:"totalSize,omitempty,omitzero"`
} `json:"MediaContainer,omitempty,omitzero"`
}
// Headers200 the parsed response headers for an HTTP 200 response
Headers200 *HubsGetSearchResponse200Headers
}
func ParseHubsGetSearchResponse ¶
func ParseHubsGetSearchResponse(rsp *http.Response) (*HubsGetSearchResponse, error)
ParseHubsGetSearchResponse parses an HTTP response from a HubsGetSearchWithResponse call
func (HubsGetSearchResponse) ContentType ¶
func (r HubsGetSearchResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (HubsGetSearchResponse) GetBody ¶
func (r HubsGetSearchResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (HubsGetSearchResponse) GetJSON200 ¶
func (r HubsGetSearchResponse) GetJSON200() *struct { MediaContainer struct { Hub []Hub `json:"Hub,omitempty,omitzero"` Identifier string `json:"identifier,omitempty,omitzero"` // Offset The offset of where this container page starts among the total objects available. Also provided in the X-Plex-Container-Start header Offset int `json:"offset,omitempty,omitzero"` Size int `json:"size,omitempty,omitzero"` // TotalSize The total size of objects available. Also provided in the X-Plex-Container-Total-Size header TotalSize int `json:"totalSize,omitempty,omitzero"` } `json:"MediaContainer,omitempty,omitzero"` }
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (HubsGetSearchResponse) Status ¶
func (r HubsGetSearchResponse) Status() string
Status returns HTTPResponse.Status
func (HubsGetSearchResponse) StatusCode ¶
func (r HubsGetSearchResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type HubsGetSearchResponse200Headers ¶
HubsGetSearchResponse200Headers the declared response headers of an HTTP 200 response for HubsGetSearch
type HubsGetSectionParams ¶
type HubsGetSectionParams struct {
// Count Limit hub entries to count items
Count int `form:"count,omitempty" json:"count,omitempty,omitzero"`
// OnlyTransient Only return hubs which are "transient", meaning those which are prone to changing after media playback or addition (e.g. On Deck, or Recently Added)
OnlyTransient HubsGetSectionParamsOnlyTransient `form:"onlyTransient,omitempty" json:"onlyTransient,omitempty,omitzero"`
}
HubsGetSectionParams defines parameters for HubsGetSection.
type HubsGetSectionParamsOnlyTransient ¶
type HubsGetSectionParamsOnlyTransient int
HubsGetSectionParamsOnlyTransient defines parameters for HubsGetSection.
const ( HubsGetSectionParamsOnlyTransientN0 HubsGetSectionParamsOnlyTransient = 0 HubsGetSectionParamsOnlyTransientN1 HubsGetSectionParamsOnlyTransient = 1 )
Defines values for HubsGetSectionParamsOnlyTransient.
func (HubsGetSectionParamsOnlyTransient) Valid ¶
func (e HubsGetSectionParamsOnlyTransient) Valid() bool
Valid indicates whether the value is a known member of the HubsGetSectionParamsOnlyTransient enum.
type HubsGetSectionResponse ¶
type HubsGetSectionResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *struct {
MediaContainer struct {
Hub []Hub `json:"Hub,omitempty,omitzero"`
Identifier string `json:"identifier,omitempty,omitzero"`
// Offset The offset of where this container page starts among the total objects available. Also provided in the X-Plex-Container-Start header
Offset int `json:"offset,omitempty,omitzero"`
Size int `json:"size,omitempty,omitzero"`
// TotalSize The total size of objects available. Also provided in the X-Plex-Container-Total-Size header
TotalSize int `json:"totalSize,omitempty,omitzero"`
} `json:"MediaContainer,omitempty,omitzero"`
}
// Headers200 the parsed response headers for an HTTP 200 response
Headers200 *HubsGetSectionResponse200Headers
}
func ParseHubsGetSectionResponse ¶
func ParseHubsGetSectionResponse(rsp *http.Response) (*HubsGetSectionResponse, error)
ParseHubsGetSectionResponse parses an HTTP response from a HubsGetSectionWithResponse call
func (HubsGetSectionResponse) ContentType ¶
func (r HubsGetSectionResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (HubsGetSectionResponse) GetBody ¶
func (r HubsGetSectionResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (HubsGetSectionResponse) GetJSON200 ¶
func (r HubsGetSectionResponse) GetJSON200() *struct { MediaContainer struct { Hub []Hub `json:"Hub,omitempty,omitzero"` Identifier string `json:"identifier,omitempty,omitzero"` // Offset The offset of where this container page starts among the total objects available. Also provided in the X-Plex-Container-Start header Offset int `json:"offset,omitempty,omitzero"` Size int `json:"size,omitempty,omitzero"` // TotalSize The total size of objects available. Also provided in the X-Plex-Container-Total-Size header TotalSize int `json:"totalSize,omitempty,omitzero"` } `json:"MediaContainer,omitempty,omitzero"` }
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (HubsGetSectionResponse) Status ¶
func (r HubsGetSectionResponse) Status() string
Status returns HTTPResponse.Status
func (HubsGetSectionResponse) StatusCode ¶
func (r HubsGetSectionResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type HubsGetSectionResponse200Headers ¶
type HubsGetSectionResponse200Headers struct {
XPlexContainerStart int
XPlexContainerTotalSize int
}
HubsGetSectionResponse200Headers the declared response headers of an HTTP 200 response for HubsGetSection
type HubsGetSlashParams ¶
type HubsGetSlashParams struct {
// Count Limit hub entries to count items
Count int `form:"count,omitempty" json:"count,omitempty,omitzero"`
// OnlyTransient Only return hubs which are "transient", meaning those which are prone to changing after media playback or addition (e.g. On Deck, or Recently Added)
OnlyTransient HubsGetSlashParamsOnlyTransient `form:"onlyTransient,omitempty" json:"onlyTransient,omitempty,omitzero"`
// Identifier If provided, limit to only specified hubs
Identifier []string `form:"identifier,omitempty" json:"identifier,omitempty,omitzero"`
}
HubsGetSlashParams defines parameters for HubsGetSlash.
type HubsGetSlashParamsOnlyTransient ¶
type HubsGetSlashParamsOnlyTransient int
HubsGetSlashParamsOnlyTransient defines parameters for HubsGetSlash.
const ( HubsGetSlashParamsOnlyTransientN0 HubsGetSlashParamsOnlyTransient = 0 HubsGetSlashParamsOnlyTransientN1 HubsGetSlashParamsOnlyTransient = 1 )
Defines values for HubsGetSlashParamsOnlyTransient.
func (HubsGetSlashParamsOnlyTransient) Valid ¶
func (e HubsGetSlashParamsOnlyTransient) Valid() bool
Valid indicates whether the value is a known member of the HubsGetSlashParamsOnlyTransient enum.
type HubsGetSlashResponse ¶
type HubsGetSlashResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *struct {
MediaContainer struct {
Hub []Hub `json:"Hub,omitempty,omitzero"`
Identifier string `json:"identifier,omitempty,omitzero"`
// Offset The offset of where this container page starts among the total objects available. Also provided in the X-Plex-Container-Start header
Offset int `json:"offset,omitempty,omitzero"`
Size int `json:"size,omitempty,omitzero"`
// TotalSize The total size of objects available. Also provided in the X-Plex-Container-Total-Size header
TotalSize int `json:"totalSize,omitempty,omitzero"`
} `json:"MediaContainer,omitempty,omitzero"`
}
// Headers200 the parsed response headers for an HTTP 200 response
Headers200 *HubsGetSlashResponse200Headers
}
func ParseHubsGetSlashResponse ¶
func ParseHubsGetSlashResponse(rsp *http.Response) (*HubsGetSlashResponse, error)
ParseHubsGetSlashResponse parses an HTTP response from a HubsGetSlashWithResponse call
func (HubsGetSlashResponse) ContentType ¶
func (r HubsGetSlashResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (HubsGetSlashResponse) GetBody ¶
func (r HubsGetSlashResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (HubsGetSlashResponse) GetJSON200 ¶
func (r HubsGetSlashResponse) GetJSON200() *struct { MediaContainer struct { Hub []Hub `json:"Hub,omitempty,omitzero"` Identifier string `json:"identifier,omitempty,omitzero"` // Offset The offset of where this container page starts among the total objects available. Also provided in the X-Plex-Container-Start header Offset int `json:"offset,omitempty,omitzero"` Size int `json:"size,omitempty,omitzero"` // TotalSize The total size of objects available. Also provided in the X-Plex-Container-Total-Size header TotalSize int `json:"totalSize,omitempty,omitzero"` } `json:"MediaContainer,omitempty,omitzero"` }
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (HubsGetSlashResponse) Status ¶
func (r HubsGetSlashResponse) Status() string
Status returns HTTPResponse.Status
func (HubsGetSlashResponse) StatusCode ¶
func (r HubsGetSlashResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type HubsGetSlashResponse200Headers ¶
HubsGetSlashResponse200Headers the declared response headers of an HTTP 200 response for HubsGetSlash
type HubsSearchGetVoiceParams ¶
type HubsSearchGetVoiceParams struct {
// Query The query term
Query string `form:"query" json:"query"`
// Type The type of thing to limit the search to.
Type int `form:"type,omitempty" json:"type,omitempty,omitzero"`
// Limit The number of items to return per hub. 3 if not specified
Limit int `form:"limit,omitempty" json:"limit,omitempty,omitzero"`
}
HubsSearchGetVoiceParams defines parameters for HubsSearchGetVoice.
type HubsSearchGetVoiceResponse ¶
type HubsSearchGetVoiceResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *struct {
MediaContainer struct {
Hub []Hub `json:"Hub,omitempty,omitzero"`
Identifier string `json:"identifier,omitempty,omitzero"`
// Offset The offset of where this container page starts among the total objects available. Also provided in the X-Plex-Container-Start header
Offset int `json:"offset,omitempty,omitzero"`
Size int `json:"size,omitempty,omitzero"`
// TotalSize The total size of objects available. Also provided in the X-Plex-Container-Total-Size header
TotalSize int `json:"totalSize,omitempty,omitzero"`
} `json:"MediaContainer,omitempty,omitzero"`
}
// Headers200 the parsed response headers for an HTTP 200 response
Headers200 *HubsSearchGetVoiceResponse200Headers
}
func ParseHubsSearchGetVoiceResponse ¶
func ParseHubsSearchGetVoiceResponse(rsp *http.Response) (*HubsSearchGetVoiceResponse, error)
ParseHubsSearchGetVoiceResponse parses an HTTP response from a HubsSearchGetVoiceWithResponse call
func (HubsSearchGetVoiceResponse) ContentType ¶
func (r HubsSearchGetVoiceResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (HubsSearchGetVoiceResponse) GetBody ¶
func (r HubsSearchGetVoiceResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (HubsSearchGetVoiceResponse) GetJSON200 ¶
func (r HubsSearchGetVoiceResponse) GetJSON200() *struct { MediaContainer struct { Hub []Hub `json:"Hub,omitempty,omitzero"` Identifier string `json:"identifier,omitempty,omitzero"` // Offset The offset of where this container page starts among the total objects available. Also provided in the X-Plex-Container-Start header Offset int `json:"offset,omitempty,omitzero"` Size int `json:"size,omitempty,omitzero"` // TotalSize The total size of objects available. Also provided in the X-Plex-Container-Total-Size header TotalSize int `json:"totalSize,omitempty,omitzero"` } `json:"MediaContainer,omitempty,omitzero"` }
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (HubsSearchGetVoiceResponse) Status ¶
func (r HubsSearchGetVoiceResponse) Status() string
Status returns HTTPResponse.Status
func (HubsSearchGetVoiceResponse) StatusCode ¶
func (r HubsSearchGetVoiceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type HubsSearchGetVoiceResponse200Headers ¶
type HubsSearchGetVoiceResponse200Headers struct {
XPlexContainerStart int
XPlexContainerTotalSize int
}
HubsSearchGetVoiceResponse200Headers the declared response headers of an HTTP 200 response for HubsSearchGetVoice
type HubsSectionsSectionManageDeleteIdentifierResponse ¶
type HubsSectionsSectionManageDeleteIdentifierResponse struct {
Body []byte
HTTPResponse *http.Response
}
func ParseHubsSectionsSectionManageDeleteIdentifierResponse ¶
func ParseHubsSectionsSectionManageDeleteIdentifierResponse(rsp *http.Response) (*HubsSectionsSectionManageDeleteIdentifierResponse, error)
ParseHubsSectionsSectionManageDeleteIdentifierResponse parses an HTTP response from a HubsSectionsSectionManageDeleteIdentifierWithResponse call
func (HubsSectionsSectionManageDeleteIdentifierResponse) ContentType ¶
func (r HubsSectionsSectionManageDeleteIdentifierResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (HubsSectionsSectionManageDeleteIdentifierResponse) GetBody ¶
func (r HubsSectionsSectionManageDeleteIdentifierResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (HubsSectionsSectionManageDeleteIdentifierResponse) Status ¶
func (r HubsSectionsSectionManageDeleteIdentifierResponse) Status() string
Status returns HTTPResponse.Status
func (HubsSectionsSectionManageDeleteIdentifierResponse) StatusCode ¶
func (r HubsSectionsSectionManageDeleteIdentifierResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type HubsSectionsSectionManageDeleteSlashResponse ¶
type HubsSectionsSectionManageDeleteSlashResponse struct {
Body []byte
HTTPResponse *http.Response
}
func ParseHubsSectionsSectionManageDeleteSlashResponse ¶
func ParseHubsSectionsSectionManageDeleteSlashResponse(rsp *http.Response) (*HubsSectionsSectionManageDeleteSlashResponse, error)
ParseHubsSectionsSectionManageDeleteSlashResponse parses an HTTP response from a HubsSectionsSectionManageDeleteSlashWithResponse call
func (HubsSectionsSectionManageDeleteSlashResponse) ContentType ¶
func (r HubsSectionsSectionManageDeleteSlashResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (HubsSectionsSectionManageDeleteSlashResponse) GetBody ¶
func (r HubsSectionsSectionManageDeleteSlashResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (HubsSectionsSectionManageDeleteSlashResponse) Status ¶
func (r HubsSectionsSectionManageDeleteSlashResponse) Status() string
Status returns HTTPResponse.Status
func (HubsSectionsSectionManageDeleteSlashResponse) StatusCode ¶
func (r HubsSectionsSectionManageDeleteSlashResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type HubsSectionsSectionManageGetSlash200JSONResponseBodyMediaContainerHubHomeVisibility ¶
type HubsSectionsSectionManageGetSlash200JSONResponseBodyMediaContainerHubHomeVisibility string
HubsSectionsSectionManageGetSlash200JSONResponseBodyMediaContainerHubHomeVisibility defines parameters for HubsSectionsSectionManageGetSlash.
const ( HubsSectionsSectionManageGetSlash200JSONResponseBodyMediaContainerHubHomeVisibilityAdmin HubsSectionsSectionManageGetSlash200JSONResponseBodyMediaContainerHubHomeVisibility = "admin" HubsSectionsSectionManageGetSlash200JSONResponseBodyMediaContainerHubHomeVisibilityAll HubsSectionsSectionManageGetSlash200JSONResponseBodyMediaContainerHubHomeVisibility = "all" HubsSectionsSectionManageGetSlash200JSONResponseBodyMediaContainerHubHomeVisibilityNone HubsSectionsSectionManageGetSlash200JSONResponseBodyMediaContainerHubHomeVisibility = "none" )
Defines values for HubsSectionsSectionManageGetSlash200JSONResponseBodyMediaContainerHubHomeVisibility.
func (HubsSectionsSectionManageGetSlash200JSONResponseBodyMediaContainerHubHomeVisibility) Valid ¶
func (e HubsSectionsSectionManageGetSlash200JSONResponseBodyMediaContainerHubHomeVisibility) Valid() bool
Valid indicates whether the value is a known member of the HubsSectionsSectionManageGetSlash200JSONResponseBodyMediaContainerHubHomeVisibility enum.
type HubsSectionsSectionManageGetSlash200JSONResponseBodyMediaContainerHubRecommendationsVisibility ¶
type HubsSectionsSectionManageGetSlash200JSONResponseBodyMediaContainerHubRecommendationsVisibility string
HubsSectionsSectionManageGetSlash200JSONResponseBodyMediaContainerHubRecommendationsVisibility defines parameters for HubsSectionsSectionManageGetSlash.
const ( HubsSectionsSectionManageGetSlash200JSONResponseBodyMediaContainerHubRecommendationsVisibilityAdmin HubsSectionsSectionManageGetSlash200JSONResponseBodyMediaContainerHubRecommendationsVisibility = "admin" HubsSectionsSectionManageGetSlash200JSONResponseBodyMediaContainerHubRecommendationsVisibilityAll HubsSectionsSectionManageGetSlash200JSONResponseBodyMediaContainerHubRecommendationsVisibility = "all" HubsSectionsSectionManageGetSlash200JSONResponseBodyMediaContainerHubRecommendationsVisibilityNone HubsSectionsSectionManageGetSlash200JSONResponseBodyMediaContainerHubRecommendationsVisibility = "none" )
Defines values for HubsSectionsSectionManageGetSlash200JSONResponseBodyMediaContainerHubRecommendationsVisibility.
func (HubsSectionsSectionManageGetSlash200JSONResponseBodyMediaContainerHubRecommendationsVisibility) Valid ¶
func (e HubsSectionsSectionManageGetSlash200JSONResponseBodyMediaContainerHubRecommendationsVisibility) Valid() bool
Valid indicates whether the value is a known member of the HubsSectionsSectionManageGetSlash200JSONResponseBodyMediaContainerHubRecommendationsVisibility enum.
type HubsSectionsSectionManageGetSlashParams ¶
type HubsSectionsSectionManageGetSlashParams struct {
// MetadataItemID Restrict hubs to ones relevant to the provided metadata item
MetadataItemID int `form:"metadataItemId,omitempty" json:"metadataItemId,omitempty,omitzero"`
}
HubsSectionsSectionManageGetSlashParams defines parameters for HubsSectionsSectionManageGetSlash.
type HubsSectionsSectionManageGetSlashResponse ¶
type HubsSectionsSectionManageGetSlashResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *struct {
MediaContainer struct {
Hub []struct {
// HomeVisibility Whether this hub is visible on the home screen
// - all: Visible to all users
// - none: Visible to no users
// - admin: Visible to only admin users
// - shared: Visible to shared users
HomeVisibility HubsSectionsSectionManageGetSlash200JSONResponseBodyMediaContainerHubHomeVisibility `json:"homeVisibility,omitempty,omitzero"`
// Identifier The identifier for this hub
Identifier string `json:"identifier,omitempty,omitzero"`
// PromotedToOwnHome Whether this hub is visible to admin user home
PromotedToOwnHome bool `json:"promotedToOwnHome,omitempty,omitzero"`
// PromotedToRecommended Whether this hub is promoted to all for recommendations
PromotedToRecommended bool `json:"promotedToRecommended,omitempty,omitzero"`
// PromotedToSharedHome Whether this hub is visible to shared user's home
PromotedToSharedHome bool `json:"promotedToSharedHome,omitempty,omitzero"`
// RecommendationsVisibility The visibility of this hub in recommendations:
// - all: Visible to all users
// - none: Visible to no users
// - admin: Visible to only admin users
// - shared: Visible to shared users
RecommendationsVisibility HubsSectionsSectionManageGetSlash200JSONResponseBodyMediaContainerHubRecommendationsVisibility `json:"recommendationsVisibility,omitempty,omitzero"`
// Title The title of this hub
Title string `json:"title,omitempty,omitzero"`
} `json:"Hub,omitempty,omitzero"`
Identifier string `json:"identifier,omitempty,omitzero"`
// Offset The offset of where this container page starts among the total objects available. Also provided in the X-Plex-Container-Start header
Offset int `json:"offset,omitempty,omitzero"`
Size int `json:"size,omitempty,omitzero"`
// TotalSize The total size of objects available. Also provided in the X-Plex-Container-Total-Size header
TotalSize int `json:"totalSize,omitempty,omitzero"`
} `json:"MediaContainer,omitempty,omitzero"`
}
// Headers200 the parsed response headers for an HTTP 200 response
Headers200 *HubsSectionsSectionManageGetSlashResponse200Headers
}
func ParseHubsSectionsSectionManageGetSlashResponse ¶
func ParseHubsSectionsSectionManageGetSlashResponse(rsp *http.Response) (*HubsSectionsSectionManageGetSlashResponse, error)
ParseHubsSectionsSectionManageGetSlashResponse parses an HTTP response from a HubsSectionsSectionManageGetSlashWithResponse call
func (HubsSectionsSectionManageGetSlashResponse) ContentType ¶
func (r HubsSectionsSectionManageGetSlashResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (HubsSectionsSectionManageGetSlashResponse) GetBody ¶
func (r HubsSectionsSectionManageGetSlashResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (HubsSectionsSectionManageGetSlashResponse) GetJSON200 ¶
func (r HubsSectionsSectionManageGetSlashResponse) GetJSON200() *struct { MediaContainer struct { Hub []struct { // HomeVisibility Whether this hub is visible on the home screen // - all: Visible to all users // - none: Visible to no users // - admin: Visible to only admin users // - shared: Visible to shared users HomeVisibility HubsSectionsSectionManageGetSlash200JSONResponseBodyMediaContainerHubHomeVisibility `json:"homeVisibility,omitempty,omitzero"` // Identifier The identifier for this hub Identifier string `json:"identifier,omitempty,omitzero"` // PromotedToOwnHome Whether this hub is visible to admin user home PromotedToOwnHome bool `json:"promotedToOwnHome,omitempty,omitzero"` // PromotedToRecommended Whether this hub is promoted to all for recommendations PromotedToRecommended bool `json:"promotedToRecommended,omitempty,omitzero"` // PromotedToSharedHome Whether this hub is visible to shared user's home PromotedToSharedHome bool `json:"promotedToSharedHome,omitempty,omitzero"` // RecommendationsVisibility The visibility of this hub in recommendations: // - all: Visible to all users // - none: Visible to no users // - admin: Visible to only admin users // - shared: Visible to shared users RecommendationsVisibility HubsSectionsSectionManageGetSlash200JSONResponseBodyMediaContainerHubRecommendationsVisibility `json:"recommendationsVisibility,omitempty,omitzero"` // Title The title of this hub Title string `json:"title,omitempty,omitzero"` } `json:"Hub,omitempty,omitzero"` Identifier string `json:"identifier,omitempty,omitzero"` // Offset The offset of where this container page starts among the total objects available. Also provided in the X-Plex-Container-Start header Offset int `json:"offset,omitempty,omitzero"` Size int `json:"size,omitempty,omitzero"` // TotalSize The total size of objects available. Also provided in the X-Plex-Container-Total-Size header TotalSize int `json:"totalSize,omitempty,omitzero"` } `json:"MediaContainer,omitempty,omitzero"` }
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (HubsSectionsSectionManageGetSlashResponse) Status ¶
func (r HubsSectionsSectionManageGetSlashResponse) Status() string
Status returns HTTPResponse.Status
func (HubsSectionsSectionManageGetSlashResponse) StatusCode ¶
func (r HubsSectionsSectionManageGetSlashResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type HubsSectionsSectionManageGetSlashResponse200Headers ¶
type HubsSectionsSectionManageGetSlashResponse200Headers struct {
XPlexContainerStart int
XPlexContainerTotalSize int
}
HubsSectionsSectionManageGetSlashResponse200Headers the declared response headers of an HTTP 200 response for HubsSectionsSectionManageGetSlash
type HubsSectionsSectionManagePostSlashParams ¶
type HubsSectionsSectionManagePostSlashParams struct {
// MetadataItemID The metadata item on which to base this hub. This must currently be a collection
MetadataItemID int `form:"metadataItemId" json:"metadataItemId"`
// PromotedToRecommended Whether this hub should be displayed in recommended
PromotedToRecommended HubsSectionsSectionManagePostSlashParamsPromotedToRecommended `form:"promotedToRecommended,omitempty" json:"promotedToRecommended,omitempty,omitzero"`
// PromotedToOwnHome Whether this hub should be displayed in admin's home
PromotedToOwnHome HubsSectionsSectionManagePostSlashParamsPromotedToOwnHome `form:"promotedToOwnHome,omitempty" json:"promotedToOwnHome,omitempty,omitzero"`
PromotedToSharedHome HubsSectionsSectionManagePostSlashParamsPromotedToSharedHome `form:"promotedToSharedHome,omitempty" json:"promotedToSharedHome,omitempty,omitzero"`
}
HubsSectionsSectionManagePostSlashParams defines parameters for HubsSectionsSectionManagePostSlash.
type HubsSectionsSectionManagePostSlashParamsPromotedToOwnHome ¶
type HubsSectionsSectionManagePostSlashParamsPromotedToOwnHome int
HubsSectionsSectionManagePostSlashParamsPromotedToOwnHome defines parameters for HubsSectionsSectionManagePostSlash.
const ( HubsSectionsSectionManagePostSlashParamsPromotedToOwnHomeN0 HubsSectionsSectionManagePostSlashParamsPromotedToOwnHome = 0 HubsSectionsSectionManagePostSlashParamsPromotedToOwnHomeN1 HubsSectionsSectionManagePostSlashParamsPromotedToOwnHome = 1 )
Defines values for HubsSectionsSectionManagePostSlashParamsPromotedToOwnHome.
func (HubsSectionsSectionManagePostSlashParamsPromotedToOwnHome) Valid ¶
func (e HubsSectionsSectionManagePostSlashParamsPromotedToOwnHome) Valid() bool
Valid indicates whether the value is a known member of the HubsSectionsSectionManagePostSlashParamsPromotedToOwnHome enum.
type HubsSectionsSectionManagePostSlashParamsPromotedToRecommended ¶
type HubsSectionsSectionManagePostSlashParamsPromotedToRecommended int
HubsSectionsSectionManagePostSlashParamsPromotedToRecommended defines parameters for HubsSectionsSectionManagePostSlash.
const ( HubsSectionsSectionManagePostSlashParamsPromotedToRecommendedN0 HubsSectionsSectionManagePostSlashParamsPromotedToRecommended = 0 HubsSectionsSectionManagePostSlashParamsPromotedToRecommendedN1 HubsSectionsSectionManagePostSlashParamsPromotedToRecommended = 1 )
Defines values for HubsSectionsSectionManagePostSlashParamsPromotedToRecommended.
func (HubsSectionsSectionManagePostSlashParamsPromotedToRecommended) Valid ¶
func (e HubsSectionsSectionManagePostSlashParamsPromotedToRecommended) Valid() bool
Valid indicates whether the value is a known member of the HubsSectionsSectionManagePostSlashParamsPromotedToRecommended enum.
type HubsSectionsSectionManagePostSlashParamsPromotedToSharedHome ¶
type HubsSectionsSectionManagePostSlashParamsPromotedToSharedHome int
HubsSectionsSectionManagePostSlashParamsPromotedToSharedHome defines parameters for HubsSectionsSectionManagePostSlash.
const ( )
Defines values for HubsSectionsSectionManagePostSlashParamsPromotedToSharedHome.
func (HubsSectionsSectionManagePostSlashParamsPromotedToSharedHome) Valid ¶
func (e HubsSectionsSectionManagePostSlashParamsPromotedToSharedHome) Valid() bool
Valid indicates whether the value is a known member of the HubsSectionsSectionManagePostSlashParamsPromotedToSharedHome enum.
type HubsSectionsSectionManagePostSlashResponse ¶
func ParseHubsSectionsSectionManagePostSlashResponse ¶
func ParseHubsSectionsSectionManagePostSlashResponse(rsp *http.Response) (*HubsSectionsSectionManagePostSlashResponse, error)
ParseHubsSectionsSectionManagePostSlashResponse parses an HTTP response from a HubsSectionsSectionManagePostSlashWithResponse call
func (HubsSectionsSectionManagePostSlashResponse) ContentType ¶
func (r HubsSectionsSectionManagePostSlashResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (HubsSectionsSectionManagePostSlashResponse) GetBody ¶
func (r HubsSectionsSectionManagePostSlashResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (HubsSectionsSectionManagePostSlashResponse) Status ¶
func (r HubsSectionsSectionManagePostSlashResponse) Status() string
Status returns HTTPResponse.Status
func (HubsSectionsSectionManagePostSlashResponse) StatusCode ¶
func (r HubsSectionsSectionManagePostSlashResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type HubsSectionsSectionManagePutIdentifierParams ¶
type HubsSectionsSectionManagePutIdentifierParams struct {
// PromotedToRecommended Whether this hub should be displayed in recommended
PromotedToRecommended HubsSectionsSectionManagePutIdentifierParamsPromotedToRecommended `form:"promotedToRecommended,omitempty" json:"promotedToRecommended,omitempty,omitzero"`
// PromotedToOwnHome Whether this hub should be displayed in admin's home
PromotedToOwnHome HubsSectionsSectionManagePutIdentifierParamsPromotedToOwnHome `form:"promotedToOwnHome,omitempty" json:"promotedToOwnHome,omitempty,omitzero"`
PromotedToSharedHome HubsSectionsSectionManagePutIdentifierParamsPromotedToSharedHome `form:"promotedToSharedHome,omitempty" json:"promotedToSharedHome,omitempty,omitzero"`
}
HubsSectionsSectionManagePutIdentifierParams defines parameters for HubsSectionsSectionManagePutIdentifier.
type HubsSectionsSectionManagePutIdentifierParamsPromotedToOwnHome ¶
type HubsSectionsSectionManagePutIdentifierParamsPromotedToOwnHome int
HubsSectionsSectionManagePutIdentifierParamsPromotedToOwnHome defines parameters for HubsSectionsSectionManagePutIdentifier.
const ( HubsSectionsSectionManagePutIdentifierParamsPromotedToOwnHomeN0 HubsSectionsSectionManagePutIdentifierParamsPromotedToOwnHome = 0 HubsSectionsSectionManagePutIdentifierParamsPromotedToOwnHomeN1 HubsSectionsSectionManagePutIdentifierParamsPromotedToOwnHome = 1 )
Defines values for HubsSectionsSectionManagePutIdentifierParamsPromotedToOwnHome.
func (HubsSectionsSectionManagePutIdentifierParamsPromotedToOwnHome) Valid ¶
func (e HubsSectionsSectionManagePutIdentifierParamsPromotedToOwnHome) Valid() bool
Valid indicates whether the value is a known member of the HubsSectionsSectionManagePutIdentifierParamsPromotedToOwnHome enum.
type HubsSectionsSectionManagePutIdentifierParamsPromotedToRecommended ¶
type HubsSectionsSectionManagePutIdentifierParamsPromotedToRecommended int
HubsSectionsSectionManagePutIdentifierParamsPromotedToRecommended defines parameters for HubsSectionsSectionManagePutIdentifier.
const ( HubsSectionsSectionManagePutIdentifierParamsPromotedToRecommendedN0 HubsSectionsSectionManagePutIdentifierParamsPromotedToRecommended = 0 HubsSectionsSectionManagePutIdentifierParamsPromotedToRecommendedN1 HubsSectionsSectionManagePutIdentifierParamsPromotedToRecommended = 1 )
Defines values for HubsSectionsSectionManagePutIdentifierParamsPromotedToRecommended.
func (HubsSectionsSectionManagePutIdentifierParamsPromotedToRecommended) Valid ¶
func (e HubsSectionsSectionManagePutIdentifierParamsPromotedToRecommended) Valid() bool
Valid indicates whether the value is a known member of the HubsSectionsSectionManagePutIdentifierParamsPromotedToRecommended enum.
type HubsSectionsSectionManagePutIdentifierParamsPromotedToSharedHome ¶
type HubsSectionsSectionManagePutIdentifierParamsPromotedToSharedHome int
HubsSectionsSectionManagePutIdentifierParamsPromotedToSharedHome defines parameters for HubsSectionsSectionManagePutIdentifier.
const ( )
Defines values for HubsSectionsSectionManagePutIdentifierParamsPromotedToSharedHome.
func (HubsSectionsSectionManagePutIdentifierParamsPromotedToSharedHome) Valid ¶
func (e HubsSectionsSectionManagePutIdentifierParamsPromotedToSharedHome) Valid() bool
Valid indicates whether the value is a known member of the HubsSectionsSectionManagePutIdentifierParamsPromotedToSharedHome enum.
type HubsSectionsSectionManagePutIdentifierResponse ¶
type HubsSectionsSectionManagePutIdentifierResponse struct {
Body []byte
HTTPResponse *http.Response
}
func ParseHubsSectionsSectionManagePutIdentifierResponse ¶
func ParseHubsSectionsSectionManagePutIdentifierResponse(rsp *http.Response) (*HubsSectionsSectionManagePutIdentifierResponse, error)
ParseHubsSectionsSectionManagePutIdentifierResponse parses an HTTP response from a HubsSectionsSectionManagePutIdentifierWithResponse call
func (HubsSectionsSectionManagePutIdentifierResponse) ContentType ¶
func (r HubsSectionsSectionManagePutIdentifierResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (HubsSectionsSectionManagePutIdentifierResponse) GetBody ¶
func (r HubsSectionsSectionManagePutIdentifierResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (HubsSectionsSectionManagePutIdentifierResponse) Status ¶
func (r HubsSectionsSectionManagePutIdentifierResponse) Status() string
Status returns HTTPResponse.Status
func (HubsSectionsSectionManagePutIdentifierResponse) StatusCode ¶
func (r HubsSectionsSectionManagePutIdentifierResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type HubsSectionsSectionManagePutMove200JSONResponseBodyMediaContainerHubHomeVisibility ¶
type HubsSectionsSectionManagePutMove200JSONResponseBodyMediaContainerHubHomeVisibility string
HubsSectionsSectionManagePutMove200JSONResponseBodyMediaContainerHubHomeVisibility defines parameters for HubsSectionsSectionManagePutMove.
const ( HubsSectionsSectionManagePutMove200JSONResponseBodyMediaContainerHubHomeVisibilityAdmin HubsSectionsSectionManagePutMove200JSONResponseBodyMediaContainerHubHomeVisibility = "admin" HubsSectionsSectionManagePutMove200JSONResponseBodyMediaContainerHubHomeVisibilityAll HubsSectionsSectionManagePutMove200JSONResponseBodyMediaContainerHubHomeVisibility = "all" HubsSectionsSectionManagePutMove200JSONResponseBodyMediaContainerHubHomeVisibilityNone HubsSectionsSectionManagePutMove200JSONResponseBodyMediaContainerHubHomeVisibility = "none" )
Defines values for HubsSectionsSectionManagePutMove200JSONResponseBodyMediaContainerHubHomeVisibility.
func (HubsSectionsSectionManagePutMove200JSONResponseBodyMediaContainerHubHomeVisibility) Valid ¶
func (e HubsSectionsSectionManagePutMove200JSONResponseBodyMediaContainerHubHomeVisibility) Valid() bool
Valid indicates whether the value is a known member of the HubsSectionsSectionManagePutMove200JSONResponseBodyMediaContainerHubHomeVisibility enum.
type HubsSectionsSectionManagePutMove200JSONResponseBodyMediaContainerHubRecommendationsVisibility ¶
type HubsSectionsSectionManagePutMove200JSONResponseBodyMediaContainerHubRecommendationsVisibility string
HubsSectionsSectionManagePutMove200JSONResponseBodyMediaContainerHubRecommendationsVisibility defines parameters for HubsSectionsSectionManagePutMove.
const ( HubsSectionsSectionManagePutMove200JSONResponseBodyMediaContainerHubRecommendationsVisibilityAdmin HubsSectionsSectionManagePutMove200JSONResponseBodyMediaContainerHubRecommendationsVisibility = "admin" HubsSectionsSectionManagePutMove200JSONResponseBodyMediaContainerHubRecommendationsVisibilityAll HubsSectionsSectionManagePutMove200JSONResponseBodyMediaContainerHubRecommendationsVisibility = "all" HubsSectionsSectionManagePutMove200JSONResponseBodyMediaContainerHubRecommendationsVisibilityNone HubsSectionsSectionManagePutMove200JSONResponseBodyMediaContainerHubRecommendationsVisibility = "none" )
Defines values for HubsSectionsSectionManagePutMove200JSONResponseBodyMediaContainerHubRecommendationsVisibility.
func (HubsSectionsSectionManagePutMove200JSONResponseBodyMediaContainerHubRecommendationsVisibility) Valid ¶
func (e HubsSectionsSectionManagePutMove200JSONResponseBodyMediaContainerHubRecommendationsVisibility) Valid() bool
Valid indicates whether the value is a known member of the HubsSectionsSectionManagePutMove200JSONResponseBodyMediaContainerHubRecommendationsVisibility enum.
type HubsSectionsSectionManagePutMoveParams ¶
type HubsSectionsSectionManagePutMoveParams struct {
// Identifier The identifier of the hub to move
Identifier string `form:"identifier" json:"identifier"`
// After The identifier of the hub to order this hub after (or empty/missing to put this hub first)
After string `form:"after,omitempty" json:"after,omitempty,omitzero"`
}
HubsSectionsSectionManagePutMoveParams defines parameters for HubsSectionsSectionManagePutMove.
type HubsSectionsSectionManagePutMoveResponse ¶
type HubsSectionsSectionManagePutMoveResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *GetResponses200
// Headers200 the parsed response headers for an HTTP 200 response
Headers200 *HubsSectionsSectionManagePutMoveResponse200Headers
}
func ParseHubsSectionsSectionManagePutMoveResponse ¶
func ParseHubsSectionsSectionManagePutMoveResponse(rsp *http.Response) (*HubsSectionsSectionManagePutMoveResponse, error)
ParseHubsSectionsSectionManagePutMoveResponse parses an HTTP response from a HubsSectionsSectionManagePutMoveWithResponse call
func (HubsSectionsSectionManagePutMoveResponse) ContentType ¶
func (r HubsSectionsSectionManagePutMoveResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (HubsSectionsSectionManagePutMoveResponse) GetBody ¶
func (r HubsSectionsSectionManagePutMoveResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (HubsSectionsSectionManagePutMoveResponse) GetJSON200 ¶
func (r HubsSectionsSectionManagePutMoveResponse) GetJSON200() *GetResponses200
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (HubsSectionsSectionManagePutMoveResponse) Status ¶
func (r HubsSectionsSectionManagePutMoveResponse) Status() string
Status returns HTTPResponse.Status
func (HubsSectionsSectionManagePutMoveResponse) StatusCode ¶
func (r HubsSectionsSectionManagePutMoveResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type HubsSectionsSectionManagePutMoveResponse200Headers ¶
type HubsSectionsSectionManagePutMoveResponse200Headers struct {
XPlexContainerStart int
XPlexContainerTotalSize int
}
HubsSectionsSectionManagePutMoveResponse200Headers the declared response headers of an HTTP 200 response for HubsSectionsSectionManagePutMove
type Image ¶
type Image struct {
// Alt Title to use for accessibility.
Alt string `json:"alt,omitempty,omitzero"`
// Type Describes both the purpose and intended presentation of the image.
Type ImageType `json:"type,omitempty,omitzero"`
// URL The relative path or absolute url for the image.
URL string `json:"url,omitempty,omitzero"`
}
Image Images such as movie posters and background artwork are represented by Image elements.
type ImageTranscodeParams ¶
type ImageTranscodeParams struct {
// URL The source URL for the image to transcode. Note, if this URL requires a token such as `X-Plex-Token`, it should be given as a query parameter to this url.
URL string `form:"url,omitempty" json:"url,omitempty,omitzero"`
// Format The output format for the image; defaults to jpg
Format ImageTranscodeParamsFormat `form:"format,omitempty" json:"format,omitempty,omitzero"`
// Width The desired width of the output image
Width int `form:"width,omitempty" json:"width,omitempty,omitzero"`
// Height The desired height of the output image
Height int `form:"height,omitempty" json:"height,omitempty,omitzero"`
// Quality The desired quality of the output. -1 means the highest quality. Defaults to -1
Quality int `form:"quality,omitempty" json:"quality,omitempty,omitzero"`
// Background The background color to apply before painting the image. Only really applicable if image has transparency. Defaults to none
Background string `form:"background,omitempty" json:"background,omitempty,omitzero"`
// Upscale Indicates if image should be upscaled to the desired width/height. Defaults to false
Upscale ImageTranscodeParamsUpscale `form:"upscale,omitempty" json:"upscale,omitempty,omitzero"`
// MinSize Indicates if image should be scaled to fit the smaller dimension. By default (false) the image is scaled to fit within the width/height specified but if this parameter is true, it will allow overflowing one dimension to fit the other. Essentially it is making the width/height minimum sizes of the image or sizing the image to fill the entire width/height even if it overflows one dimension.
MinSize ImageTranscodeParamsMinSize `form:"minSize,omitempty" json:"minSize,omitempty,omitzero"`
// Rotate Obey the rotation values specified in EXIF data. Defaults to true.
Rotate ImageTranscodeParamsRotate `form:"rotate,omitempty" json:"rotate,omitempty,omitzero"`
// Blur Apply a blur to the image, Defaults to 0 (none)
Blur int `form:"blur,omitempty" json:"blur,omitempty,omitzero"`
// Saturation Scale the image saturation by the specified percentage. Defaults to 100
Saturation int `form:"saturation,omitempty" json:"saturation,omitempty,omitzero"`
// Opacity Render the image at the specified opacity percentage. Defaults to 100
Opacity int `form:"opacity,omitempty" json:"opacity,omitempty,omitzero"`
// ChromaSubsampling Use the specified chroma subsambling.
// - 0: 411
// - 1: 420
// - 2: 422
// - 3: 444
// Defaults to 3 (444)
ChromaSubsampling ImageTranscodeParamsChromaSubsampling `form:"chromaSubsampling,omitempty" json:"chromaSubsampling,omitempty,omitzero"`
// BlendColor The color to blend with the image. Defaults to none
BlendColor string `form:"blendColor,omitempty" json:"blendColor,omitempty,omitzero"`
}
ImageTranscodeParams defines parameters for ImageTranscode.
type ImageTranscodeParamsChromaSubsampling ¶
type ImageTranscodeParamsChromaSubsampling int
ImageTranscodeParamsChromaSubsampling defines parameters for ImageTranscode.
const ( ImageTranscodeParamsChromaSubsamplingN0 ImageTranscodeParamsChromaSubsampling = 0 ImageTranscodeParamsChromaSubsamplingN1 ImageTranscodeParamsChromaSubsampling = 1 ImageTranscodeParamsChromaSubsamplingN2 ImageTranscodeParamsChromaSubsampling = 2 ImageTranscodeParamsChromaSubsamplingN3 ImageTranscodeParamsChromaSubsampling = 3 )
Defines values for ImageTranscodeParamsChromaSubsampling.
func (ImageTranscodeParamsChromaSubsampling) Valid ¶
func (e ImageTranscodeParamsChromaSubsampling) Valid() bool
Valid indicates whether the value is a known member of the ImageTranscodeParamsChromaSubsampling enum.
type ImageTranscodeParamsFormat ¶
type ImageTranscodeParamsFormat string
ImageTranscodeParamsFormat defines parameters for ImageTranscode.
const ( ImageTranscodeParamsFormatJpeg ImageTranscodeParamsFormat = "jpeg" ImageTranscodeParamsFormatJpg ImageTranscodeParamsFormat = "jpg" ImageTranscodeParamsFormatPng ImageTranscodeParamsFormat = "png" ImageTranscodeParamsFormatPpm ImageTranscodeParamsFormat = "ppm" )
Defines values for ImageTranscodeParamsFormat.
func (ImageTranscodeParamsFormat) Valid ¶
func (e ImageTranscodeParamsFormat) Valid() bool
Valid indicates whether the value is a known member of the ImageTranscodeParamsFormat enum.
type ImageTranscodeParamsMinSize ¶
type ImageTranscodeParamsMinSize int
ImageTranscodeParamsMinSize defines parameters for ImageTranscode.
const ( ImageTranscodeParamsMinSizeN0 ImageTranscodeParamsMinSize = 0 ImageTranscodeParamsMinSizeN1 ImageTranscodeParamsMinSize = 1 )
Defines values for ImageTranscodeParamsMinSize.
func (ImageTranscodeParamsMinSize) Valid ¶
func (e ImageTranscodeParamsMinSize) Valid() bool
Valid indicates whether the value is a known member of the ImageTranscodeParamsMinSize enum.
type ImageTranscodeParamsRotate ¶
type ImageTranscodeParamsRotate int
ImageTranscodeParamsRotate defines parameters for ImageTranscode.
const ( ImageTranscodeParamsRotateN0 ImageTranscodeParamsRotate = 0 ImageTranscodeParamsRotateN1 ImageTranscodeParamsRotate = 1 )
Defines values for ImageTranscodeParamsRotate.
func (ImageTranscodeParamsRotate) Valid ¶
func (e ImageTranscodeParamsRotate) Valid() bool
Valid indicates whether the value is a known member of the ImageTranscodeParamsRotate enum.
type ImageTranscodeParamsUpscale ¶
type ImageTranscodeParamsUpscale int
ImageTranscodeParamsUpscale defines parameters for ImageTranscode.
const ( ImageTranscodeParamsUpscaleN0 ImageTranscodeParamsUpscale = 0 ImageTranscodeParamsUpscaleN1 ImageTranscodeParamsUpscale = 1 )
Defines values for ImageTranscodeParamsUpscale.
func (ImageTranscodeParamsUpscale) Valid ¶
func (e ImageTranscodeParamsUpscale) Valid() bool
Valid indicates whether the value is a known member of the ImageTranscodeParamsUpscale enum.
type ImageTranscodeResponse ¶
func ParseImageTranscodeResponse ¶
func ParseImageTranscodeResponse(rsp *http.Response) (*ImageTranscodeResponse, error)
ParseImageTranscodeResponse parses an HTTP response from a ImageTranscodeWithResponse call
func (ImageTranscodeResponse) ContentType ¶
func (r ImageTranscodeResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ImageTranscodeResponse) GetBody ¶
func (r ImageTranscodeResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ImageTranscodeResponse) Status ¶
func (r ImageTranscodeResponse) Status() string
Status returns HTTPResponse.Status
func (ImageTranscodeResponse) StatusCode ¶
func (r ImageTranscodeResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ImageType ¶
type ImageType string
ImageType Describes both the purpose and intended presentation of the image.
type Items ¶
type Items struct {
Autotag []Tag `json:"Autotag,omitempty,omitzero"`
Country []Tag `json:"Country,omitempty,omitzero"`
Director []Tag `json:"Director,omitempty,omitzero"`
// Filter Typically only seen in metadata at a library's top level
Filter []Filter `json:"Filter,omitempty,omitzero"`
Genre []Tag `json:"Genre,omitempty,omitzero"`
GUID []GUID `json:"Guid,omitempty,omitzero"`
Image []Image `json:"Image,omitempty,omitzero"`
Media []Media `json:"Media,omitempty,omitzero"`
MetadataItem []Items `json:"MetadataItem,omitempty,omitzero"`
Ratings []Tag `json:"Rating,omitempty,omitzero"`
Role []Tag `json:"Role,omitempty,omitzero"`
// Sort Typically only seen in metadata at a library's top level
Sort []Sort `json:"Sort,omitempty,omitzero"`
Writer []Tag `json:"Writer,omitempty,omitzero"`
// AbsoluteIndex When present, contains the disc number for a track on multi-disc albums.
AbsoluteIndex int `json:"absoluteIndex,omitempty,omitzero"`
// AddedAt In units of seconds since the epoch, returns the time at which the item was added to the library.
AddedAt int `json:"addedAt,omitempty,omitzero"`
// Art When present, the URL for the background artwork for the item.
Art interface{} `json:"art,omitempty,omitzero"`
// AudienceRating Some rating systems separate reviewer ratings from audience ratings
AudienceRating float32 `json:"audienceRating,omitempty,omitzero"`
// AudienceRatingImage A URI representing the image to be shown with the audience rating (e.g. rottentomatoes://image.rating.spilled).
AudienceRatingImage interface{} `json:"audienceRatingImage,omitempty,omitzero"`
// Banner When present, the URL for a banner graphic for the item.
Banner interface{} `json:"banner,omitempty,omitzero"`
// ChapterSource When present, indicates the source for the chapters in the media file. Can be media (the chapters were embedded in the media itself), agent (a metadata agent computed them), or mixed (a combination of the two).
ChapterSource interface{} `json:"chapterSource,omitempty,omitzero"`
// ChildCount The number of direct children, e.g. seasons of a show or items in a collection.
ChildCount int `json:"childCount,omitempty,omitzero"`
// Composite When present, the URL for a composite image for descendent items (e.g. photo albums or playlists).
Composite interface{} `json:"composite,omitempty,omitzero"`
// ContentRating If known, the content rating (e.g. MPAA) for an item.
ContentRating interface{} `json:"contentRating,omitempty,omitzero"`
// Duration When present, the duration for the item, in units of milliseconds.
Duration int `json:"duration,omitempty,omitzero"`
// GrandparentArt The `art` of the grandparent
GrandparentArt string `json:"grandparentArt,omitempty,omitzero"`
// GrandparentHero The `hero` of the grandparent
GrandparentHero string `json:"grandparentHero,omitempty,omitzero"`
// GrandparentKey The `key` of the grandparent
GrandparentKey string `json:"grandparentKey,omitempty,omitzero"`
// GrandparentRatingKey The `ratingKey` of the grandparent
GrandparentRatingKey string `json:"grandparentRatingKey,omitempty,omitzero"`
// GrandparentTheme The `theme` of the grandparent
GrandparentTheme string `json:"grandparentTheme,omitempty,omitzero"`
// GrandparentThumb The `thumb` of the grandparent
GrandparentThumb string `json:"grandparentThumb,omitempty,omitzero"`
// GrandparentTitle The `title` of the grandparent
GrandparentTitle string `json:"grandparentTitle,omitempty,omitzero"`
// PlexGUID The Plex GUID of the item itself, e.g. "plex://movie/5d7769a023d5a3001f4fa465".
PlexGUID string `json:"guid,omitempty,omitzero"`
// Hero When present, the URL for a hero image for the item.
Hero interface{} `json:"hero,omitempty,omitzero"`
// Index When present, this represents the episode number for episodes, season number for seasons, or track number for audio tracks.
Index int `json:"index,omitempty,omitzero"`
// Key The key at which the item's details can be fetched. In many cases a metadata item may be passed without all the details (such as in a hub) and this key corresponds to the endpoint to fetch additional details.
Key interface{} `json:"key,omitempty,omitzero"`
// LastViewedAt When a user has watched or listened to an item, this contains a timestamp (epoch seconds) for that last consumption time.
LastViewedAt int `json:"lastViewedAt,omitempty,omitzero"`
// LeafCount For shows and seasons, contains the number of total episodes.
LeafCount int `json:"leafCount,omitempty,omitzero"`
// OriginalTitle When present, used to indicate an item's original title, e.g. a movie's foreign title.
OriginalTitle interface{} `json:"originalTitle,omitempty,omitzero"`
// OriginallyAvailableAt When present, in the format YYYY-MM-DD [HH:MM:SS] (the hours/minutes/seconds part is not always present). The air date, or a higher resolution release date for an item, depending on type. For example, episodes usually have air date like 1979-08-10 (we don't use epoch seconds because media existed prior to 1970). In some cases, recorded over-the-air content has higher resolution air date which includes a time component. Albums and movies may have day-resolution release dates as well.
OriginallyAvailableAt interface{} `json:"originallyAvailableAt,omitempty,omitzero"`
// ParentHero The `hero` of the parent
ParentHero string `json:"parentHero,omitempty,omitzero"`
// ParentIndex The `index` of the parent
ParentIndex int `json:"parentIndex,omitempty,omitzero"`
// ParentKey The `key` of the parent
ParentKey string `json:"parentKey,omitempty,omitzero"`
// ParentRatingKey The `ratingKey` of the parent
ParentRatingKey string `json:"parentRatingKey,omitempty,omitzero"`
// ParentThumb The `thumb` of the parent
ParentThumb string `json:"parentThumb,omitempty,omitzero"`
// ParentTitle The `title` of the parent
ParentTitle string `json:"parentTitle,omitempty,omitzero"`
// PrimaryExtraKey Indicates that the item has a primary extra; for a movie, this is a trailer, and for a music track it is a music video. The URL points to the metadata details endpoint for the item.
PrimaryExtraKey interface{} `json:"primaryExtraKey,omitempty,omitzero"`
// Prompt Prompt to give the user for this directory (such as `Search Movies`)
Prompt string `json:"prompt,omitempty,omitzero"`
// Rating When present, the rating for the item. The exact meaning and representation depends on where the rating was sourced from.
Rating float32 `json:"rating,omitempty,omitzero"`
// RatingCount Number of ratings under this metadata
RatingCount int `json:"ratingCount,omitempty,omitzero"`
// RatingImage When present, indicates an image to be shown with the rating. This is passed back as a small set of defined URI values, e.g. rottentomatoes://image.rating.rotten.
RatingImage interface{} `json:"ratingImage,omitempty,omitzero"`
// RatingKey This is the opaque string to be passed into timeline, scrobble, and rating endpoints to identify them. While it often appears to be numeric, this is not guaranteed.
RatingKey interface{} `json:"ratingKey,omitempty,omitzero"`
// Search Indicates this is a search directory
Search bool `json:"search,omitempty,omitzero"`
// Secondary Used by old clients to provide nested menus allowing for primative (but structured) navigation.
Secondary bool `json:"secondary,omitempty,omitzero"`
// SkipChildren When found on a show item, indicates that the children (seasons) should be skipped in favor of the grandchildren (episodes). Useful for mini-series, etc.
SkipChildren bool `json:"skipChildren,omitempty,omitzero"`
// SkipParent When present on an episode or track item, indicates parent should be skipped in favor of grandparent (show).
SkipParent bool `json:"skipParent,omitempty,omitzero"`
// Studio When present, the studio or label which produced an item (e.g. movie studio for movies, record label for albums).
Studio interface{} `json:"studio,omitempty,omitzero"`
// Subtype The subtype of the video item, such as `photo` when the video item is in a photo library
Subtype interface{} `json:"subtype,omitempty,omitzero"`
// Summary When present, the extended textual information about the item (e.g. movie plot, artist biography, album review).
Summary interface{} `json:"summary,omitempty,omitzero"`
// Tagline When present, a pithy one-liner about the item (usually only seen for movies).
Tagline interface{} `json:"tagline,omitempty,omitzero"`
// Theme When present, the URL for theme music for the item (usually only for TV shows).
Theme interface{} `json:"theme,omitempty,omitzero"`
// Thumb When present, the URL for the poster or thumbnail for the item. When available for types like movie, it will be the poster graphic, but fall-back to the extracted media thumbnail.
Thumb interface{} `json:"thumb,omitempty,omitzero"`
// Title The title of the item (e.g. “300” or “The Simpsons”)
Title interface{} `json:"title,omitempty,omitzero"`
// TitleSort Whene present, this is the string used for sorting the item. It's usually the title with any leading articles removed (e.g. “Simpsons”).
TitleSort interface{} `json:"titleSort,omitempty,omitzero"`
// Type The type of the video item, such as `movie`, `episode`, or `clip`.
Type interface{} `json:"type,omitempty,omitzero"`
// UpdatedAt In units of seconds since the epoch, returns the time at which the item was last changed (e.g. had its metadata updated).
UpdatedAt int `json:"updatedAt,omitempty,omitzero"`
// UserRating When the user has rated an item, this contains the user rating
UserRating float32 `json:"userRating,omitempty,omitzero"`
// ViewCount When a users has completed watched or listened to an item, this attribute contains the number of consumptions.
ViewCount int `json:"viewCount,omitempty,omitzero"`
// ViewOffset When a user is in the process of viewing or listening to this item, this attribute contains the current offset, in units of milliseconds.
ViewOffset int `json:"viewOffset,omitempty,omitzero"`
// ViewedLeafCount For shows and seasons, contains the number of viewed episodes.
ViewedLeafCount int `json:"viewedLeafCount,omitempty,omitzero"`
// Year When present, the year associated with the item's release (e.g. release year for a movie).
Year int `json:"year,omitempty,omitzero"`
AdditionalProperties map[string]interface{} `json:"-"`
}
Items defines model for items.
func (Items) Get ¶
Getter for additional properties for Items. Returns the specified element and whether it was found
func (Items) MarshalJSON ¶
Override default JSON handling for Items to handle AdditionalProperties
func (*Items) UnmarshalJSON ¶
Override default JSON handling for Items to handle AdditionalProperties
type LibraryCollectionCollectionGetCompositeParams ¶
type LibraryCollectionCollectionGetCompositeParams struct {
Composite Composite `form:"composite,omitempty" json:"composite,omitempty,omitzero"`
}
LibraryCollectionCollectionGetCompositeParams defines parameters for LibraryCollectionCollectionGetComposite.
type LibraryCollectionCollectionGetCompositeParamsCompositeCrop ¶
type LibraryCollectionCollectionGetCompositeParamsCompositeCrop string
LibraryCollectionCollectionGetCompositeParamsCompositeCrop defines parameters for LibraryCollectionCollectionGetComposite.
const ( LibraryCollectionCollectionGetCompositeParamsCompositeCropCenter LibraryCollectionCollectionGetCompositeParamsCompositeCrop = "center" LibraryCollectionCollectionGetCompositeParamsCompositeCropTop LibraryCollectionCollectionGetCompositeParamsCompositeCrop = "top" )
Defines values for LibraryCollectionCollectionGetCompositeParamsCompositeCrop.
func (LibraryCollectionCollectionGetCompositeParamsCompositeCrop) Valid ¶
func (e LibraryCollectionCollectionGetCompositeParamsCompositeCrop) Valid() bool
Valid indicates whether the value is a known member of the LibraryCollectionCollectionGetCompositeParamsCompositeCrop enum.
type LibraryCollectionCollectionGetCompositeParamsCompositeFormat ¶
type LibraryCollectionCollectionGetCompositeParamsCompositeFormat string
LibraryCollectionCollectionGetCompositeParamsCompositeFormat defines parameters for LibraryCollectionCollectionGetComposite.
const ( LibraryCollectionCollectionGetCompositeParamsCompositeFormatJpg LibraryCollectionCollectionGetCompositeParamsCompositeFormat = "jpg" LibraryCollectionCollectionGetCompositeParamsCompositeFormatPng LibraryCollectionCollectionGetCompositeParamsCompositeFormat = "png" )
Defines values for LibraryCollectionCollectionGetCompositeParamsCompositeFormat.
func (LibraryCollectionCollectionGetCompositeParamsCompositeFormat) Valid ¶
func (e LibraryCollectionCollectionGetCompositeParamsCompositeFormat) Valid() bool
Valid indicates whether the value is a known member of the LibraryCollectionCollectionGetCompositeParamsCompositeFormat enum.
type LibraryCollectionCollectionGetCompositeParamsCompositeMedia ¶
type LibraryCollectionCollectionGetCompositeParamsCompositeMedia string
LibraryCollectionCollectionGetCompositeParamsCompositeMedia defines parameters for LibraryCollectionCollectionGetComposite.
const ( LibraryCollectionCollectionGetCompositeParamsCompositeMediaArt LibraryCollectionCollectionGetCompositeParamsCompositeMedia = "art" LibraryCollectionCollectionGetCompositeParamsCompositeMediaBanner LibraryCollectionCollectionGetCompositeParamsCompositeMedia = "banner" LibraryCollectionCollectionGetCompositeParamsCompositeMediaThumb LibraryCollectionCollectionGetCompositeParamsCompositeMedia = "thumb" )
Defines values for LibraryCollectionCollectionGetCompositeParamsCompositeMedia.
func (LibraryCollectionCollectionGetCompositeParamsCompositeMedia) Valid ¶
func (e LibraryCollectionCollectionGetCompositeParamsCompositeMedia) Valid() bool
Valid indicates whether the value is a known member of the LibraryCollectionCollectionGetCompositeParamsCompositeMedia enum.
type LibraryCollectionCollectionGetCompositeResponse ¶
type LibraryCollectionCollectionGetCompositeResponse struct {
Body []byte
HTTPResponse *http.Response
}
func ParseLibraryCollectionCollectionGetCompositeResponse ¶
func ParseLibraryCollectionCollectionGetCompositeResponse(rsp *http.Response) (*LibraryCollectionCollectionGetCompositeResponse, error)
ParseLibraryCollectionCollectionGetCompositeResponse parses an HTTP response from a LibraryCollectionCollectionGetCompositeWithResponse call
func (LibraryCollectionCollectionGetCompositeResponse) ContentType ¶
func (r LibraryCollectionCollectionGetCompositeResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (LibraryCollectionCollectionGetCompositeResponse) GetBody ¶
func (r LibraryCollectionCollectionGetCompositeResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (LibraryCollectionCollectionGetCompositeResponse) Status ¶
func (r LibraryCollectionCollectionGetCompositeResponse) Status() string
Status returns HTTPResponse.Status
func (LibraryCollectionCollectionGetCompositeResponse) StatusCode ¶
func (r LibraryCollectionCollectionGetCompositeResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type LibraryCollectionCollectionGetItemsResponse ¶
type LibraryCollectionCollectionGetItemsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *MediaContainerWithMetadata
}
func ParseLibraryCollectionCollectionGetItemsResponse ¶
func ParseLibraryCollectionCollectionGetItemsResponse(rsp *http.Response) (*LibraryCollectionCollectionGetItemsResponse, error)
ParseLibraryCollectionCollectionGetItemsResponse parses an HTTP response from a LibraryCollectionCollectionGetItemsWithResponse call
func (LibraryCollectionCollectionGetItemsResponse) ContentType ¶
func (r LibraryCollectionCollectionGetItemsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (LibraryCollectionCollectionGetItemsResponse) GetBody ¶
func (r LibraryCollectionCollectionGetItemsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (LibraryCollectionCollectionGetItemsResponse) GetJSON200 ¶
func (r LibraryCollectionCollectionGetItemsResponse) GetJSON200() *MediaContainerWithMetadata
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (LibraryCollectionCollectionGetItemsResponse) Status ¶
func (r LibraryCollectionCollectionGetItemsResponse) Status() string
Status returns HTTPResponse.Status
func (LibraryCollectionCollectionGetItemsResponse) StatusCode ¶
func (r LibraryCollectionCollectionGetItemsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type LibraryCollectionCollectionPutItemsItemMoveParams ¶
type LibraryCollectionCollectionPutItemsItemMoveParams struct {
// After The item to move this item after. If not provided, this item will be moved to the beginning
After int `form:"after,omitempty" json:"after,omitempty,omitzero"`
}
LibraryCollectionCollectionPutItemsItemMoveParams defines parameters for LibraryCollectionCollectionPutItemsItemMove.
type LibraryCollectionCollectionPutItemsItemMoveResponse ¶
type LibraryCollectionCollectionPutItemsItemMoveResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *MediaContainerWithMetadata
}
func ParseLibraryCollectionCollectionPutItemsItemMoveResponse ¶
func ParseLibraryCollectionCollectionPutItemsItemMoveResponse(rsp *http.Response) (*LibraryCollectionCollectionPutItemsItemMoveResponse, error)
ParseLibraryCollectionCollectionPutItemsItemMoveResponse parses an HTTP response from a LibraryCollectionCollectionPutItemsItemMoveWithResponse call
func (LibraryCollectionCollectionPutItemsItemMoveResponse) ContentType ¶
func (r LibraryCollectionCollectionPutItemsItemMoveResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (LibraryCollectionCollectionPutItemsItemMoveResponse) GetBody ¶
func (r LibraryCollectionCollectionPutItemsItemMoveResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (LibraryCollectionCollectionPutItemsItemMoveResponse) GetJSON200 ¶
func (r LibraryCollectionCollectionPutItemsItemMoveResponse) GetJSON200() *MediaContainerWithMetadata
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (LibraryCollectionCollectionPutItemsItemMoveResponse) Status ¶
func (r LibraryCollectionCollectionPutItemsItemMoveResponse) Status() string
Status returns HTTPResponse.Status
func (LibraryCollectionCollectionPutItemsItemMoveResponse) StatusCode ¶
func (r LibraryCollectionCollectionPutItemsItemMoveResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type LibraryCollectionCollectionPutItemsItemResponse ¶
type LibraryCollectionCollectionPutItemsItemResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *MediaContainerWithMetadata
}
func ParseLibraryCollectionCollectionPutItemsItemResponse ¶
func ParseLibraryCollectionCollectionPutItemsItemResponse(rsp *http.Response) (*LibraryCollectionCollectionPutItemsItemResponse, error)
ParseLibraryCollectionCollectionPutItemsItemResponse parses an HTTP response from a LibraryCollectionCollectionPutItemsItemWithResponse call
func (LibraryCollectionCollectionPutItemsItemResponse) ContentType ¶
func (r LibraryCollectionCollectionPutItemsItemResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (LibraryCollectionCollectionPutItemsItemResponse) GetBody ¶
func (r LibraryCollectionCollectionPutItemsItemResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (LibraryCollectionCollectionPutItemsItemResponse) GetJSON200 ¶
func (r LibraryCollectionCollectionPutItemsItemResponse) GetJSON200() *MediaContainerWithMetadata
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (LibraryCollectionCollectionPutItemsItemResponse) Status ¶
func (r LibraryCollectionCollectionPutItemsItemResponse) Status() string
Status returns HTTPResponse.Status
func (LibraryCollectionCollectionPutItemsItemResponse) StatusCode ¶
func (r LibraryCollectionCollectionPutItemsItemResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type LibraryCollectionCollectionPutItemsParams ¶
type LibraryCollectionCollectionPutItemsParams struct {
// URI The URI describing the items to add to this collection
URI string `form:"uri" json:"uri"`
}
LibraryCollectionCollectionPutItemsParams defines parameters for LibraryCollectionCollectionPutItems.
type LibraryCollectionCollectionPutItemsResponse ¶
type LibraryCollectionCollectionPutItemsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *MediaContainerWithMetadata
}
func ParseLibraryCollectionCollectionPutItemsResponse ¶
func ParseLibraryCollectionCollectionPutItemsResponse(rsp *http.Response) (*LibraryCollectionCollectionPutItemsResponse, error)
ParseLibraryCollectionCollectionPutItemsResponse parses an HTTP response from a LibraryCollectionCollectionPutItemsWithResponse call
func (LibraryCollectionCollectionPutItemsResponse) ContentType ¶
func (r LibraryCollectionCollectionPutItemsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (LibraryCollectionCollectionPutItemsResponse) GetBody ¶
func (r LibraryCollectionCollectionPutItemsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (LibraryCollectionCollectionPutItemsResponse) GetJSON200 ¶
func (r LibraryCollectionCollectionPutItemsResponse) GetJSON200() *MediaContainerWithMetadata
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (LibraryCollectionCollectionPutItemsResponse) Status ¶
func (r LibraryCollectionCollectionPutItemsResponse) Status() string
Status returns HTTPResponse.Status
func (LibraryCollectionCollectionPutItemsResponse) StatusCode ¶
func (r LibraryCollectionCollectionPutItemsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type LibraryCollectionPostSlashParams ¶
type LibraryCollectionPostSlashParams struct {
// SectionID The section where this collection will be created
SectionID string `form:"sectionId" json:"sectionId"`
// Title The title of this collection
Title string `form:"title" json:"title"`
// Smart Whether this is a smart collection. Defaults to false
Smart bool `form:"smart,omitempty" json:"smart,omitempty,omitzero"`
// URI The URI for processing the smart collection. Required for a smart collection
URI string `form:"uri,omitempty" json:"uri,omitempty,omitzero"`
// Type The type of metadata this collection will hold
Type int `form:"type,omitempty" json:"type,omitempty,omitzero"`
}
LibraryCollectionPostSlashParams defines parameters for LibraryCollectionPostSlash.
type LibraryCollectionPostSlashResponse ¶
type LibraryCollectionPostSlashResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *MediaContainerWithMetadata
}
func ParseLibraryCollectionPostSlashResponse ¶
func ParseLibraryCollectionPostSlashResponse(rsp *http.Response) (*LibraryCollectionPostSlashResponse, error)
ParseLibraryCollectionPostSlashResponse parses an HTTP response from a LibraryCollectionPostSlashWithResponse call
func (LibraryCollectionPostSlashResponse) ContentType ¶
func (r LibraryCollectionPostSlashResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (LibraryCollectionPostSlashResponse) GetBody ¶
func (r LibraryCollectionPostSlashResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (LibraryCollectionPostSlashResponse) GetJSON200 ¶
func (r LibraryCollectionPostSlashResponse) GetJSON200() *MediaContainerWithMetadata
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (LibraryCollectionPostSlashResponse) Status ¶
func (r LibraryCollectionPostSlashResponse) Status() string
Status returns HTTPResponse.Status
func (LibraryCollectionPostSlashResponse) StatusCode ¶
func (r LibraryCollectionPostSlashResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type LibraryDeleteCachesResponse ¶
func ParseLibraryDeleteCachesResponse ¶
func ParseLibraryDeleteCachesResponse(rsp *http.Response) (*LibraryDeleteCachesResponse, error)
ParseLibraryDeleteCachesResponse parses an HTTP response from a LibraryDeleteCachesWithResponse call
func (LibraryDeleteCachesResponse) ContentType ¶
func (r LibraryDeleteCachesResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (LibraryDeleteCachesResponse) GetBody ¶
func (r LibraryDeleteCachesResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (LibraryDeleteCachesResponse) Status ¶
func (r LibraryDeleteCachesResponse) Status() string
Status returns HTTPResponse.Status
func (LibraryDeleteCachesResponse) StatusCode ¶
func (r LibraryDeleteCachesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type LibraryDeleteSectionParams ¶
type LibraryDeleteSectionParams struct {
// Async If set, response will return an activity with the actual deletion process. Otherwise request will return when deletion is complete
Async LibraryDeleteSectionParamsAsync `form:"async,omitempty" json:"async,omitempty,omitzero"`
}
LibraryDeleteSectionParams defines parameters for LibraryDeleteSection.
type LibraryDeleteSectionParamsAsync ¶
type LibraryDeleteSectionParamsAsync int
LibraryDeleteSectionParamsAsync defines parameters for LibraryDeleteSection.
const ( LibraryDeleteSectionParamsAsyncN0 LibraryDeleteSectionParamsAsync = 0 LibraryDeleteSectionParamsAsyncN1 LibraryDeleteSectionParamsAsync = 1 )
Defines values for LibraryDeleteSectionParamsAsync.
func (LibraryDeleteSectionParamsAsync) Valid ¶
func (e LibraryDeleteSectionParamsAsync) Valid() bool
Valid indicates whether the value is a known member of the LibraryDeleteSectionParamsAsync enum.
type LibraryDeleteSectionResponse ¶
func ParseLibraryDeleteSectionResponse ¶
func ParseLibraryDeleteSectionResponse(rsp *http.Response) (*LibraryDeleteSectionResponse, error)
ParseLibraryDeleteSectionResponse parses an HTTP response from a LibraryDeleteSectionWithResponse call
func (LibraryDeleteSectionResponse) ContentType ¶
func (r LibraryDeleteSectionResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (LibraryDeleteSectionResponse) GetBody ¶
func (r LibraryDeleteSectionResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (LibraryDeleteSectionResponse) Status ¶
func (r LibraryDeleteSectionResponse) Status() string
Status returns HTTPResponse.Status
func (LibraryDeleteSectionResponse) StatusCode ¶
func (r LibraryDeleteSectionResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type LibraryDeleteSectionsAllRefreshResponse ¶
type LibraryDeleteSectionsAllRefreshResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *RequestHandlerSlashGetResponses200
}
func ParseLibraryDeleteSectionsAllRefreshResponse ¶
func ParseLibraryDeleteSectionsAllRefreshResponse(rsp *http.Response) (*LibraryDeleteSectionsAllRefreshResponse, error)
ParseLibraryDeleteSectionsAllRefreshResponse parses an HTTP response from a LibraryDeleteSectionsAllRefreshWithResponse call
func (LibraryDeleteSectionsAllRefreshResponse) ContentType ¶
func (r LibraryDeleteSectionsAllRefreshResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (LibraryDeleteSectionsAllRefreshResponse) GetBody ¶
func (r LibraryDeleteSectionsAllRefreshResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (LibraryDeleteSectionsAllRefreshResponse) GetJSON200 ¶
func (r LibraryDeleteSectionsAllRefreshResponse) GetJSON200() *RequestHandlerSlashGetResponses200
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (LibraryDeleteSectionsAllRefreshResponse) Status ¶
func (r LibraryDeleteSectionsAllRefreshResponse) Status() string
Status returns HTTPResponse.Status
func (LibraryDeleteSectionsAllRefreshResponse) StatusCode ¶
func (r LibraryDeleteSectionsAllRefreshResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type LibraryDeleteStreamsStreamResponse ¶
func ParseLibraryDeleteStreamsStreamResponse ¶
func ParseLibraryDeleteStreamsStreamResponse(rsp *http.Response) (*LibraryDeleteStreamsStreamResponse, error)
ParseLibraryDeleteStreamsStreamResponse parses an HTTP response from a LibraryDeleteStreamsStreamWithResponse call
func (LibraryDeleteStreamsStreamResponse) ContentType ¶
func (r LibraryDeleteStreamsStreamResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (LibraryDeleteStreamsStreamResponse) GetBody ¶
func (r LibraryDeleteStreamsStreamResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (LibraryDeleteStreamsStreamResponse) Status ¶
func (r LibraryDeleteStreamsStreamResponse) Status() string
Status returns HTTPResponse.Status
func (LibraryDeleteStreamsStreamResponse) StatusCode ¶
func (r LibraryDeleteStreamsStreamResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type LibraryGetAllParams ¶
type LibraryGetAllParams struct {
// MediaQuery This is a complex query built of several parameters. See [API Info section](#section/API-Info/Media-Queries) for information on building media queries
MediaQuery MediaQuery `form:"mediaQuery,omitempty" json:"mediaQuery,omitempty,omitzero"`
}
LibraryGetAllParams defines parameters for LibraryGetAll.
type LibraryGetAllResponse ¶
type LibraryGetAllResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *MediaContainerWithMetadata
// Headers200 the parsed response headers for an HTTP 200 response
Headers200 *LibraryGetAllResponse200Headers
}
func ParseLibraryGetAllResponse ¶
func ParseLibraryGetAllResponse(rsp *http.Response) (*LibraryGetAllResponse, error)
ParseLibraryGetAllResponse parses an HTTP response from a LibraryGetAllWithResponse call
func (LibraryGetAllResponse) ContentType ¶
func (r LibraryGetAllResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (LibraryGetAllResponse) GetBody ¶
func (r LibraryGetAllResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (LibraryGetAllResponse) GetJSON200 ¶
func (r LibraryGetAllResponse) GetJSON200() *MediaContainerWithMetadata
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (LibraryGetAllResponse) Status ¶
func (r LibraryGetAllResponse) Status() string
Status returns HTTPResponse.Status
func (LibraryGetAllResponse) StatusCode ¶
func (r LibraryGetAllResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type LibraryGetAllResponse200Headers ¶
LibraryGetAllResponse200Headers the declared response headers of an HTTP 200 response for LibraryGetAll
type LibraryGetMatchesParams ¶
type LibraryGetMatchesParams struct {
// Type The metadata type to match against
Type int `form:"type" json:"type"`
IncludeFullMetadata LibraryGetMatchesParamsIncludeFullMetadata `form:"includeFullMetadata,omitempty" json:"includeFullMetadata,omitempty,omitzero"`
IncludeAncestorMetadata LibraryGetMatchesParamsIncludeAncestorMetadata `form:"includeAncestorMetadata,omitempty" json:"includeAncestorMetadata,omitempty,omitzero"`
IncludeAlternateMetadataSources LibraryGetMatchesParamsIncludeAlternateMetadataSources `form:"includeAlternateMetadataSources,omitempty" json:"includeAlternateMetadataSources,omitempty,omitzero"`
// GUID Used for movies, shows, artists, albums, and tracks. Allowed for various URI schemes, to be defined.
GUID string `form:"guid,omitempty" json:"guid,omitempty,omitzero"`
// Title Used for movies, shows, artists, and albums. Required if `path` is not specified.
Title string `form:"title,omitempty" json:"title,omitempty,omitzero"`
// Year Used for movies shows, and albums. Optional.
Year int `form:"year,omitempty" json:"year,omitempty,omitzero"`
// Path Used for movies, episodes, and tracks. The full path to the media file, used for "cloud-scanning" an item.
Path string `form:"path,omitempty" json:"path,omitempty,omitzero"`
// GrandparentTitle Used for episodes and tracks. The title of the show/artist. Required if `path` isn't passed.
GrandparentTitle string `form:"grandparentTitle,omitempty" json:"grandparentTitle,omitempty,omitzero"`
// GrandparentYear Used for episodes. The year of the show.
GrandparentYear int `form:"grandparentYear,omitempty" json:"grandparentYear,omitempty,omitzero"`
// ParentIndex Used for episodes and tracks. The season/album number.
ParentIndex int `form:"parentIndex,omitempty" json:"parentIndex,omitempty,omitzero"`
// Index Used for episodes and tracks. The episode/tracks number in the season/album.
Index int `form:"index,omitempty" json:"index,omitempty,omitzero"`
// OriginallyAvailableAt Used for episodes. In the format `YYYY-MM-DD`.
OriginallyAvailableAt string `form:"originallyAvailableAt,omitempty" json:"originallyAvailableAt,omitempty,omitzero"`
// ParentTitle Used for albums and tracks. The artist name for albums or the album name for tracks.
ParentTitle string `form:"parentTitle,omitempty" json:"parentTitle,omitempty,omitzero"`
}
LibraryGetMatchesParams defines parameters for LibraryGetMatches.
type LibraryGetMatchesParamsIncludeAlternateMetadataSources ¶
type LibraryGetMatchesParamsIncludeAlternateMetadataSources int
LibraryGetMatchesParamsIncludeAlternateMetadataSources defines parameters for LibraryGetMatches.
const ( LibraryGetMatchesParamsIncludeAlternateMetadataSourcesN0 LibraryGetMatchesParamsIncludeAlternateMetadataSources = 0 LibraryGetMatchesParamsIncludeAlternateMetadataSourcesN1 LibraryGetMatchesParamsIncludeAlternateMetadataSources = 1 )
Defines values for LibraryGetMatchesParamsIncludeAlternateMetadataSources.
func (LibraryGetMatchesParamsIncludeAlternateMetadataSources) Valid ¶
func (e LibraryGetMatchesParamsIncludeAlternateMetadataSources) Valid() bool
Valid indicates whether the value is a known member of the LibraryGetMatchesParamsIncludeAlternateMetadataSources enum.
type LibraryGetMatchesParamsIncludeAncestorMetadata ¶
type LibraryGetMatchesParamsIncludeAncestorMetadata int
LibraryGetMatchesParamsIncludeAncestorMetadata defines parameters for LibraryGetMatches.
const ( LibraryGetMatchesParamsIncludeAncestorMetadataN0 LibraryGetMatchesParamsIncludeAncestorMetadata = 0 LibraryGetMatchesParamsIncludeAncestorMetadataN1 LibraryGetMatchesParamsIncludeAncestorMetadata = 1 )
Defines values for LibraryGetMatchesParamsIncludeAncestorMetadata.
func (LibraryGetMatchesParamsIncludeAncestorMetadata) Valid ¶
func (e LibraryGetMatchesParamsIncludeAncestorMetadata) Valid() bool
Valid indicates whether the value is a known member of the LibraryGetMatchesParamsIncludeAncestorMetadata enum.
type LibraryGetMatchesParamsIncludeFullMetadata ¶
type LibraryGetMatchesParamsIncludeFullMetadata int
LibraryGetMatchesParamsIncludeFullMetadata defines parameters for LibraryGetMatches.
const ( LibraryGetMatchesParamsIncludeFullMetadataN0 LibraryGetMatchesParamsIncludeFullMetadata = 0 LibraryGetMatchesParamsIncludeFullMetadataN1 LibraryGetMatchesParamsIncludeFullMetadata = 1 )
Defines values for LibraryGetMatchesParamsIncludeFullMetadata.
func (LibraryGetMatchesParamsIncludeFullMetadata) Valid ¶
func (e LibraryGetMatchesParamsIncludeFullMetadata) Valid() bool
Valid indicates whether the value is a known member of the LibraryGetMatchesParamsIncludeFullMetadata enum.
type LibraryGetMatchesResponse ¶
type LibraryGetMatchesResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *MediaContainerWithMetadata
// Headers200 the parsed response headers for an HTTP 200 response
Headers200 *LibraryGetMatchesResponse200Headers
}
func ParseLibraryGetMatchesResponse ¶
func ParseLibraryGetMatchesResponse(rsp *http.Response) (*LibraryGetMatchesResponse, error)
ParseLibraryGetMatchesResponse parses an HTTP response from a LibraryGetMatchesWithResponse call
func (LibraryGetMatchesResponse) ContentType ¶
func (r LibraryGetMatchesResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (LibraryGetMatchesResponse) GetBody ¶
func (r LibraryGetMatchesResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (LibraryGetMatchesResponse) GetJSON200 ¶
func (r LibraryGetMatchesResponse) GetJSON200() *MediaContainerWithMetadata
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (LibraryGetMatchesResponse) Status ¶
func (r LibraryGetMatchesResponse) Status() string
Status returns HTTPResponse.Status
func (LibraryGetMatchesResponse) StatusCode ¶
func (r LibraryGetMatchesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type LibraryGetMatchesResponse200Headers ¶
type LibraryGetMatchesResponse200Headers struct {
XPlexContainerStart int
XPlexContainerTotalSize int
}
LibraryGetMatchesResponse200Headers the declared response headers of an HTTP 200 response for LibraryGetMatches
type LibraryGetMediaMediaChapterImagesChapterResponse ¶
type LibraryGetMediaMediaChapterImagesChapterResponse struct {
Body []byte
HTTPResponse *http.Response
}
func ParseLibraryGetMediaMediaChapterImagesChapterResponse ¶
func ParseLibraryGetMediaMediaChapterImagesChapterResponse(rsp *http.Response) (*LibraryGetMediaMediaChapterImagesChapterResponse, error)
ParseLibraryGetMediaMediaChapterImagesChapterResponse parses an HTTP response from a LibraryGetMediaMediaChapterImagesChapterWithResponse call
func (LibraryGetMediaMediaChapterImagesChapterResponse) ContentType ¶
func (r LibraryGetMediaMediaChapterImagesChapterResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (LibraryGetMediaMediaChapterImagesChapterResponse) GetBody ¶
func (r LibraryGetMediaMediaChapterImagesChapterResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (LibraryGetMediaMediaChapterImagesChapterResponse) Status ¶
func (r LibraryGetMediaMediaChapterImagesChapterResponse) Status() string
Status returns HTTPResponse.Status
func (LibraryGetMediaMediaChapterImagesChapterResponse) StatusCode ¶
func (r LibraryGetMediaMediaChapterImagesChapterResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type LibraryGetMetadataAugmentationsAugmentationParams ¶
type LibraryGetMetadataAugmentationsAugmentationParams struct {
// Wait Wait for augmentation completion before returning
Wait LibraryGetMetadataAugmentationsAugmentationParamsWait `form:"wait,omitempty" json:"wait,omitempty,omitzero"`
}
LibraryGetMetadataAugmentationsAugmentationParams defines parameters for LibraryGetMetadataAugmentationsAugmentation.
type LibraryGetMetadataAugmentationsAugmentationParamsWait ¶
type LibraryGetMetadataAugmentationsAugmentationParamsWait int
LibraryGetMetadataAugmentationsAugmentationParamsWait defines parameters for LibraryGetMetadataAugmentationsAugmentation.
const ( LibraryGetMetadataAugmentationsAugmentationParamsWaitN0 LibraryGetMetadataAugmentationsAugmentationParamsWait = 0 LibraryGetMetadataAugmentationsAugmentationParamsWaitN1 LibraryGetMetadataAugmentationsAugmentationParamsWait = 1 )
Defines values for LibraryGetMetadataAugmentationsAugmentationParamsWait.
func (LibraryGetMetadataAugmentationsAugmentationParamsWait) Valid ¶
func (e LibraryGetMetadataAugmentationsAugmentationParamsWait) Valid() bool
Valid indicates whether the value is a known member of the LibraryGetMetadataAugmentationsAugmentationParamsWait enum.
type LibraryGetMetadataAugmentationsAugmentationResponse ¶
type LibraryGetMetadataAugmentationsAugmentationResponse struct {
Body []byte
HTTPResponse *http.Response
}
func ParseLibraryGetMetadataAugmentationsAugmentationResponse ¶
func ParseLibraryGetMetadataAugmentationsAugmentationResponse(rsp *http.Response) (*LibraryGetMetadataAugmentationsAugmentationResponse, error)
ParseLibraryGetMetadataAugmentationsAugmentationResponse parses an HTTP response from a LibraryGetMetadataAugmentationsAugmentationWithResponse call
func (LibraryGetMetadataAugmentationsAugmentationResponse) ContentType ¶
func (r LibraryGetMetadataAugmentationsAugmentationResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (LibraryGetMetadataAugmentationsAugmentationResponse) GetBody ¶
func (r LibraryGetMetadataAugmentationsAugmentationResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (LibraryGetMetadataAugmentationsAugmentationResponse) Status ¶
func (r LibraryGetMetadataAugmentationsAugmentationResponse) Status() string
Status returns HTTPResponse.Status
func (LibraryGetMetadataAugmentationsAugmentationResponse) StatusCode ¶
func (r LibraryGetMetadataAugmentationsAugmentationResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type LibraryGetPartsPartChangestampFilenameParams ¶
type LibraryGetPartsPartChangestampFilenameParams struct {
// Download Whether this is a file download
Download LibraryGetPartsPartChangestampFilenameParamsDownload `form:"download,omitempty" json:"download,omitempty,omitzero"`
}
LibraryGetPartsPartChangestampFilenameParams defines parameters for LibraryGetPartsPartChangestampFilename.
type LibraryGetPartsPartChangestampFilenameParamsDownload ¶
type LibraryGetPartsPartChangestampFilenameParamsDownload int
LibraryGetPartsPartChangestampFilenameParamsDownload defines parameters for LibraryGetPartsPartChangestampFilename.
const ( LibraryGetPartsPartChangestampFilenameParamsDownloadN0 LibraryGetPartsPartChangestampFilenameParamsDownload = 0 LibraryGetPartsPartChangestampFilenameParamsDownloadN1 LibraryGetPartsPartChangestampFilenameParamsDownload = 1 )
Defines values for LibraryGetPartsPartChangestampFilenameParamsDownload.
func (LibraryGetPartsPartChangestampFilenameParamsDownload) Valid ¶
func (e LibraryGetPartsPartChangestampFilenameParamsDownload) Valid() bool
Valid indicates whether the value is a known member of the LibraryGetPartsPartChangestampFilenameParamsDownload enum.
type LibraryGetPartsPartChangestampFilenameResponse ¶
type LibraryGetPartsPartChangestampFilenameResponse struct {
Body []byte
HTTPResponse *http.Response
// Headers200 the parsed response headers for an HTTP 200 response
Headers200 *LibraryGetPartsPartChangestampFilenameResponse200Headers
}
func ParseLibraryGetPartsPartChangestampFilenameResponse ¶
func ParseLibraryGetPartsPartChangestampFilenameResponse(rsp *http.Response) (*LibraryGetPartsPartChangestampFilenameResponse, error)
ParseLibraryGetPartsPartChangestampFilenameResponse parses an HTTP response from a LibraryGetPartsPartChangestampFilenameWithResponse call
func (LibraryGetPartsPartChangestampFilenameResponse) ContentType ¶
func (r LibraryGetPartsPartChangestampFilenameResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (LibraryGetPartsPartChangestampFilenameResponse) GetBody ¶
func (r LibraryGetPartsPartChangestampFilenameResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (LibraryGetPartsPartChangestampFilenameResponse) Status ¶
func (r LibraryGetPartsPartChangestampFilenameResponse) Status() string
Status returns HTTPResponse.Status
func (LibraryGetPartsPartChangestampFilenameResponse) StatusCode ¶
func (r LibraryGetPartsPartChangestampFilenameResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type LibraryGetPartsPartChangestampFilenameResponse200Headers ¶
type LibraryGetPartsPartChangestampFilenameResponse200Headers struct {
ContentDisposition string
}
LibraryGetPartsPartChangestampFilenameResponse200Headers the declared response headers of an HTTP 200 response for LibraryGetPartsPartChangestampFilename
type LibraryGetPartsPartIndexesIndexOffsetParamsIndex ¶
type LibraryGetPartsPartIndexesIndexOffsetParamsIndex string
LibraryGetPartsPartIndexesIndexOffsetParamsIndex defines parameters for LibraryGetPartsPartIndexesIndexOffset.
const (
LibraryGetPartsPartIndexesIndexOffsetParamsIndexSd LibraryGetPartsPartIndexesIndexOffsetParamsIndex = "sd"
)
Defines values for LibraryGetPartsPartIndexesIndexOffsetParamsIndex.
func (LibraryGetPartsPartIndexesIndexOffsetParamsIndex) Valid ¶
func (e LibraryGetPartsPartIndexesIndexOffsetParamsIndex) Valid() bool
Valid indicates whether the value is a known member of the LibraryGetPartsPartIndexesIndexOffsetParamsIndex enum.
type LibraryGetPartsPartIndexesIndexOffsetResponse ¶
type LibraryGetPartsPartIndexesIndexOffsetResponse struct {
Body []byte
HTTPResponse *http.Response
}
func ParseLibraryGetPartsPartIndexesIndexOffsetResponse ¶
func ParseLibraryGetPartsPartIndexesIndexOffsetResponse(rsp *http.Response) (*LibraryGetPartsPartIndexesIndexOffsetResponse, error)
ParseLibraryGetPartsPartIndexesIndexOffsetResponse parses an HTTP response from a LibraryGetPartsPartIndexesIndexOffsetWithResponse call
func (LibraryGetPartsPartIndexesIndexOffsetResponse) ContentType ¶
func (r LibraryGetPartsPartIndexesIndexOffsetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (LibraryGetPartsPartIndexesIndexOffsetResponse) GetBody ¶
func (r LibraryGetPartsPartIndexesIndexOffsetResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (LibraryGetPartsPartIndexesIndexOffsetResponse) Status ¶
func (r LibraryGetPartsPartIndexesIndexOffsetResponse) Status() string
Status returns HTTPResponse.Status
func (LibraryGetPartsPartIndexesIndexOffsetResponse) StatusCode ¶
func (r LibraryGetPartsPartIndexesIndexOffsetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type LibraryGetPartsPartIndexesIndexParams ¶
type LibraryGetPartsPartIndexesIndexParams struct {
// Interval The interval between images to return in ms.
Interval int `form:"interval,omitempty" json:"interval,omitempty,omitzero"`
}
LibraryGetPartsPartIndexesIndexParams defines parameters for LibraryGetPartsPartIndexesIndex.
type LibraryGetPartsPartIndexesIndexParamsIndex ¶
type LibraryGetPartsPartIndexesIndexParamsIndex string
LibraryGetPartsPartIndexesIndexParamsIndex defines parameters for LibraryGetPartsPartIndexesIndex.
const (
LibraryGetPartsPartIndexesIndexParamsIndexSd LibraryGetPartsPartIndexesIndexParamsIndex = "sd"
)
Defines values for LibraryGetPartsPartIndexesIndexParamsIndex.
func (LibraryGetPartsPartIndexesIndexParamsIndex) Valid ¶
func (e LibraryGetPartsPartIndexesIndexParamsIndex) Valid() bool
Valid indicates whether the value is a known member of the LibraryGetPartsPartIndexesIndexParamsIndex enum.
type LibraryGetPartsPartIndexesIndexResponse ¶
func ParseLibraryGetPartsPartIndexesIndexResponse ¶
func ParseLibraryGetPartsPartIndexesIndexResponse(rsp *http.Response) (*LibraryGetPartsPartIndexesIndexResponse, error)
ParseLibraryGetPartsPartIndexesIndexResponse parses an HTTP response from a LibraryGetPartsPartIndexesIndexWithResponse call
func (LibraryGetPartsPartIndexesIndexResponse) ContentType ¶
func (r LibraryGetPartsPartIndexesIndexResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (LibraryGetPartsPartIndexesIndexResponse) GetBody ¶
func (r LibraryGetPartsPartIndexesIndexResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (LibraryGetPartsPartIndexesIndexResponse) Status ¶
func (r LibraryGetPartsPartIndexesIndexResponse) Status() string
Status returns HTTPResponse.Status
func (LibraryGetPartsPartIndexesIndexResponse) StatusCode ¶
func (r LibraryGetPartsPartIndexesIndexResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type LibraryGetPeoplePersonMediaParamsPersonID0 ¶
type LibraryGetPeoplePersonMediaParamsPersonID0 = int
LibraryGetPeoplePersonMediaParamsPersonID0 defines parameters for LibraryGetPeoplePersonMedia.
type LibraryGetPeoplePersonMediaParamsPersonID1 ¶
type LibraryGetPeoplePersonMediaParamsPersonID1 = string
LibraryGetPeoplePersonMediaParamsPersonID1 defines parameters for LibraryGetPeoplePersonMedia.
type LibraryGetPeoplePersonMediaResponse ¶
type LibraryGetPeoplePersonMediaResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *MediaContainerWithMetadata
}
func ParseLibraryGetPeoplePersonMediaResponse ¶
func ParseLibraryGetPeoplePersonMediaResponse(rsp *http.Response) (*LibraryGetPeoplePersonMediaResponse, error)
ParseLibraryGetPeoplePersonMediaResponse parses an HTTP response from a LibraryGetPeoplePersonMediaWithResponse call
func (LibraryGetPeoplePersonMediaResponse) ContentType ¶
func (r LibraryGetPeoplePersonMediaResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (LibraryGetPeoplePersonMediaResponse) GetBody ¶
func (r LibraryGetPeoplePersonMediaResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (LibraryGetPeoplePersonMediaResponse) GetJSON200 ¶
func (r LibraryGetPeoplePersonMediaResponse) GetJSON200() *MediaContainerWithMetadata
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (LibraryGetPeoplePersonMediaResponse) Status ¶
func (r LibraryGetPeoplePersonMediaResponse) Status() string
Status returns HTTPResponse.Status
func (LibraryGetPeoplePersonMediaResponse) StatusCode ¶
func (r LibraryGetPeoplePersonMediaResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type LibraryGetPeoplePersonParamsPersonID0 ¶
type LibraryGetPeoplePersonParamsPersonID0 = int
LibraryGetPeoplePersonParamsPersonID0 defines parameters for LibraryGetPeoplePerson.
type LibraryGetPeoplePersonParamsPersonID1 ¶
type LibraryGetPeoplePersonParamsPersonID1 = string
LibraryGetPeoplePersonParamsPersonID1 defines parameters for LibraryGetPeoplePerson.
type LibraryGetPeoplePersonResponse ¶
type LibraryGetPeoplePersonResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *struct {
MediaContainer struct {
Directory []Tag `json:"Directory,omitempty,omitzero"`
Identifier string `json:"identifier,omitempty,omitzero"`
// Offset The offset of where this container page starts among the total objects available. Also provided in the X-Plex-Container-Start header
Offset int `json:"offset,omitempty,omitzero"`
Size int `json:"size,omitempty,omitzero"`
// TotalSize The total size of objects available. Also provided in the X-Plex-Container-Total-Size header
TotalSize int `json:"totalSize,omitempty,omitzero"`
} `json:"MediaContainer,omitempty,omitzero"`
}
}
func ParseLibraryGetPeoplePersonResponse ¶
func ParseLibraryGetPeoplePersonResponse(rsp *http.Response) (*LibraryGetPeoplePersonResponse, error)
ParseLibraryGetPeoplePersonResponse parses an HTTP response from a LibraryGetPeoplePersonWithResponse call
func (LibraryGetPeoplePersonResponse) ContentType ¶
func (r LibraryGetPeoplePersonResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (LibraryGetPeoplePersonResponse) GetBody ¶
func (r LibraryGetPeoplePersonResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (LibraryGetPeoplePersonResponse) GetJSON200 ¶
func (r LibraryGetPeoplePersonResponse) GetJSON200() *struct { MediaContainer struct { Directory []Tag `json:"Directory,omitempty,omitzero"` Identifier string `json:"identifier,omitempty,omitzero"` // Offset The offset of where this container page starts among the total objects available. Also provided in the X-Plex-Container-Start header Offset int `json:"offset,omitempty,omitzero"` Size int `json:"size,omitempty,omitzero"` // TotalSize The total size of objects available. Also provided in the X-Plex-Container-Total-Size header TotalSize int `json:"totalSize,omitempty,omitzero"` } `json:"MediaContainer,omitempty,omitzero"` }
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (LibraryGetPeoplePersonResponse) Status ¶
func (r LibraryGetPeoplePersonResponse) Status() string
Status returns HTTPResponse.Status
func (LibraryGetPeoplePersonResponse) StatusCode ¶
func (r LibraryGetPeoplePersonResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type LibraryGetRandomArtworkParams ¶
type LibraryGetRandomArtworkParams struct {
// Sections The sections for which to fetch artwork.
Sections []int `form:"sections,omitempty" json:"sections,omitempty,omitzero"`
}
LibraryGetRandomArtworkParams defines parameters for LibraryGetRandomArtwork.
type LibraryGetRandomArtworkResponse ¶
type LibraryGetRandomArtworkResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *MediaContainerWithArtwork
}
func ParseLibraryGetRandomArtworkResponse ¶
func ParseLibraryGetRandomArtworkResponse(rsp *http.Response) (*LibraryGetRandomArtworkResponse, error)
ParseLibraryGetRandomArtworkResponse parses an HTTP response from a LibraryGetRandomArtworkWithResponse call
func (LibraryGetRandomArtworkResponse) ContentType ¶
func (r LibraryGetRandomArtworkResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (LibraryGetRandomArtworkResponse) GetBody ¶
func (r LibraryGetRandomArtworkResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (LibraryGetRandomArtworkResponse) GetJSON200 ¶
func (r LibraryGetRandomArtworkResponse) GetJSON200() *MediaContainerWithArtwork
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (LibraryGetRandomArtworkResponse) Status ¶
func (r LibraryGetRandomArtworkResponse) Status() string
Status returns HTTPResponse.Status
func (LibraryGetRandomArtworkResponse) StatusCode ¶
func (r LibraryGetRandomArtworkResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type LibraryGetSectionsPrefsParams ¶
type LibraryGetSectionsPrefsParams struct {
// Type The metadata type
Type int `form:"type" json:"type"`
// Agent The metadata agent in use
Agent string `form:"agent,omitempty" json:"agent,omitempty,omitzero"`
}
LibraryGetSectionsPrefsParams defines parameters for LibraryGetSectionsPrefs.
type LibraryGetSectionsPrefsResponse ¶
type LibraryGetSectionsPrefsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *RequestHandlerSlashGetResponses200
}
func ParseLibraryGetSectionsPrefsResponse ¶
func ParseLibraryGetSectionsPrefsResponse(rsp *http.Response) (*LibraryGetSectionsPrefsResponse, error)
ParseLibraryGetSectionsPrefsResponse parses an HTTP response from a LibraryGetSectionsPrefsWithResponse call
func (LibraryGetSectionsPrefsResponse) ContentType ¶
func (r LibraryGetSectionsPrefsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (LibraryGetSectionsPrefsResponse) GetBody ¶
func (r LibraryGetSectionsPrefsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (LibraryGetSectionsPrefsResponse) GetJSON200 ¶
func (r LibraryGetSectionsPrefsResponse) GetJSON200() *RequestHandlerSlashGetResponses200
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (LibraryGetSectionsPrefsResponse) Status ¶
func (r LibraryGetSectionsPrefsResponse) Status() string
Status returns HTTPResponse.Status
func (LibraryGetSectionsPrefsResponse) StatusCode ¶
func (r LibraryGetSectionsPrefsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type LibraryGetSectionsResponse ¶
type LibraryGetSectionsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *struct {
MediaContainer struct {
Directory []LibrarySection `json:"Directory,omitempty,omitzero"`
MediaContainer struct {
Identifier string `json:"identifier,omitempty,omitzero"`
// Offset The offset of where this container page starts among the total objects available. Also provided in the X-Plex-Container-Start header
Offset int `json:"offset,omitempty,omitzero"`
Size int `json:"size,omitempty,omitzero"`
// TotalSize The total size of objects available. Also provided in the X-Plex-Container-Total-Size header
TotalSize int `json:"totalSize,omitempty,omitzero"`
} `json:"MediaContainer,omitempty,omitzero"`
AllowSync AllowSync `json:"allowSync,omitempty,omitzero"`
// Title1 Typically just "Plex Library"
Title1 string `json:"title1,omitempty,omitzero"`
} `json:"MediaContainer,omitempty,omitzero"`
}
// Headers200 the parsed response headers for an HTTP 200 response
Headers200 *LibraryGetSectionsResponse200Headers
}
func ParseLibraryGetSectionsResponse ¶
func ParseLibraryGetSectionsResponse(rsp *http.Response) (*LibraryGetSectionsResponse, error)
ParseLibraryGetSectionsResponse parses an HTTP response from a LibraryGetSectionsWithResponse call
func (LibraryGetSectionsResponse) ContentType ¶
func (r LibraryGetSectionsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (LibraryGetSectionsResponse) GetBody ¶
func (r LibraryGetSectionsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (LibraryGetSectionsResponse) GetJSON200 ¶
func (r LibraryGetSectionsResponse) GetJSON200() *struct { MediaContainer struct { Directory []LibrarySection `json:"Directory,omitempty,omitzero"` MediaContainer struct { Identifier string `json:"identifier,omitempty,omitzero"` // Offset The offset of where this container page starts among the total objects available. Also provided in the X-Plex-Container-Start header Offset int `json:"offset,omitempty,omitzero"` Size int `json:"size,omitempty,omitzero"` // TotalSize The total size of objects available. Also provided in the X-Plex-Container-Total-Size header TotalSize int `json:"totalSize,omitempty,omitzero"` } `json:"MediaContainer,omitempty,omitzero"` AllowSync AllowSync `json:"allowSync,omitempty,omitzero"` // Title1 Typically just "Plex Library" Title1 string `json:"title1,omitempty,omitzero"` } `json:"MediaContainer,omitempty,omitzero"` }
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (LibraryGetSectionsResponse) Status ¶
func (r LibraryGetSectionsResponse) Status() string
Status returns HTTPResponse.Status
func (LibraryGetSectionsResponse) StatusCode ¶
func (r LibraryGetSectionsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type LibraryGetSectionsResponse200Headers ¶
type LibraryGetSectionsResponse200Headers struct {
XPlexContainerStart int
XPlexContainerTotalSize int
}
LibraryGetSectionsResponse200Headers the declared response headers of an HTTP 200 response for LibraryGetSections
type LibraryGetStreamsStreamLevelsParams ¶
type LibraryGetStreamsStreamLevelsParams struct {
// Subsample Subsample result down to return only the provided number of samples
Subsample int `form:"subsample,omitempty" json:"subsample,omitempty,omitzero"`
}
LibraryGetStreamsStreamLevelsParams defines parameters for LibraryGetStreamsStreamLevels.
type LibraryGetStreamsStreamLevelsResponse ¶
type LibraryGetStreamsStreamLevelsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *struct {
MediaContainer struct {
Level []struct {
// V The level in db.
V float32 `json:"v,omitempty,omitzero"`
} `json:"Level,omitempty,omitzero"`
Identifier string `json:"identifier,omitempty,omitzero"`
// Offset The offset of where this container page starts among the total objects available. Also provided in the X-Plex-Container-Start header
Offset int `json:"offset,omitempty,omitzero"`
Size int `json:"size,omitempty,omitzero"`
// TotalSamples The total number of samples (as a string)
TotalSamples string `json:"totalSamples,omitempty,omitzero"`
// TotalSize The total size of objects available. Also provided in the X-Plex-Container-Total-Size header
TotalSize int `json:"totalSize,omitempty,omitzero"`
} `json:"MediaContainer,omitempty,omitzero"`
}
}
func ParseLibraryGetStreamsStreamLevelsResponse ¶
func ParseLibraryGetStreamsStreamLevelsResponse(rsp *http.Response) (*LibraryGetStreamsStreamLevelsResponse, error)
ParseLibraryGetStreamsStreamLevelsResponse parses an HTTP response from a LibraryGetStreamsStreamLevelsWithResponse call
func (LibraryGetStreamsStreamLevelsResponse) ContentType ¶
func (r LibraryGetStreamsStreamLevelsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (LibraryGetStreamsStreamLevelsResponse) GetBody ¶
func (r LibraryGetStreamsStreamLevelsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (LibraryGetStreamsStreamLevelsResponse) GetJSON200 ¶
func (r LibraryGetStreamsStreamLevelsResponse) GetJSON200() *struct { MediaContainer struct { Level []struct { // V The level in db. V float32 `json:"v,omitempty,omitzero"` } `json:"Level,omitempty,omitzero"` Identifier string `json:"identifier,omitempty,omitzero"` // Offset The offset of where this container page starts among the total objects available. Also provided in the X-Plex-Container-Start header Offset int `json:"offset,omitempty,omitzero"` Size int `json:"size,omitempty,omitzero"` // TotalSamples The total number of samples (as a string) TotalSamples string `json:"totalSamples,omitempty,omitzero"` // TotalSize The total size of objects available. Also provided in the X-Plex-Container-Total-Size header TotalSize int `json:"totalSize,omitempty,omitzero"` } `json:"MediaContainer,omitempty,omitzero"` }
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (LibraryGetStreamsStreamLevelsResponse) Status ¶
func (r LibraryGetStreamsStreamLevelsResponse) Status() string
Status returns HTTPResponse.Status
func (LibraryGetStreamsStreamLevelsResponse) StatusCode ¶
func (r LibraryGetStreamsStreamLevelsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type LibraryGetStreamsStreamLoudnessParams ¶
type LibraryGetStreamsStreamLoudnessParams struct {
// Subsample Subsample result down to return only the provided number of samples
Subsample int `form:"subsample,omitempty" json:"subsample,omitempty,omitzero"`
}
LibraryGetStreamsStreamLoudnessParams defines parameters for LibraryGetStreamsStreamLoudness.
type LibraryGetStreamsStreamLoudnessResponse ¶
func ParseLibraryGetStreamsStreamLoudnessResponse ¶
func ParseLibraryGetStreamsStreamLoudnessResponse(rsp *http.Response) (*LibraryGetStreamsStreamLoudnessResponse, error)
ParseLibraryGetStreamsStreamLoudnessResponse parses an HTTP response from a LibraryGetStreamsStreamLoudnessWithResponse call
func (LibraryGetStreamsStreamLoudnessResponse) ContentType ¶
func (r LibraryGetStreamsStreamLoudnessResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (LibraryGetStreamsStreamLoudnessResponse) GetBody ¶
func (r LibraryGetStreamsStreamLoudnessResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (LibraryGetStreamsStreamLoudnessResponse) Status ¶
func (r LibraryGetStreamsStreamLoudnessResponse) Status() string
Status returns HTTPResponse.Status
func (LibraryGetStreamsStreamLoudnessResponse) StatusCode ¶
func (r LibraryGetStreamsStreamLoudnessResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type LibraryGetStreamsStreamParams ¶
type LibraryGetStreamsStreamParams struct {
// Encoding The requested encoding for the subtitle (only used for text subtitles)
Encoding string `form:"encoding,omitempty" json:"encoding,omitempty,omitzero"`
// Format The requested format for the subtitle to convert the subtitles to (only used for text subtitles)
Format string `form:"format,omitempty" json:"format,omitempty,omitzero"`
// AutoAdjustSubtitle Whether the server should attempt to automatically adjust the subtitle timestamps to match the media
AutoAdjustSubtitle LibraryGetStreamsStreamParamsAutoAdjustSubtitle `form:"autoAdjustSubtitle,omitempty" json:"autoAdjustSubtitle,omitempty,omitzero"`
}
LibraryGetStreamsStreamParams defines parameters for LibraryGetStreamsStream.
type LibraryGetStreamsStreamParamsAutoAdjustSubtitle ¶
type LibraryGetStreamsStreamParamsAutoAdjustSubtitle int
LibraryGetStreamsStreamParamsAutoAdjustSubtitle defines parameters for LibraryGetStreamsStream.
const ( LibraryGetStreamsStreamParamsAutoAdjustSubtitleN0 LibraryGetStreamsStreamParamsAutoAdjustSubtitle = 0 LibraryGetStreamsStreamParamsAutoAdjustSubtitleN1 LibraryGetStreamsStreamParamsAutoAdjustSubtitle = 1 )
Defines values for LibraryGetStreamsStreamParamsAutoAdjustSubtitle.
func (LibraryGetStreamsStreamParamsAutoAdjustSubtitle) Valid ¶
func (e LibraryGetStreamsStreamParamsAutoAdjustSubtitle) Valid() bool
Valid indicates whether the value is a known member of the LibraryGetStreamsStreamParamsAutoAdjustSubtitle enum.
type LibraryGetStreamsStreamResponse ¶
func ParseLibraryGetStreamsStreamResponse ¶
func ParseLibraryGetStreamsStreamResponse(rsp *http.Response) (*LibraryGetStreamsStreamResponse, error)
ParseLibraryGetStreamsStreamResponse parses an HTTP response from a LibraryGetStreamsStreamWithResponse call
func (LibraryGetStreamsStreamResponse) ContentType ¶
func (r LibraryGetStreamsStreamResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (LibraryGetStreamsStreamResponse) GetBody ¶
func (r LibraryGetStreamsStreamResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (LibraryGetStreamsStreamResponse) Status ¶
func (r LibraryGetStreamsStreamResponse) Status() string
Status returns HTTPResponse.Status
func (LibraryGetStreamsStreamResponse) StatusCode ¶
func (r LibraryGetStreamsStreamResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type LibraryGetTagsParams ¶
type LibraryGetTagsParams struct {
// Type The type of tags to fetch
Type int `form:"type,omitempty" json:"type,omitempty,omitzero"`
}
LibraryGetTagsParams defines parameters for LibraryGetTags.
type LibraryGetTagsResponse ¶
type LibraryGetTagsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *struct {
MediaContainer struct {
Directory []struct {
// Filter The filter string to view metadata wit this tag
Filter string `json:"filter,omitempty,omitzero"`
ID int `json:"id,omitempty,omitzero"`
// Tag The name of the tag
Tag string `json:"tag,omitempty,omitzero"`
// TagKey The key of this tag. This is a universal key across all PMS instances and plex.tv services
TagKey string `json:"tagKey,omitempty,omitzero"`
// TagType The type of the tag
TagType int `json:"tagType,omitempty,omitzero"`
// Thumb The URL to a thumbnail for this tag
Thumb string `json:"thumb,omitempty,omitzero"`
} `json:"Directory,omitempty,omitzero"`
Identifier string `json:"identifier,omitempty,omitzero"`
// Offset The offset of where this container page starts among the total objects available. Also provided in the X-Plex-Container-Start header
Offset int `json:"offset,omitempty,omitzero"`
Size int `json:"size,omitempty,omitzero"`
// TotalSize The total size of objects available. Also provided in the X-Plex-Container-Total-Size header
TotalSize int `json:"totalSize,omitempty,omitzero"`
} `json:"MediaContainer,omitempty,omitzero"`
}
}
func ParseLibraryGetTagsResponse ¶
func ParseLibraryGetTagsResponse(rsp *http.Response) (*LibraryGetTagsResponse, error)
ParseLibraryGetTagsResponse parses an HTTP response from a LibraryGetTagsWithResponse call
func (LibraryGetTagsResponse) ContentType ¶
func (r LibraryGetTagsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (LibraryGetTagsResponse) GetBody ¶
func (r LibraryGetTagsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (LibraryGetTagsResponse) GetJSON200 ¶
func (r LibraryGetTagsResponse) GetJSON200() *struct { MediaContainer struct { Directory []struct { // Filter The filter string to view metadata wit this tag Filter string `json:"filter,omitempty,omitzero"` ID int `json:"id,omitempty,omitzero"` // Tag The name of the tag Tag string `json:"tag,omitempty,omitzero"` // TagKey The key of this tag. This is a universal key across all PMS instances and plex.tv services TagKey string `json:"tagKey,omitempty,omitzero"` // TagType The type of the tag TagType int `json:"tagType,omitempty,omitzero"` // Thumb The URL to a thumbnail for this tag Thumb string `json:"thumb,omitempty,omitzero"` } `json:"Directory,omitempty,omitzero"` Identifier string `json:"identifier,omitempty,omitzero"` // Offset The offset of where this container page starts among the total objects available. Also provided in the X-Plex-Container-Start header Offset int `json:"offset,omitempty,omitzero"` Size int `json:"size,omitempty,omitzero"` // TotalSize The total size of objects available. Also provided in the X-Plex-Container-Total-Size header TotalSize int `json:"totalSize,omitempty,omitzero"` } `json:"MediaContainer,omitempty,omitzero"` }
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (LibraryGetTagsResponse) Status ¶
func (r LibraryGetTagsResponse) Status() string
Status returns HTTPResponse.Status
func (LibraryGetTagsResponse) StatusCode ¶
func (r LibraryGetTagsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type LibraryMetadataDeleteElementParamsElement ¶
type LibraryMetadataDeleteElementParamsElement string
LibraryMetadataDeleteElementParamsElement defines parameters for LibraryMetadataDeleteElement.
const ( LibraryMetadataDeleteElementParamsElementArt LibraryMetadataDeleteElementParamsElement = "art" LibraryMetadataDeleteElementParamsElementBanner LibraryMetadataDeleteElementParamsElement = "banner" LibraryMetadataDeleteElementParamsElementClearLogo LibraryMetadataDeleteElementParamsElement = "clearLogo" LibraryMetadataDeleteElementParamsElementPoster LibraryMetadataDeleteElementParamsElement = "poster" LibraryMetadataDeleteElementParamsElementSquareArt LibraryMetadataDeleteElementParamsElement = "squareArt" LibraryMetadataDeleteElementParamsElementTheme LibraryMetadataDeleteElementParamsElement = "theme" LibraryMetadataDeleteElementParamsElementThumb LibraryMetadataDeleteElementParamsElement = "thumb" )
Defines values for LibraryMetadataDeleteElementParamsElement.
func (LibraryMetadataDeleteElementParamsElement) Valid ¶
func (e LibraryMetadataDeleteElementParamsElement) Valid() bool
Valid indicates whether the value is a known member of the LibraryMetadataDeleteElementParamsElement enum.
type LibraryMetadataDeleteElementResponse ¶
func ParseLibraryMetadataDeleteElementResponse ¶
func ParseLibraryMetadataDeleteElementResponse(rsp *http.Response) (*LibraryMetadataDeleteElementResponse, error)
ParseLibraryMetadataDeleteElementResponse parses an HTTP response from a LibraryMetadataDeleteElementWithResponse call
func (LibraryMetadataDeleteElementResponse) ContentType ¶
func (r LibraryMetadataDeleteElementResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (LibraryMetadataDeleteElementResponse) GetBody ¶
func (r LibraryMetadataDeleteElementResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (LibraryMetadataDeleteElementResponse) Status ¶
func (r LibraryMetadataDeleteElementResponse) Status() string
Status returns HTTPResponse.Status
func (LibraryMetadataDeleteElementResponse) StatusCode ¶
func (r LibraryMetadataDeleteElementResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type LibraryMetadataDeleteMarkerMarkerResponse ¶
func ParseLibraryMetadataDeleteMarkerMarkerResponse ¶
func ParseLibraryMetadataDeleteMarkerMarkerResponse(rsp *http.Response) (*LibraryMetadataDeleteMarkerMarkerResponse, error)
ParseLibraryMetadataDeleteMarkerMarkerResponse parses an HTTP response from a LibraryMetadataDeleteMarkerMarkerWithResponse call
func (LibraryMetadataDeleteMarkerMarkerResponse) ContentType ¶
func (r LibraryMetadataDeleteMarkerMarkerResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (LibraryMetadataDeleteMarkerMarkerResponse) GetBody ¶
func (r LibraryMetadataDeleteMarkerMarkerResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (LibraryMetadataDeleteMarkerMarkerResponse) Status ¶
func (r LibraryMetadataDeleteMarkerMarkerResponse) Status() string
Status returns HTTPResponse.Status
func (LibraryMetadataDeleteMarkerMarkerResponse) StatusCode ¶
func (r LibraryMetadataDeleteMarkerMarkerResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type LibraryMetadataDeleteMediaMediaItemParams ¶
type LibraryMetadataDeleteMediaMediaItemParams struct {
// Proxy Whether proxy items, such as media optimized versions, should also be deleted. Defaults to false.
Proxy LibraryMetadataDeleteMediaMediaItemParamsProxy `form:"proxy,omitempty" json:"proxy,omitempty,omitzero"`
}
LibraryMetadataDeleteMediaMediaItemParams defines parameters for LibraryMetadataDeleteMediaMediaItem.
type LibraryMetadataDeleteMediaMediaItemParamsProxy ¶
type LibraryMetadataDeleteMediaMediaItemParamsProxy int
LibraryMetadataDeleteMediaMediaItemParamsProxy defines parameters for LibraryMetadataDeleteMediaMediaItem.
const ( LibraryMetadataDeleteMediaMediaItemParamsProxyN0 LibraryMetadataDeleteMediaMediaItemParamsProxy = 0 LibraryMetadataDeleteMediaMediaItemParamsProxyN1 LibraryMetadataDeleteMediaMediaItemParamsProxy = 1 )
Defines values for LibraryMetadataDeleteMediaMediaItemParamsProxy.
func (LibraryMetadataDeleteMediaMediaItemParamsProxy) Valid ¶
func (e LibraryMetadataDeleteMediaMediaItemParamsProxy) Valid() bool
Valid indicates whether the value is a known member of the LibraryMetadataDeleteMediaMediaItemParamsProxy enum.
type LibraryMetadataDeleteMediaMediaItemResponse ¶
func ParseLibraryMetadataDeleteMediaMediaItemResponse ¶
func ParseLibraryMetadataDeleteMediaMediaItemResponse(rsp *http.Response) (*LibraryMetadataDeleteMediaMediaItemResponse, error)
ParseLibraryMetadataDeleteMediaMediaItemResponse parses an HTTP response from a LibraryMetadataDeleteMediaMediaItemWithResponse call
func (LibraryMetadataDeleteMediaMediaItemResponse) ContentType ¶
func (r LibraryMetadataDeleteMediaMediaItemResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (LibraryMetadataDeleteMediaMediaItemResponse) GetBody ¶
func (r LibraryMetadataDeleteMediaMediaItemResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (LibraryMetadataDeleteMediaMediaItemResponse) Status ¶
func (r LibraryMetadataDeleteMediaMediaItemResponse) Status() string
Status returns HTTPResponse.Status
func (LibraryMetadataDeleteMediaMediaItemResponse) StatusCode ¶
func (r LibraryMetadataDeleteMediaMediaItemResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type LibraryMetadataDeleteSlashParams ¶
type LibraryMetadataDeleteSlashParams struct {
// Proxy Whether proxy items, such as media optimized versions, should also be deleted. Defaults to false.
Proxy LibraryMetadataDeleteSlashParamsProxy `form:"proxy,omitempty" json:"proxy,omitempty,omitzero"`
}
LibraryMetadataDeleteSlashParams defines parameters for LibraryMetadataDeleteSlash.
type LibraryMetadataDeleteSlashParamsProxy ¶
type LibraryMetadataDeleteSlashParamsProxy int
LibraryMetadataDeleteSlashParamsProxy defines parameters for LibraryMetadataDeleteSlash.
const ( LibraryMetadataDeleteSlashParamsProxyN0 LibraryMetadataDeleteSlashParamsProxy = 0 LibraryMetadataDeleteSlashParamsProxyN1 LibraryMetadataDeleteSlashParamsProxy = 1 )
Defines values for LibraryMetadataDeleteSlashParamsProxy.
func (LibraryMetadataDeleteSlashParamsProxy) Valid ¶
func (e LibraryMetadataDeleteSlashParamsProxy) Valid() bool
Valid indicates whether the value is a known member of the LibraryMetadataDeleteSlashParamsProxy enum.
type LibraryMetadataDeleteSlashResponse ¶
func ParseLibraryMetadataDeleteSlashResponse ¶
func ParseLibraryMetadataDeleteSlashResponse(rsp *http.Response) (*LibraryMetadataDeleteSlashResponse, error)
ParseLibraryMetadataDeleteSlashResponse parses an HTTP response from a LibraryMetadataDeleteSlashWithResponse call
func (LibraryMetadataDeleteSlashResponse) ContentType ¶
func (r LibraryMetadataDeleteSlashResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (LibraryMetadataDeleteSlashResponse) GetBody ¶
func (r LibraryMetadataDeleteSlashResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (LibraryMetadataDeleteSlashResponse) Status ¶
func (r LibraryMetadataDeleteSlashResponse) Status() string
Status returns HTTPResponse.Status
func (LibraryMetadataDeleteSlashResponse) StatusCode ¶
func (r LibraryMetadataDeleteSlashResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type LibraryMetadataGetAllLeavesResponse ¶
type LibraryMetadataGetAllLeavesResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *MediaContainerWithMetadata
// Headers200 the parsed response headers for an HTTP 200 response
Headers200 *LibraryMetadataGetAllLeavesResponse200Headers
}
func ParseLibraryMetadataGetAllLeavesResponse ¶
func ParseLibraryMetadataGetAllLeavesResponse(rsp *http.Response) (*LibraryMetadataGetAllLeavesResponse, error)
ParseLibraryMetadataGetAllLeavesResponse parses an HTTP response from a LibraryMetadataGetAllLeavesWithResponse call
func (LibraryMetadataGetAllLeavesResponse) ContentType ¶
func (r LibraryMetadataGetAllLeavesResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (LibraryMetadataGetAllLeavesResponse) GetBody ¶
func (r LibraryMetadataGetAllLeavesResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (LibraryMetadataGetAllLeavesResponse) GetJSON200 ¶
func (r LibraryMetadataGetAllLeavesResponse) GetJSON200() *MediaContainerWithMetadata
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (LibraryMetadataGetAllLeavesResponse) Status ¶
func (r LibraryMetadataGetAllLeavesResponse) Status() string
Status returns HTTPResponse.Status
func (LibraryMetadataGetAllLeavesResponse) StatusCode ¶
func (r LibraryMetadataGetAllLeavesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type LibraryMetadataGetAllLeavesResponse200Headers ¶
type LibraryMetadataGetAllLeavesResponse200Headers struct {
XPlexContainerStart int
XPlexContainerTotalSize int
}
LibraryMetadataGetAllLeavesResponse200Headers the declared response headers of an HTTP 200 response for LibraryMetadataGetAllLeaves
type LibraryMetadataGetElementParamsElement ¶
type LibraryMetadataGetElementParamsElement string
LibraryMetadataGetElementParamsElement defines parameters for LibraryMetadataGetElement.
const ( LibraryMetadataGetElementParamsElementArt LibraryMetadataGetElementParamsElement = "art" LibraryMetadataGetElementParamsElementBanner LibraryMetadataGetElementParamsElement = "banner" LibraryMetadataGetElementParamsElementClearLogo LibraryMetadataGetElementParamsElement = "clearLogo" LibraryMetadataGetElementParamsElementPoster LibraryMetadataGetElementParamsElement = "poster" LibraryMetadataGetElementParamsElementSquareArt LibraryMetadataGetElementParamsElement = "squareArt" LibraryMetadataGetElementParamsElementTheme LibraryMetadataGetElementParamsElement = "theme" LibraryMetadataGetElementParamsElementThumb LibraryMetadataGetElementParamsElement = "thumb" )
Defines values for LibraryMetadataGetElementParamsElement.
func (LibraryMetadataGetElementParamsElement) Valid ¶
func (e LibraryMetadataGetElementParamsElement) Valid() bool
Valid indicates whether the value is a known member of the LibraryMetadataGetElementParamsElement enum.
type LibraryMetadataGetElementResponse ¶
func ParseLibraryMetadataGetElementResponse ¶
func ParseLibraryMetadataGetElementResponse(rsp *http.Response) (*LibraryMetadataGetElementResponse, error)
ParseLibraryMetadataGetElementResponse parses an HTTP response from a LibraryMetadataGetElementWithResponse call
func (LibraryMetadataGetElementResponse) ContentType ¶
func (r LibraryMetadataGetElementResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (LibraryMetadataGetElementResponse) GetBody ¶
func (r LibraryMetadataGetElementResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (LibraryMetadataGetElementResponse) Status ¶
func (r LibraryMetadataGetElementResponse) Status() string
Status returns HTTPResponse.Status
func (LibraryMetadataGetElementResponse) StatusCode ¶
func (r LibraryMetadataGetElementResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type LibraryMetadataGetExtrasResponse ¶
type LibraryMetadataGetExtrasResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *MediaContainerWithMetadata
// Headers200 the parsed response headers for an HTTP 200 response
Headers200 *LibraryMetadataGetExtrasResponse200Headers
}
func ParseLibraryMetadataGetExtrasResponse ¶
func ParseLibraryMetadataGetExtrasResponse(rsp *http.Response) (*LibraryMetadataGetExtrasResponse, error)
ParseLibraryMetadataGetExtrasResponse parses an HTTP response from a LibraryMetadataGetExtrasWithResponse call
func (LibraryMetadataGetExtrasResponse) ContentType ¶
func (r LibraryMetadataGetExtrasResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (LibraryMetadataGetExtrasResponse) GetBody ¶
func (r LibraryMetadataGetExtrasResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (LibraryMetadataGetExtrasResponse) GetJSON200 ¶
func (r LibraryMetadataGetExtrasResponse) GetJSON200() *MediaContainerWithMetadata
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (LibraryMetadataGetExtrasResponse) Status ¶
func (r LibraryMetadataGetExtrasResponse) Status() string
Status returns HTTPResponse.Status
func (LibraryMetadataGetExtrasResponse) StatusCode ¶
func (r LibraryMetadataGetExtrasResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type LibraryMetadataGetExtrasResponse200Headers ¶
type LibraryMetadataGetExtrasResponse200Headers struct {
XPlexContainerStart int
XPlexContainerTotalSize int
}
LibraryMetadataGetExtrasResponse200Headers the declared response headers of an HTTP 200 response for LibraryMetadataGetExtras
type LibraryMetadataGetFileParams ¶
type LibraryMetadataGetFileParams struct {
// URL The bundle url, typically starting with `metadata://` or `media://`
URL string `form:"url,omitempty" json:"url,omitempty,omitzero"`
}
LibraryMetadataGetFileParams defines parameters for LibraryMetadataGetFile.
type LibraryMetadataGetFileResponse ¶
func ParseLibraryMetadataGetFileResponse ¶
func ParseLibraryMetadataGetFileResponse(rsp *http.Response) (*LibraryMetadataGetFileResponse, error)
ParseLibraryMetadataGetFileResponse parses an HTTP response from a LibraryMetadataGetFileWithResponse call
func (LibraryMetadataGetFileResponse) ContentType ¶
func (r LibraryMetadataGetFileResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (LibraryMetadataGetFileResponse) GetBody ¶
func (r LibraryMetadataGetFileResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (LibraryMetadataGetFileResponse) Status ¶
func (r LibraryMetadataGetFileResponse) Status() string
Status returns HTTPResponse.Status
func (LibraryMetadataGetFileResponse) StatusCode ¶
func (r LibraryMetadataGetFileResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type LibraryMetadataGetMatchesParams ¶
type LibraryMetadataGetMatchesParams struct {
Title string `form:"title,omitempty" json:"title,omitempty,omitzero"`
ParentTitle string `form:"parentTitle,omitempty" json:"parentTitle,omitempty,omitzero"`
Agent string `form:"agent,omitempty" json:"agent,omitempty,omitzero"`
Language string `form:"language,omitempty" json:"language,omitempty,omitzero"`
Year int `form:"year,omitempty" json:"year,omitempty,omitzero"`
Manual LibraryMetadataGetMatchesParamsManual `form:"manual,omitempty" json:"manual,omitempty,omitzero"`
}
LibraryMetadataGetMatchesParams defines parameters for LibraryMetadataGetMatches.
type LibraryMetadataGetMatchesParamsManual ¶
type LibraryMetadataGetMatchesParamsManual int
LibraryMetadataGetMatchesParamsManual defines parameters for LibraryMetadataGetMatches.
const ( LibraryMetadataGetMatchesParamsManualN0 LibraryMetadataGetMatchesParamsManual = 0 LibraryMetadataGetMatchesParamsManualN1 LibraryMetadataGetMatchesParamsManual = 1 )
Defines values for LibraryMetadataGetMatchesParamsManual.
func (LibraryMetadataGetMatchesParamsManual) Valid ¶
func (e LibraryMetadataGetMatchesParamsManual) Valid() bool
Valid indicates whether the value is a known member of the LibraryMetadataGetMatchesParamsManual enum.
type LibraryMetadataGetMatchesResponse ¶
type LibraryMetadataGetMatchesResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *MediaContainerWithMetadata
}
func ParseLibraryMetadataGetMatchesResponse ¶
func ParseLibraryMetadataGetMatchesResponse(rsp *http.Response) (*LibraryMetadataGetMatchesResponse, error)
ParseLibraryMetadataGetMatchesResponse parses an HTTP response from a LibraryMetadataGetMatchesWithResponse call
func (LibraryMetadataGetMatchesResponse) ContentType ¶
func (r LibraryMetadataGetMatchesResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (LibraryMetadataGetMatchesResponse) GetBody ¶
func (r LibraryMetadataGetMatchesResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (LibraryMetadataGetMatchesResponse) GetJSON200 ¶
func (r LibraryMetadataGetMatchesResponse) GetJSON200() *MediaContainerWithMetadata
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (LibraryMetadataGetMatchesResponse) Status ¶
func (r LibraryMetadataGetMatchesResponse) Status() string
Status returns HTTPResponse.Status
func (LibraryMetadataGetMatchesResponse) StatusCode ¶
func (r LibraryMetadataGetMatchesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type LibraryMetadataGetNearestParams ¶
type LibraryMetadataGetNearestParams struct {
ExcludeParentID int `form:"excludeParentID,omitempty" json:"excludeParentID,omitempty,omitzero"`
ExcludeGrandparentID int `form:"excludeGrandparentID,omitempty" json:"excludeGrandparentID,omitempty,omitzero"`
Limit int `form:"limit,omitempty" json:"limit,omitempty,omitzero"`
MaxDistance float32 `form:"maxDistance,omitempty" json:"maxDistance,omitempty,omitzero"`
}
LibraryMetadataGetNearestParams defines parameters for LibraryMetadataGetNearest.
type LibraryMetadataGetNearestResponse ¶
type LibraryMetadataGetNearestResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *MediaContainerWithMetadata
}
func ParseLibraryMetadataGetNearestResponse ¶
func ParseLibraryMetadataGetNearestResponse(rsp *http.Response) (*LibraryMetadataGetNearestResponse, error)
ParseLibraryMetadataGetNearestResponse parses an HTTP response from a LibraryMetadataGetNearestWithResponse call
func (LibraryMetadataGetNearestResponse) ContentType ¶
func (r LibraryMetadataGetNearestResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (LibraryMetadataGetNearestResponse) GetBody ¶
func (r LibraryMetadataGetNearestResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (LibraryMetadataGetNearestResponse) GetJSON200 ¶
func (r LibraryMetadataGetNearestResponse) GetJSON200() *MediaContainerWithMetadata
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (LibraryMetadataGetNearestResponse) Status ¶
func (r LibraryMetadataGetNearestResponse) Status() string
Status returns HTTPResponse.Status
func (LibraryMetadataGetNearestResponse) StatusCode ¶
func (r LibraryMetadataGetNearestResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type LibraryMetadataGetRelatedResponse ¶
type LibraryMetadataGetRelatedResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *struct {
MediaContainer struct {
Hub []Hub `json:"Hub,omitempty,omitzero"`
Identifier string `json:"identifier,omitempty,omitzero"`
// Offset The offset of where this container page starts among the total objects available. Also provided in the X-Plex-Container-Start header
Offset int `json:"offset,omitempty,omitzero"`
Size int `json:"size,omitempty,omitzero"`
// TotalSize The total size of objects available. Also provided in the X-Plex-Container-Total-Size header
TotalSize int `json:"totalSize,omitempty,omitzero"`
} `json:"MediaContainer,omitempty,omitzero"`
}
}
func ParseLibraryMetadataGetRelatedResponse ¶
func ParseLibraryMetadataGetRelatedResponse(rsp *http.Response) (*LibraryMetadataGetRelatedResponse, error)
ParseLibraryMetadataGetRelatedResponse parses an HTTP response from a LibraryMetadataGetRelatedWithResponse call
func (LibraryMetadataGetRelatedResponse) ContentType ¶
func (r LibraryMetadataGetRelatedResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (LibraryMetadataGetRelatedResponse) GetBody ¶
func (r LibraryMetadataGetRelatedResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (LibraryMetadataGetRelatedResponse) GetJSON200 ¶
func (r LibraryMetadataGetRelatedResponse) GetJSON200() *struct { MediaContainer struct { Hub []Hub `json:"Hub,omitempty,omitzero"` Identifier string `json:"identifier,omitempty,omitzero"` // Offset The offset of where this container page starts among the total objects available. Also provided in the X-Plex-Container-Start header Offset int `json:"offset,omitempty,omitzero"` Size int `json:"size,omitempty,omitzero"` // TotalSize The total size of objects available. Also provided in the X-Plex-Container-Total-Size header TotalSize int `json:"totalSize,omitempty,omitzero"` } `json:"MediaContainer,omitempty,omitzero"` }
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (LibraryMetadataGetRelatedResponse) Status ¶
func (r LibraryMetadataGetRelatedResponse) Status() string
Status returns HTTPResponse.Status
func (LibraryMetadataGetRelatedResponse) StatusCode ¶
func (r LibraryMetadataGetRelatedResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type LibraryMetadataGetSimilarParams ¶
type LibraryMetadataGetSimilarParams struct {
// Count The maximum number of similar items; defaults to 200
Count int `form:"count,omitempty" json:"count,omitempty,omitzero"`
}
LibraryMetadataGetSimilarParams defines parameters for LibraryMetadataGetSimilar.
type LibraryMetadataGetSimilarResponse ¶
type LibraryMetadataGetSimilarResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *MediaContainerWithMetadata
}
func ParseLibraryMetadataGetSimilarResponse ¶
func ParseLibraryMetadataGetSimilarResponse(rsp *http.Response) (*LibraryMetadataGetSimilarResponse, error)
ParseLibraryMetadataGetSimilarResponse parses an HTTP response from a LibraryMetadataGetSimilarWithResponse call
func (LibraryMetadataGetSimilarResponse) ContentType ¶
func (r LibraryMetadataGetSimilarResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (LibraryMetadataGetSimilarResponse) GetBody ¶
func (r LibraryMetadataGetSimilarResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (LibraryMetadataGetSimilarResponse) GetJSON200 ¶
func (r LibraryMetadataGetSimilarResponse) GetJSON200() *MediaContainerWithMetadata
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (LibraryMetadataGetSimilarResponse) Status ¶
func (r LibraryMetadataGetSimilarResponse) Status() string
Status returns HTTPResponse.Status
func (LibraryMetadataGetSimilarResponse) StatusCode ¶
func (r LibraryMetadataGetSimilarResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type LibraryMetadataGetSlashParams ¶
type LibraryMetadataGetSlashParams struct {
// AsyncCheckFiles Determines if file check should be performed asynchronously. An activity is created to indicate progress. Default is false.
AsyncCheckFiles LibraryMetadataGetSlashParamsAsyncCheckFiles `form:"asyncCheckFiles,omitempty" json:"asyncCheckFiles,omitempty,omitzero"`
// AsyncRefreshLocalMediaAgent Determines if local media agent refresh should be performed asynchronously. An activity is created to indicate progress. Default is false.
AsyncRefreshLocalMediaAgent LibraryMetadataGetSlashParamsAsyncRefreshLocalMediaAgent `form:"asyncRefreshLocalMediaAgent,omitempty" json:"asyncRefreshLocalMediaAgent,omitempty,omitzero"`
// AsyncRefreshAnalysis Determines if analysis refresh should be performed asynchronously. An activity is created to indicate progress. Default is false.
AsyncRefreshAnalysis LibraryMetadataGetSlashParamsAsyncRefreshAnalysis `form:"asyncRefreshAnalysis,omitempty" json:"asyncRefreshAnalysis,omitempty,omitzero"`
// CheckFiles Determines if file check should be performed synchronously. Specifying `asyncCheckFiles` will cause this option to be ignored. Default is false.
CheckFiles LibraryMetadataGetSlashParamsCheckFiles `form:"checkFiles,omitempty" json:"checkFiles,omitempty,omitzero"`
// SkipRefresh Determines if synchronous local media agent and analysis refresh should be skipped. Specifying async versions will cause synchronous versions to be skipped. Default is false.
SkipRefresh LibraryMetadataGetSlashParamsSkipRefresh `form:"skipRefresh,omitempty" json:"skipRefresh,omitempty,omitzero"`
// CheckFileAvailability Determines if file existence check should be performed synchronously. Specifying `checkFiles` will imply this option. Default is false.
CheckFileAvailability LibraryMetadataGetSlashParamsCheckFileAvailability `form:"checkFileAvailability,omitempty" json:"checkFileAvailability,omitempty,omitzero"`
// AsyncAugmentMetadata Add metadata augmentations. An activity is created to indicate progress. Option will be ignored if specified by non-admin or if multiple metadata items are requested. Default is false.
AsyncAugmentMetadata LibraryMetadataGetSlashParamsAsyncAugmentMetadata `form:"asyncAugmentMetadata,omitempty" json:"asyncAugmentMetadata,omitempty,omitzero"`
// AugmentCount Number of augmentations to add. Requires `asyncAugmentMetadata` to be specified.
AugmentCount LibraryMetadataGetSlashParamsAugmentCount `form:"augmentCount,omitempty" json:"augmentCount,omitempty,omitzero"`
}
LibraryMetadataGetSlashParams defines parameters for LibraryMetadataGetSlash.
type LibraryMetadataGetSlashParamsAsyncAugmentMetadata ¶
type LibraryMetadataGetSlashParamsAsyncAugmentMetadata int
LibraryMetadataGetSlashParamsAsyncAugmentMetadata defines parameters for LibraryMetadataGetSlash.
const ( LibraryMetadataGetSlashParamsAsyncAugmentMetadataN0 LibraryMetadataGetSlashParamsAsyncAugmentMetadata = 0 LibraryMetadataGetSlashParamsAsyncAugmentMetadataN1 LibraryMetadataGetSlashParamsAsyncAugmentMetadata = 1 )
Defines values for LibraryMetadataGetSlashParamsAsyncAugmentMetadata.
func (LibraryMetadataGetSlashParamsAsyncAugmentMetadata) Valid ¶
func (e LibraryMetadataGetSlashParamsAsyncAugmentMetadata) Valid() bool
Valid indicates whether the value is a known member of the LibraryMetadataGetSlashParamsAsyncAugmentMetadata enum.
type LibraryMetadataGetSlashParamsAsyncCheckFiles ¶
type LibraryMetadataGetSlashParamsAsyncCheckFiles int
LibraryMetadataGetSlashParamsAsyncCheckFiles defines parameters for LibraryMetadataGetSlash.
const ( LibraryMetadataGetSlashParamsAsyncCheckFilesN0 LibraryMetadataGetSlashParamsAsyncCheckFiles = 0 LibraryMetadataGetSlashParamsAsyncCheckFilesN1 LibraryMetadataGetSlashParamsAsyncCheckFiles = 1 )
Defines values for LibraryMetadataGetSlashParamsAsyncCheckFiles.
func (LibraryMetadataGetSlashParamsAsyncCheckFiles) Valid ¶
func (e LibraryMetadataGetSlashParamsAsyncCheckFiles) Valid() bool
Valid indicates whether the value is a known member of the LibraryMetadataGetSlashParamsAsyncCheckFiles enum.
type LibraryMetadataGetSlashParamsAsyncRefreshAnalysis ¶
type LibraryMetadataGetSlashParamsAsyncRefreshAnalysis int
LibraryMetadataGetSlashParamsAsyncRefreshAnalysis defines parameters for LibraryMetadataGetSlash.
const ( LibraryMetadataGetSlashParamsAsyncRefreshAnalysisN0 LibraryMetadataGetSlashParamsAsyncRefreshAnalysis = 0 LibraryMetadataGetSlashParamsAsyncRefreshAnalysisN1 LibraryMetadataGetSlashParamsAsyncRefreshAnalysis = 1 )
Defines values for LibraryMetadataGetSlashParamsAsyncRefreshAnalysis.
func (LibraryMetadataGetSlashParamsAsyncRefreshAnalysis) Valid ¶
func (e LibraryMetadataGetSlashParamsAsyncRefreshAnalysis) Valid() bool
Valid indicates whether the value is a known member of the LibraryMetadataGetSlashParamsAsyncRefreshAnalysis enum.
type LibraryMetadataGetSlashParamsAsyncRefreshLocalMediaAgent ¶
type LibraryMetadataGetSlashParamsAsyncRefreshLocalMediaAgent int
LibraryMetadataGetSlashParamsAsyncRefreshLocalMediaAgent defines parameters for LibraryMetadataGetSlash.
const ( LibraryMetadataGetSlashParamsAsyncRefreshLocalMediaAgentN0 LibraryMetadataGetSlashParamsAsyncRefreshLocalMediaAgent = 0 LibraryMetadataGetSlashParamsAsyncRefreshLocalMediaAgentN1 LibraryMetadataGetSlashParamsAsyncRefreshLocalMediaAgent = 1 )
Defines values for LibraryMetadataGetSlashParamsAsyncRefreshLocalMediaAgent.
func (LibraryMetadataGetSlashParamsAsyncRefreshLocalMediaAgent) Valid ¶
func (e LibraryMetadataGetSlashParamsAsyncRefreshLocalMediaAgent) Valid() bool
Valid indicates whether the value is a known member of the LibraryMetadataGetSlashParamsAsyncRefreshLocalMediaAgent enum.
type LibraryMetadataGetSlashParamsAugmentCount ¶
type LibraryMetadataGetSlashParamsAugmentCount int
LibraryMetadataGetSlashParamsAugmentCount defines parameters for LibraryMetadataGetSlash.
const ( LibraryMetadataGetSlashParamsAugmentCountN0 LibraryMetadataGetSlashParamsAugmentCount = 0 LibraryMetadataGetSlashParamsAugmentCountN1 LibraryMetadataGetSlashParamsAugmentCount = 1 )
Defines values for LibraryMetadataGetSlashParamsAugmentCount.
func (LibraryMetadataGetSlashParamsAugmentCount) Valid ¶
func (e LibraryMetadataGetSlashParamsAugmentCount) Valid() bool
Valid indicates whether the value is a known member of the LibraryMetadataGetSlashParamsAugmentCount enum.
type LibraryMetadataGetSlashParamsCheckFileAvailability ¶
type LibraryMetadataGetSlashParamsCheckFileAvailability int
LibraryMetadataGetSlashParamsCheckFileAvailability defines parameters for LibraryMetadataGetSlash.
const ( LibraryMetadataGetSlashParamsCheckFileAvailabilityN0 LibraryMetadataGetSlashParamsCheckFileAvailability = 0 LibraryMetadataGetSlashParamsCheckFileAvailabilityN1 LibraryMetadataGetSlashParamsCheckFileAvailability = 1 )
Defines values for LibraryMetadataGetSlashParamsCheckFileAvailability.
func (LibraryMetadataGetSlashParamsCheckFileAvailability) Valid ¶
func (e LibraryMetadataGetSlashParamsCheckFileAvailability) Valid() bool
Valid indicates whether the value is a known member of the LibraryMetadataGetSlashParamsCheckFileAvailability enum.
type LibraryMetadataGetSlashParamsCheckFiles ¶
type LibraryMetadataGetSlashParamsCheckFiles int
LibraryMetadataGetSlashParamsCheckFiles defines parameters for LibraryMetadataGetSlash.
const ( LibraryMetadataGetSlashParamsCheckFilesN0 LibraryMetadataGetSlashParamsCheckFiles = 0 LibraryMetadataGetSlashParamsCheckFilesN1 LibraryMetadataGetSlashParamsCheckFiles = 1 )
Defines values for LibraryMetadataGetSlashParamsCheckFiles.
func (LibraryMetadataGetSlashParamsCheckFiles) Valid ¶
func (e LibraryMetadataGetSlashParamsCheckFiles) Valid() bool
Valid indicates whether the value is a known member of the LibraryMetadataGetSlashParamsCheckFiles enum.
type LibraryMetadataGetSlashParamsSkipRefresh ¶
type LibraryMetadataGetSlashParamsSkipRefresh int
LibraryMetadataGetSlashParamsSkipRefresh defines parameters for LibraryMetadataGetSlash.
const ( LibraryMetadataGetSlashParamsSkipRefreshN0 LibraryMetadataGetSlashParamsSkipRefresh = 0 LibraryMetadataGetSlashParamsSkipRefreshN1 LibraryMetadataGetSlashParamsSkipRefresh = 1 )
Defines values for LibraryMetadataGetSlashParamsSkipRefresh.
func (LibraryMetadataGetSlashParamsSkipRefresh) Valid ¶
func (e LibraryMetadataGetSlashParamsSkipRefresh) Valid() bool
Valid indicates whether the value is a known member of the LibraryMetadataGetSlashParamsSkipRefresh enum.
type LibraryMetadataGetSlashResponse ¶
type LibraryMetadataGetSlashResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *MediaContainerWithMetadata
// Headers200 the parsed response headers for an HTTP 200 response
Headers200 *LibraryMetadataGetSlashResponse200Headers
}
func ParseLibraryMetadataGetSlashResponse ¶
func ParseLibraryMetadataGetSlashResponse(rsp *http.Response) (*LibraryMetadataGetSlashResponse, error)
ParseLibraryMetadataGetSlashResponse parses an HTTP response from a LibraryMetadataGetSlashWithResponse call
func (LibraryMetadataGetSlashResponse) ContentType ¶
func (r LibraryMetadataGetSlashResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (LibraryMetadataGetSlashResponse) GetBody ¶
func (r LibraryMetadataGetSlashResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (LibraryMetadataGetSlashResponse) GetJSON200 ¶
func (r LibraryMetadataGetSlashResponse) GetJSON200() *MediaContainerWithMetadata
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (LibraryMetadataGetSlashResponse) Status ¶
func (r LibraryMetadataGetSlashResponse) Status() string
Status returns HTTPResponse.Status
func (LibraryMetadataGetSlashResponse) StatusCode ¶
func (r LibraryMetadataGetSlashResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type LibraryMetadataGetSlashResponse200Headers ¶
type LibraryMetadataGetSlashResponse200Headers struct {
XPlexContainerStart int
XPlexContainerTotalSize int
}
LibraryMetadataGetSlashResponse200Headers the declared response headers of an HTTP 200 response for LibraryMetadataGetSlash
type LibraryMetadataGetTreeResponse ¶
type LibraryMetadataGetTreeResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *MediaContainerWithNestedMetadata
}
func ParseLibraryMetadataGetTreeResponse ¶
func ParseLibraryMetadataGetTreeResponse(rsp *http.Response) (*LibraryMetadataGetTreeResponse, error)
ParseLibraryMetadataGetTreeResponse parses an HTTP response from a LibraryMetadataGetTreeWithResponse call
func (LibraryMetadataGetTreeResponse) ContentType ¶
func (r LibraryMetadataGetTreeResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (LibraryMetadataGetTreeResponse) GetBody ¶
func (r LibraryMetadataGetTreeResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (LibraryMetadataGetTreeResponse) GetJSON200 ¶
func (r LibraryMetadataGetTreeResponse) GetJSON200() *MediaContainerWithNestedMetadata
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (LibraryMetadataGetTreeResponse) Status ¶
func (r LibraryMetadataGetTreeResponse) Status() string
Status returns HTTPResponse.Status
func (LibraryMetadataGetTreeResponse) StatusCode ¶
func (r LibraryMetadataGetTreeResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type LibraryMetadataGetUsersTopResponse ¶
type LibraryMetadataGetUsersTopResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *struct {
MediaContainer struct {
Account []struct {
GlobalViewCount int `json:"globalViewCount,omitempty,omitzero"`
ID int `json:"id,omitempty,omitzero"`
} `json:"Account,omitempty,omitzero"`
Identifier string `json:"identifier,omitempty,omitzero"`
// Offset The offset of where this container page starts among the total objects available. Also provided in the X-Plex-Container-Start header
Offset int `json:"offset,omitempty,omitzero"`
Size int `json:"size,omitempty,omitzero"`
// TotalSize The total size of objects available. Also provided in the X-Plex-Container-Total-Size header
TotalSize int `json:"totalSize,omitempty,omitzero"`
} `json:"MediaContainer,omitempty,omitzero"`
}
}
func ParseLibraryMetadataGetUsersTopResponse ¶
func ParseLibraryMetadataGetUsersTopResponse(rsp *http.Response) (*LibraryMetadataGetUsersTopResponse, error)
ParseLibraryMetadataGetUsersTopResponse parses an HTTP response from a LibraryMetadataGetUsersTopWithResponse call
func (LibraryMetadataGetUsersTopResponse) ContentType ¶
func (r LibraryMetadataGetUsersTopResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (LibraryMetadataGetUsersTopResponse) GetBody ¶
func (r LibraryMetadataGetUsersTopResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (LibraryMetadataGetUsersTopResponse) GetJSON200 ¶
func (r LibraryMetadataGetUsersTopResponse) GetJSON200() *struct { MediaContainer struct { Account []struct { GlobalViewCount int `json:"globalViewCount,omitempty,omitzero"` ID int `json:"id,omitempty,omitzero"` } `json:"Account,omitempty,omitzero"` Identifier string `json:"identifier,omitempty,omitzero"` // Offset The offset of where this container page starts among the total objects available. Also provided in the X-Plex-Container-Start header Offset int `json:"offset,omitempty,omitzero"` Size int `json:"size,omitempty,omitzero"` // TotalSize The total size of objects available. Also provided in the X-Plex-Container-Total-Size header TotalSize int `json:"totalSize,omitempty,omitzero"` } `json:"MediaContainer,omitempty,omitzero"` }
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (LibraryMetadataGetUsersTopResponse) Status ¶
func (r LibraryMetadataGetUsersTopResponse) Status() string
Status returns HTTPResponse.Status
func (LibraryMetadataGetUsersTopResponse) StatusCode ¶
func (r LibraryMetadataGetUsersTopResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type LibraryMetadataPostElementParams ¶
type LibraryMetadataPostElementParams struct {
// URL The url of the new asset. If not provided, the binary of the asset must be provided in the post body.
URL string `form:"url,omitempty" json:"url,omitempty,omitzero"`
}
LibraryMetadataPostElementParams defines parameters for LibraryMetadataPostElement.
type LibraryMetadataPostElementParamsElement ¶
type LibraryMetadataPostElementParamsElement string
LibraryMetadataPostElementParamsElement defines parameters for LibraryMetadataPostElement.
const ( LibraryMetadataPostElementParamsElementArt LibraryMetadataPostElementParamsElement = "art" LibraryMetadataPostElementParamsElementBanner LibraryMetadataPostElementParamsElement = "banner" LibraryMetadataPostElementParamsElementClearLogo LibraryMetadataPostElementParamsElement = "clearLogo" LibraryMetadataPostElementParamsElementPoster LibraryMetadataPostElementParamsElement = "poster" LibraryMetadataPostElementParamsElementSquareArt LibraryMetadataPostElementParamsElement = "squareArt" LibraryMetadataPostElementParamsElementTheme LibraryMetadataPostElementParamsElement = "theme" LibraryMetadataPostElementParamsElementThumb LibraryMetadataPostElementParamsElement = "thumb" )
Defines values for LibraryMetadataPostElementParamsElement.
func (LibraryMetadataPostElementParamsElement) Valid ¶
func (e LibraryMetadataPostElementParamsElement) Valid() bool
Valid indicates whether the value is a known member of the LibraryMetadataPostElementParamsElement enum.
type LibraryMetadataPostElementResponse ¶
func ParseLibraryMetadataPostElementResponse ¶
func ParseLibraryMetadataPostElementResponse(rsp *http.Response) (*LibraryMetadataPostElementResponse, error)
ParseLibraryMetadataPostElementResponse parses an HTTP response from a LibraryMetadataPostElementWithResponse call
func (LibraryMetadataPostElementResponse) ContentType ¶
func (r LibraryMetadataPostElementResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (LibraryMetadataPostElementResponse) GetBody ¶
func (r LibraryMetadataPostElementResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (LibraryMetadataPostElementResponse) Status ¶
func (r LibraryMetadataPostElementResponse) Status() string
Status returns HTTPResponse.Status
func (LibraryMetadataPostElementResponse) StatusCode ¶
func (r LibraryMetadataPostElementResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type LibraryMetadataPostExtrasParams ¶
type LibraryMetadataPostExtrasParams struct {
// ExtraType The metadata type of the extra
ExtraType int `form:"extraType,omitempty" json:"extraType,omitempty,omitzero"`
// URL The URL of the extra
URL string `form:"url" json:"url"`
// Title The title of the extra
Title string `form:"title" json:"title"`
}
LibraryMetadataPostExtrasParams defines parameters for LibraryMetadataPostExtras.
type LibraryMetadataPostExtrasResponse ¶
func ParseLibraryMetadataPostExtrasResponse ¶
func ParseLibraryMetadataPostExtrasResponse(rsp *http.Response) (*LibraryMetadataPostExtrasResponse, error)
ParseLibraryMetadataPostExtrasResponse parses an HTTP response from a LibraryMetadataPostExtrasWithResponse call
func (LibraryMetadataPostExtrasResponse) ContentType ¶
func (r LibraryMetadataPostExtrasResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (LibraryMetadataPostExtrasResponse) GetBody ¶
func (r LibraryMetadataPostExtrasResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (LibraryMetadataPostExtrasResponse) Status ¶
func (r LibraryMetadataPostExtrasResponse) Status() string
Status returns HTTPResponse.Status
func (LibraryMetadataPostExtrasResponse) StatusCode ¶
func (r LibraryMetadataPostExtrasResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type LibraryMetadataPostMarker200JSONResponseBodyMediaContainerType ¶
type LibraryMetadataPostMarker200JSONResponseBodyMediaContainerType string
LibraryMetadataPostMarker200JSONResponseBodyMediaContainerType defines parameters for LibraryMetadataPostMarker.
const ( LibraryMetadataPostMarker200JSONResponseBodyMediaContainerTypeBookmark LibraryMetadataPostMarker200JSONResponseBodyMediaContainerType = "bookmark" LibraryMetadataPostMarker200JSONResponseBodyMediaContainerTypeCommercial LibraryMetadataPostMarker200JSONResponseBodyMediaContainerType = "commercial" LibraryMetadataPostMarker200JSONResponseBodyMediaContainerTypeCredit LibraryMetadataPostMarker200JSONResponseBodyMediaContainerType = "credit" LibraryMetadataPostMarker200JSONResponseBodyMediaContainerTypeIntro LibraryMetadataPostMarker200JSONResponseBodyMediaContainerType = "intro" LibraryMetadataPostMarker200JSONResponseBodyMediaContainerTypeResume LibraryMetadataPostMarker200JSONResponseBodyMediaContainerType = "resume" )
Defines values for LibraryMetadataPostMarker200JSONResponseBodyMediaContainerType.
func (LibraryMetadataPostMarker200JSONResponseBodyMediaContainerType) Valid ¶
func (e LibraryMetadataPostMarker200JSONResponseBodyMediaContainerType) Valid() bool
Valid indicates whether the value is a known member of the LibraryMetadataPostMarker200JSONResponseBodyMediaContainerType enum.
type LibraryMetadataPostMarker200JSONResponseBody_MediaContainer ¶
type LibraryMetadataPostMarker200JSONResponseBody_MediaContainer struct {
Color string `json:"color,omitempty,omitzero"`
EndTimeOffset int `json:"endTimeOffset,omitempty,omitzero"`
ID int `json:"id,omitempty,omitzero"`
Identifier string `json:"identifier,omitempty,omitzero"`
// Offset The offset of where this container page starts among the total objects available. Also provided in the X-Plex-Container-Start header
Offset int `json:"offset,omitempty,omitzero"`
Size int `json:"size,omitempty,omitzero"`
StartTimeOffset int `json:"startTimeOffset,omitempty,omitzero"`
Title string `json:"title,omitempty,omitzero"`
// TotalSize The total size of objects available. Also provided in the X-Plex-Container-Total-Size header
TotalSize int `json:"totalSize,omitempty,omitzero"`
Type LibraryMetadataPostMarker200JSONResponseBodyMediaContainerType `json:"type,omitempty,omitzero"`
AdditionalProperties map[string]interface{} `json:"-"`
}
LibraryMetadataPostMarker200JSONResponseBody_MediaContainer defines parameters for LibraryMetadataPostMarker.
func (LibraryMetadataPostMarker200JSONResponseBody_MediaContainer) Get ¶
func (a LibraryMetadataPostMarker200JSONResponseBody_MediaContainer) Get(fieldName string) (value interface{}, found bool)
Getter for additional properties for LibraryMetadataPostMarker200JSONResponseBody_MediaContainer. Returns the specified element and whether it was found
func (LibraryMetadataPostMarker200JSONResponseBody_MediaContainer) MarshalJSON ¶
func (a LibraryMetadataPostMarker200JSONResponseBody_MediaContainer) MarshalJSON() ([]byte, error)
Override default JSON handling for LibraryMetadataPostMarker200JSONResponseBody_MediaContainer to handle AdditionalProperties
func (*LibraryMetadataPostMarker200JSONResponseBody_MediaContainer) Set ¶
func (a *LibraryMetadataPostMarker200JSONResponseBody_MediaContainer) Set(fieldName string, value interface{})
Setter for additional properties for LibraryMetadataPostMarker200JSONResponseBody_MediaContainer
func (*LibraryMetadataPostMarker200JSONResponseBody_MediaContainer) UnmarshalJSON ¶
func (a *LibraryMetadataPostMarker200JSONResponseBody_MediaContainer) UnmarshalJSON(b []byte) error
Override default JSON handling for LibraryMetadataPostMarker200JSONResponseBody_MediaContainer to handle AdditionalProperties
type LibraryMetadataPostMarkerParams ¶
type LibraryMetadataPostMarkerParams struct {
// Type The type of marker to edit/create
Type int `form:"type" json:"type"`
// StartTimeOffset The start time of the marker
StartTimeOffset int `form:"startTimeOffset" json:"startTimeOffset"`
// EndTimeOffset The end time of the marker
EndTimeOffset int `form:"endTimeOffset,omitempty" json:"endTimeOffset,omitempty,omitzero"`
// Attributes The attributes to assign to this marker
Attributes map[string]interface{} `json:"attributes,omitempty,omitzero"`
}
LibraryMetadataPostMarkerParams defines parameters for LibraryMetadataPostMarker.
type LibraryMetadataPostMarkerResponse ¶
type LibraryMetadataPostMarkerResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *struct {
MediaContainer LibraryMetadataPostMarker200JSONResponseBody_MediaContainer `json:"MediaContainer,omitempty,omitzero"`
}
}
func ParseLibraryMetadataPostMarkerResponse ¶
func ParseLibraryMetadataPostMarkerResponse(rsp *http.Response) (*LibraryMetadataPostMarkerResponse, error)
ParseLibraryMetadataPostMarkerResponse parses an HTTP response from a LibraryMetadataPostMarkerWithResponse call
func (LibraryMetadataPostMarkerResponse) ContentType ¶
func (r LibraryMetadataPostMarkerResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (LibraryMetadataPostMarkerResponse) GetBody ¶
func (r LibraryMetadataPostMarkerResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (LibraryMetadataPostMarkerResponse) GetJSON200 ¶
func (r LibraryMetadataPostMarkerResponse) GetJSON200() *struct { MediaContainer LibraryMetadataPostMarker200JSONResponseBody_MediaContainer `json:"MediaContainer,omitempty,omitzero"` }
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (LibraryMetadataPostMarkerResponse) Status ¶
func (r LibraryMetadataPostMarkerResponse) Status() string
Status returns HTTPResponse.Status
func (LibraryMetadataPostMarkerResponse) StatusCode ¶
func (r LibraryMetadataPostMarkerResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type LibraryMetadataPostSubtitlesParams ¶
type LibraryMetadataPostSubtitlesParams struct {
Title string `form:"title,omitempty" json:"title,omitempty,omitzero"`
Language string `form:"language,omitempty" json:"language,omitempty,omitzero"`
MediaItemID int `form:"mediaItemID,omitempty" json:"mediaItemID,omitempty,omitzero"`
// URL The URL of the subtitle. If not provided, the contents of the subtitle must be in the post body
URL string `form:"url,omitempty" json:"url,omitempty,omitzero"`
Format string `form:"format,omitempty" json:"format,omitempty,omitzero"`
Forced LibraryMetadataPostSubtitlesParamsForced `form:"forced,omitempty" json:"forced,omitempty,omitzero"`
HearingImpaired LibraryMetadataPostSubtitlesParamsHearingImpaired `form:"hearingImpaired,omitempty" json:"hearingImpaired,omitempty,omitzero"`
}
LibraryMetadataPostSubtitlesParams defines parameters for LibraryMetadataPostSubtitles.
type LibraryMetadataPostSubtitlesParamsForced ¶
type LibraryMetadataPostSubtitlesParamsForced int
LibraryMetadataPostSubtitlesParamsForced defines parameters for LibraryMetadataPostSubtitles.
const ( LibraryMetadataPostSubtitlesParamsForcedN0 LibraryMetadataPostSubtitlesParamsForced = 0 LibraryMetadataPostSubtitlesParamsForcedN1 LibraryMetadataPostSubtitlesParamsForced = 1 )
Defines values for LibraryMetadataPostSubtitlesParamsForced.
func (LibraryMetadataPostSubtitlesParamsForced) Valid ¶
func (e LibraryMetadataPostSubtitlesParamsForced) Valid() bool
Valid indicates whether the value is a known member of the LibraryMetadataPostSubtitlesParamsForced enum.
type LibraryMetadataPostSubtitlesParamsHearingImpaired ¶
type LibraryMetadataPostSubtitlesParamsHearingImpaired int
LibraryMetadataPostSubtitlesParamsHearingImpaired defines parameters for LibraryMetadataPostSubtitles.
const ( LibraryMetadataPostSubtitlesParamsHearingImpairedN0 LibraryMetadataPostSubtitlesParamsHearingImpaired = 0 LibraryMetadataPostSubtitlesParamsHearingImpairedN1 LibraryMetadataPostSubtitlesParamsHearingImpaired = 1 )
Defines values for LibraryMetadataPostSubtitlesParamsHearingImpaired.
func (LibraryMetadataPostSubtitlesParamsHearingImpaired) Valid ¶
func (e LibraryMetadataPostSubtitlesParamsHearingImpaired) Valid() bool
Valid indicates whether the value is a known member of the LibraryMetadataPostSubtitlesParamsHearingImpaired enum.
type LibraryMetadataPostSubtitlesResponse ¶
func ParseLibraryMetadataPostSubtitlesResponse ¶
func ParseLibraryMetadataPostSubtitlesResponse(rsp *http.Response) (*LibraryMetadataPostSubtitlesResponse, error)
ParseLibraryMetadataPostSubtitlesResponse parses an HTTP response from a LibraryMetadataPostSubtitlesWithResponse call
func (LibraryMetadataPostSubtitlesResponse) ContentType ¶
func (r LibraryMetadataPostSubtitlesResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (LibraryMetadataPostSubtitlesResponse) GetBody ¶
func (r LibraryMetadataPostSubtitlesResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (LibraryMetadataPostSubtitlesResponse) Status ¶
func (r LibraryMetadataPostSubtitlesResponse) Status() string
Status returns HTTPResponse.Status
func (LibraryMetadataPostSubtitlesResponse) StatusCode ¶
func (r LibraryMetadataPostSubtitlesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type LibraryMetadataPutAddetectResponse ¶
func ParseLibraryMetadataPutAddetectResponse ¶
func ParseLibraryMetadataPutAddetectResponse(rsp *http.Response) (*LibraryMetadataPutAddetectResponse, error)
ParseLibraryMetadataPutAddetectResponse parses an HTTP response from a LibraryMetadataPutAddetectWithResponse call
func (LibraryMetadataPutAddetectResponse) ContentType ¶
func (r LibraryMetadataPutAddetectResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (LibraryMetadataPutAddetectResponse) GetBody ¶
func (r LibraryMetadataPutAddetectResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (LibraryMetadataPutAddetectResponse) Status ¶
func (r LibraryMetadataPutAddetectResponse) Status() string
Status returns HTTPResponse.Status
func (LibraryMetadataPutAddetectResponse) StatusCode ¶
func (r LibraryMetadataPutAddetectResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type LibraryMetadataPutAnalyzeLoudnessParams ¶
type LibraryMetadataPutAnalyzeLoudnessParams struct {
// Force Indicate whether detection should be re-run
Force LibraryMetadataPutAnalyzeLoudnessParamsForce `form:"force,omitempty" json:"force,omitempty,omitzero"`
// Manual Indicate whether detection is manually run
Manual LibraryMetadataPutAnalyzeLoudnessParamsManual `form:"manual,omitempty" json:"manual,omitempty,omitzero"`
}
LibraryMetadataPutAnalyzeLoudnessParams defines parameters for LibraryMetadataPutAnalyzeLoudness.
type LibraryMetadataPutAnalyzeLoudnessParamsForce ¶
type LibraryMetadataPutAnalyzeLoudnessParamsForce int
LibraryMetadataPutAnalyzeLoudnessParamsForce defines parameters for LibraryMetadataPutAnalyzeLoudness.
const ( LibraryMetadataPutAnalyzeLoudnessParamsForceN0 LibraryMetadataPutAnalyzeLoudnessParamsForce = 0 LibraryMetadataPutAnalyzeLoudnessParamsForceN1 LibraryMetadataPutAnalyzeLoudnessParamsForce = 1 )
Defines values for LibraryMetadataPutAnalyzeLoudnessParamsForce.
func (LibraryMetadataPutAnalyzeLoudnessParamsForce) Valid ¶
func (e LibraryMetadataPutAnalyzeLoudnessParamsForce) Valid() bool
Valid indicates whether the value is a known member of the LibraryMetadataPutAnalyzeLoudnessParamsForce enum.
type LibraryMetadataPutAnalyzeLoudnessParamsManual ¶
type LibraryMetadataPutAnalyzeLoudnessParamsManual int
LibraryMetadataPutAnalyzeLoudnessParamsManual defines parameters for LibraryMetadataPutAnalyzeLoudness.
const ( LibraryMetadataPutAnalyzeLoudnessParamsManualN0 LibraryMetadataPutAnalyzeLoudnessParamsManual = 0 LibraryMetadataPutAnalyzeLoudnessParamsManualN1 LibraryMetadataPutAnalyzeLoudnessParamsManual = 1 )
Defines values for LibraryMetadataPutAnalyzeLoudnessParamsManual.
func (LibraryMetadataPutAnalyzeLoudnessParamsManual) Valid ¶
func (e LibraryMetadataPutAnalyzeLoudnessParamsManual) Valid() bool
Valid indicates whether the value is a known member of the LibraryMetadataPutAnalyzeLoudnessParamsManual enum.
type LibraryMetadataPutAnalyzeLoudnessResponse ¶
func ParseLibraryMetadataPutAnalyzeLoudnessResponse ¶
func ParseLibraryMetadataPutAnalyzeLoudnessResponse(rsp *http.Response) (*LibraryMetadataPutAnalyzeLoudnessResponse, error)
ParseLibraryMetadataPutAnalyzeLoudnessResponse parses an HTTP response from a LibraryMetadataPutAnalyzeLoudnessWithResponse call
func (LibraryMetadataPutAnalyzeLoudnessResponse) ContentType ¶
func (r LibraryMetadataPutAnalyzeLoudnessResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (LibraryMetadataPutAnalyzeLoudnessResponse) GetBody ¶
func (r LibraryMetadataPutAnalyzeLoudnessResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (LibraryMetadataPutAnalyzeLoudnessResponse) Status ¶
func (r LibraryMetadataPutAnalyzeLoudnessResponse) Status() string
Status returns HTTPResponse.Status
func (LibraryMetadataPutAnalyzeLoudnessResponse) StatusCode ¶
func (r LibraryMetadataPutAnalyzeLoudnessResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type LibraryMetadataPutAnalyzeParams ¶
type LibraryMetadataPutAnalyzeParams struct {
// ThumbOffset Set the offset to be used for thumbnails
ThumbOffset float32 `form:"thumbOffset,omitempty" json:"thumbOffset,omitempty,omitzero"`
// ArtOffset Set the offset to be used for artwork
ArtOffset float32 `form:"artOffset,omitempty" json:"artOffset,omitempty,omitzero"`
}
LibraryMetadataPutAnalyzeParams defines parameters for LibraryMetadataPutAnalyze.
type LibraryMetadataPutAnalyzeResponse ¶
func ParseLibraryMetadataPutAnalyzeResponse ¶
func ParseLibraryMetadataPutAnalyzeResponse(rsp *http.Response) (*LibraryMetadataPutAnalyzeResponse, error)
ParseLibraryMetadataPutAnalyzeResponse parses an HTTP response from a LibraryMetadataPutAnalyzeWithResponse call
func (LibraryMetadataPutAnalyzeResponse) ContentType ¶
func (r LibraryMetadataPutAnalyzeResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (LibraryMetadataPutAnalyzeResponse) GetBody ¶
func (r LibraryMetadataPutAnalyzeResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (LibraryMetadataPutAnalyzeResponse) Status ¶
func (r LibraryMetadataPutAnalyzeResponse) Status() string
Status returns HTTPResponse.Status
func (LibraryMetadataPutAnalyzeResponse) StatusCode ¶
func (r LibraryMetadataPutAnalyzeResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type LibraryMetadataPutChapterThumbsParams ¶
type LibraryMetadataPutChapterThumbsParams struct {
Force LibraryMetadataPutChapterThumbsParamsForce `form:"force,omitempty" json:"force,omitempty,omitzero"`
}
LibraryMetadataPutChapterThumbsParams defines parameters for LibraryMetadataPutChapterThumbs.
type LibraryMetadataPutChapterThumbsParamsForce ¶
type LibraryMetadataPutChapterThumbsParamsForce int
LibraryMetadataPutChapterThumbsParamsForce defines parameters for LibraryMetadataPutChapterThumbs.
const ( LibraryMetadataPutChapterThumbsParamsForceN0 LibraryMetadataPutChapterThumbsParamsForce = 0 LibraryMetadataPutChapterThumbsParamsForceN1 LibraryMetadataPutChapterThumbsParamsForce = 1 )
Defines values for LibraryMetadataPutChapterThumbsParamsForce.
func (LibraryMetadataPutChapterThumbsParamsForce) Valid ¶
func (e LibraryMetadataPutChapterThumbsParamsForce) Valid() bool
Valid indicates whether the value is a known member of the LibraryMetadataPutChapterThumbsParamsForce enum.
type LibraryMetadataPutChapterThumbsResponse ¶
func ParseLibraryMetadataPutChapterThumbsResponse ¶
func ParseLibraryMetadataPutChapterThumbsResponse(rsp *http.Response) (*LibraryMetadataPutChapterThumbsResponse, error)
ParseLibraryMetadataPutChapterThumbsResponse parses an HTTP response from a LibraryMetadataPutChapterThumbsWithResponse call
func (LibraryMetadataPutChapterThumbsResponse) ContentType ¶
func (r LibraryMetadataPutChapterThumbsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (LibraryMetadataPutChapterThumbsResponse) GetBody ¶
func (r LibraryMetadataPutChapterThumbsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (LibraryMetadataPutChapterThumbsResponse) Status ¶
func (r LibraryMetadataPutChapterThumbsResponse) Status() string
Status returns HTTPResponse.Status
func (LibraryMetadataPutChapterThumbsResponse) StatusCode ¶
func (r LibraryMetadataPutChapterThumbsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type LibraryMetadataPutCreditsParams ¶
type LibraryMetadataPutCreditsParams struct {
Force LibraryMetadataPutCreditsParamsForce `form:"force,omitempty" json:"force,omitempty,omitzero"`
Manual LibraryMetadataPutCreditsParamsManual `form:"manual,omitempty" json:"manual,omitempty,omitzero"`
}
LibraryMetadataPutCreditsParams defines parameters for LibraryMetadataPutCredits.
type LibraryMetadataPutCreditsParamsForce ¶
type LibraryMetadataPutCreditsParamsForce int
LibraryMetadataPutCreditsParamsForce defines parameters for LibraryMetadataPutCredits.
const ( LibraryMetadataPutCreditsParamsForceN0 LibraryMetadataPutCreditsParamsForce = 0 LibraryMetadataPutCreditsParamsForceN1 LibraryMetadataPutCreditsParamsForce = 1 )
Defines values for LibraryMetadataPutCreditsParamsForce.
func (LibraryMetadataPutCreditsParamsForce) Valid ¶
func (e LibraryMetadataPutCreditsParamsForce) Valid() bool
Valid indicates whether the value is a known member of the LibraryMetadataPutCreditsParamsForce enum.
type LibraryMetadataPutCreditsParamsManual ¶
type LibraryMetadataPutCreditsParamsManual int
LibraryMetadataPutCreditsParamsManual defines parameters for LibraryMetadataPutCredits.
const ( LibraryMetadataPutCreditsParamsManualN0 LibraryMetadataPutCreditsParamsManual = 0 LibraryMetadataPutCreditsParamsManualN1 LibraryMetadataPutCreditsParamsManual = 1 )
Defines values for LibraryMetadataPutCreditsParamsManual.
func (LibraryMetadataPutCreditsParamsManual) Valid ¶
func (e LibraryMetadataPutCreditsParamsManual) Valid() bool
Valid indicates whether the value is a known member of the LibraryMetadataPutCreditsParamsManual enum.
type LibraryMetadataPutCreditsResponse ¶
func ParseLibraryMetadataPutCreditsResponse ¶
func ParseLibraryMetadataPutCreditsResponse(rsp *http.Response) (*LibraryMetadataPutCreditsResponse, error)
ParseLibraryMetadataPutCreditsResponse parses an HTTP response from a LibraryMetadataPutCreditsWithResponse call
func (LibraryMetadataPutCreditsResponse) ContentType ¶
func (r LibraryMetadataPutCreditsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (LibraryMetadataPutCreditsResponse) GetBody ¶
func (r LibraryMetadataPutCreditsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (LibraryMetadataPutCreditsResponse) Status ¶
func (r LibraryMetadataPutCreditsResponse) Status() string
Status returns HTTPResponse.Status
func (LibraryMetadataPutCreditsResponse) StatusCode ¶
func (r LibraryMetadataPutCreditsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type LibraryMetadataPutElementParams ¶
type LibraryMetadataPutElementParams struct {
// URL The url of the new asset.
URL string `form:"url,omitempty" json:"url,omitempty,omitzero"`
}
LibraryMetadataPutElementParams defines parameters for LibraryMetadataPutElement.
type LibraryMetadataPutElementParamsElement ¶
type LibraryMetadataPutElementParamsElement string
LibraryMetadataPutElementParamsElement defines parameters for LibraryMetadataPutElement.
const ( LibraryMetadataPutElementParamsElementArt LibraryMetadataPutElementParamsElement = "art" LibraryMetadataPutElementParamsElementBanner LibraryMetadataPutElementParamsElement = "banner" LibraryMetadataPutElementParamsElementClearLogo LibraryMetadataPutElementParamsElement = "clearLogo" LibraryMetadataPutElementParamsElementPoster LibraryMetadataPutElementParamsElement = "poster" LibraryMetadataPutElementParamsElementSquareArt LibraryMetadataPutElementParamsElement = "squareArt" LibraryMetadataPutElementParamsElementTheme LibraryMetadataPutElementParamsElement = "theme" LibraryMetadataPutElementParamsElementThumb LibraryMetadataPutElementParamsElement = "thumb" )
Defines values for LibraryMetadataPutElementParamsElement.
func (LibraryMetadataPutElementParamsElement) Valid ¶
func (e LibraryMetadataPutElementParamsElement) Valid() bool
Valid indicates whether the value is a known member of the LibraryMetadataPutElementParamsElement enum.
type LibraryMetadataPutElementResponse ¶
func ParseLibraryMetadataPutElementResponse ¶
func ParseLibraryMetadataPutElementResponse(rsp *http.Response) (*LibraryMetadataPutElementResponse, error)
ParseLibraryMetadataPutElementResponse parses an HTTP response from a LibraryMetadataPutElementWithResponse call
func (LibraryMetadataPutElementResponse) ContentType ¶
func (r LibraryMetadataPutElementResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (LibraryMetadataPutElementResponse) GetBody ¶
func (r LibraryMetadataPutElementResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (LibraryMetadataPutElementResponse) Status ¶
func (r LibraryMetadataPutElementResponse) Status() string
Status returns HTTPResponse.Status
func (LibraryMetadataPutElementResponse) StatusCode ¶
func (r LibraryMetadataPutElementResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type LibraryMetadataPutIndexParams ¶
type LibraryMetadataPutIndexParams struct {
Force LibraryMetadataPutIndexParamsForce `form:"force,omitempty" json:"force,omitempty,omitzero"`
}
LibraryMetadataPutIndexParams defines parameters for LibraryMetadataPutIndex.
type LibraryMetadataPutIndexParamsForce ¶
type LibraryMetadataPutIndexParamsForce int
LibraryMetadataPutIndexParamsForce defines parameters for LibraryMetadataPutIndex.
const ( LibraryMetadataPutIndexParamsForceN0 LibraryMetadataPutIndexParamsForce = 0 LibraryMetadataPutIndexParamsForceN1 LibraryMetadataPutIndexParamsForce = 1 )
Defines values for LibraryMetadataPutIndexParamsForce.
func (LibraryMetadataPutIndexParamsForce) Valid ¶
func (e LibraryMetadataPutIndexParamsForce) Valid() bool
Valid indicates whether the value is a known member of the LibraryMetadataPutIndexParamsForce enum.
type LibraryMetadataPutIndexResponse ¶
func ParseLibraryMetadataPutIndexResponse ¶
func ParseLibraryMetadataPutIndexResponse(rsp *http.Response) (*LibraryMetadataPutIndexResponse, error)
ParseLibraryMetadataPutIndexResponse parses an HTTP response from a LibraryMetadataPutIndexWithResponse call
func (LibraryMetadataPutIndexResponse) ContentType ¶
func (r LibraryMetadataPutIndexResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (LibraryMetadataPutIndexResponse) GetBody ¶
func (r LibraryMetadataPutIndexResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (LibraryMetadataPutIndexResponse) Status ¶
func (r LibraryMetadataPutIndexResponse) Status() string
Status returns HTTPResponse.Status
func (LibraryMetadataPutIndexResponse) StatusCode ¶
func (r LibraryMetadataPutIndexResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type LibraryMetadataPutIntroParams ¶
type LibraryMetadataPutIntroParams struct {
// Force Indicate whether detection should be re-run
Force LibraryMetadataPutIntroParamsForce `form:"force,omitempty" json:"force,omitempty,omitzero"`
// Threshold The threshold for determining if content is an intro or not
Threshold float32 `form:"threshold,omitempty" json:"threshold,omitempty,omitzero"`
}
LibraryMetadataPutIntroParams defines parameters for LibraryMetadataPutIntro.
type LibraryMetadataPutIntroParamsForce ¶
type LibraryMetadataPutIntroParamsForce int
LibraryMetadataPutIntroParamsForce defines parameters for LibraryMetadataPutIntro.
const ( LibraryMetadataPutIntroParamsForceN0 LibraryMetadataPutIntroParamsForce = 0 LibraryMetadataPutIntroParamsForceN1 LibraryMetadataPutIntroParamsForce = 1 )
Defines values for LibraryMetadataPutIntroParamsForce.
func (LibraryMetadataPutIntroParamsForce) Valid ¶
func (e LibraryMetadataPutIntroParamsForce) Valid() bool
Valid indicates whether the value is a known member of the LibraryMetadataPutIntroParamsForce enum.
type LibraryMetadataPutIntroResponse ¶
func ParseLibraryMetadataPutIntroResponse ¶
func ParseLibraryMetadataPutIntroResponse(rsp *http.Response) (*LibraryMetadataPutIntroResponse, error)
ParseLibraryMetadataPutIntroResponse parses an HTTP response from a LibraryMetadataPutIntroWithResponse call
func (LibraryMetadataPutIntroResponse) ContentType ¶
func (r LibraryMetadataPutIntroResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (LibraryMetadataPutIntroResponse) GetBody ¶
func (r LibraryMetadataPutIntroResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (LibraryMetadataPutIntroResponse) Status ¶
func (r LibraryMetadataPutIntroResponse) Status() string
Status returns HTTPResponse.Status
func (LibraryMetadataPutIntroResponse) StatusCode ¶
func (r LibraryMetadataPutIntroResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type LibraryMetadataPutMarkerMarker200JSONResponseBodyMediaContainerType ¶
type LibraryMetadataPutMarkerMarker200JSONResponseBodyMediaContainerType string
LibraryMetadataPutMarkerMarker200JSONResponseBodyMediaContainerType defines parameters for LibraryMetadataPutMarkerMarker.
const ( LibraryMetadataPutMarkerMarker200JSONResponseBodyMediaContainerTypeBookmark LibraryMetadataPutMarkerMarker200JSONResponseBodyMediaContainerType = "bookmark" LibraryMetadataPutMarkerMarker200JSONResponseBodyMediaContainerTypeCommercial LibraryMetadataPutMarkerMarker200JSONResponseBodyMediaContainerType = "commercial" LibraryMetadataPutMarkerMarker200JSONResponseBodyMediaContainerTypeCredit LibraryMetadataPutMarkerMarker200JSONResponseBodyMediaContainerType = "credit" LibraryMetadataPutMarkerMarker200JSONResponseBodyMediaContainerTypeIntro LibraryMetadataPutMarkerMarker200JSONResponseBodyMediaContainerType = "intro" LibraryMetadataPutMarkerMarker200JSONResponseBodyMediaContainerTypeResume LibraryMetadataPutMarkerMarker200JSONResponseBodyMediaContainerType = "resume" )
Defines values for LibraryMetadataPutMarkerMarker200JSONResponseBodyMediaContainerType.
func (LibraryMetadataPutMarkerMarker200JSONResponseBodyMediaContainerType) Valid ¶
func (e LibraryMetadataPutMarkerMarker200JSONResponseBodyMediaContainerType) Valid() bool
Valid indicates whether the value is a known member of the LibraryMetadataPutMarkerMarker200JSONResponseBodyMediaContainerType enum.
type LibraryMetadataPutMarkerMarker200JSONResponseBody_MediaContainer ¶
type LibraryMetadataPutMarkerMarker200JSONResponseBody_MediaContainer struct {
Color string `json:"color,omitempty,omitzero"`
EndTimeOffset int `json:"endTimeOffset,omitempty,omitzero"`
ID int `json:"id,omitempty,omitzero"`
Identifier string `json:"identifier,omitempty,omitzero"`
// Offset The offset of where this container page starts among the total objects available. Also provided in the X-Plex-Container-Start header
Offset int `json:"offset,omitempty,omitzero"`
Size int `json:"size,omitempty,omitzero"`
StartTimeOffset int `json:"startTimeOffset,omitempty,omitzero"`
Title string `json:"title,omitempty,omitzero"`
// TotalSize The total size of objects available. Also provided in the X-Plex-Container-Total-Size header
TotalSize int `json:"totalSize,omitempty,omitzero"`
Type LibraryMetadataPutMarkerMarker200JSONResponseBodyMediaContainerType `json:"type,omitempty,omitzero"`
AdditionalProperties map[string]interface{} `json:"-"`
}
LibraryMetadataPutMarkerMarker200JSONResponseBody_MediaContainer defines parameters for LibraryMetadataPutMarkerMarker.
func (LibraryMetadataPutMarkerMarker200JSONResponseBody_MediaContainer) Get ¶
func (a LibraryMetadataPutMarkerMarker200JSONResponseBody_MediaContainer) Get(fieldName string) (value interface{}, found bool)
Getter for additional properties for LibraryMetadataPutMarkerMarker200JSONResponseBody_MediaContainer. Returns the specified element and whether it was found
func (LibraryMetadataPutMarkerMarker200JSONResponseBody_MediaContainer) MarshalJSON ¶
func (a LibraryMetadataPutMarkerMarker200JSONResponseBody_MediaContainer) MarshalJSON() ([]byte, error)
Override default JSON handling for LibraryMetadataPutMarkerMarker200JSONResponseBody_MediaContainer to handle AdditionalProperties
func (*LibraryMetadataPutMarkerMarker200JSONResponseBody_MediaContainer) Set ¶
func (a *LibraryMetadataPutMarkerMarker200JSONResponseBody_MediaContainer) Set(fieldName string, value interface{})
Setter for additional properties for LibraryMetadataPutMarkerMarker200JSONResponseBody_MediaContainer
func (*LibraryMetadataPutMarkerMarker200JSONResponseBody_MediaContainer) UnmarshalJSON ¶
func (a *LibraryMetadataPutMarkerMarker200JSONResponseBody_MediaContainer) UnmarshalJSON(b []byte) error
Override default JSON handling for LibraryMetadataPutMarkerMarker200JSONResponseBody_MediaContainer to handle AdditionalProperties
type LibraryMetadataPutMarkerMarkerParams ¶
type LibraryMetadataPutMarkerMarkerParams struct {
// Type The type of marker to edit/create
Type int `form:"type" json:"type"`
// StartTimeOffset The start time of the marker
StartTimeOffset int `form:"startTimeOffset" json:"startTimeOffset"`
// EndTimeOffset The end time of the marker
EndTimeOffset int `form:"endTimeOffset,omitempty" json:"endTimeOffset,omitempty,omitzero"`
// Attributes The attributes to assign to this marker
Attributes map[string]interface{} `json:"attributes,omitempty,omitzero"`
}
LibraryMetadataPutMarkerMarkerParams defines parameters for LibraryMetadataPutMarkerMarker.
type LibraryMetadataPutMarkerMarkerResponse ¶
type LibraryMetadataPutMarkerMarkerResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *PostResponses200
}
func ParseLibraryMetadataPutMarkerMarkerResponse ¶
func ParseLibraryMetadataPutMarkerMarkerResponse(rsp *http.Response) (*LibraryMetadataPutMarkerMarkerResponse, error)
ParseLibraryMetadataPutMarkerMarkerResponse parses an HTTP response from a LibraryMetadataPutMarkerMarkerWithResponse call
func (LibraryMetadataPutMarkerMarkerResponse) ContentType ¶
func (r LibraryMetadataPutMarkerMarkerResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (LibraryMetadataPutMarkerMarkerResponse) GetBody ¶
func (r LibraryMetadataPutMarkerMarkerResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (LibraryMetadataPutMarkerMarkerResponse) GetJSON200 ¶
func (r LibraryMetadataPutMarkerMarkerResponse) GetJSON200() *PostResponses200
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (LibraryMetadataPutMarkerMarkerResponse) Status ¶
func (r LibraryMetadataPutMarkerMarkerResponse) Status() string
Status returns HTTPResponse.Status
func (LibraryMetadataPutMarkerMarkerResponse) StatusCode ¶
func (r LibraryMetadataPutMarkerMarkerResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type LibraryMetadataPutMatchParams ¶
type LibraryMetadataPutMatchParams struct {
GUID string `form:"guid,omitempty" json:"guid,omitempty,omitzero"`
Name string `form:"name,omitempty" json:"name,omitempty,omitzero"`
Year int `form:"year,omitempty" json:"year,omitempty,omitzero"`
}
LibraryMetadataPutMatchParams defines parameters for LibraryMetadataPutMatch.
type LibraryMetadataPutMatchResponse ¶
func ParseLibraryMetadataPutMatchResponse ¶
func ParseLibraryMetadataPutMatchResponse(rsp *http.Response) (*LibraryMetadataPutMatchResponse, error)
ParseLibraryMetadataPutMatchResponse parses an HTTP response from a LibraryMetadataPutMatchWithResponse call
func (LibraryMetadataPutMatchResponse) ContentType ¶
func (r LibraryMetadataPutMatchResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (LibraryMetadataPutMatchResponse) GetBody ¶
func (r LibraryMetadataPutMatchResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (LibraryMetadataPutMatchResponse) Status ¶
func (r LibraryMetadataPutMatchResponse) Status() string
Status returns HTTPResponse.Status
func (LibraryMetadataPutMatchResponse) StatusCode ¶
func (r LibraryMetadataPutMatchResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type LibraryMetadataPutMergeParams ¶
type LibraryMetadataPutMergeParams struct {
Ids []string `form:"ids,omitempty" json:"ids,omitempty,omitzero"`
}
LibraryMetadataPutMergeParams defines parameters for LibraryMetadataPutMerge.
type LibraryMetadataPutMergeResponse ¶
func ParseLibraryMetadataPutMergeResponse ¶
func ParseLibraryMetadataPutMergeResponse(rsp *http.Response) (*LibraryMetadataPutMergeResponse, error)
ParseLibraryMetadataPutMergeResponse parses an HTTP response from a LibraryMetadataPutMergeWithResponse call
func (LibraryMetadataPutMergeResponse) ContentType ¶
func (r LibraryMetadataPutMergeResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (LibraryMetadataPutMergeResponse) GetBody ¶
func (r LibraryMetadataPutMergeResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (LibraryMetadataPutMergeResponse) Status ¶
func (r LibraryMetadataPutMergeResponse) Status() string
Status returns HTTPResponse.Status
func (LibraryMetadataPutMergeResponse) StatusCode ¶
func (r LibraryMetadataPutMergeResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type LibraryMetadataPutPrefsParams ¶
type LibraryMetadataPutPrefsParams struct {
Args map[string]interface{} `form:"args,omitempty" json:"args,omitempty,omitzero"`
}
LibraryMetadataPutPrefsParams defines parameters for LibraryMetadataPutPrefs.
type LibraryMetadataPutPrefsResponse ¶
func ParseLibraryMetadataPutPrefsResponse ¶
func ParseLibraryMetadataPutPrefsResponse(rsp *http.Response) (*LibraryMetadataPutPrefsResponse, error)
ParseLibraryMetadataPutPrefsResponse parses an HTTP response from a LibraryMetadataPutPrefsWithResponse call
func (LibraryMetadataPutPrefsResponse) ContentType ¶
func (r LibraryMetadataPutPrefsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (LibraryMetadataPutPrefsResponse) GetBody ¶
func (r LibraryMetadataPutPrefsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (LibraryMetadataPutPrefsResponse) Status ¶
func (r LibraryMetadataPutPrefsResponse) Status() string
Status returns HTTPResponse.Status
func (LibraryMetadataPutPrefsResponse) StatusCode ¶
func (r LibraryMetadataPutPrefsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type LibraryMetadataPutRefreshParams ¶
type LibraryMetadataPutRefreshParams struct {
Agent string `form:"agent,omitempty" json:"agent,omitempty,omitzero"`
MarkUpdated LibraryMetadataPutRefreshParamsMarkUpdated `form:"markUpdated,omitempty" json:"markUpdated,omitempty,omitzero"`
}
LibraryMetadataPutRefreshParams defines parameters for LibraryMetadataPutRefresh.
type LibraryMetadataPutRefreshParamsMarkUpdated ¶
type LibraryMetadataPutRefreshParamsMarkUpdated int
LibraryMetadataPutRefreshParamsMarkUpdated defines parameters for LibraryMetadataPutRefresh.
const ( LibraryMetadataPutRefreshParamsMarkUpdatedN0 LibraryMetadataPutRefreshParamsMarkUpdated = 0 LibraryMetadataPutRefreshParamsMarkUpdatedN1 LibraryMetadataPutRefreshParamsMarkUpdated = 1 )
Defines values for LibraryMetadataPutRefreshParamsMarkUpdated.
func (LibraryMetadataPutRefreshParamsMarkUpdated) Valid ¶
func (e LibraryMetadataPutRefreshParamsMarkUpdated) Valid() bool
Valid indicates whether the value is a known member of the LibraryMetadataPutRefreshParamsMarkUpdated enum.
type LibraryMetadataPutRefreshResponse ¶
func ParseLibraryMetadataPutRefreshResponse ¶
func ParseLibraryMetadataPutRefreshResponse(rsp *http.Response) (*LibraryMetadataPutRefreshResponse, error)
ParseLibraryMetadataPutRefreshResponse parses an HTTP response from a LibraryMetadataPutRefreshWithResponse call
func (LibraryMetadataPutRefreshResponse) ContentType ¶
func (r LibraryMetadataPutRefreshResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (LibraryMetadataPutRefreshResponse) GetBody ¶
func (r LibraryMetadataPutRefreshResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (LibraryMetadataPutRefreshResponse) Status ¶
func (r LibraryMetadataPutRefreshResponse) Status() string
Status returns HTTPResponse.Status
func (LibraryMetadataPutRefreshResponse) StatusCode ¶
func (r LibraryMetadataPutRefreshResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type LibraryMetadataPutSlashParams ¶
type LibraryMetadataPutSlashParams struct {
// Args The new values for the metadata item
Args map[string]interface{} `form:"args,omitempty" json:"args,omitempty,omitzero"`
}
LibraryMetadataPutSlashParams defines parameters for LibraryMetadataPutSlash.
type LibraryMetadataPutSlashResponse ¶
func ParseLibraryMetadataPutSlashResponse ¶
func ParseLibraryMetadataPutSlashResponse(rsp *http.Response) (*LibraryMetadataPutSlashResponse, error)
ParseLibraryMetadataPutSlashResponse parses an HTTP response from a LibraryMetadataPutSlashWithResponse call
func (LibraryMetadataPutSlashResponse) ContentType ¶
func (r LibraryMetadataPutSlashResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (LibraryMetadataPutSlashResponse) GetBody ¶
func (r LibraryMetadataPutSlashResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (LibraryMetadataPutSlashResponse) Status ¶
func (r LibraryMetadataPutSlashResponse) Status() string
Status returns HTTPResponse.Status
func (LibraryMetadataPutSlashResponse) StatusCode ¶
func (r LibraryMetadataPutSlashResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type LibraryMetadataPutSplitResponse ¶
func ParseLibraryMetadataPutSplitResponse ¶
func ParseLibraryMetadataPutSplitResponse(rsp *http.Response) (*LibraryMetadataPutSplitResponse, error)
ParseLibraryMetadataPutSplitResponse parses an HTTP response from a LibraryMetadataPutSplitWithResponse call
func (LibraryMetadataPutSplitResponse) ContentType ¶
func (r LibraryMetadataPutSplitResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (LibraryMetadataPutSplitResponse) GetBody ¶
func (r LibraryMetadataPutSplitResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (LibraryMetadataPutSplitResponse) Status ¶
func (r LibraryMetadataPutSplitResponse) Status() string
Status returns HTTPResponse.Status
func (LibraryMetadataPutSplitResponse) StatusCode ¶
func (r LibraryMetadataPutSplitResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type LibraryMetadataPutUnmatchResponse ¶
func ParseLibraryMetadataPutUnmatchResponse ¶
func ParseLibraryMetadataPutUnmatchResponse(rsp *http.Response) (*LibraryMetadataPutUnmatchResponse, error)
ParseLibraryMetadataPutUnmatchResponse parses an HTTP response from a LibraryMetadataPutUnmatchWithResponse call
func (LibraryMetadataPutUnmatchResponse) ContentType ¶
func (r LibraryMetadataPutUnmatchResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (LibraryMetadataPutUnmatchResponse) GetBody ¶
func (r LibraryMetadataPutUnmatchResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (LibraryMetadataPutUnmatchResponse) Status ¶
func (r LibraryMetadataPutUnmatchResponse) Status() string
Status returns HTTPResponse.Status
func (LibraryMetadataPutUnmatchResponse) StatusCode ¶
func (r LibraryMetadataPutUnmatchResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type LibraryMetadataPutVoiceActivityParams ¶
type LibraryMetadataPutVoiceActivityParams struct {
// Force Indicate whether detection should be re-run
Force LibraryMetadataPutVoiceActivityParamsForce `form:"force,omitempty" json:"force,omitempty,omitzero"`
// Manual Indicate whether detection is manually run
Manual LibraryMetadataPutVoiceActivityParamsManual `form:"manual,omitempty" json:"manual,omitempty,omitzero"`
}
LibraryMetadataPutVoiceActivityParams defines parameters for LibraryMetadataPutVoiceActivity.
type LibraryMetadataPutVoiceActivityParamsForce ¶
type LibraryMetadataPutVoiceActivityParamsForce int
LibraryMetadataPutVoiceActivityParamsForce defines parameters for LibraryMetadataPutVoiceActivity.
const ( LibraryMetadataPutVoiceActivityParamsForceN0 LibraryMetadataPutVoiceActivityParamsForce = 0 LibraryMetadataPutVoiceActivityParamsForceN1 LibraryMetadataPutVoiceActivityParamsForce = 1 )
Defines values for LibraryMetadataPutVoiceActivityParamsForce.
func (LibraryMetadataPutVoiceActivityParamsForce) Valid ¶
func (e LibraryMetadataPutVoiceActivityParamsForce) Valid() bool
Valid indicates whether the value is a known member of the LibraryMetadataPutVoiceActivityParamsForce enum.
type LibraryMetadataPutVoiceActivityParamsManual ¶
type LibraryMetadataPutVoiceActivityParamsManual int
LibraryMetadataPutVoiceActivityParamsManual defines parameters for LibraryMetadataPutVoiceActivity.
const ( LibraryMetadataPutVoiceActivityParamsManualN0 LibraryMetadataPutVoiceActivityParamsManual = 0 LibraryMetadataPutVoiceActivityParamsManualN1 LibraryMetadataPutVoiceActivityParamsManual = 1 )
Defines values for LibraryMetadataPutVoiceActivityParamsManual.
func (LibraryMetadataPutVoiceActivityParamsManual) Valid ¶
func (e LibraryMetadataPutVoiceActivityParamsManual) Valid() bool
Valid indicates whether the value is a known member of the LibraryMetadataPutVoiceActivityParamsManual enum.
type LibraryMetadataPutVoiceActivityResponse ¶
func ParseLibraryMetadataPutVoiceActivityResponse ¶
func ParseLibraryMetadataPutVoiceActivityResponse(rsp *http.Response) (*LibraryMetadataPutVoiceActivityResponse, error)
ParseLibraryMetadataPutVoiceActivityResponse parses an HTTP response from a LibraryMetadataPutVoiceActivityWithResponse call
func (LibraryMetadataPutVoiceActivityResponse) ContentType ¶
func (r LibraryMetadataPutVoiceActivityResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (LibraryMetadataPutVoiceActivityResponse) GetBody ¶
func (r LibraryMetadataPutVoiceActivityResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (LibraryMetadataPutVoiceActivityResponse) Status ¶
func (r LibraryMetadataPutVoiceActivityResponse) Status() string
Status returns HTTPResponse.Status
func (LibraryMetadataPutVoiceActivityResponse) StatusCode ¶
func (r LibraryMetadataPutVoiceActivityResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type LibraryPostFileParams ¶
type LibraryPostFileParams struct {
// URL The file of the file to ingest.
URL string `form:"url,omitempty" json:"url,omitempty,omitzero"`
// VirtualFilePath A virtual path to use when the url is opaque.
VirtualFilePath string `form:"virtualFilePath,omitempty" json:"virtualFilePath,omitempty,omitzero"`
// ComputeHashes Whether or not to compute Plex and OpenSubtitle hashes for the file. Defaults to 0.
ComputeHashes LibraryPostFileParamsComputeHashes `form:"computeHashes,omitempty" json:"computeHashes,omitempty,omitzero"`
// IngestNonMatches Whether or not non matching media should be stored. Defaults to 0.
IngestNonMatches LibraryPostFileParamsIngestNonMatches `form:"ingestNonMatches,omitempty" json:"ingestNonMatches,omitempty,omitzero"`
}
LibraryPostFileParams defines parameters for LibraryPostFile.
type LibraryPostFileParamsComputeHashes ¶
type LibraryPostFileParamsComputeHashes int
LibraryPostFileParamsComputeHashes defines parameters for LibraryPostFile.
const ( LibraryPostFileParamsComputeHashesN0 LibraryPostFileParamsComputeHashes = 0 LibraryPostFileParamsComputeHashesN1 LibraryPostFileParamsComputeHashes = 1 )
Defines values for LibraryPostFileParamsComputeHashes.
func (LibraryPostFileParamsComputeHashes) Valid ¶
func (e LibraryPostFileParamsComputeHashes) Valid() bool
Valid indicates whether the value is a known member of the LibraryPostFileParamsComputeHashes enum.
type LibraryPostFileParamsIngestNonMatches ¶
type LibraryPostFileParamsIngestNonMatches int
LibraryPostFileParamsIngestNonMatches defines parameters for LibraryPostFile.
const ( LibraryPostFileParamsIngestNonMatchesN0 LibraryPostFileParamsIngestNonMatches = 0 LibraryPostFileParamsIngestNonMatchesN1 LibraryPostFileParamsIngestNonMatches = 1 )
Defines values for LibraryPostFileParamsIngestNonMatches.
func (LibraryPostFileParamsIngestNonMatches) Valid ¶
func (e LibraryPostFileParamsIngestNonMatches) Valid() bool
Valid indicates whether the value is a known member of the LibraryPostFileParamsIngestNonMatches enum.
type LibraryPostFileResponse ¶
type LibraryPostFileResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *MediaContainerWithMetadata
// Headers200 the parsed response headers for an HTTP 200 response
Headers200 *LibraryPostFileResponse200Headers
}
func ParseLibraryPostFileResponse ¶
func ParseLibraryPostFileResponse(rsp *http.Response) (*LibraryPostFileResponse, error)
ParseLibraryPostFileResponse parses an HTTP response from a LibraryPostFileWithResponse call
func (LibraryPostFileResponse) ContentType ¶
func (r LibraryPostFileResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (LibraryPostFileResponse) GetBody ¶
func (r LibraryPostFileResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (LibraryPostFileResponse) GetJSON200 ¶
func (r LibraryPostFileResponse) GetJSON200() *MediaContainerWithMetadata
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (LibraryPostFileResponse) Status ¶
func (r LibraryPostFileResponse) Status() string
Status returns HTTPResponse.Status
func (LibraryPostFileResponse) StatusCode ¶
func (r LibraryPostFileResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type LibraryPostFileResponse200Headers ¶
type LibraryPostFileResponse200Headers struct {
XPlexContainerStart int
XPlexContainerTotalSize int
}
LibraryPostFileResponse200Headers the declared response headers of an HTTP 200 response for LibraryPostFile
type LibraryPostSectionParams ¶
type LibraryPostSectionParams struct {
// Name The name of the new section
Name string `form:"name" json:"name"`
// Type The type of library section
Type int `form:"type" json:"type"`
// Scanner The scanner this section should use
Scanner string `form:"scanner,omitempty" json:"scanner,omitempty,omitzero"`
// Agent The agent this section should use for metadata
Agent string `form:"agent" json:"agent"`
// MetadataAgentProviderGroupID The agent group id for this section
MetadataAgentProviderGroupID string `form:"metadataAgentProviderGroupId,omitempty" json:"metadataAgentProviderGroupId,omitempty,omitzero"`
// Language The language of this section
Language string `form:"language" json:"language"`
// Locations The locations on disk to add to this section
Locations []string `form:"locations,omitempty" json:"locations,omitempty,omitzero"`
// Prefs The preferences for this section
Prefs map[string]interface{} `json:"prefs,omitempty,omitzero"`
// Relative If set, paths are relative to `Media Upload` path
Relative LibraryPostSectionParamsRelative `form:"relative,omitempty" json:"relative,omitempty,omitzero"`
// ImportFromiTunes If set, import media from iTunes.
ImportFromiTunes LibraryPostSectionParamsImportFromiTunes `form:"importFromiTunes,omitempty" json:"importFromiTunes,omitempty,omitzero"`
}
LibraryPostSectionParams defines parameters for LibraryPostSection.
type LibraryPostSectionParamsImportFromiTunes ¶
type LibraryPostSectionParamsImportFromiTunes int
LibraryPostSectionParamsImportFromiTunes defines parameters for LibraryPostSection.
const ( LibraryPostSectionParamsImportFromiTunesN0 LibraryPostSectionParamsImportFromiTunes = 0 LibraryPostSectionParamsImportFromiTunesN1 LibraryPostSectionParamsImportFromiTunes = 1 )
Defines values for LibraryPostSectionParamsImportFromiTunes.
func (LibraryPostSectionParamsImportFromiTunes) Valid ¶
func (e LibraryPostSectionParamsImportFromiTunes) Valid() bool
Valid indicates whether the value is a known member of the LibraryPostSectionParamsImportFromiTunes enum.
type LibraryPostSectionParamsRelative ¶
type LibraryPostSectionParamsRelative int
LibraryPostSectionParamsRelative defines parameters for LibraryPostSection.
const ( LibraryPostSectionParamsRelativeN0 LibraryPostSectionParamsRelative = 0 LibraryPostSectionParamsRelativeN1 LibraryPostSectionParamsRelative = 1 )
Defines values for LibraryPostSectionParamsRelative.
func (LibraryPostSectionParamsRelative) Valid ¶
func (e LibraryPostSectionParamsRelative) Valid() bool
Valid indicates whether the value is a known member of the LibraryPostSectionParamsRelative enum.
type LibraryPostSectionResponse ¶
type LibraryPostSectionResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *SlashGetResponses200
}
func ParseLibraryPostSectionResponse ¶
func ParseLibraryPostSectionResponse(rsp *http.Response) (*LibraryPostSectionResponse, error)
ParseLibraryPostSectionResponse parses an HTTP response from a LibraryPostSectionWithResponse call
func (LibraryPostSectionResponse) ContentType ¶
func (r LibraryPostSectionResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (LibraryPostSectionResponse) GetBody ¶
func (r LibraryPostSectionResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (LibraryPostSectionResponse) GetJSON200 ¶
func (r LibraryPostSectionResponse) GetJSON200() *SlashGetResponses200
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (LibraryPostSectionResponse) Status ¶
func (r LibraryPostSectionResponse) Status() string
Status returns HTTPResponse.Status
func (LibraryPostSectionResponse) StatusCode ¶
func (r LibraryPostSectionResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type LibraryPostSectionsRefreshParams ¶
type LibraryPostSectionsRefreshParams struct {
// Force Force refresh of metadata
Force bool `form:"force,omitempty" json:"force,omitempty,omitzero"`
}
LibraryPostSectionsRefreshParams defines parameters for LibraryPostSectionsRefresh.
type LibraryPostSectionsRefreshResponse ¶
func ParseLibraryPostSectionsRefreshResponse ¶
func ParseLibraryPostSectionsRefreshResponse(rsp *http.Response) (*LibraryPostSectionsRefreshResponse, error)
ParseLibraryPostSectionsRefreshResponse parses an HTTP response from a LibraryPostSectionsRefreshWithResponse call
func (LibraryPostSectionsRefreshResponse) ContentType ¶
func (r LibraryPostSectionsRefreshResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (LibraryPostSectionsRefreshResponse) GetBody ¶
func (r LibraryPostSectionsRefreshResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (LibraryPostSectionsRefreshResponse) Status ¶
func (r LibraryPostSectionsRefreshResponse) Status() string
Status returns HTTPResponse.Status
func (LibraryPostSectionsRefreshResponse) StatusCode ¶
func (r LibraryPostSectionsRefreshResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type LibraryPutCleanBundlesResponse ¶
func ParseLibraryPutCleanBundlesResponse ¶
func ParseLibraryPutCleanBundlesResponse(rsp *http.Response) (*LibraryPutCleanBundlesResponse, error)
ParseLibraryPutCleanBundlesResponse parses an HTTP response from a LibraryPutCleanBundlesWithResponse call
func (LibraryPutCleanBundlesResponse) ContentType ¶
func (r LibraryPutCleanBundlesResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (LibraryPutCleanBundlesResponse) GetBody ¶
func (r LibraryPutCleanBundlesResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (LibraryPutCleanBundlesResponse) Status ¶
func (r LibraryPutCleanBundlesResponse) Status() string
Status returns HTTPResponse.Status
func (LibraryPutCleanBundlesResponse) StatusCode ¶
func (r LibraryPutCleanBundlesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type LibraryPutOptimizeParams ¶
type LibraryPutOptimizeParams struct {
// Async If set, don't wait for completion but return an activity
Async LibraryPutOptimizeParamsAsync `form:"async,omitempty" json:"async,omitempty,omitzero"`
}
LibraryPutOptimizeParams defines parameters for LibraryPutOptimize.
type LibraryPutOptimizeParamsAsync ¶
type LibraryPutOptimizeParamsAsync int
LibraryPutOptimizeParamsAsync defines parameters for LibraryPutOptimize.
const ( LibraryPutOptimizeParamsAsyncN0 LibraryPutOptimizeParamsAsync = 0 LibraryPutOptimizeParamsAsyncN1 LibraryPutOptimizeParamsAsync = 1 )
Defines values for LibraryPutOptimizeParamsAsync.
func (LibraryPutOptimizeParamsAsync) Valid ¶
func (e LibraryPutOptimizeParamsAsync) Valid() bool
Valid indicates whether the value is a known member of the LibraryPutOptimizeParamsAsync enum.
type LibraryPutOptimizeResponse ¶
func ParseLibraryPutOptimizeResponse ¶
func ParseLibraryPutOptimizeResponse(rsp *http.Response) (*LibraryPutOptimizeResponse, error)
ParseLibraryPutOptimizeResponse parses an HTTP response from a LibraryPutOptimizeWithResponse call
func (LibraryPutOptimizeResponse) ContentType ¶
func (r LibraryPutOptimizeResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (LibraryPutOptimizeResponse) GetBody ¶
func (r LibraryPutOptimizeResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (LibraryPutOptimizeResponse) Status ¶
func (r LibraryPutOptimizeResponse) Status() string
Status returns HTTPResponse.Status
func (LibraryPutOptimizeResponse) StatusCode ¶
func (r LibraryPutOptimizeResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type LibraryPutPartsPartParams ¶
type LibraryPutPartsPartParams struct {
// AudioStreamID The id of the audio stream to select in this part
AudioStreamID int `form:"audioStreamID,omitempty" json:"audioStreamID,omitempty,omitzero"`
// SubtitleStreamID The id of the subtitle stream to select in this part. Specify 0 to select no subtitle
SubtitleStreamID int `form:"subtitleStreamID,omitempty" json:"subtitleStreamID,omitempty,omitzero"`
// AllParts Perform the same for all parts of this media selecting similar streams in each
AllParts LibraryPutPartsPartParamsAllParts `form:"allParts,omitempty" json:"allParts,omitempty,omitzero"`
}
LibraryPutPartsPartParams defines parameters for LibraryPutPartsPart.
type LibraryPutPartsPartParamsAllParts ¶
type LibraryPutPartsPartParamsAllParts int
LibraryPutPartsPartParamsAllParts defines parameters for LibraryPutPartsPart.
const ( LibraryPutPartsPartParamsAllPartsN0 LibraryPutPartsPartParamsAllParts = 0 LibraryPutPartsPartParamsAllPartsN1 LibraryPutPartsPartParamsAllParts = 1 )
Defines values for LibraryPutPartsPartParamsAllParts.
func (LibraryPutPartsPartParamsAllParts) Valid ¶
func (e LibraryPutPartsPartParamsAllParts) Valid() bool
Valid indicates whether the value is a known member of the LibraryPutPartsPartParamsAllParts enum.
type LibraryPutPartsPartResponse ¶
func ParseLibraryPutPartsPartResponse ¶
func ParseLibraryPutPartsPartResponse(rsp *http.Response) (*LibraryPutPartsPartResponse, error)
ParseLibraryPutPartsPartResponse parses an HTTP response from a LibraryPutPartsPartWithResponse call
func (LibraryPutPartsPartResponse) ContentType ¶
func (r LibraryPutPartsPartResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (LibraryPutPartsPartResponse) GetBody ¶
func (r LibraryPutPartsPartResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (LibraryPutPartsPartResponse) Status ¶
func (r LibraryPutPartsPartResponse) Status() string
Status returns HTTPResponse.Status
func (LibraryPutPartsPartResponse) StatusCode ¶
func (r LibraryPutPartsPartResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type LibraryPutStreamsStreamParams ¶
type LibraryPutStreamsStreamParams struct {
// Offset The offest in ms
Offset int `form:"offset,omitempty" json:"offset,omitempty,omitzero"`
}
LibraryPutStreamsStreamParams defines parameters for LibraryPutStreamsStream.
type LibraryPutStreamsStreamResponse ¶
func ParseLibraryPutStreamsStreamResponse ¶
func ParseLibraryPutStreamsStreamResponse(rsp *http.Response) (*LibraryPutStreamsStreamResponse, error)
ParseLibraryPutStreamsStreamResponse parses an HTTP response from a LibraryPutStreamsStreamWithResponse call
func (LibraryPutStreamsStreamResponse) ContentType ¶
func (r LibraryPutStreamsStreamResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (LibraryPutStreamsStreamResponse) GetBody ¶
func (r LibraryPutStreamsStreamResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (LibraryPutStreamsStreamResponse) Status ¶
func (r LibraryPutStreamsStreamResponse) Status() string
Status returns HTTPResponse.Status
func (LibraryPutStreamsStreamResponse) StatusCode ¶
func (r LibraryPutStreamsStreamResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type LibrarySection ¶
type LibrarySection struct {
Location []struct {
ID int `json:"id,omitempty,omitzero"`
// Path The path of where this directory exists on disk
Path interface{} `json:"path,omitempty,omitzero"`
} `json:"Location,omitempty,omitzero"`
Agent string `json:"agent,omitempty,omitzero"`
AllowSync bool `json:"allowSync,omitempty,omitzero"`
Art Art `json:"art,omitempty,omitzero"`
Composite string `json:"composite,omitempty,omitzero"`
Content Content `json:"content,omitempty,omitzero"`
ContentChangedAt int `json:"contentChangedAt,omitempty,omitzero"`
CreatedAt int `json:"createdAt,omitempty,omitzero"`
Directory bool `json:"directory,omitempty,omitzero"`
// Filters Indicates whether this section has filtering capabilities
Filters bool `json:"filters,omitempty,omitzero"`
Hidden Bool `json:"hidden,omitempty,omitzero"`
Key Key `json:"key,omitempty,omitzero"`
Language string `json:"language,omitempty,omitzero"`
// Refreshing Indicates whether this library section is currently scanning
Refreshing bool `json:"refreshing,omitempty,omitzero"`
ScannedAt int `json:"scannedAt,omitempty,omitzero"`
Scanner string `json:"scanner,omitempty,omitzero"`
Thumb Thumb `json:"thumb,omitempty,omitzero"`
Title Title `json:"title,omitempty,omitzero"`
Type Type `json:"type,omitempty,omitzero"`
UpdatedAt int `json:"updatedAt,omitempty,omitzero"`
}
LibrarySection defines model for librarySection.
type LibrarySectionDeleteCollectionCollectionResponse ¶
type LibrarySectionDeleteCollectionCollectionResponse struct {
Body []byte
HTTPResponse *http.Response
}
func ParseLibrarySectionDeleteCollectionCollectionResponse ¶
func ParseLibrarySectionDeleteCollectionCollectionResponse(rsp *http.Response) (*LibrarySectionDeleteCollectionCollectionResponse, error)
ParseLibrarySectionDeleteCollectionCollectionResponse parses an HTTP response from a LibrarySectionDeleteCollectionCollectionWithResponse call
func (LibrarySectionDeleteCollectionCollectionResponse) ContentType ¶
func (r LibrarySectionDeleteCollectionCollectionResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (LibrarySectionDeleteCollectionCollectionResponse) GetBody ¶
func (r LibrarySectionDeleteCollectionCollectionResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (LibrarySectionDeleteCollectionCollectionResponse) Status ¶
func (r LibrarySectionDeleteCollectionCollectionResponse) Status() string
Status returns HTTPResponse.Status
func (LibrarySectionDeleteCollectionCollectionResponse) StatusCode ¶
func (r LibrarySectionDeleteCollectionCollectionResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type LibrarySectionDeleteIndexesResponse ¶
func ParseLibrarySectionDeleteIndexesResponse ¶
func ParseLibrarySectionDeleteIndexesResponse(rsp *http.Response) (*LibrarySectionDeleteIndexesResponse, error)
ParseLibrarySectionDeleteIndexesResponse parses an HTTP response from a LibrarySectionDeleteIndexesWithResponse call
func (LibrarySectionDeleteIndexesResponse) ContentType ¶
func (r LibrarySectionDeleteIndexesResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (LibrarySectionDeleteIndexesResponse) GetBody ¶
func (r LibrarySectionDeleteIndexesResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (LibrarySectionDeleteIndexesResponse) Status ¶
func (r LibrarySectionDeleteIndexesResponse) Status() string
Status returns HTTPResponse.Status
func (LibrarySectionDeleteIndexesResponse) StatusCode ¶
func (r LibrarySectionDeleteIndexesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type LibrarySectionDeleteIntrosResponse ¶
func ParseLibrarySectionDeleteIntrosResponse ¶
func ParseLibrarySectionDeleteIntrosResponse(rsp *http.Response) (*LibrarySectionDeleteIntrosResponse, error)
ParseLibrarySectionDeleteIntrosResponse parses an HTTP response from a LibrarySectionDeleteIntrosWithResponse call
func (LibrarySectionDeleteIntrosResponse) ContentType ¶
func (r LibrarySectionDeleteIntrosResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (LibrarySectionDeleteIntrosResponse) GetBody ¶
func (r LibrarySectionDeleteIntrosResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (LibrarySectionDeleteIntrosResponse) Status ¶
func (r LibrarySectionDeleteIntrosResponse) Status() string
Status returns HTTPResponse.Status
func (LibrarySectionDeleteIntrosResponse) StatusCode ¶
func (r LibrarySectionDeleteIntrosResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type LibrarySectionDeleteRefreshResponse ¶
func ParseLibrarySectionDeleteRefreshResponse ¶
func ParseLibrarySectionDeleteRefreshResponse(rsp *http.Response) (*LibrarySectionDeleteRefreshResponse, error)
ParseLibrarySectionDeleteRefreshResponse parses an HTTP response from a LibrarySectionDeleteRefreshWithResponse call
func (LibrarySectionDeleteRefreshResponse) ContentType ¶
func (r LibrarySectionDeleteRefreshResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (LibrarySectionDeleteRefreshResponse) GetBody ¶
func (r LibrarySectionDeleteRefreshResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (LibrarySectionDeleteRefreshResponse) Status ¶
func (r LibrarySectionDeleteRefreshResponse) Status() string
Status returns HTTPResponse.Status
func (LibrarySectionDeleteRefreshResponse) StatusCode ¶
func (r LibrarySectionDeleteRefreshResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type LibrarySectionGetAlbumsResponse ¶
type LibrarySectionGetAlbumsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *MediaContainerWithMetadata
}
func ParseLibrarySectionGetAlbumsResponse ¶
func ParseLibrarySectionGetAlbumsResponse(rsp *http.Response) (*LibrarySectionGetAlbumsResponse, error)
ParseLibrarySectionGetAlbumsResponse parses an HTTP response from a LibrarySectionGetAlbumsWithResponse call
func (LibrarySectionGetAlbumsResponse) ContentType ¶
func (r LibrarySectionGetAlbumsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (LibrarySectionGetAlbumsResponse) GetBody ¶
func (r LibrarySectionGetAlbumsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (LibrarySectionGetAlbumsResponse) GetJSON200 ¶
func (r LibrarySectionGetAlbumsResponse) GetJSON200() *MediaContainerWithMetadata
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (LibrarySectionGetAlbumsResponse) Status ¶
func (r LibrarySectionGetAlbumsResponse) Status() string
Status returns HTTPResponse.Status
func (LibrarySectionGetAlbumsResponse) StatusCode ¶
func (r LibrarySectionGetAlbumsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type LibrarySectionGetAllLeavesResponse ¶
type LibrarySectionGetAllLeavesResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *MediaContainerWithMetadata
}
func ParseLibrarySectionGetAllLeavesResponse ¶
func ParseLibrarySectionGetAllLeavesResponse(rsp *http.Response) (*LibrarySectionGetAllLeavesResponse, error)
ParseLibrarySectionGetAllLeavesResponse parses an HTTP response from a LibrarySectionGetAllLeavesWithResponse call
func (LibrarySectionGetAllLeavesResponse) ContentType ¶
func (r LibrarySectionGetAllLeavesResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (LibrarySectionGetAllLeavesResponse) GetBody ¶
func (r LibrarySectionGetAllLeavesResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (LibrarySectionGetAllLeavesResponse) GetJSON200 ¶
func (r LibrarySectionGetAllLeavesResponse) GetJSON200() *MediaContainerWithMetadata
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (LibrarySectionGetAllLeavesResponse) Status ¶
func (r LibrarySectionGetAllLeavesResponse) Status() string
Status returns HTTPResponse.Status
func (LibrarySectionGetAllLeavesResponse) StatusCode ¶
func (r LibrarySectionGetAllLeavesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type LibrarySectionGetAllParams ¶
type LibrarySectionGetAllParams struct {
// MediaQuery This is a complex query built of several parameters. See [API Info section](#section/API-Info/Media-Queries) for information on building media queries
MediaQuery MediaQuery `form:"mediaQuery,omitempty" json:"mediaQuery,omitempty,omitzero"`
}
LibrarySectionGetAllParams defines parameters for LibrarySectionGetAll.
type LibrarySectionGetAllResponse ¶
type LibrarySectionGetAllResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *MediaContainerWithMetadata
// Headers200 the parsed response headers for an HTTP 200 response
Headers200 *LibrarySectionGetAllResponse200Headers
}
func ParseLibrarySectionGetAllResponse ¶
func ParseLibrarySectionGetAllResponse(rsp *http.Response) (*LibrarySectionGetAllResponse, error)
ParseLibrarySectionGetAllResponse parses an HTTP response from a LibrarySectionGetAllWithResponse call
func (LibrarySectionGetAllResponse) ContentType ¶
func (r LibrarySectionGetAllResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (LibrarySectionGetAllResponse) GetBody ¶
func (r LibrarySectionGetAllResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (LibrarySectionGetAllResponse) GetJSON200 ¶
func (r LibrarySectionGetAllResponse) GetJSON200() *MediaContainerWithMetadata
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (LibrarySectionGetAllResponse) Status ¶
func (r LibrarySectionGetAllResponse) Status() string
Status returns HTTPResponse.Status
func (LibrarySectionGetAllResponse) StatusCode ¶
func (r LibrarySectionGetAllResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type LibrarySectionGetAllResponse200Headers ¶
type LibrarySectionGetAllResponse200Headers struct {
XPlexContainerStart int
XPlexContainerTotalSize int
}
LibrarySectionGetAllResponse200Headers the declared response headers of an HTTP 200 response for LibrarySectionGetAll
type LibrarySectionGetArtsResponse ¶
type LibrarySectionGetArtsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *MediaContainerWithArtwork
}
func ParseLibrarySectionGetArtsResponse ¶
func ParseLibrarySectionGetArtsResponse(rsp *http.Response) (*LibrarySectionGetArtsResponse, error)
ParseLibrarySectionGetArtsResponse parses an HTTP response from a LibrarySectionGetArtsWithResponse call
func (LibrarySectionGetArtsResponse) ContentType ¶
func (r LibrarySectionGetArtsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (LibrarySectionGetArtsResponse) GetBody ¶
func (r LibrarySectionGetArtsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (LibrarySectionGetArtsResponse) GetJSON200 ¶
func (r LibrarySectionGetArtsResponse) GetJSON200() *MediaContainerWithArtwork
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (LibrarySectionGetArtsResponse) Status ¶
func (r LibrarySectionGetArtsResponse) Status() string
Status returns HTTPResponse.Status
func (LibrarySectionGetArtsResponse) StatusCode ¶
func (r LibrarySectionGetArtsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type LibrarySectionGetAudioCodecsParams ¶
type LibrarySectionGetAudioCodecsParams struct {
// MediaQuery This is a complex query built of several parameters. See [API Info section](#section/API-Info/Media-Queries) for information on building media queries
MediaQuery MediaQuery `form:"mediaQuery,omitempty" json:"mediaQuery,omitempty,omitzero"`
}
LibrarySectionGetAudioCodecsParams defines parameters for LibrarySectionGetAudioCodecs.
type LibrarySectionGetAudioCodecsResponse ¶
type LibrarySectionGetAudioCodecsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *struct {
MediaContainer struct {
Directory []Directory `json:"Directory,omitempty,omitzero"`
Identifier string `json:"identifier,omitempty,omitzero"`
// Offset The offset of where this container page starts among the total objects available. Also provided in the X-Plex-Container-Start header
Offset int `json:"offset,omitempty,omitzero"`
Size int `json:"size,omitempty,omitzero"`
// TotalSize The total size of objects available. Also provided in the X-Plex-Container-Total-Size header
TotalSize int `json:"totalSize,omitempty,omitzero"`
} `json:"MediaContainer,omitempty,omitzero"`
}
}
func ParseLibrarySectionGetAudioCodecsResponse ¶
func ParseLibrarySectionGetAudioCodecsResponse(rsp *http.Response) (*LibrarySectionGetAudioCodecsResponse, error)
ParseLibrarySectionGetAudioCodecsResponse parses an HTTP response from a LibrarySectionGetAudioCodecsWithResponse call
func (LibrarySectionGetAudioCodecsResponse) ContentType ¶
func (r LibrarySectionGetAudioCodecsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (LibrarySectionGetAudioCodecsResponse) GetBody ¶
func (r LibrarySectionGetAudioCodecsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (LibrarySectionGetAudioCodecsResponse) GetJSON200 ¶
func (r LibrarySectionGetAudioCodecsResponse) GetJSON200() *struct { MediaContainer struct { Directory []Directory `json:"Directory,omitempty,omitzero"` Identifier string `json:"identifier,omitempty,omitzero"` // Offset The offset of where this container page starts among the total objects available. Also provided in the X-Plex-Container-Start header Offset int `json:"offset,omitempty,omitzero"` Size int `json:"size,omitempty,omitzero"` // TotalSize The total size of objects available. Also provided in the X-Plex-Container-Total-Size header TotalSize int `json:"totalSize,omitempty,omitzero"` } `json:"MediaContainer,omitempty,omitzero"` }
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (LibrarySectionGetAudioCodecsResponse) Status ¶
func (r LibrarySectionGetAudioCodecsResponse) Status() string
Status returns HTTPResponse.Status
func (LibrarySectionGetAudioCodecsResponse) StatusCode ¶
func (r LibrarySectionGetAudioCodecsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type LibrarySectionGetAudioLayoutsParams ¶
type LibrarySectionGetAudioLayoutsParams struct {
// MediaQuery This is a complex query built of several parameters. See [API Info section](#section/API-Info/Media-Queries) for information on building media queries
MediaQuery MediaQuery `form:"mediaQuery,omitempty" json:"mediaQuery,omitempty,omitzero"`
}
LibrarySectionGetAudioLayoutsParams defines parameters for LibrarySectionGetAudioLayouts.
type LibrarySectionGetAudioLayoutsResponse ¶
type LibrarySectionGetAudioLayoutsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *struct {
MediaContainer struct {
Directory []Directory `json:"Directory,omitempty,omitzero"`
Identifier string `json:"identifier,omitempty,omitzero"`
// Offset The offset of where this container page starts among the total objects available. Also provided in the X-Plex-Container-Start header
Offset int `json:"offset,omitempty,omitzero"`
Size int `json:"size,omitempty,omitzero"`
// TotalSize The total size of objects available. Also provided in the X-Plex-Container-Total-Size header
TotalSize int `json:"totalSize,omitempty,omitzero"`
} `json:"MediaContainer,omitempty,omitzero"`
}
}
func ParseLibrarySectionGetAudioLayoutsResponse ¶
func ParseLibrarySectionGetAudioLayoutsResponse(rsp *http.Response) (*LibrarySectionGetAudioLayoutsResponse, error)
ParseLibrarySectionGetAudioLayoutsResponse parses an HTTP response from a LibrarySectionGetAudioLayoutsWithResponse call
func (LibrarySectionGetAudioLayoutsResponse) ContentType ¶
func (r LibrarySectionGetAudioLayoutsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (LibrarySectionGetAudioLayoutsResponse) GetBody ¶
func (r LibrarySectionGetAudioLayoutsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (LibrarySectionGetAudioLayoutsResponse) GetJSON200 ¶
func (r LibrarySectionGetAudioLayoutsResponse) GetJSON200() *struct { MediaContainer struct { Directory []Directory `json:"Directory,omitempty,omitzero"` Identifier string `json:"identifier,omitempty,omitzero"` // Offset The offset of where this container page starts among the total objects available. Also provided in the X-Plex-Container-Start header Offset int `json:"offset,omitempty,omitzero"` Size int `json:"size,omitempty,omitzero"` // TotalSize The total size of objects available. Also provided in the X-Plex-Container-Total-Size header TotalSize int `json:"totalSize,omitempty,omitzero"` } `json:"MediaContainer,omitempty,omitzero"` }
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (LibrarySectionGetAudioLayoutsResponse) Status ¶
func (r LibrarySectionGetAudioLayoutsResponse) Status() string
Status returns HTTPResponse.Status
func (LibrarySectionGetAudioLayoutsResponse) StatusCode ¶
func (r LibrarySectionGetAudioLayoutsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type LibrarySectionGetAutocompleteParams ¶
type LibrarySectionGetAutocompleteParams struct {
// Type Item type
Type int `form:"type,omitempty" json:"type,omitempty,omitzero"`
// FieldQuery The "field" stands in for any field, the value is a partial string for matching
FieldQuery string `form:"field.query,omitempty" json:"field.query,omitempty,omitzero"`
// MediaQuery This is a complex query built of several parameters. See [API Info section](#section/API-Info/Media-Queries) for information on building media queries
MediaQuery MediaQuery `form:"mediaQuery,omitempty" json:"mediaQuery,omitempty,omitzero"`
}
LibrarySectionGetAutocompleteParams defines parameters for LibrarySectionGetAutocomplete.
type LibrarySectionGetAutocompleteResponse ¶
type LibrarySectionGetAutocompleteResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *MediaContainerWithMetadata
// Headers200 the parsed response headers for an HTTP 200 response
Headers200 *LibrarySectionGetAutocompleteResponse200Headers
}
func ParseLibrarySectionGetAutocompleteResponse ¶
func ParseLibrarySectionGetAutocompleteResponse(rsp *http.Response) (*LibrarySectionGetAutocompleteResponse, error)
ParseLibrarySectionGetAutocompleteResponse parses an HTTP response from a LibrarySectionGetAutocompleteWithResponse call
func (LibrarySectionGetAutocompleteResponse) ContentType ¶
func (r LibrarySectionGetAutocompleteResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (LibrarySectionGetAutocompleteResponse) GetBody ¶
func (r LibrarySectionGetAutocompleteResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (LibrarySectionGetAutocompleteResponse) GetJSON200 ¶
func (r LibrarySectionGetAutocompleteResponse) GetJSON200() *MediaContainerWithMetadata
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (LibrarySectionGetAutocompleteResponse) Status ¶
func (r LibrarySectionGetAutocompleteResponse) Status() string
Status returns HTTPResponse.Status
func (LibrarySectionGetAutocompleteResponse) StatusCode ¶
func (r LibrarySectionGetAutocompleteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type LibrarySectionGetAutocompleteResponse200Headers ¶
type LibrarySectionGetAutocompleteResponse200Headers struct {
XPlexContainerStart int
XPlexContainerTotalSize int
}
LibrarySectionGetAutocompleteResponse200Headers the declared response headers of an HTTP 200 response for LibrarySectionGetAutocomplete
type LibrarySectionGetCategoriesResponse ¶
type LibrarySectionGetCategoriesResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *MediaContainerWithArtwork
}
func ParseLibrarySectionGetCategoriesResponse ¶
func ParseLibrarySectionGetCategoriesResponse(rsp *http.Response) (*LibrarySectionGetCategoriesResponse, error)
ParseLibrarySectionGetCategoriesResponse parses an HTTP response from a LibrarySectionGetCategoriesWithResponse call
func (LibrarySectionGetCategoriesResponse) ContentType ¶
func (r LibrarySectionGetCategoriesResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (LibrarySectionGetCategoriesResponse) GetBody ¶
func (r LibrarySectionGetCategoriesResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (LibrarySectionGetCategoriesResponse) GetJSON200 ¶
func (r LibrarySectionGetCategoriesResponse) GetJSON200() *MediaContainerWithArtwork
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (LibrarySectionGetCategoriesResponse) Status ¶
func (r LibrarySectionGetCategoriesResponse) Status() string
Status returns HTTPResponse.Status
func (LibrarySectionGetCategoriesResponse) StatusCode ¶
func (r LibrarySectionGetCategoriesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type LibrarySectionGetClusterResponse ¶
type LibrarySectionGetClusterResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *MediaContainerWithArtwork
}
func ParseLibrarySectionGetClusterResponse ¶
func ParseLibrarySectionGetClusterResponse(rsp *http.Response) (*LibrarySectionGetClusterResponse, error)
ParseLibrarySectionGetClusterResponse parses an HTTP response from a LibrarySectionGetClusterWithResponse call
func (LibrarySectionGetClusterResponse) ContentType ¶
func (r LibrarySectionGetClusterResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (LibrarySectionGetClusterResponse) GetBody ¶
func (r LibrarySectionGetClusterResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (LibrarySectionGetClusterResponse) GetJSON200 ¶
func (r LibrarySectionGetClusterResponse) GetJSON200() *MediaContainerWithArtwork
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (LibrarySectionGetClusterResponse) Status ¶
func (r LibrarySectionGetClusterResponse) Status() string
Status returns HTTPResponse.Status
func (LibrarySectionGetClusterResponse) StatusCode ¶
func (r LibrarySectionGetClusterResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type LibrarySectionGetCollectionsParams ¶
type LibrarySectionGetCollectionsParams struct {
// MediaQuery This is a complex query built of several parameters. See [API Info section](#section/API-Info/Media-Queries) for information on building media queries
MediaQuery MediaQuery `form:"mediaQuery,omitempty" json:"mediaQuery,omitempty,omitzero"`
}
LibrarySectionGetCollectionsParams defines parameters for LibrarySectionGetCollections.
type LibrarySectionGetCollectionsResponse ¶
type LibrarySectionGetCollectionsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *MediaContainerWithMetadata
// Headers200 the parsed response headers for an HTTP 200 response
Headers200 *LibrarySectionGetCollectionsResponse200Headers
}
func ParseLibrarySectionGetCollectionsResponse ¶
func ParseLibrarySectionGetCollectionsResponse(rsp *http.Response) (*LibrarySectionGetCollectionsResponse, error)
ParseLibrarySectionGetCollectionsResponse parses an HTTP response from a LibrarySectionGetCollectionsWithResponse call
func (LibrarySectionGetCollectionsResponse) ContentType ¶
func (r LibrarySectionGetCollectionsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (LibrarySectionGetCollectionsResponse) GetBody ¶
func (r LibrarySectionGetCollectionsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (LibrarySectionGetCollectionsResponse) GetJSON200 ¶
func (r LibrarySectionGetCollectionsResponse) GetJSON200() *MediaContainerWithMetadata
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (LibrarySectionGetCollectionsResponse) Status ¶
func (r LibrarySectionGetCollectionsResponse) Status() string
Status returns HTTPResponse.Status
func (LibrarySectionGetCollectionsResponse) StatusCode ¶
func (r LibrarySectionGetCollectionsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type LibrarySectionGetCollectionsResponse200Headers ¶
type LibrarySectionGetCollectionsResponse200Headers struct {
XPlexContainerStart int
XPlexContainerTotalSize int
}
LibrarySectionGetCollectionsResponse200Headers the declared response headers of an HTTP 200 response for LibrarySectionGetCollections
type LibrarySectionGetCommonParams ¶
type LibrarySectionGetCommonParams struct {
// Type Item type
Type int `form:"type,omitempty" json:"type,omitempty,omitzero"`
// MediaQuery This is a complex query built of several parameters. See [API Info section](#section/API-Info/Media-Queries) for information on building media queries
MediaQuery MediaQuery `form:"mediaQuery,omitempty" json:"mediaQuery,omitempty,omitzero"`
}
LibrarySectionGetCommonParams defines parameters for LibrarySectionGetCommon.
type LibrarySectionGetCommonResponse ¶
type LibrarySectionGetCommonResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *MediaContainerWithMetadata
// Headers200 the parsed response headers for an HTTP 200 response
Headers200 *LibrarySectionGetCommonResponse200Headers
}
func ParseLibrarySectionGetCommonResponse ¶
func ParseLibrarySectionGetCommonResponse(rsp *http.Response) (*LibrarySectionGetCommonResponse, error)
ParseLibrarySectionGetCommonResponse parses an HTTP response from a LibrarySectionGetCommonWithResponse call
func (LibrarySectionGetCommonResponse) ContentType ¶
func (r LibrarySectionGetCommonResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (LibrarySectionGetCommonResponse) GetBody ¶
func (r LibrarySectionGetCommonResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (LibrarySectionGetCommonResponse) GetJSON200 ¶
func (r LibrarySectionGetCommonResponse) GetJSON200() *MediaContainerWithMetadata
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (LibrarySectionGetCommonResponse) Status ¶
func (r LibrarySectionGetCommonResponse) Status() string
Status returns HTTPResponse.Status
func (LibrarySectionGetCommonResponse) StatusCode ¶
func (r LibrarySectionGetCommonResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type LibrarySectionGetCommonResponse200Headers ¶
type LibrarySectionGetCommonResponse200Headers struct {
XPlexContainerStart int
XPlexContainerTotalSize int
}
LibrarySectionGetCommonResponse200Headers the declared response headers of an HTTP 200 response for LibrarySectionGetCommon
type LibrarySectionGetCompositeParams ¶
type LibrarySectionGetCompositeParams struct {
// MediaQuery This is a complex query built of several parameters. See [API Info section](#section/API-Info/Media-Queries) for information on building media queries
MediaQuery MediaQuery `form:"mediaQuery,omitempty" json:"mediaQuery,omitempty,omitzero"`
Composite Composite `form:"composite,omitempty" json:"composite,omitempty,omitzero"`
}
LibrarySectionGetCompositeParams defines parameters for LibrarySectionGetComposite.
type LibrarySectionGetCompositeParamsCompositeCrop ¶
type LibrarySectionGetCompositeParamsCompositeCrop string
LibrarySectionGetCompositeParamsCompositeCrop defines parameters for LibrarySectionGetComposite.
const ( LibrarySectionGetCompositeParamsCompositeCropCenter LibrarySectionGetCompositeParamsCompositeCrop = "center" LibrarySectionGetCompositeParamsCompositeCropTop LibrarySectionGetCompositeParamsCompositeCrop = "top" )
Defines values for LibrarySectionGetCompositeParamsCompositeCrop.
func (LibrarySectionGetCompositeParamsCompositeCrop) Valid ¶
func (e LibrarySectionGetCompositeParamsCompositeCrop) Valid() bool
Valid indicates whether the value is a known member of the LibrarySectionGetCompositeParamsCompositeCrop enum.
type LibrarySectionGetCompositeParamsCompositeFormat ¶
type LibrarySectionGetCompositeParamsCompositeFormat string
LibrarySectionGetCompositeParamsCompositeFormat defines parameters for LibrarySectionGetComposite.
const ( LibrarySectionGetCompositeParamsCompositeFormatJpg LibrarySectionGetCompositeParamsCompositeFormat = "jpg" LibrarySectionGetCompositeParamsCompositeFormatPng LibrarySectionGetCompositeParamsCompositeFormat = "png" )
Defines values for LibrarySectionGetCompositeParamsCompositeFormat.
func (LibrarySectionGetCompositeParamsCompositeFormat) Valid ¶
func (e LibrarySectionGetCompositeParamsCompositeFormat) Valid() bool
Valid indicates whether the value is a known member of the LibrarySectionGetCompositeParamsCompositeFormat enum.
type LibrarySectionGetCompositeParamsCompositeMedia ¶
type LibrarySectionGetCompositeParamsCompositeMedia string
LibrarySectionGetCompositeParamsCompositeMedia defines parameters for LibrarySectionGetComposite.
const ( LibrarySectionGetCompositeParamsCompositeMediaArt LibrarySectionGetCompositeParamsCompositeMedia = "art" LibrarySectionGetCompositeParamsCompositeMediaBanner LibrarySectionGetCompositeParamsCompositeMedia = "banner" LibrarySectionGetCompositeParamsCompositeMediaThumb LibrarySectionGetCompositeParamsCompositeMedia = "thumb" )
Defines values for LibrarySectionGetCompositeParamsCompositeMedia.
func (LibrarySectionGetCompositeParamsCompositeMedia) Valid ¶
func (e LibrarySectionGetCompositeParamsCompositeMedia) Valid() bool
Valid indicates whether the value is a known member of the LibrarySectionGetCompositeParamsCompositeMedia enum.
type LibrarySectionGetCompositeResponse ¶
func ParseLibrarySectionGetCompositeResponse ¶
func ParseLibrarySectionGetCompositeResponse(rsp *http.Response) (*LibrarySectionGetCompositeResponse, error)
ParseLibrarySectionGetCompositeResponse parses an HTTP response from a LibrarySectionGetCompositeWithResponse call
func (LibrarySectionGetCompositeResponse) ContentType ¶
func (r LibrarySectionGetCompositeResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (LibrarySectionGetCompositeResponse) GetBody ¶
func (r LibrarySectionGetCompositeResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (LibrarySectionGetCompositeResponse) Status ¶
func (r LibrarySectionGetCompositeResponse) Status() string
Status returns HTTPResponse.Status
func (LibrarySectionGetCompositeResponse) StatusCode ¶
func (r LibrarySectionGetCompositeResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type LibrarySectionGetComputePathParams ¶
type LibrarySectionGetComputePathParams struct {
// StartID The starting metadata item id
StartID int `form:"startID" json:"startID"`
// EndID The ending metadata item id
EndID int `form:"endID" json:"endID"`
// Count The number of items along the path; defaults to 50
Count int `form:"count,omitempty" json:"count,omitempty,omitzero"`
// MaxDistance The maximum distance allowed along the path; defaults to 0.25
MaxDistance float32 `form:"maxDistance,omitempty" json:"maxDistance,omitempty,omitzero"`
}
LibrarySectionGetComputePathParams defines parameters for LibrarySectionGetComputePath.
type LibrarySectionGetComputePathResponse ¶
type LibrarySectionGetComputePathResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *MediaContainerWithMetadata
}
func ParseLibrarySectionGetComputePathResponse ¶
func ParseLibrarySectionGetComputePathResponse(rsp *http.Response) (*LibrarySectionGetComputePathResponse, error)
ParseLibrarySectionGetComputePathResponse parses an HTTP response from a LibrarySectionGetComputePathWithResponse call
func (LibrarySectionGetComputePathResponse) ContentType ¶
func (r LibrarySectionGetComputePathResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (LibrarySectionGetComputePathResponse) GetBody ¶
func (r LibrarySectionGetComputePathResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (LibrarySectionGetComputePathResponse) GetJSON200 ¶
func (r LibrarySectionGetComputePathResponse) GetJSON200() *MediaContainerWithMetadata
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (LibrarySectionGetComputePathResponse) Status ¶
func (r LibrarySectionGetComputePathResponse) Status() string
Status returns HTTPResponse.Status
func (LibrarySectionGetComputePathResponse) StatusCode ¶
func (r LibrarySectionGetComputePathResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type LibrarySectionGetFiltersResponse ¶
type LibrarySectionGetFiltersResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *struct {
MediaContainer struct {
Directory []Directory `json:"Directory,omitempty,omitzero"`
Identifier string `json:"identifier,omitempty,omitzero"`
// Offset The offset of where this container page starts among the total objects available. Also provided in the X-Plex-Container-Start header
Offset int `json:"offset,omitempty,omitzero"`
Size int `json:"size,omitempty,omitzero"`
// TotalSize The total size of objects available. Also provided in the X-Plex-Container-Total-Size header
TotalSize int `json:"totalSize,omitempty,omitzero"`
} `json:"MediaContainer,omitempty,omitzero"`
}
}
func ParseLibrarySectionGetFiltersResponse ¶
func ParseLibrarySectionGetFiltersResponse(rsp *http.Response) (*LibrarySectionGetFiltersResponse, error)
ParseLibrarySectionGetFiltersResponse parses an HTTP response from a LibrarySectionGetFiltersWithResponse call
func (LibrarySectionGetFiltersResponse) ContentType ¶
func (r LibrarySectionGetFiltersResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (LibrarySectionGetFiltersResponse) GetBody ¶
func (r LibrarySectionGetFiltersResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (LibrarySectionGetFiltersResponse) GetJSON200 ¶
func (r LibrarySectionGetFiltersResponse) GetJSON200() *struct { MediaContainer struct { Directory []Directory `json:"Directory,omitempty,omitzero"` Identifier string `json:"identifier,omitempty,omitzero"` // Offset The offset of where this container page starts among the total objects available. Also provided in the X-Plex-Container-Start header Offset int `json:"offset,omitempty,omitzero"` Size int `json:"size,omitempty,omitzero"` // TotalSize The total size of objects available. Also provided in the X-Plex-Container-Total-Size header TotalSize int `json:"totalSize,omitempty,omitzero"` } `json:"MediaContainer,omitempty,omitzero"` }
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (LibrarySectionGetFiltersResponse) Status ¶
func (r LibrarySectionGetFiltersResponse) Status() string
Status returns HTTPResponse.Status
func (LibrarySectionGetFiltersResponse) StatusCode ¶
func (r LibrarySectionGetFiltersResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type LibrarySectionGetFirstCharatersParams ¶
type LibrarySectionGetFirstCharatersParams struct {
// Type The metadata type to filter on
Type int `form:"type,omitempty" json:"type,omitempty,omitzero"`
// Sort The metadata type to filter on
Sort int `form:"sort,omitempty" json:"sort,omitempty,omitzero"`
// MediaQuery This is a complex query built of several parameters. See [API Info section](#section/API-Info/Media-Queries) for information on building media queries
MediaQuery MediaQuery `form:"mediaQuery,omitempty" json:"mediaQuery,omitempty,omitzero"`
}
LibrarySectionGetFirstCharatersParams defines parameters for LibrarySectionGetFirstCharaters.
type LibrarySectionGetFirstCharatersResponse ¶
type LibrarySectionGetFirstCharatersResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *struct {
MediaContainer struct {
Directory []struct {
Key string `json:"key,omitempty,omitzero"`
// Size The number of items starting with this character
Size int `json:"size,omitempty,omitzero"`
Title string `json:"title,omitempty,omitzero"`
} `json:"Directory,omitempty,omitzero"`
Identifier string `json:"identifier,omitempty,omitzero"`
// Offset The offset of where this container page starts among the total objects available. Also provided in the X-Plex-Container-Start header
Offset int `json:"offset,omitempty,omitzero"`
Size int `json:"size,omitempty,omitzero"`
// TotalSize The total size of objects available. Also provided in the X-Plex-Container-Total-Size header
TotalSize int `json:"totalSize,omitempty,omitzero"`
} `json:"MediaContainer,omitempty,omitzero"`
}
}
func ParseLibrarySectionGetFirstCharatersResponse ¶
func ParseLibrarySectionGetFirstCharatersResponse(rsp *http.Response) (*LibrarySectionGetFirstCharatersResponse, error)
ParseLibrarySectionGetFirstCharatersResponse parses an HTTP response from a LibrarySectionGetFirstCharatersWithResponse call
func (LibrarySectionGetFirstCharatersResponse) ContentType ¶
func (r LibrarySectionGetFirstCharatersResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (LibrarySectionGetFirstCharatersResponse) GetBody ¶
func (r LibrarySectionGetFirstCharatersResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (LibrarySectionGetFirstCharatersResponse) GetJSON200 ¶
func (r LibrarySectionGetFirstCharatersResponse) GetJSON200() *struct { MediaContainer struct { Directory []struct { Key string `json:"key,omitempty,omitzero"` // Size The number of items starting with this character Size int `json:"size,omitempty,omitzero"` Title string `json:"title,omitempty,omitzero"` } `json:"Directory,omitempty,omitzero"` Identifier string `json:"identifier,omitempty,omitzero"` // Offset The offset of where this container page starts among the total objects available. Also provided in the X-Plex-Container-Start header Offset int `json:"offset,omitempty,omitzero"` Size int `json:"size,omitempty,omitzero"` // TotalSize The total size of objects available. Also provided in the X-Plex-Container-Total-Size header TotalSize int `json:"totalSize,omitempty,omitzero"` } `json:"MediaContainer,omitempty,omitzero"` }
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (LibrarySectionGetFirstCharatersResponse) Status ¶
func (r LibrarySectionGetFirstCharatersResponse) Status() string
Status returns HTTPResponse.Status
func (LibrarySectionGetFirstCharatersResponse) StatusCode ¶
func (r LibrarySectionGetFirstCharatersResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type LibrarySectionGetLocationsResponse ¶
type LibrarySectionGetLocationsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *struct {
MediaContainer struct {
Directory []struct {
FastKey string `json:"fastKey,omitempty,omitzero"`
Key string `json:"key,omitempty,omitzero"`
Title string `json:"title,omitempty,omitzero"`
} `json:"Directory,omitempty,omitzero"`
Identifier string `json:"identifier,omitempty,omitzero"`
// Offset The offset of where this container page starts among the total objects available. Also provided in the X-Plex-Container-Start header
Offset int `json:"offset,omitempty,omitzero"`
Size int `json:"size,omitempty,omitzero"`
// TotalSize The total size of objects available. Also provided in the X-Plex-Container-Total-Size header
TotalSize int `json:"totalSize,omitempty,omitzero"`
} `json:"MediaContainer,omitempty,omitzero"`
}
}
func ParseLibrarySectionGetLocationsResponse ¶
func ParseLibrarySectionGetLocationsResponse(rsp *http.Response) (*LibrarySectionGetLocationsResponse, error)
ParseLibrarySectionGetLocationsResponse parses an HTTP response from a LibrarySectionGetLocationsWithResponse call
func (LibrarySectionGetLocationsResponse) ContentType ¶
func (r LibrarySectionGetLocationsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (LibrarySectionGetLocationsResponse) GetBody ¶
func (r LibrarySectionGetLocationsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (LibrarySectionGetLocationsResponse) GetJSON200 ¶
func (r LibrarySectionGetLocationsResponse) GetJSON200() *struct { MediaContainer struct { Directory []struct { FastKey string `json:"fastKey,omitempty,omitzero"` Key string `json:"key,omitempty,omitzero"` Title string `json:"title,omitempty,omitzero"` } `json:"Directory,omitempty,omitzero"` Identifier string `json:"identifier,omitempty,omitzero"` // Offset The offset of where this container page starts among the total objects available. Also provided in the X-Plex-Container-Start header Offset int `json:"offset,omitempty,omitzero"` Size int `json:"size,omitempty,omitzero"` // TotalSize The total size of objects available. Also provided in the X-Plex-Container-Total-Size header TotalSize int `json:"totalSize,omitempty,omitzero"` } `json:"MediaContainer,omitempty,omitzero"` }
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (LibrarySectionGetLocationsResponse) Status ¶
func (r LibrarySectionGetLocationsResponse) Status() string
Status returns HTTPResponse.Status
func (LibrarySectionGetLocationsResponse) StatusCode ¶
func (r LibrarySectionGetLocationsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type LibrarySectionGetMomentResponse ¶
type LibrarySectionGetMomentResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *MediaContainerWithArtwork
}
func ParseLibrarySectionGetMomentResponse ¶
func ParseLibrarySectionGetMomentResponse(rsp *http.Response) (*LibrarySectionGetMomentResponse, error)
ParseLibrarySectionGetMomentResponse parses an HTTP response from a LibrarySectionGetMomentWithResponse call
func (LibrarySectionGetMomentResponse) ContentType ¶
func (r LibrarySectionGetMomentResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (LibrarySectionGetMomentResponse) GetBody ¶
func (r LibrarySectionGetMomentResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (LibrarySectionGetMomentResponse) GetJSON200 ¶
func (r LibrarySectionGetMomentResponse) GetJSON200() *MediaContainerWithArtwork
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (LibrarySectionGetMomentResponse) Status ¶
func (r LibrarySectionGetMomentResponse) Status() string
Status returns HTTPResponse.Status
func (LibrarySectionGetMomentResponse) StatusCode ¶
func (r LibrarySectionGetMomentResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type LibrarySectionGetNearestParams ¶
type LibrarySectionGetNearestParams struct {
// Type The metadata type to fetch (should be 10 for audio track)
Type int `form:"type,omitempty" json:"type,omitempty,omitzero"`
// Values The music analysis to center the search. Typically obtained from the `musicAnalysis` of a track
Values []int `form:"values" json:"values"`
// Limit The limit of the number of items to fetch; defaults to 50
Limit int `form:"limit,omitempty" json:"limit,omitempty,omitzero"`
// MaxDistance The maximum distance to search, defaults to 0.25
MaxDistance float32 `form:"maxDistance,omitempty" json:"maxDistance,omitempty,omitzero"`
}
LibrarySectionGetNearestParams defines parameters for LibrarySectionGetNearest.
type LibrarySectionGetNearestResponse ¶
type LibrarySectionGetNearestResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *MediaContainerWithMetadata
}
func ParseLibrarySectionGetNearestResponse ¶
func ParseLibrarySectionGetNearestResponse(rsp *http.Response) (*LibrarySectionGetNearestResponse, error)
ParseLibrarySectionGetNearestResponse parses an HTTP response from a LibrarySectionGetNearestWithResponse call
func (LibrarySectionGetNearestResponse) ContentType ¶
func (r LibrarySectionGetNearestResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (LibrarySectionGetNearestResponse) GetBody ¶
func (r LibrarySectionGetNearestResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (LibrarySectionGetNearestResponse) GetJSON200 ¶
func (r LibrarySectionGetNearestResponse) GetJSON200() *MediaContainerWithMetadata
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (LibrarySectionGetNearestResponse) Status ¶
func (r LibrarySectionGetNearestResponse) Status() string
Status returns HTTPResponse.Status
func (LibrarySectionGetNearestResponse) StatusCode ¶
func (r LibrarySectionGetNearestResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type LibrarySectionGetPrefsParams ¶
type LibrarySectionGetPrefsParams struct {
Agent string `form:"agent,omitempty" json:"agent,omitempty,omitzero"`
}
LibrarySectionGetPrefsParams defines parameters for LibrarySectionGetPrefs.
type LibrarySectionGetPrefsResponse ¶
type LibrarySectionGetPrefsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *MediaContainerWithSettings
}
func ParseLibrarySectionGetPrefsResponse ¶
func ParseLibrarySectionGetPrefsResponse(rsp *http.Response) (*LibrarySectionGetPrefsResponse, error)
ParseLibrarySectionGetPrefsResponse parses an HTTP response from a LibrarySectionGetPrefsWithResponse call
func (LibrarySectionGetPrefsResponse) ContentType ¶
func (r LibrarySectionGetPrefsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (LibrarySectionGetPrefsResponse) GetBody ¶
func (r LibrarySectionGetPrefsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (LibrarySectionGetPrefsResponse) GetJSON200 ¶
func (r LibrarySectionGetPrefsResponse) GetJSON200() *MediaContainerWithSettings
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (LibrarySectionGetPrefsResponse) Status ¶
func (r LibrarySectionGetPrefsResponse) Status() string
Status returns HTTPResponse.Status
func (LibrarySectionGetPrefsResponse) StatusCode ¶
func (r LibrarySectionGetPrefsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type LibrarySectionGetSectionParams ¶
type LibrarySectionGetSectionParams struct {
// IncludeDetails Whether or not to include details for a section (types, filters, and sorts). Only exists for backwards compatibility, media providers other than the server libraries have it on always.
IncludeDetails LibrarySectionGetSectionParamsIncludeDetails `form:"includeDetails,omitempty" json:"includeDetails,omitempty,omitzero"`
}
LibrarySectionGetSectionParams defines parameters for LibrarySectionGetSection.
type LibrarySectionGetSectionParamsIncludeDetails ¶
type LibrarySectionGetSectionParamsIncludeDetails int
LibrarySectionGetSectionParamsIncludeDetails defines parameters for LibrarySectionGetSection.
const ( LibrarySectionGetSectionParamsIncludeDetailsN0 LibrarySectionGetSectionParamsIncludeDetails = 0 LibrarySectionGetSectionParamsIncludeDetailsN1 LibrarySectionGetSectionParamsIncludeDetails = 1 )
Defines values for LibrarySectionGetSectionParamsIncludeDetails.
func (LibrarySectionGetSectionParamsIncludeDetails) Valid ¶
func (e LibrarySectionGetSectionParamsIncludeDetails) Valid() bool
Valid indicates whether the value is a known member of the LibrarySectionGetSectionParamsIncludeDetails enum.
type LibrarySectionGetSectionResponse ¶
type LibrarySectionGetSectionResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *struct {
MediaContainer struct {
Directory []Metadata `json:"Directory,omitempty,omitzero"`
AllowSync bool `json:"allowSync,omitempty,omitzero"`
Art string `json:"art,omitempty,omitzero"`
// Content The flavors of directory found here:
// - Primary: (e.g. all, On Deck) These are still used in some clients to provide "shortcuts" to subsets of media. However, with the exception of On Deck, all of them can be created by media queries, and the desire is to allow these to be customized by users.
// - Secondary: These are marked with `"secondary": true` and were used by old clients to provide nested menus allowing for primative (but structured) navigation.
// - Special: There is a By Folder entry which allows browsing the media by the underlying filesystem structure, and there's a completely obsolete entry marked `"search": true` which used to be used to allow clients to build search dialogs on the fly.
Content string `json:"content,omitempty,omitzero"`
Identifier string `json:"identifier,omitempty,omitzero"`
LibrarySectionID int `json:"librarySectionID,omitempty,omitzero"`
MediaTagPrefix string `json:"mediaTagPrefix,omitempty,omitzero"`
MediaTagVersion int `json:"mediaTagVersion,omitempty,omitzero"`
Size int `json:"size,omitempty,omitzero"`
SortAsc bool `json:"sortAsc,omitempty,omitzero"`
Thumb string `json:"thumb,omitempty,omitzero"`
Title1 string `json:"title1,omitempty,omitzero"`
ViewGroup string `json:"viewGroup,omitempty,omitzero"`
ViewMode int `json:"viewMode,omitempty,omitzero"`
} `json:"MediaContainer,omitempty,omitzero"`
}
}
func ParseLibrarySectionGetSectionResponse ¶
func ParseLibrarySectionGetSectionResponse(rsp *http.Response) (*LibrarySectionGetSectionResponse, error)
ParseLibrarySectionGetSectionResponse parses an HTTP response from a LibrarySectionGetSectionWithResponse call
func (LibrarySectionGetSectionResponse) ContentType ¶
func (r LibrarySectionGetSectionResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (LibrarySectionGetSectionResponse) GetBody ¶
func (r LibrarySectionGetSectionResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (LibrarySectionGetSectionResponse) GetJSON200 ¶
func (r LibrarySectionGetSectionResponse) GetJSON200() *struct { MediaContainer struct { Directory []Metadata `json:"Directory,omitempty,omitzero"` AllowSync bool `json:"allowSync,omitempty,omitzero"` Art string `json:"art,omitempty,omitzero"` // Content The flavors of directory found here: // - Primary: (e.g. all, On Deck) These are still used in some clients to provide "shortcuts" to subsets of media. However, with the exception of On Deck, all of them can be created by media queries, and the desire is to allow these to be customized by users. // - Secondary: These are marked with `"secondary": true` and were used by old clients to provide nested menus allowing for primative (but structured) navigation. // - Special: There is a By Folder entry which allows browsing the media by the underlying filesystem structure, and there's a completely obsolete entry marked `"search": true` which used to be used to allow clients to build search dialogs on the fly. Content string `json:"content,omitempty,omitzero"` Identifier string `json:"identifier,omitempty,omitzero"` LibrarySectionID int `json:"librarySectionID,omitempty,omitzero"` MediaTagPrefix string `json:"mediaTagPrefix,omitempty,omitzero"` MediaTagVersion int `json:"mediaTagVersion,omitempty,omitzero"` Size int `json:"size,omitempty,omitzero"` SortAsc bool `json:"sortAsc,omitempty,omitzero"` Thumb string `json:"thumb,omitempty,omitzero"` Title1 string `json:"title1,omitempty,omitzero"` ViewGroup string `json:"viewGroup,omitempty,omitzero"` ViewMode int `json:"viewMode,omitempty,omitzero"` } `json:"MediaContainer,omitempty,omitzero"` }
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (LibrarySectionGetSectionResponse) Status ¶
func (r LibrarySectionGetSectionResponse) Status() string
Status returns HTTPResponse.Status
func (LibrarySectionGetSectionResponse) StatusCode ¶
func (r LibrarySectionGetSectionResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type LibrarySectionGetSortsResponse ¶
type LibrarySectionGetSortsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *struct {
MediaContainer struct {
Directory []Sort `json:"Directory,omitempty,omitzero"`
Identifier string `json:"identifier,omitempty,omitzero"`
// Offset The offset of where this container page starts among the total objects available. Also provided in the X-Plex-Container-Start header
Offset int `json:"offset,omitempty,omitzero"`
Size int `json:"size,omitempty,omitzero"`
// TotalSize The total size of objects available. Also provided in the X-Plex-Container-Total-Size header
TotalSize int `json:"totalSize,omitempty,omitzero"`
} `json:"MediaContainer,omitempty,omitzero"`
}
}
func ParseLibrarySectionGetSortsResponse ¶
func ParseLibrarySectionGetSortsResponse(rsp *http.Response) (*LibrarySectionGetSortsResponse, error)
ParseLibrarySectionGetSortsResponse parses an HTTP response from a LibrarySectionGetSortsWithResponse call
func (LibrarySectionGetSortsResponse) ContentType ¶
func (r LibrarySectionGetSortsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (LibrarySectionGetSortsResponse) GetBody ¶
func (r LibrarySectionGetSortsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (LibrarySectionGetSortsResponse) GetJSON200 ¶
func (r LibrarySectionGetSortsResponse) GetJSON200() *struct { MediaContainer struct { Directory []Sort `json:"Directory,omitempty,omitzero"` Identifier string `json:"identifier,omitempty,omitzero"` // Offset The offset of where this container page starts among the total objects available. Also provided in the X-Plex-Container-Start header Offset int `json:"offset,omitempty,omitzero"` Size int `json:"size,omitempty,omitzero"` // TotalSize The total size of objects available. Also provided in the X-Plex-Container-Total-Size header TotalSize int `json:"totalSize,omitempty,omitzero"` } `json:"MediaContainer,omitempty,omitzero"` }
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (LibrarySectionGetSortsResponse) Status ¶
func (r LibrarySectionGetSortsResponse) Status() string
Status returns HTTPResponse.Status
func (LibrarySectionGetSortsResponse) StatusCode ¶
func (r LibrarySectionGetSortsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type LibrarySectionGetSubtitleCodecsParams ¶
type LibrarySectionGetSubtitleCodecsParams struct {
// MediaQuery This is a complex query built of several parameters. See [API Info section](#section/API-Info/Media-Queries) for information on building media queries
MediaQuery MediaQuery `form:"mediaQuery,omitempty" json:"mediaQuery,omitempty,omitzero"`
}
LibrarySectionGetSubtitleCodecsParams defines parameters for LibrarySectionGetSubtitleCodecs.
type LibrarySectionGetSubtitleCodecsResponse ¶
type LibrarySectionGetSubtitleCodecsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *struct {
MediaContainer struct {
Directory []Directory `json:"Directory,omitempty,omitzero"`
Identifier string `json:"identifier,omitempty,omitzero"`
// Offset The offset of where this container page starts among the total objects available. Also provided in the X-Plex-Container-Start header
Offset int `json:"offset,omitempty,omitzero"`
Size int `json:"size,omitempty,omitzero"`
// TotalSize The total size of objects available. Also provided in the X-Plex-Container-Total-Size header
TotalSize int `json:"totalSize,omitempty,omitzero"`
} `json:"MediaContainer,omitempty,omitzero"`
}
}
func ParseLibrarySectionGetSubtitleCodecsResponse ¶
func ParseLibrarySectionGetSubtitleCodecsResponse(rsp *http.Response) (*LibrarySectionGetSubtitleCodecsResponse, error)
ParseLibrarySectionGetSubtitleCodecsResponse parses an HTTP response from a LibrarySectionGetSubtitleCodecsWithResponse call
func (LibrarySectionGetSubtitleCodecsResponse) ContentType ¶
func (r LibrarySectionGetSubtitleCodecsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (LibrarySectionGetSubtitleCodecsResponse) GetBody ¶
func (r LibrarySectionGetSubtitleCodecsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (LibrarySectionGetSubtitleCodecsResponse) GetJSON200 ¶
func (r LibrarySectionGetSubtitleCodecsResponse) GetJSON200() *struct { MediaContainer struct { Directory []Directory `json:"Directory,omitempty,omitzero"` Identifier string `json:"identifier,omitempty,omitzero"` // Offset The offset of where this container page starts among the total objects available. Also provided in the X-Plex-Container-Start header Offset int `json:"offset,omitempty,omitzero"` Size int `json:"size,omitempty,omitzero"` // TotalSize The total size of objects available. Also provided in the X-Plex-Container-Total-Size header TotalSize int `json:"totalSize,omitempty,omitzero"` } `json:"MediaContainer,omitempty,omitzero"` }
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (LibrarySectionGetSubtitleCodecsResponse) Status ¶
func (r LibrarySectionGetSubtitleCodecsResponse) Status() string
Status returns HTTPResponse.Status
func (LibrarySectionGetSubtitleCodecsResponse) StatusCode ¶
func (r LibrarySectionGetSubtitleCodecsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type LibrarySectionGetVideoCodecsParams ¶
type LibrarySectionGetVideoCodecsParams struct {
// MediaQuery This is a complex query built of several parameters. See [API Info section](#section/API-Info/Media-Queries) for information on building media queries
MediaQuery MediaQuery `form:"mediaQuery,omitempty" json:"mediaQuery,omitempty,omitzero"`
}
LibrarySectionGetVideoCodecsParams defines parameters for LibrarySectionGetVideoCodecs.
type LibrarySectionGetVideoCodecsResponse ¶
type LibrarySectionGetVideoCodecsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *struct {
MediaContainer struct {
Directory []Directory `json:"Directory,omitempty,omitzero"`
Identifier string `json:"identifier,omitempty,omitzero"`
// Offset The offset of where this container page starts among the total objects available. Also provided in the X-Plex-Container-Start header
Offset int `json:"offset,omitempty,omitzero"`
Size int `json:"size,omitempty,omitzero"`
// TotalSize The total size of objects available. Also provided in the X-Plex-Container-Total-Size header
TotalSize int `json:"totalSize,omitempty,omitzero"`
} `json:"MediaContainer,omitempty,omitzero"`
}
}
func ParseLibrarySectionGetVideoCodecsResponse ¶
func ParseLibrarySectionGetVideoCodecsResponse(rsp *http.Response) (*LibrarySectionGetVideoCodecsResponse, error)
ParseLibrarySectionGetVideoCodecsResponse parses an HTTP response from a LibrarySectionGetVideoCodecsWithResponse call
func (LibrarySectionGetVideoCodecsResponse) ContentType ¶
func (r LibrarySectionGetVideoCodecsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (LibrarySectionGetVideoCodecsResponse) GetBody ¶
func (r LibrarySectionGetVideoCodecsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (LibrarySectionGetVideoCodecsResponse) GetJSON200 ¶
func (r LibrarySectionGetVideoCodecsResponse) GetJSON200() *struct { MediaContainer struct { Directory []Directory `json:"Directory,omitempty,omitzero"` Identifier string `json:"identifier,omitempty,omitzero"` // Offset The offset of where this container page starts among the total objects available. Also provided in the X-Plex-Container-Start header Offset int `json:"offset,omitempty,omitzero"` Size int `json:"size,omitempty,omitzero"` // TotalSize The total size of objects available. Also provided in the X-Plex-Container-Total-Size header TotalSize int `json:"totalSize,omitempty,omitzero"` } `json:"MediaContainer,omitempty,omitzero"` }
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (LibrarySectionGetVideoCodecsResponse) Status ¶
func (r LibrarySectionGetVideoCodecsResponse) Status() string
Status returns HTTPResponse.Status
func (LibrarySectionGetVideoCodecsResponse) StatusCode ¶
func (r LibrarySectionGetVideoCodecsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type LibrarySectionPostRefreshParams ¶
type LibrarySectionPostRefreshParams struct {
// Force Whether the update of metadata and items should be performed even if modification dates indicate the items have not change
Force LibrarySectionPostRefreshParamsForce `form:"force,omitempty" json:"force,omitempty,omitzero"`
// Path Restrict refresh to the specified path
Path string `form:"path,omitempty" json:"path,omitempty,omitzero"`
}
LibrarySectionPostRefreshParams defines parameters for LibrarySectionPostRefresh.
type LibrarySectionPostRefreshParamsForce ¶
type LibrarySectionPostRefreshParamsForce int
LibrarySectionPostRefreshParamsForce defines parameters for LibrarySectionPostRefresh.
const ( LibrarySectionPostRefreshParamsForceN0 LibrarySectionPostRefreshParamsForce = 0 LibrarySectionPostRefreshParamsForceN1 LibrarySectionPostRefreshParamsForce = 1 )
Defines values for LibrarySectionPostRefreshParamsForce.
func (LibrarySectionPostRefreshParamsForce) Valid ¶
func (e LibrarySectionPostRefreshParamsForce) Valid() bool
Valid indicates whether the value is a known member of the LibrarySectionPostRefreshParamsForce enum.
type LibrarySectionPostRefreshResponse ¶
func ParseLibrarySectionPostRefreshResponse ¶
func ParseLibrarySectionPostRefreshResponse(rsp *http.Response) (*LibrarySectionPostRefreshResponse, error)
ParseLibrarySectionPostRefreshResponse parses an HTTP response from a LibrarySectionPostRefreshWithResponse call
func (LibrarySectionPostRefreshResponse) ContentType ¶
func (r LibrarySectionPostRefreshResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (LibrarySectionPostRefreshResponse) GetBody ¶
func (r LibrarySectionPostRefreshResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (LibrarySectionPostRefreshResponse) Status ¶
func (r LibrarySectionPostRefreshResponse) Status() string
Status returns HTTPResponse.Status
func (LibrarySectionPostRefreshResponse) StatusCode ¶
func (r LibrarySectionPostRefreshResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type LibrarySectionPutAllParams ¶
type LibrarySectionPutAllParams struct {
Type string `form:"type,omitempty" json:"type,omitempty,omitzero"`
// Filters The filters to apply to determine which items should be modified
Filters string `form:"filters,omitempty" json:"filters,omitempty,omitzero"`
// FieldValue Set the specified field to a new value
FieldValue string `form:"field.value,omitempty" json:"field.value,omitempty,omitzero"`
// FieldLocked Set the specified field to locked (or unlocked if set to 0)
FieldLocked LibrarySectionPutAllParamsFieldLocked `form:"field.locked,omitempty" json:"field.locked,omitempty,omitzero"`
// TitleValue This field is treated specially by albums or artists and may be used for implicit reparenting.
TitleValue string `form:"title.value,omitempty" json:"title.value,omitempty,omitzero"`
// ArtistTitleValue Reparents set of Tracks or Albums - used with album.title.* in the case of tracks
ArtistTitleValue string `form:"artist.title.value,omitempty" json:"artist.title.value,omitempty,omitzero"`
// ArtistTitleID Reparents set of Tracks or Albums - used with album.title.* in the case of tracks
ArtistTitleID string `form:"artist.title.id,omitempty" json:"artist.title.id,omitempty,omitzero"`
// AlbumTitleValue Reparents set of Tracks - Must be used in conjunction with artist.title.value or id
AlbumTitleValue string `form:"album.title.value,omitempty" json:"album.title.value,omitempty,omitzero"`
// AlbumTitleID Reparents set of Tracks - Must be used in conjunction with artist.title.value or id
AlbumTitleID string `form:"album.title.id,omitempty" json:"album.title.id,omitempty,omitzero"`
// TagtypeIdxTagTag Creates tag and associates it with each item in the set. - [idx] links this and the next parameters together
TagtypeIdxTagTag string `form:"tagtype[idx].tag.tag,omitempty" json:"tagtype[idx].tag.tag,omitempty,omitzero"`
// TagtypeIdxTaggingObject Here `object` may be text/thumb/art/theme - Optionally used in conjunction with tag.tag, to update association info across the set.
TagtypeIdxTaggingObject string `form:"tagtype[idx].tagging.object,omitempty" json:"tagtype[idx].tagging.object,omitempty,omitzero"`
// TagtypeTagTag Remove comma separated tags from the set of items
TagtypeTagTag string `form:"tagtype[].tag.tag-,omitempty" json:"tagtype[].tag.tag-,omitempty,omitzero"`
// TagtypeTag Remove associations of this type (e.g. genre) from the set of items
TagtypeTag string `form:"tagtype[].tag,omitempty" json:"tagtype[].tag,omitempty,omitzero"`
}
LibrarySectionPutAllParams defines parameters for LibrarySectionPutAll.
type LibrarySectionPutAllParamsFieldLocked ¶
type LibrarySectionPutAllParamsFieldLocked int
LibrarySectionPutAllParamsFieldLocked defines parameters for LibrarySectionPutAll.
const ( LibrarySectionPutAllParamsFieldLockedN0 LibrarySectionPutAllParamsFieldLocked = 0 LibrarySectionPutAllParamsFieldLockedN1 LibrarySectionPutAllParamsFieldLocked = 1 )
Defines values for LibrarySectionPutAllParamsFieldLocked.
func (LibrarySectionPutAllParamsFieldLocked) Valid ¶
func (e LibrarySectionPutAllParamsFieldLocked) Valid() bool
Valid indicates whether the value is a known member of the LibrarySectionPutAllParamsFieldLocked enum.
type LibrarySectionPutAllResponse ¶
func ParseLibrarySectionPutAllResponse ¶
func ParseLibrarySectionPutAllResponse(rsp *http.Response) (*LibrarySectionPutAllResponse, error)
ParseLibrarySectionPutAllResponse parses an HTTP response from a LibrarySectionPutAllWithResponse call
func (LibrarySectionPutAllResponse) ContentType ¶
func (r LibrarySectionPutAllResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (LibrarySectionPutAllResponse) GetBody ¶
func (r LibrarySectionPutAllResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (LibrarySectionPutAllResponse) Status ¶
func (r LibrarySectionPutAllResponse) Status() string
Status returns HTTPResponse.Status
func (LibrarySectionPutAllResponse) StatusCode ¶
func (r LibrarySectionPutAllResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type LibrarySectionPutAnalyzeResponse ¶
func ParseLibrarySectionPutAnalyzeResponse ¶
func ParseLibrarySectionPutAnalyzeResponse(rsp *http.Response) (*LibrarySectionPutAnalyzeResponse, error)
ParseLibrarySectionPutAnalyzeResponse parses an HTTP response from a LibrarySectionPutAnalyzeWithResponse call
func (LibrarySectionPutAnalyzeResponse) ContentType ¶
func (r LibrarySectionPutAnalyzeResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (LibrarySectionPutAnalyzeResponse) GetBody ¶
func (r LibrarySectionPutAnalyzeResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (LibrarySectionPutAnalyzeResponse) Status ¶
func (r LibrarySectionPutAnalyzeResponse) Status() string
Status returns HTTPResponse.Status
func (LibrarySectionPutAnalyzeResponse) StatusCode ¶
func (r LibrarySectionPutAnalyzeResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type LibrarySectionPutEmptyTrashResponse ¶
func ParseLibrarySectionPutEmptyTrashResponse ¶
func ParseLibrarySectionPutEmptyTrashResponse(rsp *http.Response) (*LibrarySectionPutEmptyTrashResponse, error)
ParseLibrarySectionPutEmptyTrashResponse parses an HTTP response from a LibrarySectionPutEmptyTrashWithResponse call
func (LibrarySectionPutEmptyTrashResponse) ContentType ¶
func (r LibrarySectionPutEmptyTrashResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (LibrarySectionPutEmptyTrashResponse) GetBody ¶
func (r LibrarySectionPutEmptyTrashResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (LibrarySectionPutEmptyTrashResponse) Status ¶
func (r LibrarySectionPutEmptyTrashResponse) Status() string
Status returns HTTPResponse.Status
func (LibrarySectionPutEmptyTrashResponse) StatusCode ¶
func (r LibrarySectionPutEmptyTrashResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type LibrarySectionPutPrefsParams ¶
type LibrarySectionPutPrefsParams struct {
Prefs map[string]interface{} `form:"prefs" json:"prefs"`
}
LibrarySectionPutPrefsParams defines parameters for LibrarySectionPutPrefs.
type LibrarySectionPutPrefsResponse ¶
func ParseLibrarySectionPutPrefsResponse ¶
func ParseLibrarySectionPutPrefsResponse(rsp *http.Response) (*LibrarySectionPutPrefsResponse, error)
ParseLibrarySectionPutPrefsResponse parses an HTTP response from a LibrarySectionPutPrefsWithResponse call
func (LibrarySectionPutPrefsResponse) ContentType ¶
func (r LibrarySectionPutPrefsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (LibrarySectionPutPrefsResponse) GetBody ¶
func (r LibrarySectionPutPrefsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (LibrarySectionPutPrefsResponse) Status ¶
func (r LibrarySectionPutPrefsResponse) Status() string
Status returns HTTPResponse.Status
func (LibrarySectionPutPrefsResponse) StatusCode ¶
func (r LibrarySectionPutPrefsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type LibrarySectionPutSectionParams ¶
type LibrarySectionPutSectionParams struct {
// Name The name of the new section
Name string `form:"name,omitempty" json:"name,omitempty,omitzero"`
// Scanner The scanner this section should use
Scanner string `form:"scanner,omitempty" json:"scanner,omitempty,omitzero"`
// Agent The agent this section should use for metadata
Agent string `form:"agent" json:"agent"`
// MetadataAgentProviderGroupID The agent group id for this section
MetadataAgentProviderGroupID string `form:"metadataAgentProviderGroupId,omitempty" json:"metadataAgentProviderGroupId,omitempty,omitzero"`
// Language The language of this section
Language string `form:"language,omitempty" json:"language,omitempty,omitzero"`
// Locations The locations on disk to add to this section
Locations []string `form:"locations,omitempty" json:"locations,omitempty,omitzero"`
// Prefs The preferences for this section
Prefs map[string]interface{} `json:"prefs,omitempty,omitzero"`
}
LibrarySectionPutSectionParams defines parameters for LibrarySectionPutSection.
type LibrarySectionPutSectionResponse ¶
func ParseLibrarySectionPutSectionResponse ¶
func ParseLibrarySectionPutSectionResponse(rsp *http.Response) (*LibrarySectionPutSectionResponse, error)
ParseLibrarySectionPutSectionResponse parses an HTTP response from a LibrarySectionPutSectionWithResponse call
func (LibrarySectionPutSectionResponse) ContentType ¶
func (r LibrarySectionPutSectionResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (LibrarySectionPutSectionResponse) GetBody ¶
func (r LibrarySectionPutSectionResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (LibrarySectionPutSectionResponse) Status ¶
func (r LibrarySectionPutSectionResponse) Status() string
Status returns HTTPResponse.Status
func (LibrarySectionPutSectionResponse) StatusCode ¶
func (r LibrarySectionPutSectionResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type LineupItems ¶
type LineupItems struct {
// LineupType - `-1`: N/A
// - `0`: Over the air
// - `1`: Cable
// - `2`: Satellite
// - `3`: IPTV
// - `4`: Virtual
LineupType LineupItemsLineupType `json:"lineupType,omitempty,omitzero"`
Location string `json:"location,omitempty,omitzero"`
Title string `json:"title,omitempty,omitzero"`
// Type The type of this object (`lineup` in this case)
Type string `json:"type,omitempty,omitzero"`
// UUID The uuid of this lineup
UUID string `json:"uuid,omitempty,omitzero"`
}
LineupItems defines model for Lineup-items.
type LineupItemsLineupType ¶
type LineupItemsLineupType int
LineupItemsLineupType - `-1`: N/A - `0`: Over the air - `1`: Cable - `2`: Satellite - `3`: IPTV - `4`: Virtual
const ( LineupItemsLineupTypeMinus1 LineupItemsLineupType = -1 LineupItemsLineupTypeN0 LineupItemsLineupType = 0 LineupItemsLineupTypeN1 LineupItemsLineupType = 1 LineupItemsLineupTypeN2 LineupItemsLineupType = 2 LineupItemsLineupTypeN3 LineupItemsLineupType = 3 LineupItemsLineupTypeN4 LineupItemsLineupType = 4 )
Defines values for LineupItemsLineupType.
func (LineupItemsLineupType) Valid ¶
func (e LineupItemsLineupType) Valid() bool
Valid indicates whether the value is a known member of the LineupItemsLineupType enum.
type LivetvDVRDeleteDVRDeviceResponse ¶
type LivetvDVRDeleteDVRDeviceResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *struct {
MediaContainer struct {
DVR []struct {
Device []DeviceItems `json:"Device,omitempty,omitzero"`
Key string `json:"key,omitempty,omitzero"`
Language string `json:"language,omitempty,omitzero"`
Lineup string `json:"lineup,omitempty,omitzero"`
UUID string `json:"uuid,omitempty,omitzero"`
} `json:"DVR,omitempty,omitzero"`
Identifier string `json:"identifier,omitempty,omitzero"`
// Message A message associated with the status. Typically an error message.
Message string `json:"message,omitempty,omitzero"`
// Offset The offset of where this container page starts among the total objects available. Also provided in the X-Plex-Container-Start header
Offset int `json:"offset,omitempty,omitzero"`
Size int `json:"size,omitempty,omitzero"`
// Status A status indicator. If present and non-zero, indicates an error
Status int `json:"status,omitempty,omitzero"`
// TotalSize The total size of objects available. Also provided in the X-Plex-Container-Total-Size header
TotalSize int `json:"totalSize,omitempty,omitzero"`
} `json:"MediaContainer,omitempty,omitzero"`
}
// Headers200 the parsed response headers for an HTTP 200 response
Headers200 *LivetvDVRDeleteDVRDeviceResponse200Headers
}
func ParseLivetvDVRDeleteDVRDeviceResponse ¶
func ParseLivetvDVRDeleteDVRDeviceResponse(rsp *http.Response) (*LivetvDVRDeleteDVRDeviceResponse, error)
ParseLivetvDVRDeleteDVRDeviceResponse parses an HTTP response from a LivetvDVRDeleteDVRDeviceWithResponse call
func (LivetvDVRDeleteDVRDeviceResponse) ContentType ¶
func (r LivetvDVRDeleteDVRDeviceResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (LivetvDVRDeleteDVRDeviceResponse) GetBody ¶
func (r LivetvDVRDeleteDVRDeviceResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (LivetvDVRDeleteDVRDeviceResponse) GetJSON200 ¶
func (r LivetvDVRDeleteDVRDeviceResponse) GetJSON200() *struct { MediaContainer struct { DVR []struct { Device []DeviceItems `json:"Device,omitempty,omitzero"` Key string `json:"key,omitempty,omitzero"` Language string `json:"language,omitempty,omitzero"` Lineup string `json:"lineup,omitempty,omitzero"` UUID string `json:"uuid,omitempty,omitzero"` } `json:"DVR,omitempty,omitzero"` Identifier string `json:"identifier,omitempty,omitzero"` // Message A message associated with the status. Typically an error message. Message string `json:"message,omitempty,omitzero"` // Offset The offset of where this container page starts among the total objects available. Also provided in the X-Plex-Container-Start header Offset int `json:"offset,omitempty,omitzero"` Size int `json:"size,omitempty,omitzero"` // Status A status indicator. If present and non-zero, indicates an error Status int `json:"status,omitempty,omitzero"` // TotalSize The total size of objects available. Also provided in the X-Plex-Container-Total-Size header TotalSize int `json:"totalSize,omitempty,omitzero"` } `json:"MediaContainer,omitempty,omitzero"` }
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (LivetvDVRDeleteDVRDeviceResponse) Status ¶
func (r LivetvDVRDeleteDVRDeviceResponse) Status() string
Status returns HTTPResponse.Status
func (LivetvDVRDeleteDVRDeviceResponse) StatusCode ¶
func (r LivetvDVRDeleteDVRDeviceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type LivetvDVRDeleteDVRDeviceResponse200Headers ¶
type LivetvDVRDeleteDVRDeviceResponse200Headers struct {
XPlexContainerStart int
XPlexContainerTotalSize int
}
LivetvDVRDeleteDVRDeviceResponse200Headers the declared response headers of an HTTP 200 response for LivetvDVRDeleteDVRDevice
type LivetvDVRDeleteDVRResponse ¶
func ParseLivetvDVRDeleteDVRResponse ¶
func ParseLivetvDVRDeleteDVRResponse(rsp *http.Response) (*LivetvDVRDeleteDVRResponse, error)
ParseLivetvDVRDeleteDVRResponse parses an HTTP response from a LivetvDVRDeleteDVRWithResponse call
func (LivetvDVRDeleteDVRResponse) ContentType ¶
func (r LivetvDVRDeleteDVRResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (LivetvDVRDeleteDVRResponse) GetBody ¶
func (r LivetvDVRDeleteDVRResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (LivetvDVRDeleteDVRResponse) Status ¶
func (r LivetvDVRDeleteDVRResponse) Status() string
Status returns HTTPResponse.Status
func (LivetvDVRDeleteDVRResponse) StatusCode ¶
func (r LivetvDVRDeleteDVRResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type LivetvDVRDeleteLineupParams ¶
type LivetvDVRDeleteLineupParams struct {
// Lineup The lineup to delete
Lineup string `form:"lineup" json:"lineup"`
}
LivetvDVRDeleteLineupParams defines parameters for LivetvDVRDeleteLineup.
type LivetvDVRDeleteLineupResponse ¶
type LivetvDVRDeleteLineupResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *struct {
MediaContainer struct {
DVR []struct {
Device []DeviceItems `json:"Device,omitempty,omitzero"`
Key string `json:"key,omitempty,omitzero"`
Language string `json:"language,omitempty,omitzero"`
Lineup string `json:"lineup,omitempty,omitzero"`
UUID string `json:"uuid,omitempty,omitzero"`
} `json:"DVR,omitempty,omitzero"`
Identifier string `json:"identifier,omitempty,omitzero"`
// Message A message associated with the status. Typically an error message.
Message string `json:"message,omitempty,omitzero"`
// Offset The offset of where this container page starts among the total objects available. Also provided in the X-Plex-Container-Start header
Offset int `json:"offset,omitempty,omitzero"`
Size int `json:"size,omitempty,omitzero"`
// Status A status indicator. If present and non-zero, indicates an error
Status int `json:"status,omitempty,omitzero"`
// TotalSize The total size of objects available. Also provided in the X-Plex-Container-Total-Size header
TotalSize int `json:"totalSize,omitempty,omitzero"`
} `json:"MediaContainer,omitempty,omitzero"`
}
// Headers200 the parsed response headers for an HTTP 200 response
Headers200 *LivetvDVRDeleteLineupResponse200Headers
}
func ParseLivetvDVRDeleteLineupResponse ¶
func ParseLivetvDVRDeleteLineupResponse(rsp *http.Response) (*LivetvDVRDeleteLineupResponse, error)
ParseLivetvDVRDeleteLineupResponse parses an HTTP response from a LivetvDVRDeleteLineupWithResponse call
func (LivetvDVRDeleteLineupResponse) ContentType ¶
func (r LivetvDVRDeleteLineupResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (LivetvDVRDeleteLineupResponse) GetBody ¶
func (r LivetvDVRDeleteLineupResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (LivetvDVRDeleteLineupResponse) GetJSON200 ¶
func (r LivetvDVRDeleteLineupResponse) GetJSON200() *struct { MediaContainer struct { DVR []struct { Device []DeviceItems `json:"Device,omitempty,omitzero"` Key string `json:"key,omitempty,omitzero"` Language string `json:"language,omitempty,omitzero"` Lineup string `json:"lineup,omitempty,omitzero"` UUID string `json:"uuid,omitempty,omitzero"` } `json:"DVR,omitempty,omitzero"` Identifier string `json:"identifier,omitempty,omitzero"` // Message A message associated with the status. Typically an error message. Message string `json:"message,omitempty,omitzero"` // Offset The offset of where this container page starts among the total objects available. Also provided in the X-Plex-Container-Start header Offset int `json:"offset,omitempty,omitzero"` Size int `json:"size,omitempty,omitzero"` // Status A status indicator. If present and non-zero, indicates an error Status int `json:"status,omitempty,omitzero"` // TotalSize The total size of objects available. Also provided in the X-Plex-Container-Total-Size header TotalSize int `json:"totalSize,omitempty,omitzero"` } `json:"MediaContainer,omitempty,omitzero"` }
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (LivetvDVRDeleteLineupResponse) Status ¶
func (r LivetvDVRDeleteLineupResponse) Status() string
Status returns HTTPResponse.Status
func (LivetvDVRDeleteLineupResponse) StatusCode ¶
func (r LivetvDVRDeleteLineupResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type LivetvDVRDeleteLineupResponse200Headers ¶
type LivetvDVRDeleteLineupResponse200Headers struct {
XPlexContainerStart int
XPlexContainerTotalSize int
}
LivetvDVRDeleteLineupResponse200Headers the declared response headers of an HTTP 200 response for LivetvDVRDeleteLineup
type LivetvDVRDeleteReloadGuideResponse ¶
func ParseLivetvDVRDeleteReloadGuideResponse ¶
func ParseLivetvDVRDeleteReloadGuideResponse(rsp *http.Response) (*LivetvDVRDeleteReloadGuideResponse, error)
ParseLivetvDVRDeleteReloadGuideResponse parses an HTTP response from a LivetvDVRDeleteReloadGuideWithResponse call
func (LivetvDVRDeleteReloadGuideResponse) ContentType ¶
func (r LivetvDVRDeleteReloadGuideResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (LivetvDVRDeleteReloadGuideResponse) GetBody ¶
func (r LivetvDVRDeleteReloadGuideResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (LivetvDVRDeleteReloadGuideResponse) Status ¶
func (r LivetvDVRDeleteReloadGuideResponse) Status() string
Status returns HTTPResponse.Status
func (LivetvDVRDeleteReloadGuideResponse) StatusCode ¶
func (r LivetvDVRDeleteReloadGuideResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type LivetvDVRGetDVRResponse ¶
type LivetvDVRGetDVRResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *struct {
MediaContainer struct {
DVR []struct {
Device []DeviceItems `json:"Device,omitempty,omitzero"`
Key string `json:"key,omitempty,omitzero"`
Language string `json:"language,omitempty,omitzero"`
Lineup string `json:"lineup,omitempty,omitzero"`
UUID string `json:"uuid,omitempty,omitzero"`
} `json:"DVR,omitempty,omitzero"`
Identifier string `json:"identifier,omitempty,omitzero"`
// Message A message associated with the status. Typically an error message.
Message string `json:"message,omitempty,omitzero"`
// Offset The offset of where this container page starts among the total objects available. Also provided in the X-Plex-Container-Start header
Offset int `json:"offset,omitempty,omitzero"`
Size int `json:"size,omitempty,omitzero"`
// Status A status indicator. If present and non-zero, indicates an error
Status int `json:"status,omitempty,omitzero"`
// TotalSize The total size of objects available. Also provided in the X-Plex-Container-Total-Size header
TotalSize int `json:"totalSize,omitempty,omitzero"`
} `json:"MediaContainer,omitempty,omitzero"`
}
// Headers200 the parsed response headers for an HTTP 200 response
Headers200 *LivetvDVRGetDVRResponse200Headers
}
func ParseLivetvDVRGetDVRResponse ¶
func ParseLivetvDVRGetDVRResponse(rsp *http.Response) (*LivetvDVRGetDVRResponse, error)
ParseLivetvDVRGetDVRResponse parses an HTTP response from a LivetvDVRGetDVRWithResponse call
func (LivetvDVRGetDVRResponse) ContentType ¶
func (r LivetvDVRGetDVRResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (LivetvDVRGetDVRResponse) GetBody ¶
func (r LivetvDVRGetDVRResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (LivetvDVRGetDVRResponse) GetJSON200 ¶
func (r LivetvDVRGetDVRResponse) GetJSON200() *struct { MediaContainer struct { DVR []struct { Device []DeviceItems `json:"Device,omitempty,omitzero"` Key string `json:"key,omitempty,omitzero"` Language string `json:"language,omitempty,omitzero"` Lineup string `json:"lineup,omitempty,omitzero"` UUID string `json:"uuid,omitempty,omitzero"` } `json:"DVR,omitempty,omitzero"` Identifier string `json:"identifier,omitempty,omitzero"` // Message A message associated with the status. Typically an error message. Message string `json:"message,omitempty,omitzero"` // Offset The offset of where this container page starts among the total objects available. Also provided in the X-Plex-Container-Start header Offset int `json:"offset,omitempty,omitzero"` Size int `json:"size,omitempty,omitzero"` // Status A status indicator. If present and non-zero, indicates an error Status int `json:"status,omitempty,omitzero"` // TotalSize The total size of objects available. Also provided in the X-Plex-Container-Total-Size header TotalSize int `json:"totalSize,omitempty,omitzero"` } `json:"MediaContainer,omitempty,omitzero"` }
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (LivetvDVRGetDVRResponse) Status ¶
func (r LivetvDVRGetDVRResponse) Status() string
Status returns HTTPResponse.Status
func (LivetvDVRGetDVRResponse) StatusCode ¶
func (r LivetvDVRGetDVRResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type LivetvDVRGetDVRResponse200Headers ¶
type LivetvDVRGetDVRResponse200Headers struct {
XPlexContainerStart int
XPlexContainerTotalSize int
}
LivetvDVRGetDVRResponse200Headers the declared response headers of an HTTP 200 response for LivetvDVRGetDVR
type LivetvDVRGetSlashResponse ¶
type LivetvDVRGetSlashResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *struct {
MediaContainer struct {
DVR []struct {
Device []DeviceItems `json:"Device,omitempty,omitzero"`
Key string `json:"key,omitempty,omitzero"`
Language string `json:"language,omitempty,omitzero"`
Lineup string `json:"lineup,omitempty,omitzero"`
UUID string `json:"uuid,omitempty,omitzero"`
} `json:"DVR,omitempty,omitzero"`
Identifier string `json:"identifier,omitempty,omitzero"`
// Message A message associated with the status. Typically an error message.
Message string `json:"message,omitempty,omitzero"`
// Offset The offset of where this container page starts among the total objects available. Also provided in the X-Plex-Container-Start header
Offset int `json:"offset,omitempty,omitzero"`
Size int `json:"size,omitempty,omitzero"`
// Status A status indicator. If present and non-zero, indicates an error
Status int `json:"status,omitempty,omitzero"`
// TotalSize The total size of objects available. Also provided in the X-Plex-Container-Total-Size header
TotalSize int `json:"totalSize,omitempty,omitzero"`
} `json:"MediaContainer,omitempty,omitzero"`
}
// Headers200 the parsed response headers for an HTTP 200 response
Headers200 *LivetvDVRGetSlashResponse200Headers
}
func ParseLivetvDVRGetSlashResponse ¶
func ParseLivetvDVRGetSlashResponse(rsp *http.Response) (*LivetvDVRGetSlashResponse, error)
ParseLivetvDVRGetSlashResponse parses an HTTP response from a LivetvDVRGetSlashWithResponse call
func (LivetvDVRGetSlashResponse) ContentType ¶
func (r LivetvDVRGetSlashResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (LivetvDVRGetSlashResponse) GetBody ¶
func (r LivetvDVRGetSlashResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (LivetvDVRGetSlashResponse) GetJSON200 ¶
func (r LivetvDVRGetSlashResponse) GetJSON200() *struct { MediaContainer struct { DVR []struct { Device []DeviceItems `json:"Device,omitempty,omitzero"` Key string `json:"key,omitempty,omitzero"` Language string `json:"language,omitempty,omitzero"` Lineup string `json:"lineup,omitempty,omitzero"` UUID string `json:"uuid,omitempty,omitzero"` } `json:"DVR,omitempty,omitzero"` Identifier string `json:"identifier,omitempty,omitzero"` // Message A message associated with the status. Typically an error message. Message string `json:"message,omitempty,omitzero"` // Offset The offset of where this container page starts among the total objects available. Also provided in the X-Plex-Container-Start header Offset int `json:"offset,omitempty,omitzero"` Size int `json:"size,omitempty,omitzero"` // Status A status indicator. If present and non-zero, indicates an error Status int `json:"status,omitempty,omitzero"` // TotalSize The total size of objects available. Also provided in the X-Plex-Container-Total-Size header TotalSize int `json:"totalSize,omitempty,omitzero"` } `json:"MediaContainer,omitempty,omitzero"` }
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (LivetvDVRGetSlashResponse) Status ¶
func (r LivetvDVRGetSlashResponse) Status() string
Status returns HTTPResponse.Status
func (LivetvDVRGetSlashResponse) StatusCode ¶
func (r LivetvDVRGetSlashResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type LivetvDVRGetSlashResponse200Headers ¶
type LivetvDVRGetSlashResponse200Headers struct {
XPlexContainerStart int
XPlexContainerTotalSize int
}
LivetvDVRGetSlashResponse200Headers the declared response headers of an HTTP 200 response for LivetvDVRGetSlash
type LivetvDVRPostChannelsChannelTuneResponse ¶
type LivetvDVRPostChannelsChannelTuneResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *MediaContainerWithMetadata
// Headers200 the parsed response headers for an HTTP 200 response
Headers200 *LivetvDVRPostChannelsChannelTuneResponse200Headers
}
func ParseLivetvDVRPostChannelsChannelTuneResponse ¶
func ParseLivetvDVRPostChannelsChannelTuneResponse(rsp *http.Response) (*LivetvDVRPostChannelsChannelTuneResponse, error)
ParseLivetvDVRPostChannelsChannelTuneResponse parses an HTTP response from a LivetvDVRPostChannelsChannelTuneWithResponse call
func (LivetvDVRPostChannelsChannelTuneResponse) ContentType ¶
func (r LivetvDVRPostChannelsChannelTuneResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (LivetvDVRPostChannelsChannelTuneResponse) GetBody ¶
func (r LivetvDVRPostChannelsChannelTuneResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (LivetvDVRPostChannelsChannelTuneResponse) GetJSON200 ¶
func (r LivetvDVRPostChannelsChannelTuneResponse) GetJSON200() *MediaContainerWithMetadata
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (LivetvDVRPostChannelsChannelTuneResponse) Status ¶
func (r LivetvDVRPostChannelsChannelTuneResponse) Status() string
Status returns HTTPResponse.Status
func (LivetvDVRPostChannelsChannelTuneResponse) StatusCode ¶
func (r LivetvDVRPostChannelsChannelTuneResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type LivetvDVRPostChannelsChannelTuneResponse200Headers ¶
type LivetvDVRPostChannelsChannelTuneResponse200Headers struct {
XPlexContainerStart int
XPlexContainerTotalSize int
}
LivetvDVRPostChannelsChannelTuneResponse200Headers the declared response headers of an HTTP 200 response for LivetvDVRPostChannelsChannelTune
type LivetvDVRPostReloadGuideResponse ¶
type LivetvDVRPostReloadGuideResponse struct {
Body []byte
HTTPResponse *http.Response
// Headers200 the parsed response headers for an HTTP 200 response
Headers200 *LivetvDVRPostReloadGuideResponse200Headers
}
func ParseLivetvDVRPostReloadGuideResponse ¶
func ParseLivetvDVRPostReloadGuideResponse(rsp *http.Response) (*LivetvDVRPostReloadGuideResponse, error)
ParseLivetvDVRPostReloadGuideResponse parses an HTTP response from a LivetvDVRPostReloadGuideWithResponse call
func (LivetvDVRPostReloadGuideResponse) ContentType ¶
func (r LivetvDVRPostReloadGuideResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (LivetvDVRPostReloadGuideResponse) GetBody ¶
func (r LivetvDVRPostReloadGuideResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (LivetvDVRPostReloadGuideResponse) Status ¶
func (r LivetvDVRPostReloadGuideResponse) Status() string
Status returns HTTPResponse.Status
func (LivetvDVRPostReloadGuideResponse) StatusCode ¶
func (r LivetvDVRPostReloadGuideResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type LivetvDVRPostReloadGuideResponse200Headers ¶
type LivetvDVRPostReloadGuideResponse200Headers struct {
XPlexActivity string
}
LivetvDVRPostReloadGuideResponse200Headers the declared response headers of an HTTP 200 response for LivetvDVRPostReloadGuide
type LivetvDVRPostSlashParams ¶
type LivetvDVRPostSlashParams struct {
// Lineup The EPG lineup.
Lineup string `form:"lineup,omitempty" json:"lineup,omitempty,omitzero"`
// Device The device.
Device []string `form:"device,omitempty" json:"device,omitempty,omitzero"`
// Language The language.
Language string `form:"language,omitempty" json:"language,omitempty,omitzero"`
}
LivetvDVRPostSlashParams defines parameters for LivetvDVRPostSlash.
type LivetvDVRPostSlashResponse ¶
type LivetvDVRPostSlashResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *DVRRequestHandlerSlashGetResponses200
// Headers200 the parsed response headers for an HTTP 200 response
Headers200 *LivetvDVRPostSlashResponse200Headers
}
func ParseLivetvDVRPostSlashResponse ¶
func ParseLivetvDVRPostSlashResponse(rsp *http.Response) (*LivetvDVRPostSlashResponse, error)
ParseLivetvDVRPostSlashResponse parses an HTTP response from a LivetvDVRPostSlashWithResponse call
func (LivetvDVRPostSlashResponse) ContentType ¶
func (r LivetvDVRPostSlashResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (LivetvDVRPostSlashResponse) GetBody ¶
func (r LivetvDVRPostSlashResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (LivetvDVRPostSlashResponse) GetJSON200 ¶
func (r LivetvDVRPostSlashResponse) GetJSON200() *DVRRequestHandlerSlashGetResponses200
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (LivetvDVRPostSlashResponse) Status ¶
func (r LivetvDVRPostSlashResponse) Status() string
Status returns HTTPResponse.Status
func (LivetvDVRPostSlashResponse) StatusCode ¶
func (r LivetvDVRPostSlashResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type LivetvDVRPostSlashResponse200Headers ¶
type LivetvDVRPostSlashResponse200Headers struct {
XPlexContainerStart int
XPlexContainerTotalSize int
}
LivetvDVRPostSlashResponse200Headers the declared response headers of an HTTP 200 response for LivetvDVRPostSlash
type LivetvDVRPutDVRDeviceResponse ¶
type LivetvDVRPutDVRDeviceResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *struct {
MediaContainer struct {
DVR []struct {
Device []DeviceItems `json:"Device,omitempty,omitzero"`
Key string `json:"key,omitempty,omitzero"`
Language string `json:"language,omitempty,omitzero"`
Lineup string `json:"lineup,omitempty,omitzero"`
UUID string `json:"uuid,omitempty,omitzero"`
} `json:"DVR,omitempty,omitzero"`
Identifier string `json:"identifier,omitempty,omitzero"`
// Message A message associated with the status. Typically an error message.
Message string `json:"message,omitempty,omitzero"`
// Offset The offset of where this container page starts among the total objects available. Also provided in the X-Plex-Container-Start header
Offset int `json:"offset,omitempty,omitzero"`
Size int `json:"size,omitempty,omitzero"`
// Status A status indicator. If present and non-zero, indicates an error
Status int `json:"status,omitempty,omitzero"`
// TotalSize The total size of objects available. Also provided in the X-Plex-Container-Total-Size header
TotalSize int `json:"totalSize,omitempty,omitzero"`
} `json:"MediaContainer,omitempty,omitzero"`
}
// Headers200 the parsed response headers for an HTTP 200 response
Headers200 *LivetvDVRPutDVRDeviceResponse200Headers
}
func ParseLivetvDVRPutDVRDeviceResponse ¶
func ParseLivetvDVRPutDVRDeviceResponse(rsp *http.Response) (*LivetvDVRPutDVRDeviceResponse, error)
ParseLivetvDVRPutDVRDeviceResponse parses an HTTP response from a LivetvDVRPutDVRDeviceWithResponse call
func (LivetvDVRPutDVRDeviceResponse) ContentType ¶
func (r LivetvDVRPutDVRDeviceResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (LivetvDVRPutDVRDeviceResponse) GetBody ¶
func (r LivetvDVRPutDVRDeviceResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (LivetvDVRPutDVRDeviceResponse) GetJSON200 ¶
func (r LivetvDVRPutDVRDeviceResponse) GetJSON200() *struct { MediaContainer struct { DVR []struct { Device []DeviceItems `json:"Device,omitempty,omitzero"` Key string `json:"key,omitempty,omitzero"` Language string `json:"language,omitempty,omitzero"` Lineup string `json:"lineup,omitempty,omitzero"` UUID string `json:"uuid,omitempty,omitzero"` } `json:"DVR,omitempty,omitzero"` Identifier string `json:"identifier,omitempty,omitzero"` // Message A message associated with the status. Typically an error message. Message string `json:"message,omitempty,omitzero"` // Offset The offset of where this container page starts among the total objects available. Also provided in the X-Plex-Container-Start header Offset int `json:"offset,omitempty,omitzero"` Size int `json:"size,omitempty,omitzero"` // Status A status indicator. If present and non-zero, indicates an error Status int `json:"status,omitempty,omitzero"` // TotalSize The total size of objects available. Also provided in the X-Plex-Container-Total-Size header TotalSize int `json:"totalSize,omitempty,omitzero"` } `json:"MediaContainer,omitempty,omitzero"` }
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (LivetvDVRPutDVRDeviceResponse) Status ¶
func (r LivetvDVRPutDVRDeviceResponse) Status() string
Status returns HTTPResponse.Status
func (LivetvDVRPutDVRDeviceResponse) StatusCode ¶
func (r LivetvDVRPutDVRDeviceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type LivetvDVRPutDVRDeviceResponse200Headers ¶
type LivetvDVRPutDVRDeviceResponse200Headers struct {
XPlexContainerStart int
XPlexContainerTotalSize int
}
LivetvDVRPutDVRDeviceResponse200Headers the declared response headers of an HTTP 200 response for LivetvDVRPutDVRDevice
type LivetvDVRPutLineupParams ¶
type LivetvDVRPutLineupParams struct {
// Lineup The lineup to delete
Lineup string `form:"lineup" json:"lineup"`
}
LivetvDVRPutLineupParams defines parameters for LivetvDVRPutLineup.
type LivetvDVRPutLineupResponse ¶
type LivetvDVRPutLineupResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *struct {
MediaContainer struct {
DVR []struct {
Device []DeviceItems `json:"Device,omitempty,omitzero"`
Key string `json:"key,omitempty,omitzero"`
Language string `json:"language,omitempty,omitzero"`
Lineup string `json:"lineup,omitempty,omitzero"`
UUID string `json:"uuid,omitempty,omitzero"`
} `json:"DVR,omitempty,omitzero"`
Identifier string `json:"identifier,omitempty,omitzero"`
// Message A message associated with the status. Typically an error message.
Message string `json:"message,omitempty,omitzero"`
// Offset The offset of where this container page starts among the total objects available. Also provided in the X-Plex-Container-Start header
Offset int `json:"offset,omitempty,omitzero"`
Size int `json:"size,omitempty,omitzero"`
// Status A status indicator. If present and non-zero, indicates an error
Status int `json:"status,omitempty,omitzero"`
// TotalSize The total size of objects available. Also provided in the X-Plex-Container-Total-Size header
TotalSize int `json:"totalSize,omitempty,omitzero"`
} `json:"MediaContainer,omitempty,omitzero"`
}
// Headers200 the parsed response headers for an HTTP 200 response
Headers200 *LivetvDVRPutLineupResponse200Headers
}
func ParseLivetvDVRPutLineupResponse ¶
func ParseLivetvDVRPutLineupResponse(rsp *http.Response) (*LivetvDVRPutLineupResponse, error)
ParseLivetvDVRPutLineupResponse parses an HTTP response from a LivetvDVRPutLineupWithResponse call
func (LivetvDVRPutLineupResponse) ContentType ¶
func (r LivetvDVRPutLineupResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (LivetvDVRPutLineupResponse) GetBody ¶
func (r LivetvDVRPutLineupResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (LivetvDVRPutLineupResponse) GetJSON200 ¶
func (r LivetvDVRPutLineupResponse) GetJSON200() *struct { MediaContainer struct { DVR []struct { Device []DeviceItems `json:"Device,omitempty,omitzero"` Key string `json:"key,omitempty,omitzero"` Language string `json:"language,omitempty,omitzero"` Lineup string `json:"lineup,omitempty,omitzero"` UUID string `json:"uuid,omitempty,omitzero"` } `json:"DVR,omitempty,omitzero"` Identifier string `json:"identifier,omitempty,omitzero"` // Message A message associated with the status. Typically an error message. Message string `json:"message,omitempty,omitzero"` // Offset The offset of where this container page starts among the total objects available. Also provided in the X-Plex-Container-Start header Offset int `json:"offset,omitempty,omitzero"` Size int `json:"size,omitempty,omitzero"` // Status A status indicator. If present and non-zero, indicates an error Status int `json:"status,omitempty,omitzero"` // TotalSize The total size of objects available. Also provided in the X-Plex-Container-Total-Size header TotalSize int `json:"totalSize,omitempty,omitzero"` } `json:"MediaContainer,omitempty,omitzero"` }
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (LivetvDVRPutLineupResponse) Status ¶
func (r LivetvDVRPutLineupResponse) Status() string
Status returns HTTPResponse.Status
func (LivetvDVRPutLineupResponse) StatusCode ¶
func (r LivetvDVRPutLineupResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type LivetvDVRPutLineupResponse200Headers ¶
type LivetvDVRPutLineupResponse200Headers struct {
XPlexContainerStart int
XPlexContainerTotalSize int
}
LivetvDVRPutLineupResponse200Headers the declared response headers of an HTTP 200 response for LivetvDVRPutLineup
type LivetvDVRPutPrefsParams ¶
type LivetvDVRPutPrefsParams struct {
// Name Set the `name` preference to the provided value
Name string `form:"name,omitempty" json:"name,omitempty,omitzero"`
}
LivetvDVRPutPrefsParams defines parameters for LivetvDVRPutPrefs.
type LivetvDVRPutPrefsResponse ¶
type LivetvDVRPutPrefsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *struct {
MediaContainer struct {
DVR []struct {
Device []DeviceItems `json:"Device,omitempty,omitzero"`
Key string `json:"key,omitempty,omitzero"`
Language string `json:"language,omitempty,omitzero"`
Lineup string `json:"lineup,omitempty,omitzero"`
UUID string `json:"uuid,omitempty,omitzero"`
} `json:"DVR,omitempty,omitzero"`
Identifier string `json:"identifier,omitempty,omitzero"`
// Message A message associated with the status. Typically an error message.
Message string `json:"message,omitempty,omitzero"`
// Offset The offset of where this container page starts among the total objects available. Also provided in the X-Plex-Container-Start header
Offset int `json:"offset,omitempty,omitzero"`
Size int `json:"size,omitempty,omitzero"`
// Status A status indicator. If present and non-zero, indicates an error
Status int `json:"status,omitempty,omitzero"`
// TotalSize The total size of objects available. Also provided in the X-Plex-Container-Total-Size header
TotalSize int `json:"totalSize,omitempty,omitzero"`
} `json:"MediaContainer,omitempty,omitzero"`
}
// Headers200 the parsed response headers for an HTTP 200 response
Headers200 *LivetvDVRPutPrefsResponse200Headers
}
func ParseLivetvDVRPutPrefsResponse ¶
func ParseLivetvDVRPutPrefsResponse(rsp *http.Response) (*LivetvDVRPutPrefsResponse, error)
ParseLivetvDVRPutPrefsResponse parses an HTTP response from a LivetvDVRPutPrefsWithResponse call
func (LivetvDVRPutPrefsResponse) ContentType ¶
func (r LivetvDVRPutPrefsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (LivetvDVRPutPrefsResponse) GetBody ¶
func (r LivetvDVRPutPrefsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (LivetvDVRPutPrefsResponse) GetJSON200 ¶
func (r LivetvDVRPutPrefsResponse) GetJSON200() *struct { MediaContainer struct { DVR []struct { Device []DeviceItems `json:"Device,omitempty,omitzero"` Key string `json:"key,omitempty,omitzero"` Language string `json:"language,omitempty,omitzero"` Lineup string `json:"lineup,omitempty,omitzero"` UUID string `json:"uuid,omitempty,omitzero"` } `json:"DVR,omitempty,omitzero"` Identifier string `json:"identifier,omitempty,omitzero"` // Message A message associated with the status. Typically an error message. Message string `json:"message,omitempty,omitzero"` // Offset The offset of where this container page starts among the total objects available. Also provided in the X-Plex-Container-Start header Offset int `json:"offset,omitempty,omitzero"` Size int `json:"size,omitempty,omitzero"` // Status A status indicator. If present and non-zero, indicates an error Status int `json:"status,omitempty,omitzero"` // TotalSize The total size of objects available. Also provided in the X-Plex-Container-Total-Size header TotalSize int `json:"totalSize,omitempty,omitzero"` } `json:"MediaContainer,omitempty,omitzero"` }
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (LivetvDVRPutPrefsResponse) Status ¶
func (r LivetvDVRPutPrefsResponse) Status() string
Status returns HTTPResponse.Status
func (LivetvDVRPutPrefsResponse) StatusCode ¶
func (r LivetvDVRPutPrefsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type LivetvDVRPutPrefsResponse200Headers ¶
type LivetvDVRPutPrefsResponse200Headers struct {
XPlexContainerStart int
XPlexContainerTotalSize int
}
LivetvDVRPutPrefsResponse200Headers the declared response headers of an HTTP 200 response for LivetvDVRPutPrefs
type LivetvEPGGetChannelmapParams ¶
type LivetvEPGGetChannelmapParams struct {
// Device The URI describing the device
Device string `form:"device" json:"device"`
// Lineup The URI describing the lineup
Lineup string `form:"lineup" json:"lineup"`
}
LivetvEPGGetChannelmapParams defines parameters for LivetvEPGGetChannelmap.
type LivetvEPGGetChannelmapResponse ¶
type LivetvEPGGetChannelmapResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *struct {
MediaContainer struct {
ChannelMapping []struct {
ChannelKey string `json:"channelKey,omitempty,omitzero"`
// DeviceIdentifier The channel description on the device
DeviceIdentifier string `json:"deviceIdentifier,omitempty,omitzero"`
Favorite bool `json:"favorite,omitempty,omitzero"`
// LineupIdentifier The channel identifier in the lineup
LineupIdentifier string `json:"lineupIdentifier,omitempty,omitzero"`
} `json:"ChannelMapping,omitempty,omitzero"`
Identifier string `json:"identifier,omitempty,omitzero"`
// Offset The offset of where this container page starts among the total objects available. Also provided in the X-Plex-Container-Start header
Offset int `json:"offset,omitempty,omitzero"`
Size int `json:"size,omitempty,omitzero"`
// TotalSize The total size of objects available. Also provided in the X-Plex-Container-Total-Size header
TotalSize int `json:"totalSize,omitempty,omitzero"`
} `json:"MediaContainer,omitempty,omitzero"`
}
// Headers200 the parsed response headers for an HTTP 200 response
Headers200 *LivetvEPGGetChannelmapResponse200Headers
}
func ParseLivetvEPGGetChannelmapResponse ¶
func ParseLivetvEPGGetChannelmapResponse(rsp *http.Response) (*LivetvEPGGetChannelmapResponse, error)
ParseLivetvEPGGetChannelmapResponse parses an HTTP response from a LivetvEPGGetChannelmapWithResponse call
func (LivetvEPGGetChannelmapResponse) ContentType ¶
func (r LivetvEPGGetChannelmapResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (LivetvEPGGetChannelmapResponse) GetBody ¶
func (r LivetvEPGGetChannelmapResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (LivetvEPGGetChannelmapResponse) GetJSON200 ¶
func (r LivetvEPGGetChannelmapResponse) GetJSON200() *struct { MediaContainer struct { ChannelMapping []struct { ChannelKey string `json:"channelKey,omitempty,omitzero"` // DeviceIdentifier The channel description on the device DeviceIdentifier string `json:"deviceIdentifier,omitempty,omitzero"` Favorite bool `json:"favorite,omitempty,omitzero"` // LineupIdentifier The channel identifier in the lineup LineupIdentifier string `json:"lineupIdentifier,omitempty,omitzero"` } `json:"ChannelMapping,omitempty,omitzero"` Identifier string `json:"identifier,omitempty,omitzero"` // Offset The offset of where this container page starts among the total objects available. Also provided in the X-Plex-Container-Start header Offset int `json:"offset,omitempty,omitzero"` Size int `json:"size,omitempty,omitzero"` // TotalSize The total size of objects available. Also provided in the X-Plex-Container-Total-Size header TotalSize int `json:"totalSize,omitempty,omitzero"` } `json:"MediaContainer,omitempty,omitzero"` }
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (LivetvEPGGetChannelmapResponse) Status ¶
func (r LivetvEPGGetChannelmapResponse) Status() string
Status returns HTTPResponse.Status
func (LivetvEPGGetChannelmapResponse) StatusCode ¶
func (r LivetvEPGGetChannelmapResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type LivetvEPGGetChannelmapResponse200Headers ¶
type LivetvEPGGetChannelmapResponse200Headers struct {
XPlexContainerStart int
XPlexContainerTotalSize int
}
LivetvEPGGetChannelmapResponse200Headers the declared response headers of an HTTP 200 response for LivetvEPGGetChannelmap
type LivetvEPGGetChannelsParams ¶
type LivetvEPGGetChannelsParams struct {
// Lineup The URI describing the lineup
Lineup string `form:"lineup" json:"lineup"`
}
LivetvEPGGetChannelsParams defines parameters for LivetvEPGGetChannels.
type LivetvEPGGetChannelsResponse ¶
type LivetvEPGGetChannelsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *struct {
MediaContainer struct {
Channel []Channel `json:"Channel,omitempty,omitzero"`
Identifier string `json:"identifier,omitempty,omitzero"`
// Offset The offset of where this container page starts among the total objects available. Also provided in the X-Plex-Container-Start header
Offset int `json:"offset,omitempty,omitzero"`
Size int `json:"size,omitempty,omitzero"`
// TotalSize The total size of objects available. Also provided in the X-Plex-Container-Total-Size header
TotalSize int `json:"totalSize,omitempty,omitzero"`
} `json:"MediaContainer,omitempty,omitzero"`
}
// Headers200 the parsed response headers for an HTTP 200 response
Headers200 *LivetvEPGGetChannelsResponse200Headers
}
func ParseLivetvEPGGetChannelsResponse ¶
func ParseLivetvEPGGetChannelsResponse(rsp *http.Response) (*LivetvEPGGetChannelsResponse, error)
ParseLivetvEPGGetChannelsResponse parses an HTTP response from a LivetvEPGGetChannelsWithResponse call
func (LivetvEPGGetChannelsResponse) ContentType ¶
func (r LivetvEPGGetChannelsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (LivetvEPGGetChannelsResponse) GetBody ¶
func (r LivetvEPGGetChannelsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (LivetvEPGGetChannelsResponse) GetJSON200 ¶
func (r LivetvEPGGetChannelsResponse) GetJSON200() *struct { MediaContainer struct { Channel []Channel `json:"Channel,omitempty,omitzero"` Identifier string `json:"identifier,omitempty,omitzero"` // Offset The offset of where this container page starts among the total objects available. Also provided in the X-Plex-Container-Start header Offset int `json:"offset,omitempty,omitzero"` Size int `json:"size,omitempty,omitzero"` // TotalSize The total size of objects available. Also provided in the X-Plex-Container-Total-Size header TotalSize int `json:"totalSize,omitempty,omitzero"` } `json:"MediaContainer,omitempty,omitzero"` }
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (LivetvEPGGetChannelsResponse) Status ¶
func (r LivetvEPGGetChannelsResponse) Status() string
Status returns HTTPResponse.Status
func (LivetvEPGGetChannelsResponse) StatusCode ¶
func (r LivetvEPGGetChannelsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type LivetvEPGGetChannelsResponse200Headers ¶
type LivetvEPGGetChannelsResponse200Headers struct {
XPlexContainerStart int
XPlexContainerTotalSize int
}
LivetvEPGGetChannelsResponse200Headers the declared response headers of an HTTP 200 response for LivetvEPGGetChannels
type LivetvEPGGetCountries200JSONResponseBodyMediaContainerCountryFlavor ¶
type LivetvEPGGetCountries200JSONResponseBodyMediaContainerCountryFlavor int
LivetvEPGGetCountries200JSONResponseBodyMediaContainerCountryFlavor defines parameters for LivetvEPGGetCountries.
const ( LivetvEPGGetCountries200JSONResponseBodyMediaContainerCountryFlavorN0 LivetvEPGGetCountries200JSONResponseBodyMediaContainerCountryFlavor = 0 LivetvEPGGetCountries200JSONResponseBodyMediaContainerCountryFlavorN1 LivetvEPGGetCountries200JSONResponseBodyMediaContainerCountryFlavor = 1 LivetvEPGGetCountries200JSONResponseBodyMediaContainerCountryFlavorN2 LivetvEPGGetCountries200JSONResponseBodyMediaContainerCountryFlavor = 2 )
Defines values for LivetvEPGGetCountries200JSONResponseBodyMediaContainerCountryFlavor.
func (LivetvEPGGetCountries200JSONResponseBodyMediaContainerCountryFlavor) Valid ¶
func (e LivetvEPGGetCountries200JSONResponseBodyMediaContainerCountryFlavor) Valid() bool
Valid indicates whether the value is a known member of the LivetvEPGGetCountries200JSONResponseBodyMediaContainerCountryFlavor enum.
type LivetvEPGGetCountriesCountryLineupsParams ¶
type LivetvEPGGetCountriesCountryLineupsParams struct {
// PostalCode The postal code for the lineups to fetch
PostalCode string `form:"postalCode,omitempty" json:"postalCode,omitempty,omitzero"`
}
LivetvEPGGetCountriesCountryLineupsParams defines parameters for LivetvEPGGetCountriesCountryLineups.
type LivetvEPGGetCountriesCountryLineupsResponse ¶
type LivetvEPGGetCountriesCountryLineupsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *MediaContainerWithLineup
}
func ParseLivetvEPGGetCountriesCountryLineupsResponse ¶
func ParseLivetvEPGGetCountriesCountryLineupsResponse(rsp *http.Response) (*LivetvEPGGetCountriesCountryLineupsResponse, error)
ParseLivetvEPGGetCountriesCountryLineupsResponse parses an HTTP response from a LivetvEPGGetCountriesCountryLineupsWithResponse call
func (LivetvEPGGetCountriesCountryLineupsResponse) ContentType ¶
func (r LivetvEPGGetCountriesCountryLineupsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (LivetvEPGGetCountriesCountryLineupsResponse) GetBody ¶
func (r LivetvEPGGetCountriesCountryLineupsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (LivetvEPGGetCountriesCountryLineupsResponse) GetJSON200 ¶
func (r LivetvEPGGetCountriesCountryLineupsResponse) GetJSON200() *MediaContainerWithLineup
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (LivetvEPGGetCountriesCountryLineupsResponse) Status ¶
func (r LivetvEPGGetCountriesCountryLineupsResponse) Status() string
Status returns HTTPResponse.Status
func (LivetvEPGGetCountriesCountryLineupsResponse) StatusCode ¶
func (r LivetvEPGGetCountriesCountryLineupsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type LivetvEPGGetCountriesCountryRegionsRegionLineupsResponse ¶
type LivetvEPGGetCountriesCountryRegionsRegionLineupsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *MediaContainerWithLineup
// Headers200 the parsed response headers for an HTTP 200 response
Headers200 *LivetvEPGGetCountriesCountryRegionsRegionLineupsResponse200Headers
}
func ParseLivetvEPGGetCountriesCountryRegionsRegionLineupsResponse ¶
func ParseLivetvEPGGetCountriesCountryRegionsRegionLineupsResponse(rsp *http.Response) (*LivetvEPGGetCountriesCountryRegionsRegionLineupsResponse, error)
ParseLivetvEPGGetCountriesCountryRegionsRegionLineupsResponse parses an HTTP response from a LivetvEPGGetCountriesCountryRegionsRegionLineupsWithResponse call
func (LivetvEPGGetCountriesCountryRegionsRegionLineupsResponse) ContentType ¶
func (r LivetvEPGGetCountriesCountryRegionsRegionLineupsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (LivetvEPGGetCountriesCountryRegionsRegionLineupsResponse) GetBody ¶
func (r LivetvEPGGetCountriesCountryRegionsRegionLineupsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (LivetvEPGGetCountriesCountryRegionsRegionLineupsResponse) GetJSON200 ¶
func (r LivetvEPGGetCountriesCountryRegionsRegionLineupsResponse) GetJSON200() *MediaContainerWithLineup
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (LivetvEPGGetCountriesCountryRegionsRegionLineupsResponse) Status ¶
func (r LivetvEPGGetCountriesCountryRegionsRegionLineupsResponse) Status() string
Status returns HTTPResponse.Status
func (LivetvEPGGetCountriesCountryRegionsRegionLineupsResponse) StatusCode ¶
func (r LivetvEPGGetCountriesCountryRegionsRegionLineupsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type LivetvEPGGetCountriesCountryRegionsRegionLineupsResponse200Headers ¶
type LivetvEPGGetCountriesCountryRegionsRegionLineupsResponse200Headers struct {
XPlexContainerStart int
XPlexContainerTotalSize int
}
LivetvEPGGetCountriesCountryRegionsRegionLineupsResponse200Headers the declared response headers of an HTTP 200 response for LivetvEPGGetCountriesCountryRegionsRegionLineups
type LivetvEPGGetCountriesCountryRegionsResponse ¶
type LivetvEPGGetCountriesCountryRegionsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *struct {
MediaContainer struct {
Country []struct {
Key string `json:"key,omitempty,omitzero"`
National bool `json:"national,omitempty,omitzero"`
Title string `json:"title,omitempty,omitzero"`
Type string `json:"type,omitempty,omitzero"`
} `json:"Country,omitempty,omitzero"`
Identifier string `json:"identifier,omitempty,omitzero"`
// Offset The offset of where this container page starts among the total objects available. Also provided in the X-Plex-Container-Start header
Offset int `json:"offset,omitempty,omitzero"`
Size int `json:"size,omitempty,omitzero"`
// TotalSize The total size of objects available. Also provided in the X-Plex-Container-Total-Size header
TotalSize int `json:"totalSize,omitempty,omitzero"`
} `json:"MediaContainer,omitempty,omitzero"`
}
// Headers200 the parsed response headers for an HTTP 200 response
Headers200 *LivetvEPGGetCountriesCountryRegionsResponse200Headers
}
func ParseLivetvEPGGetCountriesCountryRegionsResponse ¶
func ParseLivetvEPGGetCountriesCountryRegionsResponse(rsp *http.Response) (*LivetvEPGGetCountriesCountryRegionsResponse, error)
ParseLivetvEPGGetCountriesCountryRegionsResponse parses an HTTP response from a LivetvEPGGetCountriesCountryRegionsWithResponse call
func (LivetvEPGGetCountriesCountryRegionsResponse) ContentType ¶
func (r LivetvEPGGetCountriesCountryRegionsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (LivetvEPGGetCountriesCountryRegionsResponse) GetBody ¶
func (r LivetvEPGGetCountriesCountryRegionsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (LivetvEPGGetCountriesCountryRegionsResponse) GetJSON200 ¶
func (r LivetvEPGGetCountriesCountryRegionsResponse) GetJSON200() *struct { MediaContainer struct { Country []struct { Key string `json:"key,omitempty,omitzero"` National bool `json:"national,omitempty,omitzero"` Title string `json:"title,omitempty,omitzero"` Type string `json:"type,omitempty,omitzero"` } `json:"Country,omitempty,omitzero"` Identifier string `json:"identifier,omitempty,omitzero"` // Offset The offset of where this container page starts among the total objects available. Also provided in the X-Plex-Container-Start header Offset int `json:"offset,omitempty,omitzero"` Size int `json:"size,omitempty,omitzero"` // TotalSize The total size of objects available. Also provided in the X-Plex-Container-Total-Size header TotalSize int `json:"totalSize,omitempty,omitzero"` } `json:"MediaContainer,omitempty,omitzero"` }
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (LivetvEPGGetCountriesCountryRegionsResponse) Status ¶
func (r LivetvEPGGetCountriesCountryRegionsResponse) Status() string
Status returns HTTPResponse.Status
func (LivetvEPGGetCountriesCountryRegionsResponse) StatusCode ¶
func (r LivetvEPGGetCountriesCountryRegionsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type LivetvEPGGetCountriesCountryRegionsResponse200Headers ¶
type LivetvEPGGetCountriesCountryRegionsResponse200Headers struct {
XPlexContainerStart int
XPlexContainerTotalSize int
}
LivetvEPGGetCountriesCountryRegionsResponse200Headers the declared response headers of an HTTP 200 response for LivetvEPGGetCountriesCountryRegions
type LivetvEPGGetCountriesResponse ¶
type LivetvEPGGetCountriesResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *struct {
MediaContainer struct {
Country []struct {
// Code Three letter code
Code string `json:"code,omitempty,omitzero"`
Example string `json:"example,omitempty,omitzero"`
// Flavor - `0`: The country is divided into regions, and following the key will lead to a list of regions.
// - `1`: The county is divided by postal codes, and an example code is returned in `example`.
// - `2`: The country has a single postal code, returned in `example`.
Flavor LivetvEPGGetCountries200JSONResponseBodyMediaContainerCountryFlavor `json:"flavor,omitempty,omitzero"`
Key string `json:"key,omitempty,omitzero"`
// Language Three letter language code
Language string `json:"language,omitempty,omitzero"`
// LanguageTitle The title of the language
LanguageTitle string `json:"languageTitle,omitempty,omitzero"`
Title string `json:"title,omitempty,omitzero"`
Type string `json:"type,omitempty,omitzero"`
} `json:"Country,omitempty,omitzero"`
Identifier string `json:"identifier,omitempty,omitzero"`
// Offset The offset of where this container page starts among the total objects available. Also provided in the X-Plex-Container-Start header
Offset int `json:"offset,omitempty,omitzero"`
Size int `json:"size,omitempty,omitzero"`
// TotalSize The total size of objects available. Also provided in the X-Plex-Container-Total-Size header
TotalSize int `json:"totalSize,omitempty,omitzero"`
} `json:"MediaContainer,omitempty,omitzero"`
}
// Headers200 the parsed response headers for an HTTP 200 response
Headers200 *LivetvEPGGetCountriesResponse200Headers
}
func ParseLivetvEPGGetCountriesResponse ¶
func ParseLivetvEPGGetCountriesResponse(rsp *http.Response) (*LivetvEPGGetCountriesResponse, error)
ParseLivetvEPGGetCountriesResponse parses an HTTP response from a LivetvEPGGetCountriesWithResponse call
func (LivetvEPGGetCountriesResponse) ContentType ¶
func (r LivetvEPGGetCountriesResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (LivetvEPGGetCountriesResponse) GetBody ¶
func (r LivetvEPGGetCountriesResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (LivetvEPGGetCountriesResponse) GetJSON200 ¶
func (r LivetvEPGGetCountriesResponse) GetJSON200() *struct { MediaContainer struct { Country []struct { // Code Three letter code Code string `json:"code,omitempty,omitzero"` Example string `json:"example,omitempty,omitzero"` // Flavor - `0`: The country is divided into regions, and following the key will lead to a list of regions. // - `1`: The county is divided by postal codes, and an example code is returned in `example`. // - `2`: The country has a single postal code, returned in `example`. Flavor LivetvEPGGetCountries200JSONResponseBodyMediaContainerCountryFlavor `json:"flavor,omitempty,omitzero"` Key string `json:"key,omitempty,omitzero"` // Language Three letter language code Language string `json:"language,omitempty,omitzero"` // LanguageTitle The title of the language LanguageTitle string `json:"languageTitle,omitempty,omitzero"` Title string `json:"title,omitempty,omitzero"` Type string `json:"type,omitempty,omitzero"` } `json:"Country,omitempty,omitzero"` Identifier string `json:"identifier,omitempty,omitzero"` // Offset The offset of where this container page starts among the total objects available. Also provided in the X-Plex-Container-Start header Offset int `json:"offset,omitempty,omitzero"` Size int `json:"size,omitempty,omitzero"` // TotalSize The total size of objects available. Also provided in the X-Plex-Container-Total-Size header TotalSize int `json:"totalSize,omitempty,omitzero"` } `json:"MediaContainer,omitempty,omitzero"` }
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (LivetvEPGGetCountriesResponse) Status ¶
func (r LivetvEPGGetCountriesResponse) Status() string
Status returns HTTPResponse.Status
func (LivetvEPGGetCountriesResponse) StatusCode ¶
func (r LivetvEPGGetCountriesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type LivetvEPGGetCountriesResponse200Headers ¶
type LivetvEPGGetCountriesResponse200Headers struct {
XPlexContainerStart int
XPlexContainerTotalSize int
}
LivetvEPGGetCountriesResponse200Headers the declared response headers of an HTTP 200 response for LivetvEPGGetCountries
type LivetvEPGGetLanguagesResponse ¶
type LivetvEPGGetLanguagesResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *struct {
MediaContainer struct {
Language []struct {
// Code 3 letter language code
Code string `json:"code,omitempty,omitzero"`
Title string `json:"title,omitempty,omitzero"`
} `json:"Language,omitempty,omitzero"`
Identifier string `json:"identifier,omitempty,omitzero"`
// Offset The offset of where this container page starts among the total objects available. Also provided in the X-Plex-Container-Start header
Offset int `json:"offset,omitempty,omitzero"`
Size int `json:"size,omitempty,omitzero"`
// TotalSize The total size of objects available. Also provided in the X-Plex-Container-Total-Size header
TotalSize int `json:"totalSize,omitempty,omitzero"`
} `json:"MediaContainer,omitempty,omitzero"`
}
// Headers200 the parsed response headers for an HTTP 200 response
Headers200 *LivetvEPGGetLanguagesResponse200Headers
}
func ParseLivetvEPGGetLanguagesResponse ¶
func ParseLivetvEPGGetLanguagesResponse(rsp *http.Response) (*LivetvEPGGetLanguagesResponse, error)
ParseLivetvEPGGetLanguagesResponse parses an HTTP response from a LivetvEPGGetLanguagesWithResponse call
func (LivetvEPGGetLanguagesResponse) ContentType ¶
func (r LivetvEPGGetLanguagesResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (LivetvEPGGetLanguagesResponse) GetBody ¶
func (r LivetvEPGGetLanguagesResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (LivetvEPGGetLanguagesResponse) GetJSON200 ¶
func (r LivetvEPGGetLanguagesResponse) GetJSON200() *struct { MediaContainer struct { Language []struct { // Code 3 letter language code Code string `json:"code,omitempty,omitzero"` Title string `json:"title,omitempty,omitzero"` } `json:"Language,omitempty,omitzero"` Identifier string `json:"identifier,omitempty,omitzero"` // Offset The offset of where this container page starts among the total objects available. Also provided in the X-Plex-Container-Start header Offset int `json:"offset,omitempty,omitzero"` Size int `json:"size,omitempty,omitzero"` // TotalSize The total size of objects available. Also provided in the X-Plex-Container-Total-Size header TotalSize int `json:"totalSize,omitempty,omitzero"` } `json:"MediaContainer,omitempty,omitzero"` }
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (LivetvEPGGetLanguagesResponse) Status ¶
func (r LivetvEPGGetLanguagesResponse) Status() string
Status returns HTTPResponse.Status
func (LivetvEPGGetLanguagesResponse) StatusCode ¶
func (r LivetvEPGGetLanguagesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type LivetvEPGGetLanguagesResponse200Headers ¶
type LivetvEPGGetLanguagesResponse200Headers struct {
XPlexContainerStart int
XPlexContainerTotalSize int
}
LivetvEPGGetLanguagesResponse200Headers the declared response headers of an HTTP 200 response for LivetvEPGGetLanguages
type LivetvEPGGetLineupParams ¶
type LivetvEPGGetLineupParams struct {
// Device The URI describing the device
Device string `form:"device" json:"device"`
// LineupGroup The URI describing the lineupGroup
LineupGroup string `form:"lineupGroup" json:"lineupGroup"`
}
LivetvEPGGetLineupParams defines parameters for LivetvEPGGetLineup.
type LivetvEPGGetLineupResponse ¶
type LivetvEPGGetLineupResponse struct {
Body []byte
HTTPResponse *http.Response
// Headers200 the parsed response headers for an HTTP 200 response
Headers200 *LivetvEPGGetLineupResponse200Headers
}
func ParseLivetvEPGGetLineupResponse ¶
func ParseLivetvEPGGetLineupResponse(rsp *http.Response) (*LivetvEPGGetLineupResponse, error)
ParseLivetvEPGGetLineupResponse parses an HTTP response from a LivetvEPGGetLineupWithResponse call
func (LivetvEPGGetLineupResponse) ContentType ¶
func (r LivetvEPGGetLineupResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (LivetvEPGGetLineupResponse) GetBody ¶
func (r LivetvEPGGetLineupResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (LivetvEPGGetLineupResponse) Status ¶
func (r LivetvEPGGetLineupResponse) Status() string
Status returns HTTPResponse.Status
func (LivetvEPGGetLineupResponse) StatusCode ¶
func (r LivetvEPGGetLineupResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type LivetvEPGGetLineupResponse200Headers ¶
type LivetvEPGGetLineupResponse200Headers struct {
XPlexActivity string
}
LivetvEPGGetLineupResponse200Headers the declared response headers of an HTTP 200 response for LivetvEPGGetLineup
type LivetvEPGGetLineupchannels200JSONResponseBodyMediaContainerLineupLineupType ¶
type LivetvEPGGetLineupchannels200JSONResponseBodyMediaContainerLineupLineupType int
LivetvEPGGetLineupchannels200JSONResponseBodyMediaContainerLineupLineupType defines parameters for LivetvEPGGetLineupchannels.
const ( LivetvEPGGetLineupchannels200JSONResponseBodyMediaContainerLineupLineupTypeMinus1 LivetvEPGGetLineupchannels200JSONResponseBodyMediaContainerLineupLineupType = -1 LivetvEPGGetLineupchannels200JSONResponseBodyMediaContainerLineupLineupTypeN0 LivetvEPGGetLineupchannels200JSONResponseBodyMediaContainerLineupLineupType = 0 LivetvEPGGetLineupchannels200JSONResponseBodyMediaContainerLineupLineupTypeN1 LivetvEPGGetLineupchannels200JSONResponseBodyMediaContainerLineupLineupType = 1 LivetvEPGGetLineupchannels200JSONResponseBodyMediaContainerLineupLineupTypeN2 LivetvEPGGetLineupchannels200JSONResponseBodyMediaContainerLineupLineupType = 2 LivetvEPGGetLineupchannels200JSONResponseBodyMediaContainerLineupLineupTypeN3 LivetvEPGGetLineupchannels200JSONResponseBodyMediaContainerLineupLineupType = 3 LivetvEPGGetLineupchannels200JSONResponseBodyMediaContainerLineupLineupTypeN4 LivetvEPGGetLineupchannels200JSONResponseBodyMediaContainerLineupLineupType = 4 )
Defines values for LivetvEPGGetLineupchannels200JSONResponseBodyMediaContainerLineupLineupType.
type LivetvEPGGetLineupchannelsParams ¶
type LivetvEPGGetLineupchannelsParams struct {
// Lineup The URIs describing the lineups
Lineup []string `form:"lineup" json:"lineup"`
}
LivetvEPGGetLineupchannelsParams defines parameters for LivetvEPGGetLineupchannels.
type LivetvEPGGetLineupchannelsResponse ¶
type LivetvEPGGetLineupchannelsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *struct {
MediaContainer struct {
Lineup []struct {
Channel []Channel `json:"Channel,omitempty,omitzero"`
// LineupType - `-1`: N/A
// - `0`: Over the air
// - `1`: Cable
// - `2`: Satellite
// - `3`: IPTV
// - `4`: Virtual
LineupType LivetvEPGGetLineupchannels200JSONResponseBodyMediaContainerLineupLineupType `json:"lineupType,omitempty,omitzero"`
Location string `json:"location,omitempty,omitzero"`
Title string `json:"title,omitempty,omitzero"`
// Type The type of this object (`lineup` in this case)
Type string `json:"type,omitempty,omitzero"`
// UUID The uuid of this lineup
UUID string `json:"uuid,omitempty,omitzero"`
} `json:"Lineup,omitempty,omitzero"`
Identifier string `json:"identifier,omitempty,omitzero"`
// Offset The offset of where this container page starts among the total objects available. Also provided in the X-Plex-Container-Start header
Offset int `json:"offset,omitempty,omitzero"`
Size int `json:"size,omitempty,omitzero"`
// TotalSize The total size of objects available. Also provided in the X-Plex-Container-Total-Size header
TotalSize int `json:"totalSize,omitempty,omitzero"`
} `json:"MediaContainer,omitempty,omitzero"`
}
}
func ParseLivetvEPGGetLineupchannelsResponse ¶
func ParseLivetvEPGGetLineupchannelsResponse(rsp *http.Response) (*LivetvEPGGetLineupchannelsResponse, error)
ParseLivetvEPGGetLineupchannelsResponse parses an HTTP response from a LivetvEPGGetLineupchannelsWithResponse call
func (LivetvEPGGetLineupchannelsResponse) ContentType ¶
func (r LivetvEPGGetLineupchannelsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (LivetvEPGGetLineupchannelsResponse) GetBody ¶
func (r LivetvEPGGetLineupchannelsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (LivetvEPGGetLineupchannelsResponse) GetJSON200 ¶
func (r LivetvEPGGetLineupchannelsResponse) GetJSON200() *struct { MediaContainer struct { Lineup []struct { Channel []Channel `json:"Channel,omitempty,omitzero"` // LineupType - `-1`: N/A // - `0`: Over the air // - `1`: Cable // - `2`: Satellite // - `3`: IPTV // - `4`: Virtual LineupType LivetvEPGGetLineupchannels200JSONResponseBodyMediaContainerLineupLineupType `json:"lineupType,omitempty,omitzero"` Location string `json:"location,omitempty,omitzero"` Title string `json:"title,omitempty,omitzero"` // Type The type of this object (`lineup` in this case) Type string `json:"type,omitempty,omitzero"` // UUID The uuid of this lineup UUID string `json:"uuid,omitempty,omitzero"` } `json:"Lineup,omitempty,omitzero"` Identifier string `json:"identifier,omitempty,omitzero"` // Offset The offset of where this container page starts among the total objects available. Also provided in the X-Plex-Container-Start header Offset int `json:"offset,omitempty,omitzero"` Size int `json:"size,omitempty,omitzero"` // TotalSize The total size of objects available. Also provided in the X-Plex-Container-Total-Size header TotalSize int `json:"totalSize,omitempty,omitzero"` } `json:"MediaContainer,omitempty,omitzero"` }
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (LivetvEPGGetLineupchannelsResponse) Status ¶
func (r LivetvEPGGetLineupchannelsResponse) Status() string
Status returns HTTPResponse.Status
func (LivetvEPGGetLineupchannelsResponse) StatusCode ¶
func (r LivetvEPGGetLineupchannelsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type LivetvSessionsGetSessionConsumerIndexResponse ¶
type LivetvSessionsGetSessionConsumerIndexResponse struct {
Body []byte
HTTPResponse *http.Response
}
func ParseLivetvSessionsGetSessionConsumerIndexResponse ¶
func ParseLivetvSessionsGetSessionConsumerIndexResponse(rsp *http.Response) (*LivetvSessionsGetSessionConsumerIndexResponse, error)
ParseLivetvSessionsGetSessionConsumerIndexResponse parses an HTTP response from a LivetvSessionsGetSessionConsumerIndexWithResponse call
func (LivetvSessionsGetSessionConsumerIndexResponse) ContentType ¶
func (r LivetvSessionsGetSessionConsumerIndexResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (LivetvSessionsGetSessionConsumerIndexResponse) GetBody ¶
func (r LivetvSessionsGetSessionConsumerIndexResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (LivetvSessionsGetSessionConsumerIndexResponse) Status ¶
func (r LivetvSessionsGetSessionConsumerIndexResponse) Status() string
Status returns HTTPResponse.Status
func (LivetvSessionsGetSessionConsumerIndexResponse) StatusCode ¶
func (r LivetvSessionsGetSessionConsumerIndexResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type LivetvSessionsGetSessionConsumerSegmentResponse ¶
type LivetvSessionsGetSessionConsumerSegmentResponse struct {
Body []byte
HTTPResponse *http.Response
}
func ParseLivetvSessionsGetSessionConsumerSegmentResponse ¶
func ParseLivetvSessionsGetSessionConsumerSegmentResponse(rsp *http.Response) (*LivetvSessionsGetSessionConsumerSegmentResponse, error)
ParseLivetvSessionsGetSessionConsumerSegmentResponse parses an HTTP response from a LivetvSessionsGetSessionConsumerSegmentWithResponse call
func (LivetvSessionsGetSessionConsumerSegmentResponse) ContentType ¶
func (r LivetvSessionsGetSessionConsumerSegmentResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (LivetvSessionsGetSessionConsumerSegmentResponse) GetBody ¶
func (r LivetvSessionsGetSessionConsumerSegmentResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (LivetvSessionsGetSessionConsumerSegmentResponse) Status ¶
func (r LivetvSessionsGetSessionConsumerSegmentResponse) Status() string
Status returns HTTPResponse.Status
func (LivetvSessionsGetSessionConsumerSegmentResponse) StatusCode ¶
func (r LivetvSessionsGetSessionConsumerSegmentResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type LivetvSessionsGetSessionResponse ¶
type LivetvSessionsGetSessionResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *MediaContainerWithMetadata
// Headers200 the parsed response headers for an HTTP 200 response
Headers200 *LivetvSessionsGetSessionResponse200Headers
}
func ParseLivetvSessionsGetSessionResponse ¶
func ParseLivetvSessionsGetSessionResponse(rsp *http.Response) (*LivetvSessionsGetSessionResponse, error)
ParseLivetvSessionsGetSessionResponse parses an HTTP response from a LivetvSessionsGetSessionWithResponse call
func (LivetvSessionsGetSessionResponse) ContentType ¶
func (r LivetvSessionsGetSessionResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (LivetvSessionsGetSessionResponse) GetBody ¶
func (r LivetvSessionsGetSessionResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (LivetvSessionsGetSessionResponse) GetJSON200 ¶
func (r LivetvSessionsGetSessionResponse) GetJSON200() *MediaContainerWithMetadata
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (LivetvSessionsGetSessionResponse) Status ¶
func (r LivetvSessionsGetSessionResponse) Status() string
Status returns HTTPResponse.Status
func (LivetvSessionsGetSessionResponse) StatusCode ¶
func (r LivetvSessionsGetSessionResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type LivetvSessionsGetSessionResponse200Headers ¶
type LivetvSessionsGetSessionResponse200Headers struct {
XPlexContainerStart int
XPlexContainerTotalSize int
}
LivetvSessionsGetSessionResponse200Headers the declared response headers of an HTTP 200 response for LivetvSessionsGetSession
type LivetvSessionsGetSlashResponse ¶
type LivetvSessionsGetSlashResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *MediaContainerWithMetadata
// Headers200 the parsed response headers for an HTTP 200 response
Headers200 *LivetvSessionsGetSlashResponse200Headers
}
func ParseLivetvSessionsGetSlashResponse ¶
func ParseLivetvSessionsGetSlashResponse(rsp *http.Response) (*LivetvSessionsGetSlashResponse, error)
ParseLivetvSessionsGetSlashResponse parses an HTTP response from a LivetvSessionsGetSlashWithResponse call
func (LivetvSessionsGetSlashResponse) ContentType ¶
func (r LivetvSessionsGetSlashResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (LivetvSessionsGetSlashResponse) GetBody ¶
func (r LivetvSessionsGetSlashResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (LivetvSessionsGetSlashResponse) GetJSON200 ¶
func (r LivetvSessionsGetSlashResponse) GetJSON200() *MediaContainerWithMetadata
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (LivetvSessionsGetSlashResponse) Status ¶
func (r LivetvSessionsGetSlashResponse) Status() string
Status returns HTTPResponse.Status
func (LivetvSessionsGetSlashResponse) StatusCode ¶
func (r LivetvSessionsGetSlashResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type LivetvSessionsGetSlashResponse200Headers ¶
type LivetvSessionsGetSlashResponse200Headers struct {
XPlexContainerStart int
XPlexContainerTotalSize int
}
LivetvSessionsGetSlashResponse200Headers the declared response headers of an HTTP 200 response for LivetvSessionsGetSlash
type LocationParam ¶
type LocationParam string
LocationParam defines model for 14.
const ( LocationParamCellular LocationParam = "cellular" LocationParamLan LocationParam = "lan" LocationParamWan LocationParam = "wan" )
Defines values for LocationParam.
func (LocationParam) Valid ¶
func (e LocationParam) Valid() bool
Valid indicates whether the value is a known member of the LocationParam enum.
type LogPostPapertrailParams ¶
type LogPostPapertrailParams struct {
// Minutes The number of minutes logging should be sent to Papertrail
Minutes int `form:"minutes,omitempty" json:"minutes,omitempty,omitzero"`
}
LogPostPapertrailParams defines parameters for LogPostPapertrail.
type LogPostPapertrailResponse ¶
func ParseLogPostPapertrailResponse ¶
func ParseLogPostPapertrailResponse(rsp *http.Response) (*LogPostPapertrailResponse, error)
ParseLogPostPapertrailResponse parses an HTTP response from a LogPostPapertrailWithResponse call
func (LogPostPapertrailResponse) ContentType ¶
func (r LogPostPapertrailResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (LogPostPapertrailResponse) GetBody ¶
func (r LogPostPapertrailResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (LogPostPapertrailResponse) Status ¶
func (r LogPostPapertrailResponse) Status() string
Status returns HTTPResponse.Status
func (LogPostPapertrailResponse) StatusCode ¶
func (r LogPostPapertrailResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type LogPostSlashResponse ¶
func ParseLogPostSlashResponse ¶
func ParseLogPostSlashResponse(rsp *http.Response) (*LogPostSlashResponse, error)
ParseLogPostSlashResponse parses an HTTP response from a LogPostSlashWithResponse call
func (LogPostSlashResponse) ContentType ¶
func (r LogPostSlashResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (LogPostSlashResponse) GetBody ¶
func (r LogPostSlashResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (LogPostSlashResponse) Status ¶
func (r LogPostSlashResponse) Status() string
Status returns HTTPResponse.Status
func (LogPostSlashResponse) StatusCode ¶
func (r LogPostSlashResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type LogPostSlashTextBody ¶
type LogPostSlashTextBody interface{}
LogPostSlashTextBody defines parameters for LogPostSlash.
type LogPostSlashTextRequestBody ¶
type LogPostSlashTextRequestBody LogPostSlashTextBody
LogPostSlashTextRequestBody defines body for LogPostSlash for text/plain ContentType.
type LogPutSlashParams ¶
type LogPutSlashParams struct {
// Level An integer log level to write to the PMS log with.
// - 0: Error
// - 1: Warning
// - 2: Info
// - 3: Debug
// - 4: Verbose
Level LogPutSlashParamsLevel `form:"level,omitempty" json:"level,omitempty,omitzero"`
// Message The text of the message to write to the log.
Message string `form:"message,omitempty" json:"message,omitempty,omitzero"`
// Source A string indicating the source of the message.
Source string `form:"source,omitempty" json:"source,omitempty,omitzero"`
}
LogPutSlashParams defines parameters for LogPutSlash.
type LogPutSlashParamsLevel ¶
type LogPutSlashParamsLevel int
LogPutSlashParamsLevel defines parameters for LogPutSlash.
const ( LogPutSlashParamsLevelN0 LogPutSlashParamsLevel = 0 LogPutSlashParamsLevelN1 LogPutSlashParamsLevel = 1 LogPutSlashParamsLevelN2 LogPutSlashParamsLevel = 2 LogPutSlashParamsLevelN3 LogPutSlashParamsLevel = 3 LogPutSlashParamsLevelN4 LogPutSlashParamsLevel = 4 )
Defines values for LogPutSlashParamsLevel.
func (LogPutSlashParamsLevel) Valid ¶
func (e LogPutSlashParamsLevel) Valid() bool
Valid indicates whether the value is a known member of the LogPutSlashParamsLevel enum.
type LogPutSlashResponse ¶
func ParseLogPutSlashResponse ¶
func ParseLogPutSlashResponse(rsp *http.Response) (*LogPutSlashResponse, error)
ParseLogPutSlashResponse parses an HTTP response from a LogPutSlashWithResponse call
func (LogPutSlashResponse) ContentType ¶
func (r LogPutSlashResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (LogPutSlashResponse) GetBody ¶
func (r LogPutSlashResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (LogPutSlashResponse) Status ¶
func (r LogPutSlashResponse) Status() string
Status returns HTTPResponse.Status
func (LogPutSlashResponse) StatusCode ¶
func (r LogPutSlashResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type Media ¶
type Media struct {
Part []Part `json:"Part,omitempty,omitzero"`
AspectRatio float32 `json:"aspectRatio,omitempty,omitzero"`
AudioChannels int `json:"audioChannels,omitempty,omitzero"`
AudioCodec interface{} `json:"audioCodec,omitempty,omitzero"`
AudioProfile interface{} `json:"audioProfile,omitempty,omitzero"`
Bitrate int `json:"bitrate,omitempty,omitzero"`
Container interface{} `json:"container,omitempty,omitzero"`
Duration int `json:"duration,omitempty,omitzero"`
Has64BitOffsets bool `json:"has64bitOffsets,omitempty,omitzero"`
HasVoiceActivity bool `json:"hasVoiceActivity,omitempty,omitzero"`
Height int `json:"height,omitempty,omitzero"`
ID int `json:"id,omitempty,omitzero"`
OptimizedForStreaming Bool `json:"optimizedForStreaming,omitempty,omitzero"`
VideoCodec interface{} `json:"videoCodec,omitempty,omitzero"`
VideoFrameRate interface{} `json:"videoFrameRate,omitempty,omitzero"`
VideoProfile interface{} `json:"videoProfile,omitempty,omitzero"`
VideoResolution interface{} `json:"videoResolution,omitempty,omitzero"`
Width int `json:"width,omitempty,omitzero"`
AdditionalProperties map[string]interface{} `json:"-"`
}
Media `Media` represents an one or more media files (parts) and is a child of a metadata item. There aren't necessarily any guaranteed attributes on media elements since the attributes will vary based on the type. The possible attributes are not documented here, but they typically have self-evident names. High-level media information that can be used for badging and flagging, such as `videoResolution` and codecs, is included on the media element.
func (Media) Get ¶
Getter for additional properties for Media. Returns the specified element and whether it was found
func (Media) MarshalJSON ¶
Override default JSON handling for Media to handle AdditionalProperties
func (*Media) UnmarshalJSON ¶
Override default JSON handling for Media to handle AdditionalProperties
type MediaBufferSizeParam ¶
type MediaBufferSizeParam = int
MediaBufferSizeParam defines model for 15.
type MediaContainer ¶
type MediaContainer struct {
Identifier string `json:"identifier,omitempty,omitzero"`
// Offset The offset of where this container page starts among the total objects available. Also provided in the X-Plex-Container-Start header
Offset int `json:"offset,omitempty,omitzero"`
Size int `json:"size,omitempty,omitzero"`
// TotalSize The total size of objects available. Also provided in the X-Plex-Container-Total-Size header
TotalSize int `json:"totalSize,omitempty,omitzero"`
}
MediaContainer defines model for MediaContainer.
type MediaContainerRoot ¶
type MediaContainerRoot struct {
MediaContainer struct {
Identifier string `json:"identifier,omitempty,omitzero"`
// Offset The offset of where this container page starts among the total objects available. Also provided in the X-Plex-Container-Start header
Offset int `json:"offset,omitempty,omitzero"`
Size int `json:"size,omitempty,omitzero"`
// TotalSize The total size of objects available. Also provided in the X-Plex-Container-Total-Size header
TotalSize int `json:"totalSize,omitempty,omitzero"`
} `json:"MediaContainer,omitempty,omitzero"`
}
MediaContainerRoot `MediaContainer` is commonly found as the root of a response and is a pretty generic container. Common attributes include `identifier` and things related to paging (`offset`, `size`, `totalSize`).
It is also common for a `MediaContainer` to contain attributes "hoisted" from its children. If every element in the container would have had the same attribute, then that attribute can be present on the container instead of being repeated on every element. For example, an album's list of tracks might include `parentTitle` on the container since all of the tracks have the same album title. A container may have a `source` attribute when all of the items came from the same source. Generally speaking, when looking for an attribute on an item, if the attribute wasn't found then the container should be checked for that attribute as well.
type MediaContainerWithArtwork ¶
type MediaContainerWithArtwork struct {
MediaContainer struct {
Metadata []MediaContainerWithArtwork_MediaContainer_Metadata_Item `json:"Metadata,omitempty,omitzero"`
Identifier string `json:"identifier,omitempty,omitzero"`
// Offset The offset of where this container page starts among the total objects available. Also provided in the X-Plex-Container-Start header
Offset int `json:"offset,omitempty,omitzero"`
Size int `json:"size,omitempty,omitzero"`
// TotalSize The total size of objects available. Also provided in the X-Plex-Container-Total-Size header
TotalSize int `json:"totalSize,omitempty,omitzero"`
} `json:"MediaContainer,omitempty,omitzero"`
}
MediaContainerWithArtwork defines model for mediaContainerWithArtwork.
type MediaContainerWithArtworkMediaContainerMetadataType ¶
type MediaContainerWithArtworkMediaContainerMetadataType string
MediaContainerWithArtworkMediaContainerMetadataType defines model for MediaContainerWithArtwork.MediaContainer.Metadata.Type.
const (
MediaContainerWithArtworkMediaContainerMetadataTypeImage MediaContainerWithArtworkMediaContainerMetadataType = "image"
)
Defines values for MediaContainerWithArtworkMediaContainerMetadataType.
func (MediaContainerWithArtworkMediaContainerMetadataType) Valid ¶
func (e MediaContainerWithArtworkMediaContainerMetadataType) Valid() bool
Valid indicates whether the value is a known member of the MediaContainerWithArtworkMediaContainerMetadataType enum.
type MediaContainerWithArtwork_MediaContainer_Metadata_Item ¶
type MediaContainerWithArtwork_MediaContainer_Metadata_Item struct {
// Key The path to the artwork
Key string `json:"key,omitempty,omitzero"`
// Title The title of the item
Title string `json:"title,omitempty,omitzero"`
Type MediaContainerWithArtworkMediaContainerMetadataType `json:"type,omitempty,omitzero"`
AdditionalProperties map[string]interface{} `json:"-"`
}
MediaContainerWithArtwork_MediaContainer_Metadata_Item defines model for MediaContainerWithArtwork.MediaContainer.Metadata.Item.
func (MediaContainerWithArtwork_MediaContainer_Metadata_Item) Get ¶
func (a MediaContainerWithArtwork_MediaContainer_Metadata_Item) Get(fieldName string) (value interface{}, found bool)
Getter for additional properties for MediaContainerWithArtwork_MediaContainer_Metadata_Item. Returns the specified element and whether it was found
func (MediaContainerWithArtwork_MediaContainer_Metadata_Item) MarshalJSON ¶
func (a MediaContainerWithArtwork_MediaContainer_Metadata_Item) MarshalJSON() ([]byte, error)
Override default JSON handling for MediaContainerWithArtwork_MediaContainer_Metadata_Item to handle AdditionalProperties
func (*MediaContainerWithArtwork_MediaContainer_Metadata_Item) Set ¶
func (a *MediaContainerWithArtwork_MediaContainer_Metadata_Item) Set(fieldName string, value interface{})
Setter for additional properties for MediaContainerWithArtwork_MediaContainer_Metadata_Item
func (*MediaContainerWithArtwork_MediaContainer_Metadata_Item) UnmarshalJSON ¶
func (a *MediaContainerWithArtwork_MediaContainer_Metadata_Item) UnmarshalJSON(b []byte) error
Override default JSON handling for MediaContainerWithArtwork_MediaContainer_Metadata_Item to handle AdditionalProperties
type MediaContainerWithDecision ¶
type MediaContainerWithDecision struct {
MediaContainer MediaContainerWithDecision_MediaContainer `json:"MediaContainer,omitempty,omitzero"`
}
MediaContainerWithDecision `MediaContainer` is commonly found as the root of a response and is a pretty generic container. Common attributes include `identifier` and things related to paging (`offset`, `size`, `totalSize`).
It is also common for a `MediaContainer` to contain attributes "hoisted" from its children. If every element in the container would have had the same attribute, then that attribute can be present on the container instead of being repeated on every element. For example, an album's list of tracks might include `parentTitle` on the container since all of the tracks have the same album title. A container may have a `source` attribute when all of the items came from the same source. Generally speaking, when looking for an attribute on an item, if the attribute wasn't found then the container should be checked for that attribute as well.
type MediaContainerWithDecisionMediaContainerMetadataMediaPartDecision ¶
type MediaContainerWithDecisionMediaContainerMetadataMediaPartDecision string
MediaContainerWithDecisionMediaContainerMetadataMediaPartDecision defines model for MediaContainerWithDecision.MediaContainer.Metadata.Media.Part.Decision.
const ( MediaContainerWithDecisionMediaContainerMetadataMediaPartDecisionDirectplay MediaContainerWithDecisionMediaContainerMetadataMediaPartDecision = "directplay" MediaContainerWithDecisionMediaContainerMetadataMediaPartDecisionNone MediaContainerWithDecisionMediaContainerMetadataMediaPartDecision = "none" MediaContainerWithDecisionMediaContainerMetadataMediaPartDecisionTranscode MediaContainerWithDecisionMediaContainerMetadataMediaPartDecision = "transcode" )
Defines values for MediaContainerWithDecisionMediaContainerMetadataMediaPartDecision.
func (MediaContainerWithDecisionMediaContainerMetadataMediaPartDecision) Valid ¶
func (e MediaContainerWithDecisionMediaContainerMetadataMediaPartDecision) Valid() bool
Valid indicates whether the value is a known member of the MediaContainerWithDecisionMediaContainerMetadataMediaPartDecision enum.
type MediaContainerWithDecisionMediaContainerMetadataMediaPartStreamDecision ¶
type MediaContainerWithDecisionMediaContainerMetadataMediaPartStreamDecision string
MediaContainerWithDecisionMediaContainerMetadataMediaPartStreamDecision defines model for MediaContainerWithDecision.MediaContainer.Metadata.Media.Part.Stream.Decision.
const ( MediaContainerWithDecisionMediaContainerMetadataMediaPartStreamDecisionBurn MediaContainerWithDecisionMediaContainerMetadataMediaPartStreamDecision = "burn" MediaContainerWithDecisionMediaContainerMetadataMediaPartStreamDecisionCopy MediaContainerWithDecisionMediaContainerMetadataMediaPartStreamDecision = "copy" MediaContainerWithDecisionMediaContainerMetadataMediaPartStreamDecisionIgnore MediaContainerWithDecisionMediaContainerMetadataMediaPartStreamDecision = "ignore" MediaContainerWithDecisionMediaContainerMetadataMediaPartStreamDecisionNone MediaContainerWithDecisionMediaContainerMetadataMediaPartStreamDecision = "none" MediaContainerWithDecisionMediaContainerMetadataMediaPartStreamDecisionTranscode MediaContainerWithDecisionMediaContainerMetadataMediaPartStreamDecision = "transcode" )
Defines values for MediaContainerWithDecisionMediaContainerMetadataMediaPartStreamDecision.
type MediaContainerWithDecisionMediaContainerMetadataMediaPartStreamLocation ¶
type MediaContainerWithDecisionMediaContainerMetadataMediaPartStreamLocation string
MediaContainerWithDecisionMediaContainerMetadataMediaPartStreamLocation defines model for MediaContainerWithDecision.MediaContainer.Metadata.Media.Part.Stream.Location.
const ( MediaContainerWithDecisionMediaContainerMetadataMediaPartStreamLocationDirect MediaContainerWithDecisionMediaContainerMetadataMediaPartStreamLocation = "direct" MediaContainerWithDecisionMediaContainerMetadataMediaPartStreamLocationEmbedded MediaContainerWithDecisionMediaContainerMetadataMediaPartStreamLocation = "embedded" MediaContainerWithDecisionMediaContainerMetadataMediaPartStreamLocationSegmentsAudio MediaContainerWithDecisionMediaContainerMetadataMediaPartStreamLocation = "segments-audio" MediaContainerWithDecisionMediaContainerMetadataMediaPartStreamLocationSegmentsAv MediaContainerWithDecisionMediaContainerMetadataMediaPartStreamLocation = "segments-av" MediaContainerWithDecisionMediaContainerMetadataMediaPartStreamLocationSegmentsSubs MediaContainerWithDecisionMediaContainerMetadataMediaPartStreamLocation = "segments-subs" MediaContainerWithDecisionMediaContainerMetadataMediaPartStreamLocationSegmentsVideo MediaContainerWithDecisionMediaContainerMetadataMediaPartStreamLocation = "segments-video" MediaContainerWithDecisionMediaContainerMetadataMediaPartStreamLocationSidecar MediaContainerWithDecisionMediaContainerMetadataMediaPartStreamLocation = "sidecar" MediaContainerWithDecisionMediaContainerMetadataMediaPartStreamLocationSidecarSubs MediaContainerWithDecisionMediaContainerMetadataMediaPartStreamLocation = "sidecar-subs" )
Defines values for MediaContainerWithDecisionMediaContainerMetadataMediaPartStreamLocation.
type MediaContainerWithDecision_MediaContainer ¶
type MediaContainerWithDecision_MediaContainer struct {
Metadata []MediaContainerWithDecision_MediaContainer_Metadata_Item `json:"Metadata,omitempty,omitzero"`
// AvailableBandwidth The maximum available bitrate when the decision was rendered.
AvailableBandwidth int `json:"availableBandwidth,omitempty,omitzero"`
DirectPlayDecisionCode int `json:"directPlayDecisionCode,omitempty,omitzero"`
DirectPlayDecisionText string `json:"directPlayDecisionText,omitempty,omitzero"`
// GeneralDecisionCode The overall decision. 1xxx are playback can succeed, 2xxx are a general error (such as insufficient bandwidth), 3xxx are errors in direct play, and 4xxx are errors in transcodes. Same codes are used in all.
GeneralDecisionCode int `json:"generalDecisionCode,omitempty,omitzero"`
GeneralDecisionText string `json:"generalDecisionText,omitempty,omitzero"`
Identifier string `json:"identifier,omitempty,omitzero"`
// MdeDecisionCode The code indicating the status of evaluation of playback when client indicates `hasMDE=1`
MdeDecisionCode int `json:"mdeDecisionCode,omitempty,omitzero"`
// MdeDecisionText Descriptive text for the above code
MdeDecisionText string `json:"mdeDecisionText,omitempty,omitzero"`
// Offset The offset of where this container page starts among the total objects available. Also provided in the X-Plex-Container-Start header
Offset int `json:"offset,omitempty,omitzero"`
Size int `json:"size,omitempty,omitzero"`
// TotalSize The total size of objects available. Also provided in the X-Plex-Container-Total-Size header
TotalSize int `json:"totalSize,omitempty,omitzero"`
TranscodeDecisionCode int `json:"transcodeDecisionCode,omitempty,omitzero"`
TranscodeDecisionText string `json:"transcodeDecisionText,omitempty,omitzero"`
AdditionalProperties map[string]interface{} `json:"-"`
}
MediaContainerWithDecision_MediaContainer defines model for MediaContainerWithDecision.MediaContainer.
func (MediaContainerWithDecision_MediaContainer) Get ¶
func (a MediaContainerWithDecision_MediaContainer) Get(fieldName string) (value interface{}, found bool)
Getter for additional properties for MediaContainerWithDecision_MediaContainer. Returns the specified element and whether it was found
func (MediaContainerWithDecision_MediaContainer) MarshalJSON ¶
func (a MediaContainerWithDecision_MediaContainer) MarshalJSON() ([]byte, error)
Override default JSON handling for MediaContainerWithDecision_MediaContainer to handle AdditionalProperties
func (*MediaContainerWithDecision_MediaContainer) Set ¶
func (a *MediaContainerWithDecision_MediaContainer) Set(fieldName string, value interface{})
Setter for additional properties for MediaContainerWithDecision_MediaContainer
func (*MediaContainerWithDecision_MediaContainer) UnmarshalJSON ¶
func (a *MediaContainerWithDecision_MediaContainer) UnmarshalJSON(b []byte) error
Override default JSON handling for MediaContainerWithDecision_MediaContainer to handle AdditionalProperties
type MediaContainerWithDecision_MediaContainer_Metadata_Item ¶
type MediaContainerWithDecision_MediaContainer_Metadata_Item struct {
Autotag []Tag `json:"Autotag,omitempty,omitzero"`
Country []Tag `json:"Country,omitempty,omitzero"`
Director []Tag `json:"Director,omitempty,omitzero"`
// Filter Typically only seen in metadata at a library's top level
Filter []Filter `json:"Filter,omitempty,omitzero"`
Genre []Tag `json:"Genre,omitempty,omitzero"`
GUID []GUID `json:"Guid,omitempty,omitzero"`
Image []Image `json:"Image,omitempty,omitzero"`
Media []MediaContainerWithDecision_MediaContainer_Metadata_Media_Item `json:"Media,omitempty,omitzero"`
Ratings []Tag `json:"Rating,omitempty,omitzero"`
Role []Tag `json:"Role,omitempty,omitzero"`
// Sort Typically only seen in metadata at a library's top level
Sort []Sort `json:"Sort,omitempty,omitzero"`
Writer []Tag `json:"Writer,omitempty,omitzero"`
// AbsoluteIndex When present, contains the disc number for a track on multi-disc albums.
AbsoluteIndex int `json:"absoluteIndex,omitempty,omitzero"`
// AddedAt In units of seconds since the epoch, returns the time at which the item was added to the library.
AddedAt int `json:"addedAt,omitempty,omitzero"`
// Art When present, the URL for the background artwork for the item.
Art interface{} `json:"art,omitempty,omitzero"`
// AudienceRating Some rating systems separate reviewer ratings from audience ratings
AudienceRating float32 `json:"audienceRating,omitempty,omitzero"`
// AudienceRatingImage A URI representing the image to be shown with the audience rating (e.g. rottentomatoes://image.rating.spilled).
AudienceRatingImage interface{} `json:"audienceRatingImage,omitempty,omitzero"`
// Banner When present, the URL for a banner graphic for the item.
Banner interface{} `json:"banner,omitempty,omitzero"`
// ChapterSource When present, indicates the source for the chapters in the media file. Can be media (the chapters were embedded in the media itself), agent (a metadata agent computed them), or mixed (a combination of the two).
ChapterSource interface{} `json:"chapterSource,omitempty,omitzero"`
// ChildCount The number of direct children, e.g. seasons of a show or items in a collection.
ChildCount int `json:"childCount,omitempty,omitzero"`
// Composite When present, the URL for a composite image for descendent items (e.g. photo albums or playlists).
Composite interface{} `json:"composite,omitempty,omitzero"`
// ContentRating If known, the content rating (e.g. MPAA) for an item.
ContentRating interface{} `json:"contentRating,omitempty,omitzero"`
// Duration When present, the duration for the item, in units of milliseconds.
Duration int `json:"duration,omitempty,omitzero"`
// GrandparentArt The `art` of the grandparent
GrandparentArt string `json:"grandparentArt,omitempty,omitzero"`
// GrandparentHero The `hero` of the grandparent
GrandparentHero string `json:"grandparentHero,omitempty,omitzero"`
// GrandparentKey The `key` of the grandparent
GrandparentKey string `json:"grandparentKey,omitempty,omitzero"`
// GrandparentRatingKey The `ratingKey` of the grandparent
GrandparentRatingKey string `json:"grandparentRatingKey,omitempty,omitzero"`
// GrandparentTheme The `theme` of the grandparent
GrandparentTheme string `json:"grandparentTheme,omitempty,omitzero"`
// GrandparentThumb The `thumb` of the grandparent
GrandparentThumb string `json:"grandparentThumb,omitempty,omitzero"`
// GrandparentTitle The `title` of the grandparent
GrandparentTitle string `json:"grandparentTitle,omitempty,omitzero"`
// PlexGUID The Plex GUID of the item itself, e.g. "plex://movie/5d7769a023d5a3001f4fa465".
PlexGUID string `json:"guid,omitempty,omitzero"`
// Hero When present, the URL for a hero image for the item.
Hero interface{} `json:"hero,omitempty,omitzero"`
// Index When present, this represents the episode number for episodes, season number for seasons, or track number for audio tracks.
Index int `json:"index,omitempty,omitzero"`
// Key The key at which the item's details can be fetched. In many cases a metadata item may be passed without all the details (such as in a hub) and this key corresponds to the endpoint to fetch additional details.
Key interface{} `json:"key,omitempty,omitzero"`
// LastViewedAt When a user has watched or listened to an item, this contains a timestamp (epoch seconds) for that last consumption time.
LastViewedAt int `json:"lastViewedAt,omitempty,omitzero"`
// LeafCount For shows and seasons, contains the number of total episodes.
LeafCount int `json:"leafCount,omitempty,omitzero"`
// OriginalTitle When present, used to indicate an item's original title, e.g. a movie's foreign title.
OriginalTitle interface{} `json:"originalTitle,omitempty,omitzero"`
// OriginallyAvailableAt When present, in the format YYYY-MM-DD [HH:MM:SS] (the hours/minutes/seconds part is not always present). The air date, or a higher resolution release date for an item, depending on type. For example, episodes usually have air date like 1979-08-10 (we don't use epoch seconds because media existed prior to 1970). In some cases, recorded over-the-air content has higher resolution air date which includes a time component. Albums and movies may have day-resolution release dates as well.
OriginallyAvailableAt interface{} `json:"originallyAvailableAt,omitempty,omitzero"`
// ParentHero The `hero` of the parent
ParentHero string `json:"parentHero,omitempty,omitzero"`
// ParentIndex The `index` of the parent
ParentIndex int `json:"parentIndex,omitempty,omitzero"`
// ParentKey The `key` of the parent
ParentKey string `json:"parentKey,omitempty,omitzero"`
// ParentRatingKey The `ratingKey` of the parent
ParentRatingKey string `json:"parentRatingKey,omitempty,omitzero"`
// ParentThumb The `thumb` of the parent
ParentThumb string `json:"parentThumb,omitempty,omitzero"`
// ParentTitle The `title` of the parent
ParentTitle string `json:"parentTitle,omitempty,omitzero"`
// PrimaryExtraKey Indicates that the item has a primary extra; for a movie, this is a trailer, and for a music track it is a music video. The URL points to the metadata details endpoint for the item.
PrimaryExtraKey interface{} `json:"primaryExtraKey,omitempty,omitzero"`
// Prompt Prompt to give the user for this directory (such as `Search Movies`)
Prompt string `json:"prompt,omitempty,omitzero"`
// Rating When present, the rating for the item. The exact meaning and representation depends on where the rating was sourced from.
Rating float32 `json:"rating,omitempty,omitzero"`
// RatingCount Number of ratings under this metadata
RatingCount int `json:"ratingCount,omitempty,omitzero"`
// RatingImage When present, indicates an image to be shown with the rating. This is passed back as a small set of defined URI values, e.g. rottentomatoes://image.rating.rotten.
RatingImage interface{} `json:"ratingImage,omitempty,omitzero"`
// RatingKey This is the opaque string to be passed into timeline, scrobble, and rating endpoints to identify them. While it often appears to be numeric, this is not guaranteed.
RatingKey interface{} `json:"ratingKey,omitempty,omitzero"`
// Search Indicates this is a search directory
Search bool `json:"search,omitempty,omitzero"`
// Secondary Used by old clients to provide nested menus allowing for primative (but structured) navigation.
Secondary bool `json:"secondary,omitempty,omitzero"`
// SkipChildren When found on a show item, indicates that the children (seasons) should be skipped in favor of the grandchildren (episodes). Useful for mini-series, etc.
SkipChildren bool `json:"skipChildren,omitempty,omitzero"`
// SkipParent When present on an episode or track item, indicates parent should be skipped in favor of grandparent (show).
SkipParent bool `json:"skipParent,omitempty,omitzero"`
// Studio When present, the studio or label which produced an item (e.g. movie studio for movies, record label for albums).
Studio interface{} `json:"studio,omitempty,omitzero"`
// Subtype The subtype of the video item, such as `photo` when the video item is in a photo library
Subtype interface{} `json:"subtype,omitempty,omitzero"`
// Summary When present, the extended textual information about the item (e.g. movie plot, artist biography, album review).
Summary interface{} `json:"summary,omitempty,omitzero"`
// Tagline When present, a pithy one-liner about the item (usually only seen for movies).
Tagline interface{} `json:"tagline,omitempty,omitzero"`
// Theme When present, the URL for theme music for the item (usually only for TV shows).
Theme interface{} `json:"theme,omitempty,omitzero"`
// Thumb When present, the URL for the poster or thumbnail for the item. When available for types like movie, it will be the poster graphic, but fall-back to the extracted media thumbnail.
Thumb interface{} `json:"thumb,omitempty,omitzero"`
// Title The title of the item (e.g. “300” or “The Simpsons”)
Title interface{} `json:"title,omitempty,omitzero"`
// TitleSort Whene present, this is the string used for sorting the item. It's usually the title with any leading articles removed (e.g. “Simpsons”).
TitleSort interface{} `json:"titleSort,omitempty,omitzero"`
// Type The type of the video item, such as `movie`, `episode`, or `clip`.
Type interface{} `json:"type,omitempty,omitzero"`
// UpdatedAt In units of seconds since the epoch, returns the time at which the item was last changed (e.g. had its metadata updated).
UpdatedAt int `json:"updatedAt,omitempty,omitzero"`
// UserRating When the user has rated an item, this contains the user rating
UserRating float32 `json:"userRating,omitempty,omitzero"`
// ViewCount When a users has completed watched or listened to an item, this attribute contains the number of consumptions.
ViewCount int `json:"viewCount,omitempty,omitzero"`
// ViewOffset When a user is in the process of viewing or listening to this item, this attribute contains the current offset, in units of milliseconds.
ViewOffset int `json:"viewOffset,omitempty,omitzero"`
// ViewedLeafCount For shows and seasons, contains the number of viewed episodes.
ViewedLeafCount int `json:"viewedLeafCount,omitempty,omitzero"`
// Year When present, the year associated with the item's release (e.g. release year for a movie).
Year int `json:"year,omitempty,omitzero"`
AdditionalProperties map[string]interface{} `json:"-"`
}
MediaContainerWithDecision_MediaContainer_Metadata_Item defines model for MediaContainerWithDecision.MediaContainer.Metadata.Item.
func (MediaContainerWithDecision_MediaContainer_Metadata_Item) Get ¶
func (a MediaContainerWithDecision_MediaContainer_Metadata_Item) Get(fieldName string) (value interface{}, found bool)
Getter for additional properties for MediaContainerWithDecision_MediaContainer_Metadata_Item. Returns the specified element and whether it was found
func (MediaContainerWithDecision_MediaContainer_Metadata_Item) MarshalJSON ¶
func (a MediaContainerWithDecision_MediaContainer_Metadata_Item) MarshalJSON() ([]byte, error)
Override default JSON handling for MediaContainerWithDecision_MediaContainer_Metadata_Item to handle AdditionalProperties
func (*MediaContainerWithDecision_MediaContainer_Metadata_Item) Set ¶
func (a *MediaContainerWithDecision_MediaContainer_Metadata_Item) Set(fieldName string, value interface{})
Setter for additional properties for MediaContainerWithDecision_MediaContainer_Metadata_Item
func (*MediaContainerWithDecision_MediaContainer_Metadata_Item) UnmarshalJSON ¶
func (a *MediaContainerWithDecision_MediaContainer_Metadata_Item) UnmarshalJSON(b []byte) error
Override default JSON handling for MediaContainerWithDecision_MediaContainer_Metadata_Item to handle AdditionalProperties
type MediaContainerWithDecision_MediaContainer_Metadata_Media_Item ¶
type MediaContainerWithDecision_MediaContainer_Metadata_Media_Item struct {
Part []MediaContainerWithDecision_MediaContainer_Metadata_Media_Part_Item `json:"Part,omitempty,omitzero"`
Abr bool `json:"abr,omitempty,omitzero"`
AspectRatio float32 `json:"aspectRatio,omitempty,omitzero"`
AudioChannels int `json:"audioChannels,omitempty,omitzero"`
AudioCodec interface{} `json:"audioCodec,omitempty,omitzero"`
AudioProfile interface{} `json:"audioProfile,omitempty,omitzero"`
Bitrate int `json:"bitrate,omitempty,omitzero"`
Container interface{} `json:"container,omitempty,omitzero"`
Duration int `json:"duration,omitempty,omitzero"`
Has64BitOffsets bool `json:"has64bitOffsets,omitempty,omitzero"`
HasVoiceActivity bool `json:"hasVoiceActivity,omitempty,omitzero"`
Height int `json:"height,omitempty,omitzero"`
ID int `json:"id,omitempty,omitzero"`
OptimizedForStreaming Bool `json:"optimizedForStreaming,omitempty,omitzero"`
ResourceSession string `json:"resourceSession,omitempty,omitzero"`
Selected bool `json:"selected,omitempty,omitzero"`
VideoCodec interface{} `json:"videoCodec,omitempty,omitzero"`
VideoFrameRate interface{} `json:"videoFrameRate,omitempty,omitzero"`
VideoProfile interface{} `json:"videoProfile,omitempty,omitzero"`
VideoResolution interface{} `json:"videoResolution,omitempty,omitzero"`
Width int `json:"width,omitempty,omitzero"`
AdditionalProperties map[string]interface{} `json:"-"`
}
MediaContainerWithDecision_MediaContainer_Metadata_Media_Item defines model for mediaContainerWithDecision.MediaContainer.Metadata.Media.Item.
func (MediaContainerWithDecision_MediaContainer_Metadata_Media_Item) Get ¶
func (a MediaContainerWithDecision_MediaContainer_Metadata_Media_Item) Get(fieldName string) (value interface{}, found bool)
Getter for additional properties for MediaContainerWithDecision_MediaContainer_Metadata_Media_Item. Returns the specified element and whether it was found
func (MediaContainerWithDecision_MediaContainer_Metadata_Media_Item) MarshalJSON ¶
func (a MediaContainerWithDecision_MediaContainer_Metadata_Media_Item) MarshalJSON() ([]byte, error)
Override default JSON handling for MediaContainerWithDecision_MediaContainer_Metadata_Media_Item to handle AdditionalProperties
func (*MediaContainerWithDecision_MediaContainer_Metadata_Media_Item) Set ¶
func (a *MediaContainerWithDecision_MediaContainer_Metadata_Media_Item) Set(fieldName string, value interface{})
Setter for additional properties for MediaContainerWithDecision_MediaContainer_Metadata_Media_Item
func (*MediaContainerWithDecision_MediaContainer_Metadata_Media_Item) UnmarshalJSON ¶
func (a *MediaContainerWithDecision_MediaContainer_Metadata_Media_Item) UnmarshalJSON(b []byte) error
Override default JSON handling for MediaContainerWithDecision_MediaContainer_Metadata_Media_Item to handle AdditionalProperties
type MediaContainerWithDecision_MediaContainer_Metadata_Media_Part_Item ¶
type MediaContainerWithDecision_MediaContainer_Metadata_Media_Part_Item struct {
Stream []MediaContainerWithDecision_MediaContainer_Metadata_Media_Part_Stream_Item `json:"Stream,omitempty,omitzero"`
AudioProfile interface{} `json:"audioProfile,omitempty,omitzero"`
// Container The container of the media file, such as `mp4` or `mkv`
Container interface{} `json:"container,omitempty,omitzero"`
Decision MediaContainerWithDecisionMediaContainerMetadataMediaPartDecision `json:"decision,omitempty,omitzero"`
// Duration The duration of the media item, in milliseconds
Duration int `json:"duration,omitempty,omitzero"`
// File The local file path at which the part is stored on the server
File interface{} `json:"file,omitempty,omitzero"`
Has64BitOffsets bool `json:"has64bitOffsets,omitempty,omitzero"`
ID int `json:"id,omitempty,omitzero"`
// Key The key from which the media can be streamed
Key interface{} `json:"key,omitempty,omitzero"`
OptimizedForStreaming bool `json:"optimizedForStreaming,omitempty,omitzero"`
Selected bool `json:"selected,omitempty,omitzero"`
// Size The size of the media, in bytes
Size int `json:"size,omitempty,omitzero"`
VideoProfile interface{} `json:"videoProfile,omitempty,omitzero"`
AdditionalProperties map[string]interface{} `json:"-"`
}
MediaContainerWithDecision_MediaContainer_Metadata_Media_Part_Item defines model for MediaContainerWithDecision.MediaContainer.Metadata.Media.Part.Item.
func (MediaContainerWithDecision_MediaContainer_Metadata_Media_Part_Item) Get ¶
func (a MediaContainerWithDecision_MediaContainer_Metadata_Media_Part_Item) Get(fieldName string) (value interface{}, found bool)
Getter for additional properties for MediaContainerWithDecision_MediaContainer_Metadata_Media_Part_Item. Returns the specified element and whether it was found
func (MediaContainerWithDecision_MediaContainer_Metadata_Media_Part_Item) MarshalJSON ¶
func (a MediaContainerWithDecision_MediaContainer_Metadata_Media_Part_Item) MarshalJSON() ([]byte, error)
Override default JSON handling for MediaContainerWithDecision_MediaContainer_Metadata_Media_Part_Item to handle AdditionalProperties
func (*MediaContainerWithDecision_MediaContainer_Metadata_Media_Part_Item) Set ¶
func (a *MediaContainerWithDecision_MediaContainer_Metadata_Media_Part_Item) Set(fieldName string, value interface{})
Setter for additional properties for MediaContainerWithDecision_MediaContainer_Metadata_Media_Part_Item
func (*MediaContainerWithDecision_MediaContainer_Metadata_Media_Part_Item) UnmarshalJSON ¶
func (a *MediaContainerWithDecision_MediaContainer_Metadata_Media_Part_Item) UnmarshalJSON(b []byte) error
Override default JSON handling for MediaContainerWithDecision_MediaContainer_Metadata_Media_Part_Item to handle AdditionalProperties
type MediaContainerWithDecision_MediaContainer_Metadata_Media_Part_Stream_Item ¶
type MediaContainerWithDecision_MediaContainer_Metadata_Media_Part_Stream_Item struct {
AudioChannelLayout interface{} `json:"audioChannelLayout,omitempty,omitzero"`
BitDepth int `json:"bitDepth,omitempty,omitzero"`
Bitrate int `json:"bitrate,omitempty,omitzero"`
// CanAutoSync For subtitle streams only. If `true` then the server can attempt to automatically sync the subtitle timestamps with the video.
CanAutoSync bool `json:"canAutoSync,omitempty,omitzero"`
// CanNormalizeLoudness For audio streams only. If `true` then the server can attempt to normalize the loudness levels.
CanNormalizeLoudness bool `json:"canNormalizeLoudness,omitempty,omitzero"`
ChromaLocation interface{} `json:"chromaLocation,omitempty,omitzero"`
ChromaSubsampling interface{} `json:"chromaSubsampling,omitempty,omitzero"`
// Codec The codec of the stream, such as `h264` or `aac`
Codec interface{} `json:"codec,omitempty,omitzero"`
ColorPrimaries interface{} `json:"colorPrimaries,omitempty,omitzero"`
ColorRange interface{} `json:"colorRange,omitempty,omitzero"`
ColorSpace interface{} `json:"colorSpace,omitempty,omitzero"`
ColorTrc interface{} `json:"colorTrc,omitempty,omitzero"`
Decision MediaContainerWithDecisionMediaContainerMetadataMediaPartStreamDecision `json:"decision,omitempty,omitzero"`
Default bool `json:"default,omitempty,omitzero"`
// DisplayTitle A friendly name for the stream, often comprised of the language and codec information
DisplayTitle interface{} `json:"displayTitle,omitempty,omitzero"`
FrameRate float32 `json:"frameRate,omitempty,omitzero"`
HasScalingMatrix interface{} `json:"hasScalingMatrix,omitempty,omitzero"`
Height int `json:"height,omitempty,omitzero"`
ID int `json:"id,omitempty,omitzero"`
// Index If the stream is part of the `Part` and not an external resource, the index of the stream within that part
Index int `json:"index,omitempty,omitzero"`
// Key If the stream is independently streamable, the key from which it can be streamed
Key interface{} `json:"key,omitempty,omitzero"`
Language interface{} `json:"language,omitempty,omitzero"`
// LanguageCode The three character language code for the stream contents
LanguageCode interface{} `json:"languageCode,omitempty,omitzero"`
Level int `json:"level,omitempty,omitzero"`
Location MediaContainerWithDecisionMediaContainerMetadataMediaPartStreamLocation `json:"location,omitempty,omitzero"`
Profile interface{} `json:"profile,omitempty,omitzero"`
RefFrames int `json:"refFrames,omitempty,omitzero"`
SamplingRate int `json:"samplingRate,omitempty,omitzero"`
Selected bool `json:"selected,omitempty,omitzero"`
StreamIdentifier int `json:"streamIdentifier,omitempty,omitzero"`
// StreamType A number indicating the type of the stream. `1` for video, `2` for audio, `3` for subtitles, `4` for lyrics
StreamType int `json:"streamType,omitempty,omitzero"`
Width int `json:"width,omitempty,omitzero"`
AdditionalProperties map[string]interface{} `json:"-"`
}
MediaContainerWithDecision_MediaContainer_Metadata_Media_Part_Stream_Item defines model for MediaContainerWithDecision.MediaContainer.Metadata.Media.Part.Stream.Item.
func (MediaContainerWithDecision_MediaContainer_Metadata_Media_Part_Stream_Item) Get ¶
func (a MediaContainerWithDecision_MediaContainer_Metadata_Media_Part_Stream_Item) Get(fieldName string) (value interface{}, found bool)
Getter for additional properties for MediaContainerWithDecision_MediaContainer_Metadata_Media_Part_Stream_Item. Returns the specified element and whether it was found
func (MediaContainerWithDecision_MediaContainer_Metadata_Media_Part_Stream_Item) MarshalJSON ¶
func (a MediaContainerWithDecision_MediaContainer_Metadata_Media_Part_Stream_Item) MarshalJSON() ([]byte, error)
Override default JSON handling for MediaContainerWithDecision_MediaContainer_Metadata_Media_Part_Stream_Item to handle AdditionalProperties
func (*MediaContainerWithDecision_MediaContainer_Metadata_Media_Part_Stream_Item) Set ¶
func (a *MediaContainerWithDecision_MediaContainer_Metadata_Media_Part_Stream_Item) Set(fieldName string, value interface{})
Setter for additional properties for MediaContainerWithDecision_MediaContainer_Metadata_Media_Part_Stream_Item
func (*MediaContainerWithDecision_MediaContainer_Metadata_Media_Part_Stream_Item) UnmarshalJSON ¶
func (a *MediaContainerWithDecision_MediaContainer_Metadata_Media_Part_Stream_Item) UnmarshalJSON(b []byte) error
Override default JSON handling for MediaContainerWithDecision_MediaContainer_Metadata_Media_Part_Stream_Item to handle AdditionalProperties
type MediaContainerWithDevice ¶
type MediaContainerWithDevice struct {
MediaContainer struct {
Device []struct {
ChannelMapping []struct {
ChannelKey string `json:"channelKey,omitempty,omitzero"`
DeviceIdentifier string `json:"deviceIdentifier,omitempty,omitzero"`
Enabled string `json:"enabled,omitempty,omitzero"`
LineupIdentifier string `json:"lineupIdentifier,omitempty,omitzero"`
} `json:"ChannelMapping,omitempty,omitzero"`
Key string `json:"key,omitempty,omitzero"`
LastSeenAt int `json:"lastSeenAt,omitempty,omitzero"`
Make string `json:"make,omitempty,omitzero"`
Model string `json:"model,omitempty,omitzero"`
ModelNumber string `json:"modelNumber,omitempty,omitzero"`
Protocol string `json:"protocol,omitempty,omitzero"`
Sources string `json:"sources,omitempty,omitzero"`
State string `json:"state,omitempty,omitzero"`
Status string `json:"status,omitempty,omitzero"`
Tuners string `json:"tuners,omitempty,omitzero"`
URI string `json:"uri,omitempty,omitzero"`
UUID string `json:"uuid,omitempty,omitzero"`
} `json:"Device,omitempty,omitzero"`
Identifier string `json:"identifier,omitempty,omitzero"`
// Offset The offset of where this container page starts among the total objects available. Also provided in the X-Plex-Container-Start header
Offset int `json:"offset,omitempty,omitzero"`
Size int `json:"size,omitempty,omitzero"`
// TotalSize The total size of objects available. Also provided in the X-Plex-Container-Total-Size header
TotalSize int `json:"totalSize,omitempty,omitzero"`
} `json:"MediaContainer,omitempty,omitzero"`
}
MediaContainerWithDevice defines model for mediaContainerWithDevice.
type MediaContainerWithLineup ¶
type MediaContainerWithLineup struct {
MediaContainer struct {
Lineup []struct {
// LineupType - `-1`: N/A
// - `0`: Over the air
// - `1`: Cable
// - `2`: Satellite
// - `3`: IPTV
// - `4`: Virtual
LineupType MediaContainerWithLineupMediaContainerLineupLineupType `json:"lineupType,omitempty,omitzero"`
Location string `json:"location,omitempty,omitzero"`
Title string `json:"title,omitempty,omitzero"`
// Type The type of this object (`lineup` in this case)
Type string `json:"type,omitempty,omitzero"`
// UUID The uuid of this lineup
UUID string `json:"uuid,omitempty,omitzero"`
} `json:"Lineup,omitempty,omitzero"`
Identifier string `json:"identifier,omitempty,omitzero"`
// Offset The offset of where this container page starts among the total objects available. Also provided in the X-Plex-Container-Start header
Offset int `json:"offset,omitempty,omitzero"`
Size int `json:"size,omitempty,omitzero"`
// TotalSize The total size of objects available. Also provided in the X-Plex-Container-Total-Size header
TotalSize int `json:"totalSize,omitempty,omitzero"`
// UUID The UUID of this set lineups
UUID string `json:"uuid,omitempty,omitzero"`
} `json:"MediaContainer,omitempty,omitzero"`
}
MediaContainerWithLineup defines model for mediaContainerWithLineup.
type MediaContainerWithLineupMediaContainerLineupLineupType ¶
type MediaContainerWithLineupMediaContainerLineupLineupType int
MediaContainerWithLineupMediaContainerLineupLineupType - `-1`: N/A - `0`: Over the air - `1`: Cable - `2`: Satellite - `3`: IPTV - `4`: Virtual
const ( MediaContainerWithLineupMediaContainerLineupLineupTypeMinus1 MediaContainerWithLineupMediaContainerLineupLineupType = -1 MediaContainerWithLineupMediaContainerLineupLineupTypeN0 MediaContainerWithLineupMediaContainerLineupLineupType = 0 MediaContainerWithLineupMediaContainerLineupLineupTypeN1 MediaContainerWithLineupMediaContainerLineupLineupType = 1 MediaContainerWithLineupMediaContainerLineupLineupTypeN2 MediaContainerWithLineupMediaContainerLineupLineupType = 2 MediaContainerWithLineupMediaContainerLineupLineupTypeN3 MediaContainerWithLineupMediaContainerLineupLineupType = 3 MediaContainerWithLineupMediaContainerLineupLineupTypeN4 MediaContainerWithLineupMediaContainerLineupLineupType = 4 )
Defines values for MediaContainerWithLineupMediaContainerLineupLineupType.
func (MediaContainerWithLineupMediaContainerLineupLineupType) Valid ¶
func (e MediaContainerWithLineupMediaContainerLineupLineupType) Valid() bool
Valid indicates whether the value is a known member of the MediaContainerWithLineupMediaContainerLineupLineupType enum.
type MediaContainerWithMetadata ¶
type MediaContainerWithMetadata struct {
MediaContainer MediaContainerWithMetadata_MediaContainer `json:"MediaContainer,omitempty,omitzero"`
}
MediaContainerWithMetadata `MediaContainer` is commonly found as the root of a response and is a pretty generic container. Common attributes include `identifier` and things related to paging (`offset`, `size`, `totalSize`).
It is also common for a `MediaContainer` to contain attributes "hoisted" from its children. If every element in the container would have had the same attribute, then that attribute can be present on the container instead of being repeated on every element. For example, an album's list of tracks might include `parentTitle` on the container since all of the tracks have the same album title. A container may have a `source` attribute when all of the items came from the same source. Generally speaking, when looking for an attribute on an item, if the attribute wasn't found then the container should be checked for that attribute as well.
type MediaContainerWithMetadata_MediaContainer ¶
type MediaContainerWithMetadata_MediaContainer struct {
Metadata []Metadata `json:"Metadata,omitempty,omitzero"`
Identifier string `json:"identifier,omitempty,omitzero"`
// Offset The offset of where this container page starts among the total objects available. Also provided in the X-Plex-Container-Start header
Offset int `json:"offset,omitempty,omitzero"`
Size int `json:"size,omitempty,omitzero"`
// TotalSize The total size of objects available. Also provided in the X-Plex-Container-Total-Size header
TotalSize int `json:"totalSize,omitempty,omitzero"`
AdditionalProperties map[string]interface{} `json:"-"`
}
MediaContainerWithMetadata_MediaContainer defines model for MediaContainerWithMetadata.MediaContainer.
func (MediaContainerWithMetadata_MediaContainer) Get ¶
func (a MediaContainerWithMetadata_MediaContainer) Get(fieldName string) (value interface{}, found bool)
Getter for additional properties for MediaContainerWithMetadata_MediaContainer. Returns the specified element and whether it was found
func (MediaContainerWithMetadata_MediaContainer) MarshalJSON ¶
func (a MediaContainerWithMetadata_MediaContainer) MarshalJSON() ([]byte, error)
Override default JSON handling for MediaContainerWithMetadata_MediaContainer to handle AdditionalProperties
func (*MediaContainerWithMetadata_MediaContainer) Set ¶
func (a *MediaContainerWithMetadata_MediaContainer) Set(fieldName string, value interface{})
Setter for additional properties for MediaContainerWithMetadata_MediaContainer
func (*MediaContainerWithMetadata_MediaContainer) UnmarshalJSON ¶
func (a *MediaContainerWithMetadata_MediaContainer) UnmarshalJSON(b []byte) error
Override default JSON handling for MediaContainerWithMetadata_MediaContainer to handle AdditionalProperties
type MediaContainerWithNestedMetadata ¶
type MediaContainerWithNestedMetadata struct {
MediaContainer struct {
MetadataItem []MediaContainerWithNestedMetadata_MediaContainer_MetadataItem_Item `json:"MetadataItem,omitempty,omitzero"`
Identifier string `json:"identifier,omitempty,omitzero"`
// Offset The offset of where this container page starts among the total objects available. Also provided in the X-Plex-Container-Start header
Offset int `json:"offset,omitempty,omitzero"`
Size int `json:"size,omitempty,omitzero"`
// TotalSize The total size of objects available. Also provided in the X-Plex-Container-Total-Size header
TotalSize int `json:"totalSize,omitempty,omitzero"`
} `json:"MediaContainer,omitempty,omitzero"`
}
MediaContainerWithNestedMetadata defines model for mediaContainerWithNestedMetadata.
type MediaContainerWithNestedMetadata_MediaContainer_MetadataItem_Item ¶
type MediaContainerWithNestedMetadata_MediaContainer_MetadataItem_Item struct {
Autotag []Tag `json:"Autotag,omitempty,omitzero"`
Country []Tag `json:"Country,omitempty,omitzero"`
Director []Tag `json:"Director,omitempty,omitzero"`
// Filter Typically only seen in metadata at a library's top level
Filter []Filter `json:"Filter,omitempty,omitzero"`
Genre []Tag `json:"Genre,omitempty,omitzero"`
GUID []GUID `json:"Guid,omitempty,omitzero"`
Image []Image `json:"Image,omitempty,omitzero"`
Media []Media `json:"Media,omitempty,omitzero"`
MetadataItem []Items `json:"MetadataItem,omitempty,omitzero"`
Ratings []Tag `json:"Rating,omitempty,omitzero"`
Role []Tag `json:"Role,omitempty,omitzero"`
// Sort Typically only seen in metadata at a library's top level
Sort []Sort `json:"Sort,omitempty,omitzero"`
Writer []Tag `json:"Writer,omitempty,omitzero"`
// AbsoluteIndex When present, contains the disc number for a track on multi-disc albums.
AbsoluteIndex int `json:"absoluteIndex,omitempty,omitzero"`
// AddedAt In units of seconds since the epoch, returns the time at which the item was added to the library.
AddedAt int `json:"addedAt,omitempty,omitzero"`
// Art When present, the URL for the background artwork for the item.
Art interface{} `json:"art,omitempty,omitzero"`
// AudienceRating Some rating systems separate reviewer ratings from audience ratings
AudienceRating float32 `json:"audienceRating,omitempty,omitzero"`
// AudienceRatingImage A URI representing the image to be shown with the audience rating (e.g. rottentomatoes://image.rating.spilled).
AudienceRatingImage interface{} `json:"audienceRatingImage,omitempty,omitzero"`
// Banner When present, the URL for a banner graphic for the item.
Banner interface{} `json:"banner,omitempty,omitzero"`
// ChapterSource When present, indicates the source for the chapters in the media file. Can be media (the chapters were embedded in the media itself), agent (a metadata agent computed them), or mixed (a combination of the two).
ChapterSource interface{} `json:"chapterSource,omitempty,omitzero"`
// ChildCount The number of direct children, e.g. seasons of a show or items in a collection.
ChildCount int `json:"childCount,omitempty,omitzero"`
// Composite When present, the URL for a composite image for descendent items (e.g. photo albums or playlists).
Composite interface{} `json:"composite,omitempty,omitzero"`
// ContentRating If known, the content rating (e.g. MPAA) for an item.
ContentRating interface{} `json:"contentRating,omitempty,omitzero"`
// Duration When present, the duration for the item, in units of milliseconds.
Duration int `json:"duration,omitempty,omitzero"`
// GrandparentArt The `art` of the grandparent
GrandparentArt string `json:"grandparentArt,omitempty,omitzero"`
// GrandparentHero The `hero` of the grandparent
GrandparentHero string `json:"grandparentHero,omitempty,omitzero"`
// GrandparentKey The `key` of the grandparent
GrandparentKey string `json:"grandparentKey,omitempty,omitzero"`
// GrandparentRatingKey The `ratingKey` of the grandparent
GrandparentRatingKey string `json:"grandparentRatingKey,omitempty,omitzero"`
// GrandparentTheme The `theme` of the grandparent
GrandparentTheme string `json:"grandparentTheme,omitempty,omitzero"`
// GrandparentThumb The `thumb` of the grandparent
GrandparentThumb string `json:"grandparentThumb,omitempty,omitzero"`
// GrandparentTitle The `title` of the grandparent
GrandparentTitle string `json:"grandparentTitle,omitempty,omitzero"`
// PlexGUID The Plex GUID of the item itself, e.g. "plex://movie/5d7769a023d5a3001f4fa465".
PlexGUID string `json:"guid,omitempty,omitzero"`
// Hero When present, the URL for a hero image for the item.
Hero interface{} `json:"hero,omitempty,omitzero"`
// Index When present, this represents the episode number for episodes, season number for seasons, or track number for audio tracks.
Index int `json:"index,omitempty,omitzero"`
// Key The key at which the item's details can be fetched. In many cases a metadata item may be passed without all the details (such as in a hub) and this key corresponds to the endpoint to fetch additional details.
Key interface{} `json:"key,omitempty,omitzero"`
// LastViewedAt When a user has watched or listened to an item, this contains a timestamp (epoch seconds) for that last consumption time.
LastViewedAt int `json:"lastViewedAt,omitempty,omitzero"`
// LeafCount For shows and seasons, contains the number of total episodes.
LeafCount int `json:"leafCount,omitempty,omitzero"`
// OriginalTitle When present, used to indicate an item's original title, e.g. a movie's foreign title.
OriginalTitle interface{} `json:"originalTitle,omitempty,omitzero"`
// OriginallyAvailableAt When present, in the format YYYY-MM-DD [HH:MM:SS] (the hours/minutes/seconds part is not always present). The air date, or a higher resolution release date for an item, depending on type. For example, episodes usually have air date like 1979-08-10 (we don't use epoch seconds because media existed prior to 1970). In some cases, recorded over-the-air content has higher resolution air date which includes a time component. Albums and movies may have day-resolution release dates as well.
OriginallyAvailableAt interface{} `json:"originallyAvailableAt,omitempty,omitzero"`
// ParentHero The `hero` of the parent
ParentHero string `json:"parentHero,omitempty,omitzero"`
// ParentIndex The `index` of the parent
ParentIndex int `json:"parentIndex,omitempty,omitzero"`
// ParentKey The `key` of the parent
ParentKey string `json:"parentKey,omitempty,omitzero"`
// ParentRatingKey The `ratingKey` of the parent
ParentRatingKey string `json:"parentRatingKey,omitempty,omitzero"`
// ParentThumb The `thumb` of the parent
ParentThumb string `json:"parentThumb,omitempty,omitzero"`
// ParentTitle The `title` of the parent
ParentTitle string `json:"parentTitle,omitempty,omitzero"`
// PrimaryExtraKey Indicates that the item has a primary extra; for a movie, this is a trailer, and for a music track it is a music video. The URL points to the metadata details endpoint for the item.
PrimaryExtraKey interface{} `json:"primaryExtraKey,omitempty,omitzero"`
// Prompt Prompt to give the user for this directory (such as `Search Movies`)
Prompt string `json:"prompt,omitempty,omitzero"`
// Rating When present, the rating for the item. The exact meaning and representation depends on where the rating was sourced from.
Rating float32 `json:"rating,omitempty,omitzero"`
// RatingCount Number of ratings under this metadata
RatingCount int `json:"ratingCount,omitempty,omitzero"`
// RatingImage When present, indicates an image to be shown with the rating. This is passed back as a small set of defined URI values, e.g. rottentomatoes://image.rating.rotten.
RatingImage interface{} `json:"ratingImage,omitempty,omitzero"`
// RatingKey This is the opaque string to be passed into timeline, scrobble, and rating endpoints to identify them. While it often appears to be numeric, this is not guaranteed.
RatingKey interface{} `json:"ratingKey,omitempty,omitzero"`
// Search Indicates this is a search directory
Search bool `json:"search,omitempty,omitzero"`
// Secondary Used by old clients to provide nested menus allowing for primative (but structured) navigation.
Secondary bool `json:"secondary,omitempty,omitzero"`
// SkipChildren When found on a show item, indicates that the children (seasons) should be skipped in favor of the grandchildren (episodes). Useful for mini-series, etc.
SkipChildren bool `json:"skipChildren,omitempty,omitzero"`
// SkipParent When present on an episode or track item, indicates parent should be skipped in favor of grandparent (show).
SkipParent bool `json:"skipParent,omitempty,omitzero"`
// Studio When present, the studio or label which produced an item (e.g. movie studio for movies, record label for albums).
Studio interface{} `json:"studio,omitempty,omitzero"`
// Subtype The subtype of the video item, such as `photo` when the video item is in a photo library
Subtype interface{} `json:"subtype,omitempty,omitzero"`
// Summary When present, the extended textual information about the item (e.g. movie plot, artist biography, album review).
Summary interface{} `json:"summary,omitempty,omitzero"`
// Tagline When present, a pithy one-liner about the item (usually only seen for movies).
Tagline interface{} `json:"tagline,omitempty,omitzero"`
// Theme When present, the URL for theme music for the item (usually only for TV shows).
Theme interface{} `json:"theme,omitempty,omitzero"`
// Thumb When present, the URL for the poster or thumbnail for the item. When available for types like movie, it will be the poster graphic, but fall-back to the extracted media thumbnail.
Thumb interface{} `json:"thumb,omitempty,omitzero"`
// Title The title of the item (e.g. “300” or “The Simpsons”)
Title interface{} `json:"title,omitempty,omitzero"`
// TitleSort Whene present, this is the string used for sorting the item. It's usually the title with any leading articles removed (e.g. “Simpsons”).
TitleSort interface{} `json:"titleSort,omitempty,omitzero"`
// Type The type of the video item, such as `movie`, `episode`, or `clip`.
Type interface{} `json:"type,omitempty,omitzero"`
// UpdatedAt In units of seconds since the epoch, returns the time at which the item was last changed (e.g. had its metadata updated).
UpdatedAt int `json:"updatedAt,omitempty,omitzero"`
// UserRating When the user has rated an item, this contains the user rating
UserRating float32 `json:"userRating,omitempty,omitzero"`
// ViewCount When a users has completed watched or listened to an item, this attribute contains the number of consumptions.
ViewCount int `json:"viewCount,omitempty,omitzero"`
// ViewOffset When a user is in the process of viewing or listening to this item, this attribute contains the current offset, in units of milliseconds.
ViewOffset int `json:"viewOffset,omitempty,omitzero"`
// ViewedLeafCount For shows and seasons, contains the number of viewed episodes.
ViewedLeafCount int `json:"viewedLeafCount,omitempty,omitzero"`
// Year When present, the year associated with the item's release (e.g. release year for a movie).
Year int `json:"year,omitempty,omitzero"`
AdditionalProperties map[string]interface{} `json:"-"`
}
MediaContainerWithNestedMetadata_MediaContainer_MetadataItem_Item defines model for MediaContainerWithNestedMetadata.MediaContainer.MetadataItem.Item.
func (MediaContainerWithNestedMetadata_MediaContainer_MetadataItem_Item) Get ¶
func (a MediaContainerWithNestedMetadata_MediaContainer_MetadataItem_Item) Get(fieldName string) (value interface{}, found bool)
Getter for additional properties for MediaContainerWithNestedMetadata_MediaContainer_MetadataItem_Item. Returns the specified element and whether it was found
func (MediaContainerWithNestedMetadata_MediaContainer_MetadataItem_Item) MarshalJSON ¶
func (a MediaContainerWithNestedMetadata_MediaContainer_MetadataItem_Item) MarshalJSON() ([]byte, error)
Override default JSON handling for MediaContainerWithNestedMetadata_MediaContainer_MetadataItem_Item to handle AdditionalProperties
func (*MediaContainerWithNestedMetadata_MediaContainer_MetadataItem_Item) Set ¶
func (a *MediaContainerWithNestedMetadata_MediaContainer_MetadataItem_Item) Set(fieldName string, value interface{})
Setter for additional properties for MediaContainerWithNestedMetadata_MediaContainer_MetadataItem_Item
func (*MediaContainerWithNestedMetadata_MediaContainer_MetadataItem_Item) UnmarshalJSON ¶
func (a *MediaContainerWithNestedMetadata_MediaContainer_MetadataItem_Item) UnmarshalJSON(b []byte) error
Override default JSON handling for MediaContainerWithNestedMetadata_MediaContainer_MetadataItem_Item to handle AdditionalProperties
type MediaContainerWithPlaylistMetadata ¶
type MediaContainerWithPlaylistMetadata struct {
MediaContainer MediaContainerWithPlaylistMetadata_MediaContainer `json:"MediaContainer,omitempty,omitzero"`
}
MediaContainerWithPlaylistMetadata defines model for mediaContainerWithPlaylistMetadata.
type MediaContainerWithPlaylistMetadataMediaContainerMetadataPlaylistType ¶
type MediaContainerWithPlaylistMetadataMediaContainerMetadataPlaylistType string
MediaContainerWithPlaylistMetadataMediaContainerMetadataPlaylistType The type of the playlist.
const ( MediaContainerWithPlaylistMetadataMediaContainerMetadataPlaylistTypeAudio MediaContainerWithPlaylistMetadataMediaContainerMetadataPlaylistType = "audio" MediaContainerWithPlaylistMetadataMediaContainerMetadataPlaylistTypePhoto MediaContainerWithPlaylistMetadataMediaContainerMetadataPlaylistType = "photo" MediaContainerWithPlaylistMetadataMediaContainerMetadataPlaylistTypeVideo MediaContainerWithPlaylistMetadataMediaContainerMetadataPlaylistType = "video" )
Defines values for MediaContainerWithPlaylistMetadataMediaContainerMetadataPlaylistType.
func (MediaContainerWithPlaylistMetadataMediaContainerMetadataPlaylistType) Valid ¶
func (e MediaContainerWithPlaylistMetadataMediaContainerMetadataPlaylistType) Valid() bool
Valid indicates whether the value is a known member of the MediaContainerWithPlaylistMetadataMediaContainerMetadataPlaylistType enum.
type MediaContainerWithPlaylistMetadata_MediaContainer ¶
type MediaContainerWithPlaylistMetadata_MediaContainer struct {
Metadata []MediaContainerWithPlaylistMetadata_MediaContainer_Metadata_Item `json:"Metadata,omitempty,omitzero"`
Identifier string `json:"identifier,omitempty,omitzero"`
// Offset The offset of where this container page starts among the total objects available. Also provided in the X-Plex-Container-Start header
Offset int `json:"offset,omitempty,omitzero"`
Size int `json:"size,omitempty,omitzero"`
// TotalSize The total size of objects available. Also provided in the X-Plex-Container-Total-Size header
TotalSize int `json:"totalSize,omitempty,omitzero"`
AdditionalProperties map[string]interface{} `json:"-"`
}
MediaContainerWithPlaylistMetadata_MediaContainer defines model for MediaContainerWithPlaylistMetadata.MediaContainer.
func (MediaContainerWithPlaylistMetadata_MediaContainer) Get ¶
func (a MediaContainerWithPlaylistMetadata_MediaContainer) Get(fieldName string) (value interface{}, found bool)
Getter for additional properties for MediaContainerWithPlaylistMetadata_MediaContainer. Returns the specified element and whether it was found
func (MediaContainerWithPlaylistMetadata_MediaContainer) MarshalJSON ¶
func (a MediaContainerWithPlaylistMetadata_MediaContainer) MarshalJSON() ([]byte, error)
Override default JSON handling for MediaContainerWithPlaylistMetadata_MediaContainer to handle AdditionalProperties
func (*MediaContainerWithPlaylistMetadata_MediaContainer) Set ¶
func (a *MediaContainerWithPlaylistMetadata_MediaContainer) Set(fieldName string, value interface{})
Setter for additional properties for MediaContainerWithPlaylistMetadata_MediaContainer
func (*MediaContainerWithPlaylistMetadata_MediaContainer) UnmarshalJSON ¶
func (a *MediaContainerWithPlaylistMetadata_MediaContainer) UnmarshalJSON(b []byte) error
Override default JSON handling for MediaContainerWithPlaylistMetadata_MediaContainer to handle AdditionalProperties
type MediaContainerWithPlaylistMetadata_MediaContainer_Metadata_Item ¶
type MediaContainerWithPlaylistMetadata_MediaContainer_Metadata_Item struct {
Autotag []Tag `json:"Autotag,omitempty,omitzero"`
Country []Tag `json:"Country,omitempty,omitzero"`
Director []Tag `json:"Director,omitempty,omitzero"`
// Filter Typically only seen in metadata at a library's top level
Filter []Filter `json:"Filter,omitempty,omitzero"`
Genre []Tag `json:"Genre,omitempty,omitzero"`
GUID []GUID `json:"Guid,omitempty,omitzero"`
Image []Image `json:"Image,omitempty,omitzero"`
Media []Media `json:"Media,omitempty,omitzero"`
Ratings []Tag `json:"Rating,omitempty,omitzero"`
Role []Tag `json:"Role,omitempty,omitzero"`
// Sort Typically only seen in metadata at a library's top level
Sort []Sort `json:"Sort,omitempty,omitzero"`
Writer []Tag `json:"Writer,omitempty,omitzero"`
// AbsoluteIndex When present, contains the disc number for a track on multi-disc albums.
AbsoluteIndex int `json:"absoluteIndex,omitempty,omitzero"`
// AddedAt In units of seconds since the epoch, returns the time at which the item was added to the library.
AddedAt int `json:"addedAt,omitempty,omitzero"`
// Art When present, the URL for the background artwork for the item.
Art interface{} `json:"art,omitempty,omitzero"`
// AudienceRating Some rating systems separate reviewer ratings from audience ratings
AudienceRating float32 `json:"audienceRating,omitempty,omitzero"`
// AudienceRatingImage A URI representing the image to be shown with the audience rating (e.g. rottentomatoes://image.rating.spilled).
AudienceRatingImage interface{} `json:"audienceRatingImage,omitempty,omitzero"`
// Banner When present, the URL for a banner graphic for the item.
Banner interface{} `json:"banner,omitempty,omitzero"`
// ChapterSource When present, indicates the source for the chapters in the media file. Can be media (the chapters were embedded in the media itself), agent (a metadata agent computed them), or mixed (a combination of the two).
ChapterSource interface{} `json:"chapterSource,omitempty,omitzero"`
// ChildCount The number of direct children, e.g. seasons of a show or items in a collection.
ChildCount int `json:"childCount,omitempty,omitzero"`
// Composite When present, the URL for a composite image for descendent items (e.g. photo albums or playlists).
Composite interface{} `json:"composite,omitempty,omitzero"`
// ContentRating If known, the content rating (e.g. MPAA) for an item.
ContentRating interface{} `json:"contentRating,omitempty,omitzero"`
// Duration When present, the duration for the item, in units of milliseconds.
Duration int `json:"duration,omitempty,omitzero"`
// GrandparentArt The `art` of the grandparent
GrandparentArt string `json:"grandparentArt,omitempty,omitzero"`
// GrandparentHero The `hero` of the grandparent
GrandparentHero string `json:"grandparentHero,omitempty,omitzero"`
// GrandparentKey The `key` of the grandparent
GrandparentKey string `json:"grandparentKey,omitempty,omitzero"`
// GrandparentRatingKey The `ratingKey` of the grandparent
GrandparentRatingKey string `json:"grandparentRatingKey,omitempty,omitzero"`
// GrandparentTheme The `theme` of the grandparent
GrandparentTheme string `json:"grandparentTheme,omitempty,omitzero"`
// GrandparentThumb The `thumb` of the grandparent
GrandparentThumb string `json:"grandparentThumb,omitempty,omitzero"`
// GrandparentTitle The `title` of the grandparent
GrandparentTitle string `json:"grandparentTitle,omitempty,omitzero"`
// PlexGUID The Plex GUID of the item itself, e.g. "plex://movie/5d7769a023d5a3001f4fa465".
PlexGUID string `json:"guid,omitempty,omitzero"`
// Hero When present, the URL for a hero image for the item.
Hero interface{} `json:"hero,omitempty,omitzero"`
// Index When present, this represents the episode number for episodes, season number for seasons, or track number for audio tracks.
Index int `json:"index,omitempty,omitzero"`
// Key The key at which the item's details can be fetched. In many cases a metadata item may be passed without all the details (such as in a hub) and this key corresponds to the endpoint to fetch additional details.
Key interface{} `json:"key,omitempty,omitzero"`
// LastViewedAt When a user has watched or listened to an item, this contains a timestamp (epoch seconds) for that last consumption time.
LastViewedAt int `json:"lastViewedAt,omitempty,omitzero"`
// LeafCount For shows and seasons, contains the number of total episodes.
LeafCount int `json:"leafCount,omitempty,omitzero"`
// OriginalTitle When present, used to indicate an item's original title, e.g. a movie's foreign title.
OriginalTitle interface{} `json:"originalTitle,omitempty,omitzero"`
// OriginallyAvailableAt When present, in the format YYYY-MM-DD [HH:MM:SS] (the hours/minutes/seconds part is not always present). The air date, or a higher resolution release date for an item, depending on type. For example, episodes usually have air date like 1979-08-10 (we don't use epoch seconds because media existed prior to 1970). In some cases, recorded over-the-air content has higher resolution air date which includes a time component. Albums and movies may have day-resolution release dates as well.
OriginallyAvailableAt interface{} `json:"originallyAvailableAt,omitempty,omitzero"`
// ParentHero The `hero` of the parent
ParentHero string `json:"parentHero,omitempty,omitzero"`
// ParentIndex The `index` of the parent
ParentIndex int `json:"parentIndex,omitempty,omitzero"`
// ParentKey The `key` of the parent
ParentKey string `json:"parentKey,omitempty,omitzero"`
// ParentRatingKey The `ratingKey` of the parent
ParentRatingKey string `json:"parentRatingKey,omitempty,omitzero"`
// ParentThumb The `thumb` of the parent
ParentThumb string `json:"parentThumb,omitempty,omitzero"`
// ParentTitle The `title` of the parent
ParentTitle string `json:"parentTitle,omitempty,omitzero"`
// PlaylistType The type of the playlist.
PlaylistType MediaContainerWithPlaylistMetadataMediaContainerMetadataPlaylistType `json:"playlistType,omitempty,omitzero"`
// PrimaryExtraKey Indicates that the item has a primary extra; for a movie, this is a trailer, and for a music track it is a music video. The URL points to the metadata details endpoint for the item.
PrimaryExtraKey interface{} `json:"primaryExtraKey,omitempty,omitzero"`
// Prompt Prompt to give the user for this directory (such as `Search Movies`)
Prompt string `json:"prompt,omitempty,omitzero"`
// Rating When present, the rating for the item. The exact meaning and representation depends on where the rating was sourced from.
Rating float32 `json:"rating,omitempty,omitzero"`
// RatingCount Number of ratings under this metadata
RatingCount int `json:"ratingCount,omitempty,omitzero"`
// RatingImage When present, indicates an image to be shown with the rating. This is passed back as a small set of defined URI values, e.g. rottentomatoes://image.rating.rotten.
RatingImage interface{} `json:"ratingImage,omitempty,omitzero"`
// RatingKey This is the opaque string to be passed into timeline, scrobble, and rating endpoints to identify them. While it often appears to be numeric, this is not guaranteed.
RatingKey interface{} `json:"ratingKey,omitempty,omitzero"`
// ReadOnly If we return this as true then this playlist cannot be altered or deleted directly by the client.
ReadOnly bool `json:"readOnly,omitempty,omitzero"`
// Search Indicates this is a search directory
Search bool `json:"search,omitempty,omitzero"`
// Secondary Used by old clients to provide nested menus allowing for primative (but structured) navigation.
Secondary bool `json:"secondary,omitempty,omitzero"`
// SkipChildren When found on a show item, indicates that the children (seasons) should be skipped in favor of the grandchildren (episodes). Useful for mini-series, etc.
SkipChildren bool `json:"skipChildren,omitempty,omitzero"`
// SkipParent When present on an episode or track item, indicates parent should be skipped in favor of grandparent (show).
SkipParent bool `json:"skipParent,omitempty,omitzero"`
// Smart Whether or not the playlist is smart.
Smart bool `json:"smart,omitempty,omitzero"`
// SpecialPlaylistType If this is a special playlist, this returns its type (e.g. favorites).
SpecialPlaylistType string `json:"specialPlaylistType,omitempty,omitzero"`
// Studio When present, the studio or label which produced an item (e.g. movie studio for movies, record label for albums).
Studio interface{} `json:"studio,omitempty,omitzero"`
// Subtype The subtype of the video item, such as `photo` when the video item is in a photo library
Subtype interface{} `json:"subtype,omitempty,omitzero"`
// Summary When present, the extended textual information about the item (e.g. movie plot, artist biography, album review).
Summary interface{} `json:"summary,omitempty,omitzero"`
// Tagline When present, a pithy one-liner about the item (usually only seen for movies).
Tagline interface{} `json:"tagline,omitempty,omitzero"`
// Theme When present, the URL for theme music for the item (usually only for TV shows).
Theme interface{} `json:"theme,omitempty,omitzero"`
// Thumb When present, the URL for the poster or thumbnail for the item. When available for types like movie, it will be the poster graphic, but fall-back to the extracted media thumbnail.
Thumb interface{} `json:"thumb,omitempty,omitzero"`
// Title The title of the item (e.g. “300” or “The Simpsons”)
Title interface{} `json:"title,omitempty,omitzero"`
// TitleSort Whene present, this is the string used for sorting the item. It's usually the title with any leading articles removed (e.g. “Simpsons”).
TitleSort interface{} `json:"titleSort,omitempty,omitzero"`
// Type The type of the video item, such as `movie`, `episode`, or `clip`.
Type interface{} `json:"type,omitempty,omitzero"`
// UpdatedAt In units of seconds since the epoch, returns the time at which the item was last changed (e.g. had its metadata updated).
UpdatedAt int `json:"updatedAt,omitempty,omitzero"`
// UserRating When the user has rated an item, this contains the user rating
UserRating float32 `json:"userRating,omitempty,omitzero"`
// ViewCount When a users has completed watched or listened to an item, this attribute contains the number of consumptions.
ViewCount int `json:"viewCount,omitempty,omitzero"`
// ViewOffset When a user is in the process of viewing or listening to this item, this attribute contains the current offset, in units of milliseconds.
ViewOffset int `json:"viewOffset,omitempty,omitzero"`
// ViewedLeafCount For shows and seasons, contains the number of viewed episodes.
ViewedLeafCount int `json:"viewedLeafCount,omitempty,omitzero"`
// Year When present, the year associated with the item's release (e.g. release year for a movie).
Year int `json:"year,omitempty,omitzero"`
AdditionalProperties map[string]interface{} `json:"-"`
}
MediaContainerWithPlaylistMetadata_MediaContainer_Metadata_Item defines model for MediaContainerWithPlaylistMetadata.MediaContainer.Metadata.Item.
func (MediaContainerWithPlaylistMetadata_MediaContainer_Metadata_Item) Get ¶
func (a MediaContainerWithPlaylistMetadata_MediaContainer_Metadata_Item) Get(fieldName string) (value interface{}, found bool)
Getter for additional properties for MediaContainerWithPlaylistMetadata_MediaContainer_Metadata_Item. Returns the specified element and whether it was found
func (MediaContainerWithPlaylistMetadata_MediaContainer_Metadata_Item) MarshalJSON ¶
func (a MediaContainerWithPlaylistMetadata_MediaContainer_Metadata_Item) MarshalJSON() ([]byte, error)
Override default JSON handling for MediaContainerWithPlaylistMetadata_MediaContainer_Metadata_Item to handle AdditionalProperties
func (*MediaContainerWithPlaylistMetadata_MediaContainer_Metadata_Item) Set ¶
func (a *MediaContainerWithPlaylistMetadata_MediaContainer_Metadata_Item) Set(fieldName string, value interface{})
Setter for additional properties for MediaContainerWithPlaylistMetadata_MediaContainer_Metadata_Item
func (*MediaContainerWithPlaylistMetadata_MediaContainer_Metadata_Item) UnmarshalJSON ¶
func (a *MediaContainerWithPlaylistMetadata_MediaContainer_Metadata_Item) UnmarshalJSON(b []byte) error
Override default JSON handling for MediaContainerWithPlaylistMetadata_MediaContainer_Metadata_Item to handle AdditionalProperties
type MediaContainerWithSettings ¶
type MediaContainerWithSettings struct {
MediaContainer struct {
Setting []struct {
// Advanced Whether the pref is considered advanced and normally hidden from the user
Advanced bool `json:"advanced,omitempty,omitzero"`
// Default The default value of this pref
Default MediaContainerWithSettings_MediaContainer_Setting_Default `json:"default,omitempty,omitzero"`
// EnumValues The possible values for this pref if restricted. The list is `|` separated with `value:name` entries.
EnumValues string `json:"enumValues,omitempty,omitzero"`
// Group The group name of this pref to aid in display of a hierarchy.
Group string `json:"group,omitempty,omitzero"`
// Hidden Whether the pref is hidden or not
Hidden bool `json:"hidden,omitempty,omitzero"`
ID string `json:"id,omitempty,omitzero"`
// Label A user-friendly name for the preference
Label string `json:"label,omitempty,omitzero"`
// Summary A description of the preference
Summary string `json:"summary,omitempty,omitzero"`
// Type The type of the value of this pref
Type MediaContainerWithSettingsMediaContainerSettingType `json:"type,omitempty,omitzero"`
// Value The current value of this pref
Value MediaContainerWithSettings_MediaContainer_Setting_Value `json:"value,omitempty,omitzero"`
} `json:"Setting,omitempty,omitzero"`
Identifier string `json:"identifier,omitempty,omitzero"`
// Offset The offset of where this container page starts among the total objects available. Also provided in the X-Plex-Container-Start header
Offset int `json:"offset,omitempty,omitzero"`
Size int `json:"size,omitempty,omitzero"`
// TotalSize The total size of objects available. Also provided in the X-Plex-Container-Total-Size header
TotalSize int `json:"totalSize,omitempty,omitzero"`
} `json:"MediaContainer,omitempty,omitzero"`
}
MediaContainerWithSettings defines model for mediaContainerWithSettings.
type MediaContainerWithSettingsMediaContainerSettingDefault0 ¶
type MediaContainerWithSettingsMediaContainerSettingDefault0 = string
MediaContainerWithSettingsMediaContainerSettingDefault0 defines model for MediaContainerWithSettings.MediaContainer.Setting.Default.0.
type MediaContainerWithSettingsMediaContainerSettingDefault1 ¶
type MediaContainerWithSettingsMediaContainerSettingDefault1 = float32
MediaContainerWithSettingsMediaContainerSettingDefault1 defines model for MediaContainerWithSettings.MediaContainer.Setting.Default.1.
type MediaContainerWithSettingsMediaContainerSettingDefault2 ¶
type MediaContainerWithSettingsMediaContainerSettingDefault2 = bool
MediaContainerWithSettingsMediaContainerSettingDefault2 defines model for MediaContainerWithSettings.MediaContainer.Setting.Default.2.
type MediaContainerWithSettingsMediaContainerSettingType ¶
type MediaContainerWithSettingsMediaContainerSettingType string
MediaContainerWithSettingsMediaContainerSettingType The type of the value of this pref
const ( MediaContainerWithSettingsMediaContainerSettingTypeBool MediaContainerWithSettingsMediaContainerSettingType = "bool" MediaContainerWithSettingsMediaContainerSettingTypeDouble MediaContainerWithSettingsMediaContainerSettingType = "double" MediaContainerWithSettingsMediaContainerSettingTypeInt MediaContainerWithSettingsMediaContainerSettingType = "int" MediaContainerWithSettingsMediaContainerSettingTypeText MediaContainerWithSettingsMediaContainerSettingType = "text" )
Defines values for MediaContainerWithSettingsMediaContainerSettingType.
func (MediaContainerWithSettingsMediaContainerSettingType) Valid ¶
func (e MediaContainerWithSettingsMediaContainerSettingType) Valid() bool
Valid indicates whether the value is a known member of the MediaContainerWithSettingsMediaContainerSettingType enum.
type MediaContainerWithSettingsMediaContainerSettingValue0 ¶
type MediaContainerWithSettingsMediaContainerSettingValue0 = string
MediaContainerWithSettingsMediaContainerSettingValue0 defines model for MediaContainerWithSettings.MediaContainer.Setting.Value.0.
type MediaContainerWithSettingsMediaContainerSettingValue1 ¶
type MediaContainerWithSettingsMediaContainerSettingValue1 = float32
MediaContainerWithSettingsMediaContainerSettingValue1 defines model for MediaContainerWithSettings.MediaContainer.Setting.Value.1.
type MediaContainerWithSettingsMediaContainerSettingValue2 ¶
type MediaContainerWithSettingsMediaContainerSettingValue2 = bool
MediaContainerWithSettingsMediaContainerSettingValue2 defines model for MediaContainerWithSettings.MediaContainer.Setting.Value.2.
type MediaContainerWithSettings_MediaContainer_Setting_Default ¶
type MediaContainerWithSettings_MediaContainer_Setting_Default struct {
// contains filtered or unexported fields
}
MediaContainerWithSettings_MediaContainer_Setting_Default The default value of this pref
func (MediaContainerWithSettings_MediaContainer_Setting_Default) AsMediaContainerWithSettingsMediaContainerSettingDefault0 ¶
func (t MediaContainerWithSettings_MediaContainer_Setting_Default) AsMediaContainerWithSettingsMediaContainerSettingDefault0() (MediaContainerWithSettingsMediaContainerSettingDefault0, error)
AsMediaContainerWithSettingsMediaContainerSettingDefault0 returns the union data inside the MediaContainerWithSettings_MediaContainer_Setting_Default as a MediaContainerWithSettingsMediaContainerSettingDefault0
func (MediaContainerWithSettings_MediaContainer_Setting_Default) AsMediaContainerWithSettingsMediaContainerSettingDefault1 ¶
func (t MediaContainerWithSettings_MediaContainer_Setting_Default) AsMediaContainerWithSettingsMediaContainerSettingDefault1() (MediaContainerWithSettingsMediaContainerSettingDefault1, error)
AsMediaContainerWithSettingsMediaContainerSettingDefault1 returns the union data inside the MediaContainerWithSettings_MediaContainer_Setting_Default as a MediaContainerWithSettingsMediaContainerSettingDefault1
func (MediaContainerWithSettings_MediaContainer_Setting_Default) AsMediaContainerWithSettingsMediaContainerSettingDefault2 ¶
func (t MediaContainerWithSettings_MediaContainer_Setting_Default) AsMediaContainerWithSettingsMediaContainerSettingDefault2() (MediaContainerWithSettingsMediaContainerSettingDefault2, error)
AsMediaContainerWithSettingsMediaContainerSettingDefault2 returns the union data inside the MediaContainerWithSettings_MediaContainer_Setting_Default as a MediaContainerWithSettingsMediaContainerSettingDefault2
func (*MediaContainerWithSettings_MediaContainer_Setting_Default) FromMediaContainerWithSettingsMediaContainerSettingDefault0 ¶
func (t *MediaContainerWithSettings_MediaContainer_Setting_Default) FromMediaContainerWithSettingsMediaContainerSettingDefault0(v MediaContainerWithSettingsMediaContainerSettingDefault0) error
FromMediaContainerWithSettingsMediaContainerSettingDefault0 overwrites any union data inside the MediaContainerWithSettings_MediaContainer_Setting_Default as the provided MediaContainerWithSettingsMediaContainerSettingDefault0
func (*MediaContainerWithSettings_MediaContainer_Setting_Default) FromMediaContainerWithSettingsMediaContainerSettingDefault1 ¶
func (t *MediaContainerWithSettings_MediaContainer_Setting_Default) FromMediaContainerWithSettingsMediaContainerSettingDefault1(v MediaContainerWithSettingsMediaContainerSettingDefault1) error
FromMediaContainerWithSettingsMediaContainerSettingDefault1 overwrites any union data inside the MediaContainerWithSettings_MediaContainer_Setting_Default as the provided MediaContainerWithSettingsMediaContainerSettingDefault1
func (*MediaContainerWithSettings_MediaContainer_Setting_Default) FromMediaContainerWithSettingsMediaContainerSettingDefault2 ¶
func (t *MediaContainerWithSettings_MediaContainer_Setting_Default) FromMediaContainerWithSettingsMediaContainerSettingDefault2(v MediaContainerWithSettingsMediaContainerSettingDefault2) error
FromMediaContainerWithSettingsMediaContainerSettingDefault2 overwrites any union data inside the MediaContainerWithSettings_MediaContainer_Setting_Default as the provided MediaContainerWithSettingsMediaContainerSettingDefault2
func (MediaContainerWithSettings_MediaContainer_Setting_Default) MarshalJSON ¶
func (t MediaContainerWithSettings_MediaContainer_Setting_Default) MarshalJSON() ([]byte, error)
func (*MediaContainerWithSettings_MediaContainer_Setting_Default) MergeMediaContainerWithSettingsMediaContainerSettingDefault0 ¶
func (t *MediaContainerWithSettings_MediaContainer_Setting_Default) MergeMediaContainerWithSettingsMediaContainerSettingDefault0(v MediaContainerWithSettingsMediaContainerSettingDefault0) error
MergeMediaContainerWithSettingsMediaContainerSettingDefault0 performs a merge with any union data inside the MediaContainerWithSettings_MediaContainer_Setting_Default, using the provided MediaContainerWithSettingsMediaContainerSettingDefault0
func (*MediaContainerWithSettings_MediaContainer_Setting_Default) MergeMediaContainerWithSettingsMediaContainerSettingDefault1 ¶
func (t *MediaContainerWithSettings_MediaContainer_Setting_Default) MergeMediaContainerWithSettingsMediaContainerSettingDefault1(v MediaContainerWithSettingsMediaContainerSettingDefault1) error
MergeMediaContainerWithSettingsMediaContainerSettingDefault1 performs a merge with any union data inside the MediaContainerWithSettings_MediaContainer_Setting_Default, using the provided MediaContainerWithSettingsMediaContainerSettingDefault1
func (*MediaContainerWithSettings_MediaContainer_Setting_Default) MergeMediaContainerWithSettingsMediaContainerSettingDefault2 ¶
func (t *MediaContainerWithSettings_MediaContainer_Setting_Default) MergeMediaContainerWithSettingsMediaContainerSettingDefault2(v MediaContainerWithSettingsMediaContainerSettingDefault2) error
MergeMediaContainerWithSettingsMediaContainerSettingDefault2 performs a merge with any union data inside the MediaContainerWithSettings_MediaContainer_Setting_Default, using the provided MediaContainerWithSettingsMediaContainerSettingDefault2
func (*MediaContainerWithSettings_MediaContainer_Setting_Default) UnmarshalJSON ¶
func (t *MediaContainerWithSettings_MediaContainer_Setting_Default) UnmarshalJSON(b []byte) error
type MediaContainerWithSettings_MediaContainer_Setting_Value ¶
type MediaContainerWithSettings_MediaContainer_Setting_Value struct {
// contains filtered or unexported fields
}
MediaContainerWithSettings_MediaContainer_Setting_Value The current value of this pref
func (MediaContainerWithSettings_MediaContainer_Setting_Value) AsMediaContainerWithSettingsMediaContainerSettingValue0 ¶
func (t MediaContainerWithSettings_MediaContainer_Setting_Value) AsMediaContainerWithSettingsMediaContainerSettingValue0() (MediaContainerWithSettingsMediaContainerSettingValue0, error)
AsMediaContainerWithSettingsMediaContainerSettingValue0 returns the union data inside the MediaContainerWithSettings_MediaContainer_Setting_Value as a MediaContainerWithSettingsMediaContainerSettingValue0
func (MediaContainerWithSettings_MediaContainer_Setting_Value) AsMediaContainerWithSettingsMediaContainerSettingValue1 ¶
func (t MediaContainerWithSettings_MediaContainer_Setting_Value) AsMediaContainerWithSettingsMediaContainerSettingValue1() (MediaContainerWithSettingsMediaContainerSettingValue1, error)
AsMediaContainerWithSettingsMediaContainerSettingValue1 returns the union data inside the MediaContainerWithSettings_MediaContainer_Setting_Value as a MediaContainerWithSettingsMediaContainerSettingValue1
func (MediaContainerWithSettings_MediaContainer_Setting_Value) AsMediaContainerWithSettingsMediaContainerSettingValue2 ¶
func (t MediaContainerWithSettings_MediaContainer_Setting_Value) AsMediaContainerWithSettingsMediaContainerSettingValue2() (MediaContainerWithSettingsMediaContainerSettingValue2, error)
AsMediaContainerWithSettingsMediaContainerSettingValue2 returns the union data inside the MediaContainerWithSettings_MediaContainer_Setting_Value as a MediaContainerWithSettingsMediaContainerSettingValue2
func (*MediaContainerWithSettings_MediaContainer_Setting_Value) FromMediaContainerWithSettingsMediaContainerSettingValue0 ¶
func (t *MediaContainerWithSettings_MediaContainer_Setting_Value) FromMediaContainerWithSettingsMediaContainerSettingValue0(v MediaContainerWithSettingsMediaContainerSettingValue0) error
FromMediaContainerWithSettingsMediaContainerSettingValue0 overwrites any union data inside the MediaContainerWithSettings_MediaContainer_Setting_Value as the provided MediaContainerWithSettingsMediaContainerSettingValue0
func (*MediaContainerWithSettings_MediaContainer_Setting_Value) FromMediaContainerWithSettingsMediaContainerSettingValue1 ¶
func (t *MediaContainerWithSettings_MediaContainer_Setting_Value) FromMediaContainerWithSettingsMediaContainerSettingValue1(v MediaContainerWithSettingsMediaContainerSettingValue1) error
FromMediaContainerWithSettingsMediaContainerSettingValue1 overwrites any union data inside the MediaContainerWithSettings_MediaContainer_Setting_Value as the provided MediaContainerWithSettingsMediaContainerSettingValue1
func (*MediaContainerWithSettings_MediaContainer_Setting_Value) FromMediaContainerWithSettingsMediaContainerSettingValue2 ¶
func (t *MediaContainerWithSettings_MediaContainer_Setting_Value) FromMediaContainerWithSettingsMediaContainerSettingValue2(v MediaContainerWithSettingsMediaContainerSettingValue2) error
FromMediaContainerWithSettingsMediaContainerSettingValue2 overwrites any union data inside the MediaContainerWithSettings_MediaContainer_Setting_Value as the provided MediaContainerWithSettingsMediaContainerSettingValue2
func (MediaContainerWithSettings_MediaContainer_Setting_Value) MarshalJSON ¶
func (t MediaContainerWithSettings_MediaContainer_Setting_Value) MarshalJSON() ([]byte, error)
func (*MediaContainerWithSettings_MediaContainer_Setting_Value) MergeMediaContainerWithSettingsMediaContainerSettingValue0 ¶
func (t *MediaContainerWithSettings_MediaContainer_Setting_Value) MergeMediaContainerWithSettingsMediaContainerSettingValue0(v MediaContainerWithSettingsMediaContainerSettingValue0) error
MergeMediaContainerWithSettingsMediaContainerSettingValue0 performs a merge with any union data inside the MediaContainerWithSettings_MediaContainer_Setting_Value, using the provided MediaContainerWithSettingsMediaContainerSettingValue0
func (*MediaContainerWithSettings_MediaContainer_Setting_Value) MergeMediaContainerWithSettingsMediaContainerSettingValue1 ¶
func (t *MediaContainerWithSettings_MediaContainer_Setting_Value) MergeMediaContainerWithSettingsMediaContainerSettingValue1(v MediaContainerWithSettingsMediaContainerSettingValue1) error
MergeMediaContainerWithSettingsMediaContainerSettingValue1 performs a merge with any union data inside the MediaContainerWithSettings_MediaContainer_Setting_Value, using the provided MediaContainerWithSettingsMediaContainerSettingValue1
func (*MediaContainerWithSettings_MediaContainer_Setting_Value) MergeMediaContainerWithSettingsMediaContainerSettingValue2 ¶
func (t *MediaContainerWithSettings_MediaContainer_Setting_Value) MergeMediaContainerWithSettingsMediaContainerSettingValue2(v MediaContainerWithSettingsMediaContainerSettingValue2) error
MergeMediaContainerWithSettingsMediaContainerSettingValue2 performs a merge with any union data inside the MediaContainerWithSettings_MediaContainer_Setting_Value, using the provided MediaContainerWithSettingsMediaContainerSettingValue2
func (*MediaContainerWithSettings_MediaContainer_Setting_Value) UnmarshalJSON ¶
func (t *MediaContainerWithSettings_MediaContainer_Setting_Value) UnmarshalJSON(b []byte) error
type MediaContainerWithStatusPropertiesMediaContainer ¶
type MediaContainerWithStatusPropertiesMediaContainer struct {
Identifier string `json:"identifier,omitempty,omitzero"`
// Message A message associated with the status. Typically an error message.
Message string `json:"message,omitempty,omitzero"`
// Offset The offset of where this container page starts among the total objects available. Also provided in the X-Plex-Container-Start header
Offset int `json:"offset,omitempty,omitzero"`
Size int `json:"size,omitempty,omitzero"`
// Status A status indicator. If present and non-zero, indicates an error
Status int `json:"status,omitempty,omitzero"`
// TotalSize The total size of objects available. Also provided in the X-Plex-Container-Total-Size header
TotalSize int `json:"totalSize,omitempty,omitzero"`
}
MediaContainerWithStatusPropertiesMediaContainer defines model for mediaContainerWithStatus_properties-MediaContainer.
type MediaContainerWithSubscription ¶
type MediaContainerWithSubscription struct {
MediaContainer struct {
MediaSubscription []MediaSubscription `json:"MediaSubscription,omitempty,omitzero"`
Identifier string `json:"identifier,omitempty,omitzero"`
// Offset The offset of where this container page starts among the total objects available. Also provided in the X-Plex-Container-Start header
Offset int `json:"offset,omitempty,omitzero"`
Size int `json:"size,omitempty,omitzero"`
// TotalSize The total size of objects available. Also provided in the X-Plex-Container-Total-Size header
TotalSize int `json:"totalSize,omitempty,omitzero"`
} `json:"MediaContainer,omitempty,omitzero"`
}
MediaContainerWithSubscription defines model for mediaContainerWithSubscription.
type MediaGrabOperation ¶
type MediaGrabOperation struct {
// Metadata Items in a library are referred to as "metadata items." These metadata items are distinct from "media items" which represent actual instances of media that can be consumed. Consider a TV library that has a single video file in it for a particular episode of a show. The library has a single media item, but it has three metadata items: one for the show, one for the season, and one for the episode. Consider a movie library that has two video files in it: the same movie, but two different resolutions. The library has a single metadata item for the movie, but that metadata item has two media items, one for each resolution. Additionally a "media item" will have one or more "media parts" where the the parts are intended to be watched together, such as a CD1 and CD2 parts of the same movie.
//
// Note that when a metadata item has multiple media items, those media items should be isomorphic. That is, a 4K version and 1080p version of a movie are different versions of the same movie. They have the same duration, same summary, same rating, etc. and they can generally be considered interchangeable. A theatrical release vs. director's cut vs. unrated version on the other hand would be separate metadata items.
//
// Metadata items can often live in a hierarchy with relationships between them. For example, the metadata item for an episodes is associated with a season metadata item which is associated with a show metadata item. A similar hierarchy exists with track, album, and artist and photos and photo album. The relationships may be expressed via relative terms and absolute terms. For example, "leaves" refer to metadata items which has associated media (there is no media for a season nor show). A show will have "children" in the form of seasons and a season will have "children" in the form of episodes and episodes have "parent" in the form of a season which has a "parent" in the form of a show. Similarly, a show has "grandchildren" in the form of episodse and an episode has a "grandparent" in the form of a show.
Metadata Metadata `json:"Metadata,omitempty,omitzero"`
CurrentSize int `json:"currentSize,omitempty,omitzero"`
GrabberIdentifier string `json:"grabberIdentifier,omitempty,omitzero"`
GrabberProtocol string `json:"grabberProtocol,omitempty,omitzero"`
ID string `json:"id,omitempty,omitzero"`
Key string `json:"key,omitempty,omitzero"`
MediaIndex int `json:"mediaIndex,omitempty,omitzero"`
MediaSubscriptionID int `json:"mediaSubscriptionID,omitempty,omitzero"`
Percent float32 `json:"percent,omitempty,omitzero"`
Provider string `json:"provider,omitempty,omitzero"`
Status MediaGrabOperationStatus `json:"status,omitempty,omitzero"`
}
MediaGrabOperation A media grab opration represents a scheduled or active recording of media
type MediaGrabOperationStatus ¶
type MediaGrabOperationStatus string
MediaGrabOperationStatus defines model for MediaGrabOperation.Status.
const ( MediaGrabOperationStatusCancelled MediaGrabOperationStatus = "cancelled" MediaGrabOperationStatusComplete MediaGrabOperationStatus = "complete" MediaGrabOperationStatusError MediaGrabOperationStatus = "error" MediaGrabOperationStatusInactive MediaGrabOperationStatus = "inactive" MediaGrabOperationStatusInprogress MediaGrabOperationStatus = "inprogress" MediaGrabOperationStatusPaused MediaGrabOperationStatus = "paused" MediaGrabOperationStatusPostprocessing MediaGrabOperationStatus = "postprocessing" MediaGrabOperationStatusScheduled MediaGrabOperationStatus = "scheduled" )
Defines values for MediaGrabOperationStatus.
func (MediaGrabOperationStatus) Valid ¶
func (e MediaGrabOperationStatus) Valid() bool
Valid indicates whether the value is a known member of the MediaGrabOperationStatus enum.
type MediaGrabberDeleteDevicesDeviceScanResponse ¶
type MediaGrabberDeleteDevicesDeviceScanResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *MediaContainerWithDevice
}
func ParseMediaGrabberDeleteDevicesDeviceScanResponse ¶
func ParseMediaGrabberDeleteDevicesDeviceScanResponse(rsp *http.Response) (*MediaGrabberDeleteDevicesDeviceScanResponse, error)
ParseMediaGrabberDeleteDevicesDeviceScanResponse parses an HTTP response from a MediaGrabberDeleteDevicesDeviceScanWithResponse call
func (MediaGrabberDeleteDevicesDeviceScanResponse) ContentType ¶
func (r MediaGrabberDeleteDevicesDeviceScanResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (MediaGrabberDeleteDevicesDeviceScanResponse) GetBody ¶
func (r MediaGrabberDeleteDevicesDeviceScanResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (MediaGrabberDeleteDevicesDeviceScanResponse) GetJSON200 ¶
func (r MediaGrabberDeleteDevicesDeviceScanResponse) GetJSON200() *MediaContainerWithDevice
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (MediaGrabberDeleteDevicesDeviceScanResponse) Status ¶
func (r MediaGrabberDeleteDevicesDeviceScanResponse) Status() string
Status returns HTTPResponse.Status
func (MediaGrabberDeleteDevicesDeviceScanResponse) StatusCode ¶
func (r MediaGrabberDeleteDevicesDeviceScanResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type MediaGrabberDeleteOperationsOperationResponse ¶
type MediaGrabberDeleteOperationsOperationResponse struct {
Body []byte
HTTPResponse *http.Response
}
func ParseMediaGrabberDeleteOperationsOperationResponse ¶
func ParseMediaGrabberDeleteOperationsOperationResponse(rsp *http.Response) (*MediaGrabberDeleteOperationsOperationResponse, error)
ParseMediaGrabberDeleteOperationsOperationResponse parses an HTTP response from a MediaGrabberDeleteOperationsOperationWithResponse call
func (MediaGrabberDeleteOperationsOperationResponse) ContentType ¶
func (r MediaGrabberDeleteOperationsOperationResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (MediaGrabberDeleteOperationsOperationResponse) GetBody ¶
func (r MediaGrabberDeleteOperationsOperationResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (MediaGrabberDeleteOperationsOperationResponse) Status ¶
func (r MediaGrabberDeleteOperationsOperationResponse) Status() string
Status returns HTTPResponse.Status
func (MediaGrabberDeleteOperationsOperationResponse) StatusCode ¶
func (r MediaGrabberDeleteOperationsOperationResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type MediaGrabberDevicesDeviceDeleteSlashResponse ¶
type MediaGrabberDevicesDeviceDeleteSlashResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *struct {
MediaContainer struct {
Identifier string `json:"identifier,omitempty,omitzero"`
Message string `json:"message,omitempty,omitzero"`
// Offset The offset of where this container page starts among the total objects available. Also provided in the X-Plex-Container-Start header
Offset int `json:"offset,omitempty,omitzero"`
Size int `json:"size,omitempty,omitzero"`
Status int `json:"status,omitempty,omitzero"`
// TotalSize The total size of objects available. Also provided in the X-Plex-Container-Total-Size header
TotalSize int `json:"totalSize,omitempty,omitzero"`
} `json:"MediaContainer,omitempty,omitzero"`
}
// Headers200 the parsed response headers for an HTTP 200 response
Headers200 *MediaGrabberDevicesDeviceDeleteSlashResponse200Headers
}
func ParseMediaGrabberDevicesDeviceDeleteSlashResponse ¶
func ParseMediaGrabberDevicesDeviceDeleteSlashResponse(rsp *http.Response) (*MediaGrabberDevicesDeviceDeleteSlashResponse, error)
ParseMediaGrabberDevicesDeviceDeleteSlashResponse parses an HTTP response from a MediaGrabberDevicesDeviceDeleteSlashWithResponse call
func (MediaGrabberDevicesDeviceDeleteSlashResponse) ContentType ¶
func (r MediaGrabberDevicesDeviceDeleteSlashResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (MediaGrabberDevicesDeviceDeleteSlashResponse) GetBody ¶
func (r MediaGrabberDevicesDeviceDeleteSlashResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (MediaGrabberDevicesDeviceDeleteSlashResponse) GetJSON200 ¶
func (r MediaGrabberDevicesDeviceDeleteSlashResponse) GetJSON200() *struct { MediaContainer struct { Identifier string `json:"identifier,omitempty,omitzero"` Message string `json:"message,omitempty,omitzero"` // Offset The offset of where this container page starts among the total objects available. Also provided in the X-Plex-Container-Start header Offset int `json:"offset,omitempty,omitzero"` Size int `json:"size,omitempty,omitzero"` Status int `json:"status,omitempty,omitzero"` // TotalSize The total size of objects available. Also provided in the X-Plex-Container-Total-Size header TotalSize int `json:"totalSize,omitempty,omitzero"` } `json:"MediaContainer,omitempty,omitzero"` }
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (MediaGrabberDevicesDeviceDeleteSlashResponse) Status ¶
func (r MediaGrabberDevicesDeviceDeleteSlashResponse) Status() string
Status returns HTTPResponse.Status
func (MediaGrabberDevicesDeviceDeleteSlashResponse) StatusCode ¶
func (r MediaGrabberDevicesDeviceDeleteSlashResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type MediaGrabberDevicesDeviceDeleteSlashResponse200Headers ¶
type MediaGrabberDevicesDeviceDeleteSlashResponse200Headers struct {
XPlexContainerStart int
XPlexContainerTotalSize int
}
MediaGrabberDevicesDeviceDeleteSlashResponse200Headers the declared response headers of an HTTP 200 response for MediaGrabberDevicesDeviceDeleteSlash
type MediaGrabberDevicesDeviceGetChannelsResponse ¶
type MediaGrabberDevicesDeviceGetChannelsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *struct {
MediaContainer struct {
DeviceChannel []struct {
// Drm Indicates the channel is DRMed and thus may not be playable
Drm bool `json:"drm,omitempty,omitzero"`
Favorite bool `json:"favorite,omitempty,omitzero"`
Hd bool `json:"hd,omitempty,omitzero"`
Identifier string `json:"identifier,omitempty,omitzero"`
Key string `json:"key,omitempty,omitzero"`
Name string `json:"name,omitempty,omitzero"`
SignalQuality int `json:"signalQuality,omitempty,omitzero"`
SignalStrength int `json:"signalStrength,omitempty,omitzero"`
} `json:"DeviceChannel,omitempty,omitzero"`
Identifier string `json:"identifier,omitempty,omitzero"`
// Offset The offset of where this container page starts among the total objects available. Also provided in the X-Plex-Container-Start header
Offset int `json:"offset,omitempty,omitzero"`
Size int `json:"size,omitempty,omitzero"`
// TotalSize The total size of objects available. Also provided in the X-Plex-Container-Total-Size header
TotalSize int `json:"totalSize,omitempty,omitzero"`
} `json:"MediaContainer,omitempty,omitzero"`
}
// Headers200 the parsed response headers for an HTTP 200 response
Headers200 *MediaGrabberDevicesDeviceGetChannelsResponse200Headers
}
func ParseMediaGrabberDevicesDeviceGetChannelsResponse ¶
func ParseMediaGrabberDevicesDeviceGetChannelsResponse(rsp *http.Response) (*MediaGrabberDevicesDeviceGetChannelsResponse, error)
ParseMediaGrabberDevicesDeviceGetChannelsResponse parses an HTTP response from a MediaGrabberDevicesDeviceGetChannelsWithResponse call
func (MediaGrabberDevicesDeviceGetChannelsResponse) ContentType ¶
func (r MediaGrabberDevicesDeviceGetChannelsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (MediaGrabberDevicesDeviceGetChannelsResponse) GetBody ¶
func (r MediaGrabberDevicesDeviceGetChannelsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (MediaGrabberDevicesDeviceGetChannelsResponse) GetJSON200 ¶
func (r MediaGrabberDevicesDeviceGetChannelsResponse) GetJSON200() *struct { MediaContainer struct { DeviceChannel []struct { // Drm Indicates the channel is DRMed and thus may not be playable Drm bool `json:"drm,omitempty,omitzero"` Favorite bool `json:"favorite,omitempty,omitzero"` Hd bool `json:"hd,omitempty,omitzero"` Identifier string `json:"identifier,omitempty,omitzero"` Key string `json:"key,omitempty,omitzero"` Name string `json:"name,omitempty,omitzero"` SignalQuality int `json:"signalQuality,omitempty,omitzero"` SignalStrength int `json:"signalStrength,omitempty,omitzero"` } `json:"DeviceChannel,omitempty,omitzero"` Identifier string `json:"identifier,omitempty,omitzero"` // Offset The offset of where this container page starts among the total objects available. Also provided in the X-Plex-Container-Start header Offset int `json:"offset,omitempty,omitzero"` Size int `json:"size,omitempty,omitzero"` // TotalSize The total size of objects available. Also provided in the X-Plex-Container-Total-Size header TotalSize int `json:"totalSize,omitempty,omitzero"` } `json:"MediaContainer,omitempty,omitzero"` }
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (MediaGrabberDevicesDeviceGetChannelsResponse) Status ¶
func (r MediaGrabberDevicesDeviceGetChannelsResponse) Status() string
Status returns HTTPResponse.Status
func (MediaGrabberDevicesDeviceGetChannelsResponse) StatusCode ¶
func (r MediaGrabberDevicesDeviceGetChannelsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type MediaGrabberDevicesDeviceGetChannelsResponse200Headers ¶
type MediaGrabberDevicesDeviceGetChannelsResponse200Headers struct {
XPlexContainerStart int
XPlexContainerTotalSize int
}
MediaGrabberDevicesDeviceGetChannelsResponse200Headers the declared response headers of an HTTP 200 response for MediaGrabberDevicesDeviceGetChannels
type MediaGrabberDevicesDeviceGetSlashResponse ¶
type MediaGrabberDevicesDeviceGetSlashResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *MediaContainerWithDevice
}
func ParseMediaGrabberDevicesDeviceGetSlashResponse ¶
func ParseMediaGrabberDevicesDeviceGetSlashResponse(rsp *http.Response) (*MediaGrabberDevicesDeviceGetSlashResponse, error)
ParseMediaGrabberDevicesDeviceGetSlashResponse parses an HTTP response from a MediaGrabberDevicesDeviceGetSlashWithResponse call
func (MediaGrabberDevicesDeviceGetSlashResponse) ContentType ¶
func (r MediaGrabberDevicesDeviceGetSlashResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (MediaGrabberDevicesDeviceGetSlashResponse) GetBody ¶
func (r MediaGrabberDevicesDeviceGetSlashResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (MediaGrabberDevicesDeviceGetSlashResponse) GetJSON200 ¶
func (r MediaGrabberDevicesDeviceGetSlashResponse) GetJSON200() *MediaContainerWithDevice
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (MediaGrabberDevicesDeviceGetSlashResponse) Status ¶
func (r MediaGrabberDevicesDeviceGetSlashResponse) Status() string
Status returns HTTPResponse.Status
func (MediaGrabberDevicesDeviceGetSlashResponse) StatusCode ¶
func (r MediaGrabberDevicesDeviceGetSlashResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type MediaGrabberDevicesDeviceGetThumbVersionResponse ¶
type MediaGrabberDevicesDeviceGetThumbVersionResponse struct {
Body []byte
HTTPResponse *http.Response
}
func ParseMediaGrabberDevicesDeviceGetThumbVersionResponse ¶
func ParseMediaGrabberDevicesDeviceGetThumbVersionResponse(rsp *http.Response) (*MediaGrabberDevicesDeviceGetThumbVersionResponse, error)
ParseMediaGrabberDevicesDeviceGetThumbVersionResponse parses an HTTP response from a MediaGrabberDevicesDeviceGetThumbVersionWithResponse call
func (MediaGrabberDevicesDeviceGetThumbVersionResponse) ContentType ¶
func (r MediaGrabberDevicesDeviceGetThumbVersionResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (MediaGrabberDevicesDeviceGetThumbVersionResponse) GetBody ¶
func (r MediaGrabberDevicesDeviceGetThumbVersionResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (MediaGrabberDevicesDeviceGetThumbVersionResponse) Status ¶
func (r MediaGrabberDevicesDeviceGetThumbVersionResponse) Status() string
Status returns HTTPResponse.Status
func (MediaGrabberDevicesDeviceGetThumbVersionResponse) StatusCode ¶
func (r MediaGrabberDevicesDeviceGetThumbVersionResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type MediaGrabberDevicesDevicePostScanParams ¶
type MediaGrabberDevicesDevicePostScanParams struct {
// Source A valid source for the scan
Source string `form:"source,omitempty" json:"source,omitempty,omitzero"`
}
MediaGrabberDevicesDevicePostScanParams defines parameters for MediaGrabberDevicesDevicePostScan.
type MediaGrabberDevicesDevicePostScanResponse ¶
type MediaGrabberDevicesDevicePostScanResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *MediaContainerWithDevice
// Headers200 the parsed response headers for an HTTP 200 response
Headers200 *MediaGrabberDevicesDevicePostScanResponse200Headers
}
func ParseMediaGrabberDevicesDevicePostScanResponse ¶
func ParseMediaGrabberDevicesDevicePostScanResponse(rsp *http.Response) (*MediaGrabberDevicesDevicePostScanResponse, error)
ParseMediaGrabberDevicesDevicePostScanResponse parses an HTTP response from a MediaGrabberDevicesDevicePostScanWithResponse call
func (MediaGrabberDevicesDevicePostScanResponse) ContentType ¶
func (r MediaGrabberDevicesDevicePostScanResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (MediaGrabberDevicesDevicePostScanResponse) GetBody ¶
func (r MediaGrabberDevicesDevicePostScanResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (MediaGrabberDevicesDevicePostScanResponse) GetJSON200 ¶
func (r MediaGrabberDevicesDevicePostScanResponse) GetJSON200() *MediaContainerWithDevice
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (MediaGrabberDevicesDevicePostScanResponse) Status ¶
func (r MediaGrabberDevicesDevicePostScanResponse) Status() string
Status returns HTTPResponse.Status
func (MediaGrabberDevicesDevicePostScanResponse) StatusCode ¶
func (r MediaGrabberDevicesDevicePostScanResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type MediaGrabberDevicesDevicePostScanResponse200Headers ¶
type MediaGrabberDevicesDevicePostScanResponse200Headers struct {
XPlexActivity string
}
MediaGrabberDevicesDevicePostScanResponse200Headers the declared response headers of an HTTP 200 response for MediaGrabberDevicesDevicePostScan
type MediaGrabberDevicesDevicePutChannelmapParams ¶
type MediaGrabberDevicesDevicePutChannelmapParams struct {
// ChannelMapping The mapping of changes, passed as a map of device channel to lineup VCN.
ChannelMapping map[string]interface{} `json:"channelMapping,omitempty,omitzero"`
// ChannelMappingByKey The mapping of changes, passed as a map of device channel to lineup key.
ChannelMappingByKey map[string]interface{} `json:"channelMappingByKey,omitempty,omitzero"`
// ChannelsEnabled The channels which are enabled.
ChannelsEnabled []string `form:"channelsEnabled,omitempty" json:"channelsEnabled,omitempty,omitzero"`
}
MediaGrabberDevicesDevicePutChannelmapParams defines parameters for MediaGrabberDevicesDevicePutChannelmap.
type MediaGrabberDevicesDevicePutChannelmapResponse ¶
type MediaGrabberDevicesDevicePutChannelmapResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *MediaContainerWithDevice
}
func ParseMediaGrabberDevicesDevicePutChannelmapResponse ¶
func ParseMediaGrabberDevicesDevicePutChannelmapResponse(rsp *http.Response) (*MediaGrabberDevicesDevicePutChannelmapResponse, error)
ParseMediaGrabberDevicesDevicePutChannelmapResponse parses an HTTP response from a MediaGrabberDevicesDevicePutChannelmapWithResponse call
func (MediaGrabberDevicesDevicePutChannelmapResponse) ContentType ¶
func (r MediaGrabberDevicesDevicePutChannelmapResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (MediaGrabberDevicesDevicePutChannelmapResponse) GetBody ¶
func (r MediaGrabberDevicesDevicePutChannelmapResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (MediaGrabberDevicesDevicePutChannelmapResponse) GetJSON200 ¶
func (r MediaGrabberDevicesDevicePutChannelmapResponse) GetJSON200() *MediaContainerWithDevice
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (MediaGrabberDevicesDevicePutChannelmapResponse) Status ¶
func (r MediaGrabberDevicesDevicePutChannelmapResponse) Status() string
Status returns HTTPResponse.Status
func (MediaGrabberDevicesDevicePutChannelmapResponse) StatusCode ¶
func (r MediaGrabberDevicesDevicePutChannelmapResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type MediaGrabberDevicesDevicePutPrefsParams ¶
type MediaGrabberDevicesDevicePutPrefsParams struct {
// Name The preference names and values.
Name string `form:"name,omitempty" json:"name,omitempty,omitzero"`
}
MediaGrabberDevicesDevicePutPrefsParams defines parameters for MediaGrabberDevicesDevicePutPrefs.
type MediaGrabberDevicesDevicePutPrefsResponse ¶
func ParseMediaGrabberDevicesDevicePutPrefsResponse ¶
func ParseMediaGrabberDevicesDevicePutPrefsResponse(rsp *http.Response) (*MediaGrabberDevicesDevicePutPrefsResponse, error)
ParseMediaGrabberDevicesDevicePutPrefsResponse parses an HTTP response from a MediaGrabberDevicesDevicePutPrefsWithResponse call
func (MediaGrabberDevicesDevicePutPrefsResponse) ContentType ¶
func (r MediaGrabberDevicesDevicePutPrefsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (MediaGrabberDevicesDevicePutPrefsResponse) GetBody ¶
func (r MediaGrabberDevicesDevicePutPrefsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (MediaGrabberDevicesDevicePutPrefsResponse) Status ¶
func (r MediaGrabberDevicesDevicePutPrefsResponse) Status() string
Status returns HTTPResponse.Status
func (MediaGrabberDevicesDevicePutPrefsResponse) StatusCode ¶
func (r MediaGrabberDevicesDevicePutPrefsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type MediaGrabberDevicesDevicePutSlashParams ¶
type MediaGrabberDevicesDevicePutSlashParams struct {
// Enabled Whether to enable the device
Enabled MediaGrabberDevicesDevicePutSlashParamsEnabled `form:"enabled,omitempty" json:"enabled,omitempty,omitzero"`
}
MediaGrabberDevicesDevicePutSlashParams defines parameters for MediaGrabberDevicesDevicePutSlash.
type MediaGrabberDevicesDevicePutSlashParamsEnabled ¶
type MediaGrabberDevicesDevicePutSlashParamsEnabled int
MediaGrabberDevicesDevicePutSlashParamsEnabled defines parameters for MediaGrabberDevicesDevicePutSlash.
const ( MediaGrabberDevicesDevicePutSlashParamsEnabledN0 MediaGrabberDevicesDevicePutSlashParamsEnabled = 0 MediaGrabberDevicesDevicePutSlashParamsEnabledN1 MediaGrabberDevicesDevicePutSlashParamsEnabled = 1 )
Defines values for MediaGrabberDevicesDevicePutSlashParamsEnabled.
func (MediaGrabberDevicesDevicePutSlashParamsEnabled) Valid ¶
func (e MediaGrabberDevicesDevicePutSlashParamsEnabled) Valid() bool
Valid indicates whether the value is a known member of the MediaGrabberDevicesDevicePutSlashParamsEnabled enum.
type MediaGrabberDevicesDevicePutSlashResponse ¶
type MediaGrabberDevicesDevicePutSlashResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *struct {
MediaContainer struct {
Identifier string `json:"identifier,omitempty,omitzero"`
Message string `json:"message,omitempty,omitzero"`
// Offset The offset of where this container page starts among the total objects available. Also provided in the X-Plex-Container-Start header
Offset int `json:"offset,omitempty,omitzero"`
Size int `json:"size,omitempty,omitzero"`
Status int `json:"status,omitempty,omitzero"`
// TotalSize The total size of objects available. Also provided in the X-Plex-Container-Total-Size header
TotalSize int `json:"totalSize,omitempty,omitzero"`
} `json:"MediaContainer,omitempty,omitzero"`
}
// Headers200 the parsed response headers for an HTTP 200 response
Headers200 *MediaGrabberDevicesDevicePutSlashResponse200Headers
}
func ParseMediaGrabberDevicesDevicePutSlashResponse ¶
func ParseMediaGrabberDevicesDevicePutSlashResponse(rsp *http.Response) (*MediaGrabberDevicesDevicePutSlashResponse, error)
ParseMediaGrabberDevicesDevicePutSlashResponse parses an HTTP response from a MediaGrabberDevicesDevicePutSlashWithResponse call
func (MediaGrabberDevicesDevicePutSlashResponse) ContentType ¶
func (r MediaGrabberDevicesDevicePutSlashResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (MediaGrabberDevicesDevicePutSlashResponse) GetBody ¶
func (r MediaGrabberDevicesDevicePutSlashResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (MediaGrabberDevicesDevicePutSlashResponse) GetJSON200 ¶
func (r MediaGrabberDevicesDevicePutSlashResponse) GetJSON200() *struct { MediaContainer struct { Identifier string `json:"identifier,omitempty,omitzero"` Message string `json:"message,omitempty,omitzero"` // Offset The offset of where this container page starts among the total objects available. Also provided in the X-Plex-Container-Start header Offset int `json:"offset,omitempty,omitzero"` Size int `json:"size,omitempty,omitzero"` Status int `json:"status,omitempty,omitzero"` // TotalSize The total size of objects available. Also provided in the X-Plex-Container-Total-Size header TotalSize int `json:"totalSize,omitempty,omitzero"` } `json:"MediaContainer,omitempty,omitzero"` }
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (MediaGrabberDevicesDevicePutSlashResponse) Status ¶
func (r MediaGrabberDevicesDevicePutSlashResponse) Status() string
Status returns HTTPResponse.Status
func (MediaGrabberDevicesDevicePutSlashResponse) StatusCode ¶
func (r MediaGrabberDevicesDevicePutSlashResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type MediaGrabberDevicesDevicePutSlashResponse200Headers ¶
type MediaGrabberDevicesDevicePutSlashResponse200Headers struct {
XPlexContainerStart int
XPlexContainerTotalSize int
}
MediaGrabberDevicesDevicePutSlashResponse200Headers the declared response headers of an HTTP 200 response for MediaGrabberDevicesDevicePutSlash
type MediaGrabberGetDevicesResponse ¶
type MediaGrabberGetDevicesResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *MediaContainerWithDevice
// Headers200 the parsed response headers for an HTTP 200 response
Headers200 *MediaGrabberGetDevicesResponse200Headers
}
func ParseMediaGrabberGetDevicesResponse ¶
func ParseMediaGrabberGetDevicesResponse(rsp *http.Response) (*MediaGrabberGetDevicesResponse, error)
ParseMediaGrabberGetDevicesResponse parses an HTTP response from a MediaGrabberGetDevicesWithResponse call
func (MediaGrabberGetDevicesResponse) ContentType ¶
func (r MediaGrabberGetDevicesResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (MediaGrabberGetDevicesResponse) GetBody ¶
func (r MediaGrabberGetDevicesResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (MediaGrabberGetDevicesResponse) GetJSON200 ¶
func (r MediaGrabberGetDevicesResponse) GetJSON200() *MediaContainerWithDevice
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (MediaGrabberGetDevicesResponse) Status ¶
func (r MediaGrabberGetDevicesResponse) Status() string
Status returns HTTPResponse.Status
func (MediaGrabberGetDevicesResponse) StatusCode ¶
func (r MediaGrabberGetDevicesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type MediaGrabberGetDevicesResponse200Headers ¶
type MediaGrabberGetDevicesResponse200Headers struct {
XPlexContainerStart int
XPlexContainerTotalSize int
}
MediaGrabberGetDevicesResponse200Headers the declared response headers of an HTTP 200 response for MediaGrabberGetDevices
type MediaGrabberGetSlashParams ¶
type MediaGrabberGetSlashParams struct {
// Protocol Only return grabbers providing this protocol.
Protocol string `form:"protocol,omitempty" json:"protocol,omitempty,omitzero"`
}
MediaGrabberGetSlashParams defines parameters for MediaGrabberGetSlash.
type MediaGrabberGetSlashResponse ¶
type MediaGrabberGetSlashResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *struct {
MediaContainer struct {
MediaGrabber []struct {
Identifier string `json:"identifier,omitempty,omitzero"`
Protocol string `json:"protocol,omitempty,omitzero"`
Title string `json:"title,omitempty,omitzero"`
} `json:"MediaGrabber,omitempty,omitzero"`
Identifier string `json:"identifier,omitempty,omitzero"`
// Offset The offset of where this container page starts among the total objects available. Also provided in the X-Plex-Container-Start header
Offset int `json:"offset,omitempty,omitzero"`
Size int `json:"size,omitempty,omitzero"`
// TotalSize The total size of objects available. Also provided in the X-Plex-Container-Total-Size header
TotalSize int `json:"totalSize,omitempty,omitzero"`
} `json:"MediaContainer,omitempty,omitzero"`
}
// Headers200 the parsed response headers for an HTTP 200 response
Headers200 *MediaGrabberGetSlashResponse200Headers
}
func ParseMediaGrabberGetSlashResponse ¶
func ParseMediaGrabberGetSlashResponse(rsp *http.Response) (*MediaGrabberGetSlashResponse, error)
ParseMediaGrabberGetSlashResponse parses an HTTP response from a MediaGrabberGetSlashWithResponse call
func (MediaGrabberGetSlashResponse) ContentType ¶
func (r MediaGrabberGetSlashResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (MediaGrabberGetSlashResponse) GetBody ¶
func (r MediaGrabberGetSlashResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (MediaGrabberGetSlashResponse) GetJSON200 ¶
func (r MediaGrabberGetSlashResponse) GetJSON200() *struct { MediaContainer struct { MediaGrabber []struct { Identifier string `json:"identifier,omitempty,omitzero"` Protocol string `json:"protocol,omitempty,omitzero"` Title string `json:"title,omitempty,omitzero"` } `json:"MediaGrabber,omitempty,omitzero"` Identifier string `json:"identifier,omitempty,omitzero"` // Offset The offset of where this container page starts among the total objects available. Also provided in the X-Plex-Container-Start header Offset int `json:"offset,omitempty,omitzero"` Size int `json:"size,omitempty,omitzero"` // TotalSize The total size of objects available. Also provided in the X-Plex-Container-Total-Size header TotalSize int `json:"totalSize,omitempty,omitzero"` } `json:"MediaContainer,omitempty,omitzero"` }
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (MediaGrabberGetSlashResponse) Status ¶
func (r MediaGrabberGetSlashResponse) Status() string
Status returns HTTPResponse.Status
func (MediaGrabberGetSlashResponse) StatusCode ¶
func (r MediaGrabberGetSlashResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type MediaGrabberGetSlashResponse200Headers ¶
type MediaGrabberGetSlashResponse200Headers struct {
XPlexContainerStart int
XPlexContainerTotalSize int
}
MediaGrabberGetSlashResponse200Headers the declared response headers of an HTTP 200 response for MediaGrabberGetSlash
type MediaGrabberPostDeviceDiscoverResponse ¶
type MediaGrabberPostDeviceDiscoverResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *MediaContainerWithDevice
}
func ParseMediaGrabberPostDeviceDiscoverResponse ¶
func ParseMediaGrabberPostDeviceDiscoverResponse(rsp *http.Response) (*MediaGrabberPostDeviceDiscoverResponse, error)
ParseMediaGrabberPostDeviceDiscoverResponse parses an HTTP response from a MediaGrabberPostDeviceDiscoverWithResponse call
func (MediaGrabberPostDeviceDiscoverResponse) ContentType ¶
func (r MediaGrabberPostDeviceDiscoverResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (MediaGrabberPostDeviceDiscoverResponse) GetBody ¶
func (r MediaGrabberPostDeviceDiscoverResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (MediaGrabberPostDeviceDiscoverResponse) GetJSON200 ¶
func (r MediaGrabberPostDeviceDiscoverResponse) GetJSON200() *MediaContainerWithDevice
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (MediaGrabberPostDeviceDiscoverResponse) Status ¶
func (r MediaGrabberPostDeviceDiscoverResponse) Status() string
Status returns HTTPResponse.Status
func (MediaGrabberPostDeviceDiscoverResponse) StatusCode ¶
func (r MediaGrabberPostDeviceDiscoverResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type MediaGrabberPostDevicesParams ¶
type MediaGrabberPostDevicesParams struct {
// URI The URI of the device.
URI string `form:"uri,omitempty" json:"uri,omitempty,omitzero"`
}
MediaGrabberPostDevicesParams defines parameters for MediaGrabberPostDevices.
type MediaGrabberPostDevicesResponse ¶
type MediaGrabberPostDevicesResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *MediaContainerWithDevice
}
func ParseMediaGrabberPostDevicesResponse ¶
func ParseMediaGrabberPostDevicesResponse(rsp *http.Response) (*MediaGrabberPostDevicesResponse, error)
ParseMediaGrabberPostDevicesResponse parses an HTTP response from a MediaGrabberPostDevicesWithResponse call
func (MediaGrabberPostDevicesResponse) ContentType ¶
func (r MediaGrabberPostDevicesResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (MediaGrabberPostDevicesResponse) GetBody ¶
func (r MediaGrabberPostDevicesResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (MediaGrabberPostDevicesResponse) GetJSON200 ¶
func (r MediaGrabberPostDevicesResponse) GetJSON200() *MediaContainerWithDevice
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (MediaGrabberPostDevicesResponse) Status ¶
func (r MediaGrabberPostDevicesResponse) Status() string
Status returns HTTPResponse.Status
func (MediaGrabberPostDevicesResponse) StatusCode ¶
func (r MediaGrabberPostDevicesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type MediaProviderEPGChannelsParams ¶
type MediaProviderEPGChannelsParams struct {
// Genre The genre of channels to fetch
Genre string `form:"genre,omitempty" json:"genre,omitempty,omitzero"`
}
MediaProviderEPGChannelsParams defines parameters for MediaProviderEPGChannels.
type MediaProviderEPGChannelsParamsIdentifier ¶
type MediaProviderEPGChannelsParamsIdentifier string
MediaProviderEPGChannelsParamsIdentifier defines parameters for MediaProviderEPGChannels.
const ( MediaProviderEPGChannelsParamsIdentifierCloud MediaProviderEPGChannelsParamsIdentifier = "cloud" MediaProviderEPGChannelsParamsIdentifierCustom MediaProviderEPGChannelsParamsIdentifier = "custom" MediaProviderEPGChannelsParamsIdentifierXmltv MediaProviderEPGChannelsParamsIdentifier = "xmltv" )
Defines values for MediaProviderEPGChannelsParamsIdentifier.
func (MediaProviderEPGChannelsParamsIdentifier) Valid ¶
func (e MediaProviderEPGChannelsParamsIdentifier) Valid() bool
Valid indicates whether the value is a known member of the MediaProviderEPGChannelsParamsIdentifier enum.
type MediaProviderEPGChannelsResponse ¶
type MediaProviderEPGChannelsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *struct {
MediaContainer struct {
Channel []struct {
CallSign string `json:"callSign,omitempty,omitzero"`
GridKey string `json:"gridKey,omitempty,omitzero"`
ID string `json:"id,omitempty,omitzero"`
IsHd bool `json:"isHd,omitempty,omitzero"`
Language string `json:"language,omitempty,omitzero"`
Thumb string `json:"thumb,omitempty,omitzero"`
Title string `json:"title,omitempty,omitzero"`
Vcn string `json:"vcn,omitempty,omitzero"`
} `json:"Channel,omitempty,omitzero"`
Identifier string `json:"identifier,omitempty,omitzero"`
// Offset The offset of where this container page starts among the total objects available. Also provided in the X-Plex-Container-Start header
Offset int `json:"offset,omitempty,omitzero"`
Size int `json:"size,omitempty,omitzero"`
// TotalSize The total size of objects available. Also provided in the X-Plex-Container-Total-Size header
TotalSize int `json:"totalSize,omitempty,omitzero"`
} `json:"MediaContainer,omitempty,omitzero"`
}
// Headers200 the parsed response headers for an HTTP 200 response
Headers200 *MediaProviderEPGChannelsResponse200Headers
}
func ParseMediaProviderEPGChannelsResponse ¶
func ParseMediaProviderEPGChannelsResponse(rsp *http.Response) (*MediaProviderEPGChannelsResponse, error)
ParseMediaProviderEPGChannelsResponse parses an HTTP response from a MediaProviderEPGChannelsWithResponse call
func (MediaProviderEPGChannelsResponse) ContentType ¶
func (r MediaProviderEPGChannelsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (MediaProviderEPGChannelsResponse) GetBody ¶
func (r MediaProviderEPGChannelsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (MediaProviderEPGChannelsResponse) GetJSON200 ¶
func (r MediaProviderEPGChannelsResponse) GetJSON200() *struct { MediaContainer struct { Channel []struct { CallSign string `json:"callSign,omitempty,omitzero"` GridKey string `json:"gridKey,omitempty,omitzero"` ID string `json:"id,omitempty,omitzero"` IsHd bool `json:"isHd,omitempty,omitzero"` Language string `json:"language,omitempty,omitzero"` Thumb string `json:"thumb,omitempty,omitzero"` Title string `json:"title,omitempty,omitzero"` Vcn string `json:"vcn,omitempty,omitzero"` } `json:"Channel,omitempty,omitzero"` Identifier string `json:"identifier,omitempty,omitzero"` // Offset The offset of where this container page starts among the total objects available. Also provided in the X-Plex-Container-Start header Offset int `json:"offset,omitempty,omitzero"` Size int `json:"size,omitempty,omitzero"` // TotalSize The total size of objects available. Also provided in the X-Plex-Container-Total-Size header TotalSize int `json:"totalSize,omitempty,omitzero"` } `json:"MediaContainer,omitempty,omitzero"` }
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (MediaProviderEPGChannelsResponse) Status ¶
func (r MediaProviderEPGChannelsResponse) Status() string
Status returns HTTPResponse.Status
func (MediaProviderEPGChannelsResponse) StatusCode ¶
func (r MediaProviderEPGChannelsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type MediaProviderEPGChannelsResponse200Headers ¶
type MediaProviderEPGChannelsResponse200Headers struct {
XPlexContainerStart int
XPlexContainerTotalSize int
}
MediaProviderEPGChannelsResponse200Headers the declared response headers of an HTTP 200 response for MediaProviderEPGChannels
type MediaProviderEPGGridParams ¶
type MediaProviderEPGGridParams struct {
// ChannelGridKey The key of the channel on which to get airing information
ChannelGridKey string `form:"channelGridKey" json:"channelGridKey"`
// Date The date on which to get airing information
Date openapi_types.Date `form:"date" json:"date"`
}
MediaProviderEPGGridParams defines parameters for MediaProviderEPGGrid.
type MediaProviderEPGGridParamsIdentifier ¶
type MediaProviderEPGGridParamsIdentifier string
MediaProviderEPGGridParamsIdentifier defines parameters for MediaProviderEPGGrid.
const ( MediaProviderEPGGridParamsIdentifierCloud MediaProviderEPGGridParamsIdentifier = "cloud" MediaProviderEPGGridParamsIdentifierCustom MediaProviderEPGGridParamsIdentifier = "custom" MediaProviderEPGGridParamsIdentifierXmltv MediaProviderEPGGridParamsIdentifier = "xmltv" )
Defines values for MediaProviderEPGGridParamsIdentifier.
func (MediaProviderEPGGridParamsIdentifier) Valid ¶
func (e MediaProviderEPGGridParamsIdentifier) Valid() bool
Valid indicates whether the value is a known member of the MediaProviderEPGGridParamsIdentifier enum.
type MediaProviderEPGGridResponse ¶
type MediaProviderEPGGridResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *MediaContainerWithMetadata
// Headers200 the parsed response headers for an HTTP 200 response
Headers200 *MediaProviderEPGGridResponse200Headers
}
func ParseMediaProviderEPGGridResponse ¶
func ParseMediaProviderEPGGridResponse(rsp *http.Response) (*MediaProviderEPGGridResponse, error)
ParseMediaProviderEPGGridResponse parses an HTTP response from a MediaProviderEPGGridWithResponse call
func (MediaProviderEPGGridResponse) ContentType ¶
func (r MediaProviderEPGGridResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (MediaProviderEPGGridResponse) GetBody ¶
func (r MediaProviderEPGGridResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (MediaProviderEPGGridResponse) GetJSON200 ¶
func (r MediaProviderEPGGridResponse) GetJSON200() *MediaContainerWithMetadata
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (MediaProviderEPGGridResponse) Status ¶
func (r MediaProviderEPGGridResponse) Status() string
Status returns HTTPResponse.Status
func (MediaProviderEPGGridResponse) StatusCode ¶
func (r MediaProviderEPGGridResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type MediaProviderEPGGridResponse200Headers ¶
type MediaProviderEPGGridResponse200Headers struct {
XPlexContainerStart int
XPlexContainerTotalSize int
}
MediaProviderEPGGridResponse200Headers the declared response headers of an HTTP 200 response for MediaProviderEPGGrid
type MediaProviderEPGWatchnowAllParamsIdentifier ¶
type MediaProviderEPGWatchnowAllParamsIdentifier string
MediaProviderEPGWatchnowAllParamsIdentifier defines parameters for MediaProviderEPGWatchnowAll.
const ( MediaProviderEPGWatchnowAllParamsIdentifierCloud MediaProviderEPGWatchnowAllParamsIdentifier = "cloud" MediaProviderEPGWatchnowAllParamsIdentifierCustom MediaProviderEPGWatchnowAllParamsIdentifier = "custom" MediaProviderEPGWatchnowAllParamsIdentifierXmltv MediaProviderEPGWatchnowAllParamsIdentifier = "xmltv" )
Defines values for MediaProviderEPGWatchnowAllParamsIdentifier.
func (MediaProviderEPGWatchnowAllParamsIdentifier) Valid ¶
func (e MediaProviderEPGWatchnowAllParamsIdentifier) Valid() bool
Valid indicates whether the value is a known member of the MediaProviderEPGWatchnowAllParamsIdentifier enum.
type MediaProviderEPGWatchnowAllResponse ¶
type MediaProviderEPGWatchnowAllResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *MediaContainerWithMetadata
// Headers200 the parsed response headers for an HTTP 200 response
Headers200 *MediaProviderEPGWatchnowAllResponse200Headers
}
func ParseMediaProviderEPGWatchnowAllResponse ¶
func ParseMediaProviderEPGWatchnowAllResponse(rsp *http.Response) (*MediaProviderEPGWatchnowAllResponse, error)
ParseMediaProviderEPGWatchnowAllResponse parses an HTTP response from a MediaProviderEPGWatchnowAllWithResponse call
func (MediaProviderEPGWatchnowAllResponse) ContentType ¶
func (r MediaProviderEPGWatchnowAllResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (MediaProviderEPGWatchnowAllResponse) GetBody ¶
func (r MediaProviderEPGWatchnowAllResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (MediaProviderEPGWatchnowAllResponse) GetJSON200 ¶
func (r MediaProviderEPGWatchnowAllResponse) GetJSON200() *MediaContainerWithMetadata
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (MediaProviderEPGWatchnowAllResponse) Status ¶
func (r MediaProviderEPGWatchnowAllResponse) Status() string
Status returns HTTPResponse.Status
func (MediaProviderEPGWatchnowAllResponse) StatusCode ¶
func (r MediaProviderEPGWatchnowAllResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type MediaProviderEPGWatchnowAllResponse200Headers ¶
type MediaProviderEPGWatchnowAllResponse200Headers struct {
XPlexContainerStart int
XPlexContainerTotalSize int
}
MediaProviderEPGWatchnowAllResponse200Headers the declared response headers of an HTTP 200 response for MediaProviderEPGWatchnowAll
type MediaProviderEPGWatchnowParamsIdentifier ¶
type MediaProviderEPGWatchnowParamsIdentifier string
MediaProviderEPGWatchnowParamsIdentifier defines parameters for MediaProviderEPGWatchnow.
const ( MediaProviderEPGWatchnowParamsIdentifierCloud MediaProviderEPGWatchnowParamsIdentifier = "cloud" MediaProviderEPGWatchnowParamsIdentifierCustom MediaProviderEPGWatchnowParamsIdentifier = "custom" MediaProviderEPGWatchnowParamsIdentifierXmltv MediaProviderEPGWatchnowParamsIdentifier = "xmltv" )
Defines values for MediaProviderEPGWatchnowParamsIdentifier.
func (MediaProviderEPGWatchnowParamsIdentifier) Valid ¶
func (e MediaProviderEPGWatchnowParamsIdentifier) Valid() bool
Valid indicates whether the value is a known member of the MediaProviderEPGWatchnowParamsIdentifier enum.
type MediaProviderEPGWatchnowResponse ¶
type MediaProviderEPGWatchnowResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *struct {
Type []struct {
Active bool `json:"active,omitempty,omitzero"`
Key string `json:"key,omitempty,omitzero"`
Title string `json:"title,omitempty,omitzero"`
Type string `json:"type,omitempty,omitzero"`
} `json:"Type,omitempty,omitzero"`
Identifier string `json:"identifier,omitempty,omitzero"`
// Offset The offset of where this container page starts among the total objects available. Also provided in the X-Plex-Container-Start header
Offset int `json:"offset,omitempty,omitzero"`
Size int `json:"size,omitempty,omitzero"`
// TotalSize The total size of objects available. Also provided in the X-Plex-Container-Total-Size header
TotalSize int `json:"totalSize,omitempty,omitzero"`
}
// Headers200 the parsed response headers for an HTTP 200 response
Headers200 *MediaProviderEPGWatchnowResponse200Headers
}
func ParseMediaProviderEPGWatchnowResponse ¶
func ParseMediaProviderEPGWatchnowResponse(rsp *http.Response) (*MediaProviderEPGWatchnowResponse, error)
ParseMediaProviderEPGWatchnowResponse parses an HTTP response from a MediaProviderEPGWatchnowWithResponse call
func (MediaProviderEPGWatchnowResponse) ContentType ¶
func (r MediaProviderEPGWatchnowResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (MediaProviderEPGWatchnowResponse) GetBody ¶
func (r MediaProviderEPGWatchnowResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (MediaProviderEPGWatchnowResponse) GetJSON200 ¶
func (r MediaProviderEPGWatchnowResponse) GetJSON200() *struct { Type []struct { Active bool `json:"active,omitempty,omitzero"` Key string `json:"key,omitempty,omitzero"` Title string `json:"title,omitempty,omitzero"` Type string `json:"type,omitempty,omitzero"` } `json:"Type,omitempty,omitzero"` Identifier string `json:"identifier,omitempty,omitzero"` // Offset The offset of where this container page starts among the total objects available. Also provided in the X-Plex-Container-Start header Offset int `json:"offset,omitempty,omitzero"` Size int `json:"size,omitempty,omitzero"` // TotalSize The total size of objects available. Also provided in the X-Plex-Container-Total-Size header TotalSize int `json:"totalSize,omitempty,omitzero"` }
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (MediaProviderEPGWatchnowResponse) Status ¶
func (r MediaProviderEPGWatchnowResponse) Status() string
Status returns HTTPResponse.Status
func (MediaProviderEPGWatchnowResponse) StatusCode ¶
func (r MediaProviderEPGWatchnowResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type MediaProviderEPGWatchnowResponse200Headers ¶
type MediaProviderEPGWatchnowResponse200Headers struct {
XPlexContainerStart int
XPlexContainerTotalSize int
}
MediaProviderEPGWatchnowResponse200Headers the declared response headers of an HTTP 200 response for MediaProviderEPGWatchnow
type MediaSubscription ¶
type MediaSubscription struct {
// Directory Media Matching Hints
Directory map[string]interface{} `json:"Directory,omitempty,omitzero"`
MediaGrabOperation []MediaGrabOperation `json:"MediaGrabOperation,omitempty,omitzero"`
// Playlist Media Matching Hints
Playlist map[string]interface{} `json:"Playlist,omitempty,omitzero"`
Setting []struct {
// Advanced Whether this is considered an advanced setting
Advanced bool `json:"advanced,omitempty,omitzero"`
// Default The default value for this setting
Default MediaSubscription_Setting_Default `json:"default,omitempty,omitzero"`
// EnumValues The possible values for this setting if restricted. The list is `|` separated with `value:name` entries.
EnumValues string `json:"enumValues,omitempty,omitzero"`
// Group The group name for this setting
Group string `json:"group,omitempty,omitzero"`
// Hidden Whether this setting is hidden from the user
Hidden bool `json:"hidden,omitempty,omitzero"`
// ID The query parameter name for this setting
ID string `json:"id,omitempty,omitzero"`
// Label The user-facing name of this setting
Label string `json:"label,omitempty,omitzero"`
// Summary A user-facing description of the setting
Summary string `json:"summary,omitempty,omitzero"`
// Type They type of the value
Type MediaSubscriptionSettingType `json:"type,omitempty,omitzero"`
// Value The current value of this setting
Value MediaSubscription_Setting_Value `json:"value,omitempty,omitzero"`
} `json:"Setting,omitempty,omitzero"`
// Video Media Matching Hints
Video map[string]interface{} `json:"Video,omitempty,omitzero"`
AiringsType MediaSubscriptionAiringsType `json:"airingsType,omitempty,omitzero"`
CreatedAt int `json:"createdAt,omitempty,omitzero"`
// DurationTotal Only included if `includeStorage` is specified
DurationTotal int `json:"durationTotal,omitempty,omitzero"`
Key string `json:"key,omitempty,omitzero"`
LibrarySectionTitle string `json:"librarySectionTitle,omitempty,omitzero"`
LocationPath string `json:"locationPath,omitempty,omitzero"`
// StorageTotal Only included if `includeStorage` is specified
StorageTotal int `json:"storageTotal,omitempty,omitzero"`
// TargetLibrarySectionID The library section id for where the item is to be recorded
TargetLibrarySectionID int `json:"targetLibrarySectionID,omitempty,omitzero"`
// TargetSectionLocationID The library section location id for where the item is to be recorded
TargetSectionLocationID int `json:"targetSectionLocationID,omitempty,omitzero"`
Title string `json:"title,omitempty,omitzero"`
// Type The metadata type of the root item of the subscription
Type int `json:"type,omitempty,omitzero"`
}
MediaSubscription A media subscription contains a representation of metadata desired to be recorded
type MediaSubscriptionAiringsType ¶
type MediaSubscriptionAiringsType string
MediaSubscriptionAiringsType defines model for MediaSubscription.AiringsType.
const ( NewAiringsOnly MediaSubscriptionAiringsType = "New Airings Only" NewAndRepeatAirings MediaSubscriptionAiringsType = "New and Repeat Airings" )
Defines values for MediaSubscriptionAiringsType.
func (MediaSubscriptionAiringsType) Valid ¶
func (e MediaSubscriptionAiringsType) Valid() bool
Valid indicates whether the value is a known member of the MediaSubscriptionAiringsType enum.
type MediaSubscriptionSettingDefault0 ¶
type MediaSubscriptionSettingDefault0 = string
MediaSubscriptionSettingDefault0 defines model for MediaSubscription.Setting.Default.0.
type MediaSubscriptionSettingDefault1 ¶
type MediaSubscriptionSettingDefault1 = float32
MediaSubscriptionSettingDefault1 defines model for MediaSubscription.Setting.Default.1.
type MediaSubscriptionSettingDefault2 ¶
type MediaSubscriptionSettingDefault2 = bool
MediaSubscriptionSettingDefault2 defines model for MediaSubscription.Setting.Default.2.
type MediaSubscriptionSettingType ¶
type MediaSubscriptionSettingType string
MediaSubscriptionSettingType They type of the value
const ( MediaSubscriptionSettingTypeBool MediaSubscriptionSettingType = "bool" MediaSubscriptionSettingTypeInt MediaSubscriptionSettingType = "int" MediaSubscriptionSettingTypeText MediaSubscriptionSettingType = "text" )
Defines values for MediaSubscriptionSettingType.
func (MediaSubscriptionSettingType) Valid ¶
func (e MediaSubscriptionSettingType) Valid() bool
Valid indicates whether the value is a known member of the MediaSubscriptionSettingType enum.
type MediaSubscriptionSettingValue0 ¶
type MediaSubscriptionSettingValue0 = string
MediaSubscriptionSettingValue0 defines model for MediaSubscription.Setting.Value.0.
type MediaSubscriptionSettingValue1 ¶
type MediaSubscriptionSettingValue1 = float32
MediaSubscriptionSettingValue1 defines model for MediaSubscription.Setting.Value.1.
type MediaSubscriptionSettingValue2 ¶
type MediaSubscriptionSettingValue2 = bool
MediaSubscriptionSettingValue2 defines model for MediaSubscription.Setting.Value.2.
type MediaSubscription_Setting_Default ¶
type MediaSubscription_Setting_Default struct {
// contains filtered or unexported fields
}
MediaSubscription_Setting_Default The default value for this setting
func (MediaSubscription_Setting_Default) AsMediaSubscriptionSettingDefault0 ¶
func (t MediaSubscription_Setting_Default) AsMediaSubscriptionSettingDefault0() (MediaSubscriptionSettingDefault0, error)
AsMediaSubscriptionSettingDefault0 returns the union data inside the MediaSubscription_Setting_Default as a MediaSubscriptionSettingDefault0
func (MediaSubscription_Setting_Default) AsMediaSubscriptionSettingDefault1 ¶
func (t MediaSubscription_Setting_Default) AsMediaSubscriptionSettingDefault1() (MediaSubscriptionSettingDefault1, error)
AsMediaSubscriptionSettingDefault1 returns the union data inside the MediaSubscription_Setting_Default as a MediaSubscriptionSettingDefault1
func (MediaSubscription_Setting_Default) AsMediaSubscriptionSettingDefault2 ¶
func (t MediaSubscription_Setting_Default) AsMediaSubscriptionSettingDefault2() (MediaSubscriptionSettingDefault2, error)
AsMediaSubscriptionSettingDefault2 returns the union data inside the MediaSubscription_Setting_Default as a MediaSubscriptionSettingDefault2
func (*MediaSubscription_Setting_Default) FromMediaSubscriptionSettingDefault0 ¶
func (t *MediaSubscription_Setting_Default) FromMediaSubscriptionSettingDefault0(v MediaSubscriptionSettingDefault0) error
FromMediaSubscriptionSettingDefault0 overwrites any union data inside the MediaSubscription_Setting_Default as the provided MediaSubscriptionSettingDefault0
func (*MediaSubscription_Setting_Default) FromMediaSubscriptionSettingDefault1 ¶
func (t *MediaSubscription_Setting_Default) FromMediaSubscriptionSettingDefault1(v MediaSubscriptionSettingDefault1) error
FromMediaSubscriptionSettingDefault1 overwrites any union data inside the MediaSubscription_Setting_Default as the provided MediaSubscriptionSettingDefault1
func (*MediaSubscription_Setting_Default) FromMediaSubscriptionSettingDefault2 ¶
func (t *MediaSubscription_Setting_Default) FromMediaSubscriptionSettingDefault2(v MediaSubscriptionSettingDefault2) error
FromMediaSubscriptionSettingDefault2 overwrites any union data inside the MediaSubscription_Setting_Default as the provided MediaSubscriptionSettingDefault2
func (MediaSubscription_Setting_Default) MarshalJSON ¶
func (t MediaSubscription_Setting_Default) MarshalJSON() ([]byte, error)
func (*MediaSubscription_Setting_Default) MergeMediaSubscriptionSettingDefault0 ¶
func (t *MediaSubscription_Setting_Default) MergeMediaSubscriptionSettingDefault0(v MediaSubscriptionSettingDefault0) error
MergeMediaSubscriptionSettingDefault0 performs a merge with any union data inside the MediaSubscription_Setting_Default, using the provided MediaSubscriptionSettingDefault0
func (*MediaSubscription_Setting_Default) MergeMediaSubscriptionSettingDefault1 ¶
func (t *MediaSubscription_Setting_Default) MergeMediaSubscriptionSettingDefault1(v MediaSubscriptionSettingDefault1) error
MergeMediaSubscriptionSettingDefault1 performs a merge with any union data inside the MediaSubscription_Setting_Default, using the provided MediaSubscriptionSettingDefault1
func (*MediaSubscription_Setting_Default) MergeMediaSubscriptionSettingDefault2 ¶
func (t *MediaSubscription_Setting_Default) MergeMediaSubscriptionSettingDefault2(v MediaSubscriptionSettingDefault2) error
MergeMediaSubscriptionSettingDefault2 performs a merge with any union data inside the MediaSubscription_Setting_Default, using the provided MediaSubscriptionSettingDefault2
func (*MediaSubscription_Setting_Default) UnmarshalJSON ¶
func (t *MediaSubscription_Setting_Default) UnmarshalJSON(b []byte) error
type MediaSubscription_Setting_Value ¶
type MediaSubscription_Setting_Value struct {
// contains filtered or unexported fields
}
MediaSubscription_Setting_Value The current value of this setting
func (MediaSubscription_Setting_Value) AsMediaSubscriptionSettingValue0 ¶
func (t MediaSubscription_Setting_Value) AsMediaSubscriptionSettingValue0() (MediaSubscriptionSettingValue0, error)
AsMediaSubscriptionSettingValue0 returns the union data inside the MediaSubscription_Setting_Value as a MediaSubscriptionSettingValue0
func (MediaSubscription_Setting_Value) AsMediaSubscriptionSettingValue1 ¶
func (t MediaSubscription_Setting_Value) AsMediaSubscriptionSettingValue1() (MediaSubscriptionSettingValue1, error)
AsMediaSubscriptionSettingValue1 returns the union data inside the MediaSubscription_Setting_Value as a MediaSubscriptionSettingValue1
func (MediaSubscription_Setting_Value) AsMediaSubscriptionSettingValue2 ¶
func (t MediaSubscription_Setting_Value) AsMediaSubscriptionSettingValue2() (MediaSubscriptionSettingValue2, error)
AsMediaSubscriptionSettingValue2 returns the union data inside the MediaSubscription_Setting_Value as a MediaSubscriptionSettingValue2
func (*MediaSubscription_Setting_Value) FromMediaSubscriptionSettingValue0 ¶
func (t *MediaSubscription_Setting_Value) FromMediaSubscriptionSettingValue0(v MediaSubscriptionSettingValue0) error
FromMediaSubscriptionSettingValue0 overwrites any union data inside the MediaSubscription_Setting_Value as the provided MediaSubscriptionSettingValue0
func (*MediaSubscription_Setting_Value) FromMediaSubscriptionSettingValue1 ¶
func (t *MediaSubscription_Setting_Value) FromMediaSubscriptionSettingValue1(v MediaSubscriptionSettingValue1) error
FromMediaSubscriptionSettingValue1 overwrites any union data inside the MediaSubscription_Setting_Value as the provided MediaSubscriptionSettingValue1
func (*MediaSubscription_Setting_Value) FromMediaSubscriptionSettingValue2 ¶
func (t *MediaSubscription_Setting_Value) FromMediaSubscriptionSettingValue2(v MediaSubscriptionSettingValue2) error
FromMediaSubscriptionSettingValue2 overwrites any union data inside the MediaSubscription_Setting_Value as the provided MediaSubscriptionSettingValue2
func (MediaSubscription_Setting_Value) MarshalJSON ¶
func (t MediaSubscription_Setting_Value) MarshalJSON() ([]byte, error)
func (*MediaSubscription_Setting_Value) MergeMediaSubscriptionSettingValue0 ¶
func (t *MediaSubscription_Setting_Value) MergeMediaSubscriptionSettingValue0(v MediaSubscriptionSettingValue0) error
MergeMediaSubscriptionSettingValue0 performs a merge with any union data inside the MediaSubscription_Setting_Value, using the provided MediaSubscriptionSettingValue0
func (*MediaSubscription_Setting_Value) MergeMediaSubscriptionSettingValue1 ¶
func (t *MediaSubscription_Setting_Value) MergeMediaSubscriptionSettingValue1(v MediaSubscriptionSettingValue1) error
MergeMediaSubscriptionSettingValue1 performs a merge with any union data inside the MediaSubscription_Setting_Value, using the provided MediaSubscriptionSettingValue1
func (*MediaSubscription_Setting_Value) MergeMediaSubscriptionSettingValue2 ¶
func (t *MediaSubscription_Setting_Value) MergeMediaSubscriptionSettingValue2(v MediaSubscriptionSettingValue2) error
MergeMediaSubscriptionSettingValue2 performs a merge with any union data inside the MediaSubscription_Setting_Value, using the provided MediaSubscriptionSettingValue2
func (*MediaSubscription_Setting_Value) UnmarshalJSON ¶
func (t *MediaSubscription_Setting_Value) UnmarshalJSON(b []byte) error
type MediaSubscriptionsDeleteSubscriptionResponse ¶
type MediaSubscriptionsDeleteSubscriptionResponse struct {
Body []byte
HTTPResponse *http.Response
}
func ParseMediaSubscriptionsDeleteSubscriptionResponse ¶
func ParseMediaSubscriptionsDeleteSubscriptionResponse(rsp *http.Response) (*MediaSubscriptionsDeleteSubscriptionResponse, error)
ParseMediaSubscriptionsDeleteSubscriptionResponse parses an HTTP response from a MediaSubscriptionsDeleteSubscriptionWithResponse call
func (MediaSubscriptionsDeleteSubscriptionResponse) ContentType ¶
func (r MediaSubscriptionsDeleteSubscriptionResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (MediaSubscriptionsDeleteSubscriptionResponse) GetBody ¶
func (r MediaSubscriptionsDeleteSubscriptionResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (MediaSubscriptionsDeleteSubscriptionResponse) Status ¶
func (r MediaSubscriptionsDeleteSubscriptionResponse) Status() string
Status returns HTTPResponse.Status
func (MediaSubscriptionsDeleteSubscriptionResponse) StatusCode ¶
func (r MediaSubscriptionsDeleteSubscriptionResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type MediaSubscriptionsGetScheduledResponse ¶
type MediaSubscriptionsGetScheduledResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *struct {
MediaContainer struct {
MediaGrabOperation []MediaGrabOperation `json:"MediaGrabOperation,omitempty,omitzero"`
Identifier string `json:"identifier,omitempty,omitzero"`
// Offset The offset of where this container page starts among the total objects available. Also provided in the X-Plex-Container-Start header
Offset int `json:"offset,omitempty,omitzero"`
Size int `json:"size,omitempty,omitzero"`
// TotalSize The total size of objects available. Also provided in the X-Plex-Container-Total-Size header
TotalSize int `json:"totalSize,omitempty,omitzero"`
} `json:"MediaContainer,omitempty,omitzero"`
}
// Headers200 the parsed response headers for an HTTP 200 response
Headers200 *MediaSubscriptionsGetScheduledResponse200Headers
}
func ParseMediaSubscriptionsGetScheduledResponse ¶
func ParseMediaSubscriptionsGetScheduledResponse(rsp *http.Response) (*MediaSubscriptionsGetScheduledResponse, error)
ParseMediaSubscriptionsGetScheduledResponse parses an HTTP response from a MediaSubscriptionsGetScheduledWithResponse call
func (MediaSubscriptionsGetScheduledResponse) ContentType ¶
func (r MediaSubscriptionsGetScheduledResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (MediaSubscriptionsGetScheduledResponse) GetBody ¶
func (r MediaSubscriptionsGetScheduledResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (MediaSubscriptionsGetScheduledResponse) GetJSON200 ¶
func (r MediaSubscriptionsGetScheduledResponse) GetJSON200() *struct { MediaContainer struct { MediaGrabOperation []MediaGrabOperation `json:"MediaGrabOperation,omitempty,omitzero"` Identifier string `json:"identifier,omitempty,omitzero"` // Offset The offset of where this container page starts among the total objects available. Also provided in the X-Plex-Container-Start header Offset int `json:"offset,omitempty,omitzero"` Size int `json:"size,omitempty,omitzero"` // TotalSize The total size of objects available. Also provided in the X-Plex-Container-Total-Size header TotalSize int `json:"totalSize,omitempty,omitzero"` } `json:"MediaContainer,omitempty,omitzero"` }
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (MediaSubscriptionsGetScheduledResponse) Status ¶
func (r MediaSubscriptionsGetScheduledResponse) Status() string
Status returns HTTPResponse.Status
func (MediaSubscriptionsGetScheduledResponse) StatusCode ¶
func (r MediaSubscriptionsGetScheduledResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type MediaSubscriptionsGetScheduledResponse200Headers ¶
type MediaSubscriptionsGetScheduledResponse200Headers struct {
XPlexContainerStart int
XPlexContainerTotalSize int
}
MediaSubscriptionsGetScheduledResponse200Headers the declared response headers of an HTTP 200 response for MediaSubscriptionsGetScheduled
type MediaSubscriptionsGetSlashParams ¶
type MediaSubscriptionsGetSlashParams struct {
// IncludeGrabs Indicates whether the active grabs should be included as well
IncludeGrabs MediaSubscriptionsGetSlashParamsIncludeGrabs `form:"includeGrabs,omitempty" json:"includeGrabs,omitempty,omitzero"`
// IncludeStorage Compute the storage of recorded items desired by this subscription
IncludeStorage MediaSubscriptionsGetSlashParamsIncludeStorage `form:"includeStorage,omitempty" json:"includeStorage,omitempty,omitzero"`
}
MediaSubscriptionsGetSlashParams defines parameters for MediaSubscriptionsGetSlash.
type MediaSubscriptionsGetSlashParamsIncludeGrabs ¶
type MediaSubscriptionsGetSlashParamsIncludeGrabs int
MediaSubscriptionsGetSlashParamsIncludeGrabs defines parameters for MediaSubscriptionsGetSlash.
const ( MediaSubscriptionsGetSlashParamsIncludeGrabsN0 MediaSubscriptionsGetSlashParamsIncludeGrabs = 0 MediaSubscriptionsGetSlashParamsIncludeGrabsN1 MediaSubscriptionsGetSlashParamsIncludeGrabs = 1 )
Defines values for MediaSubscriptionsGetSlashParamsIncludeGrabs.
func (MediaSubscriptionsGetSlashParamsIncludeGrabs) Valid ¶
func (e MediaSubscriptionsGetSlashParamsIncludeGrabs) Valid() bool
Valid indicates whether the value is a known member of the MediaSubscriptionsGetSlashParamsIncludeGrabs enum.
type MediaSubscriptionsGetSlashParamsIncludeStorage ¶
type MediaSubscriptionsGetSlashParamsIncludeStorage int
MediaSubscriptionsGetSlashParamsIncludeStorage defines parameters for MediaSubscriptionsGetSlash.
const ( MediaSubscriptionsGetSlashParamsIncludeStorageN0 MediaSubscriptionsGetSlashParamsIncludeStorage = 0 MediaSubscriptionsGetSlashParamsIncludeStorageN1 MediaSubscriptionsGetSlashParamsIncludeStorage = 1 )
Defines values for MediaSubscriptionsGetSlashParamsIncludeStorage.
func (MediaSubscriptionsGetSlashParamsIncludeStorage) Valid ¶
func (e MediaSubscriptionsGetSlashParamsIncludeStorage) Valid() bool
Valid indicates whether the value is a known member of the MediaSubscriptionsGetSlashParamsIncludeStorage enum.
type MediaSubscriptionsGetSlashResponse ¶
type MediaSubscriptionsGetSlashResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *MediaContainerWithSubscription
// Headers200 the parsed response headers for an HTTP 200 response
Headers200 *MediaSubscriptionsGetSlashResponse200Headers
}
func ParseMediaSubscriptionsGetSlashResponse ¶
func ParseMediaSubscriptionsGetSlashResponse(rsp *http.Response) (*MediaSubscriptionsGetSlashResponse, error)
ParseMediaSubscriptionsGetSlashResponse parses an HTTP response from a MediaSubscriptionsGetSlashWithResponse call
func (MediaSubscriptionsGetSlashResponse) ContentType ¶
func (r MediaSubscriptionsGetSlashResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (MediaSubscriptionsGetSlashResponse) GetBody ¶
func (r MediaSubscriptionsGetSlashResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (MediaSubscriptionsGetSlashResponse) GetJSON200 ¶
func (r MediaSubscriptionsGetSlashResponse) GetJSON200() *MediaContainerWithSubscription
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (MediaSubscriptionsGetSlashResponse) Status ¶
func (r MediaSubscriptionsGetSlashResponse) Status() string
Status returns HTTPResponse.Status
func (MediaSubscriptionsGetSlashResponse) StatusCode ¶
func (r MediaSubscriptionsGetSlashResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type MediaSubscriptionsGetSlashResponse200Headers ¶
type MediaSubscriptionsGetSlashResponse200Headers struct {
XPlexContainerStart int
XPlexContainerTotalSize int
}
MediaSubscriptionsGetSlashResponse200Headers the declared response headers of an HTTP 200 response for MediaSubscriptionsGetSlash
type MediaSubscriptionsGetSubscriptionParams ¶
type MediaSubscriptionsGetSubscriptionParams struct {
// IncludeGrabs Indicates whether the active grabs should be included as well
IncludeGrabs MediaSubscriptionsGetSubscriptionParamsIncludeGrabs `form:"includeGrabs,omitempty" json:"includeGrabs,omitempty,omitzero"`
// IncludeStorage Compute the storage of recorded items desired by this subscription
IncludeStorage MediaSubscriptionsGetSubscriptionParamsIncludeStorage `form:"includeStorage,omitempty" json:"includeStorage,omitempty,omitzero"`
}
MediaSubscriptionsGetSubscriptionParams defines parameters for MediaSubscriptionsGetSubscription.
type MediaSubscriptionsGetSubscriptionParamsIncludeGrabs ¶
type MediaSubscriptionsGetSubscriptionParamsIncludeGrabs int
MediaSubscriptionsGetSubscriptionParamsIncludeGrabs defines parameters for MediaSubscriptionsGetSubscription.
const ( MediaSubscriptionsGetSubscriptionParamsIncludeGrabsN0 MediaSubscriptionsGetSubscriptionParamsIncludeGrabs = 0 MediaSubscriptionsGetSubscriptionParamsIncludeGrabsN1 MediaSubscriptionsGetSubscriptionParamsIncludeGrabs = 1 )
Defines values for MediaSubscriptionsGetSubscriptionParamsIncludeGrabs.
func (MediaSubscriptionsGetSubscriptionParamsIncludeGrabs) Valid ¶
func (e MediaSubscriptionsGetSubscriptionParamsIncludeGrabs) Valid() bool
Valid indicates whether the value is a known member of the MediaSubscriptionsGetSubscriptionParamsIncludeGrabs enum.
type MediaSubscriptionsGetSubscriptionParamsIncludeStorage ¶
type MediaSubscriptionsGetSubscriptionParamsIncludeStorage int
MediaSubscriptionsGetSubscriptionParamsIncludeStorage defines parameters for MediaSubscriptionsGetSubscription.
const ( MediaSubscriptionsGetSubscriptionParamsIncludeStorageN0 MediaSubscriptionsGetSubscriptionParamsIncludeStorage = 0 MediaSubscriptionsGetSubscriptionParamsIncludeStorageN1 MediaSubscriptionsGetSubscriptionParamsIncludeStorage = 1 )
Defines values for MediaSubscriptionsGetSubscriptionParamsIncludeStorage.
func (MediaSubscriptionsGetSubscriptionParamsIncludeStorage) Valid ¶
func (e MediaSubscriptionsGetSubscriptionParamsIncludeStorage) Valid() bool
Valid indicates whether the value is a known member of the MediaSubscriptionsGetSubscriptionParamsIncludeStorage enum.
type MediaSubscriptionsGetSubscriptionResponse ¶
type MediaSubscriptionsGetSubscriptionResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *MediaContainerWithSubscription
}
func ParseMediaSubscriptionsGetSubscriptionResponse ¶
func ParseMediaSubscriptionsGetSubscriptionResponse(rsp *http.Response) (*MediaSubscriptionsGetSubscriptionResponse, error)
ParseMediaSubscriptionsGetSubscriptionResponse parses an HTTP response from a MediaSubscriptionsGetSubscriptionWithResponse call
func (MediaSubscriptionsGetSubscriptionResponse) ContentType ¶
func (r MediaSubscriptionsGetSubscriptionResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (MediaSubscriptionsGetSubscriptionResponse) GetBody ¶
func (r MediaSubscriptionsGetSubscriptionResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (MediaSubscriptionsGetSubscriptionResponse) GetJSON200 ¶
func (r MediaSubscriptionsGetSubscriptionResponse) GetJSON200() *MediaContainerWithSubscription
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (MediaSubscriptionsGetSubscriptionResponse) Status ¶
func (r MediaSubscriptionsGetSubscriptionResponse) Status() string
Status returns HTTPResponse.Status
func (MediaSubscriptionsGetSubscriptionResponse) StatusCode ¶
func (r MediaSubscriptionsGetSubscriptionResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type MediaSubscriptionsGetTemplate200JSONResponseBodyMediaContainerSubscriptionTemplateMediaSubscriptionSettingDefault0 ¶
type MediaSubscriptionsGetTemplate200JSONResponseBodyMediaContainerSubscriptionTemplateMediaSubscriptionSettingDefault0 = string
MediaSubscriptionsGetTemplate200JSONResponseBodyMediaContainerSubscriptionTemplateMediaSubscriptionSettingDefault0 defines parameters for MediaSubscriptionsGetTemplate.
type MediaSubscriptionsGetTemplate200JSONResponseBodyMediaContainerSubscriptionTemplateMediaSubscriptionSettingDefault1 ¶
type MediaSubscriptionsGetTemplate200JSONResponseBodyMediaContainerSubscriptionTemplateMediaSubscriptionSettingDefault1 = float32
MediaSubscriptionsGetTemplate200JSONResponseBodyMediaContainerSubscriptionTemplateMediaSubscriptionSettingDefault1 defines parameters for MediaSubscriptionsGetTemplate.
type MediaSubscriptionsGetTemplate200JSONResponseBodyMediaContainerSubscriptionTemplateMediaSubscriptionSettingDefault2 ¶
type MediaSubscriptionsGetTemplate200JSONResponseBodyMediaContainerSubscriptionTemplateMediaSubscriptionSettingDefault2 = bool
MediaSubscriptionsGetTemplate200JSONResponseBodyMediaContainerSubscriptionTemplateMediaSubscriptionSettingDefault2 defines parameters for MediaSubscriptionsGetTemplate.
type MediaSubscriptionsGetTemplate200JSONResponseBodyMediaContainerSubscriptionTemplateMediaSubscriptionSettingType ¶
type MediaSubscriptionsGetTemplate200JSONResponseBodyMediaContainerSubscriptionTemplateMediaSubscriptionSettingType string
MediaSubscriptionsGetTemplate200JSONResponseBodyMediaContainerSubscriptionTemplateMediaSubscriptionSettingType defines parameters for MediaSubscriptionsGetTemplate.
const ( MediaSubscriptionsGetTemplate200JSONResponseBodyMediaContainerSubscriptionTemplateMediaSubscriptionSettingTypeBool MediaSubscriptionsGetTemplate200JSONResponseBodyMediaContainerSubscriptionTemplateMediaSubscriptionSettingType = "bool" MediaSubscriptionsGetTemplate200JSONResponseBodyMediaContainerSubscriptionTemplateMediaSubscriptionSettingTypeInt MediaSubscriptionsGetTemplate200JSONResponseBodyMediaContainerSubscriptionTemplateMediaSubscriptionSettingType = "int" MediaSubscriptionsGetTemplate200JSONResponseBodyMediaContainerSubscriptionTemplateMediaSubscriptionSettingTypeText MediaSubscriptionsGetTemplate200JSONResponseBodyMediaContainerSubscriptionTemplateMediaSubscriptionSettingType = "text" )
Defines values for MediaSubscriptionsGetTemplate200JSONResponseBodyMediaContainerSubscriptionTemplateMediaSubscriptionSettingType.
func (MediaSubscriptionsGetTemplate200JSONResponseBodyMediaContainerSubscriptionTemplateMediaSubscriptionSettingType) Valid ¶
func (e MediaSubscriptionsGetTemplate200JSONResponseBodyMediaContainerSubscriptionTemplateMediaSubscriptionSettingType) Valid() bool
Valid indicates whether the value is a known member of the MediaSubscriptionsGetTemplate200JSONResponseBodyMediaContainerSubscriptionTemplateMediaSubscriptionSettingType enum.
type MediaSubscriptionsGetTemplate200JSONResponseBodyMediaContainerSubscriptionTemplateMediaSubscriptionSettingValue0 ¶
type MediaSubscriptionsGetTemplate200JSONResponseBodyMediaContainerSubscriptionTemplateMediaSubscriptionSettingValue0 = string
MediaSubscriptionsGetTemplate200JSONResponseBodyMediaContainerSubscriptionTemplateMediaSubscriptionSettingValue0 defines parameters for MediaSubscriptionsGetTemplate.
type MediaSubscriptionsGetTemplate200JSONResponseBodyMediaContainerSubscriptionTemplateMediaSubscriptionSettingValue1 ¶
type MediaSubscriptionsGetTemplate200JSONResponseBodyMediaContainerSubscriptionTemplateMediaSubscriptionSettingValue1 = float32
MediaSubscriptionsGetTemplate200JSONResponseBodyMediaContainerSubscriptionTemplateMediaSubscriptionSettingValue1 defines parameters for MediaSubscriptionsGetTemplate.
type MediaSubscriptionsGetTemplate200JSONResponseBodyMediaContainerSubscriptionTemplateMediaSubscriptionSettingValue2 ¶
type MediaSubscriptionsGetTemplate200JSONResponseBodyMediaContainerSubscriptionTemplateMediaSubscriptionSettingValue2 = bool
MediaSubscriptionsGetTemplate200JSONResponseBodyMediaContainerSubscriptionTemplateMediaSubscriptionSettingValue2 defines parameters for MediaSubscriptionsGetTemplate.
type MediaSubscriptionsGetTemplate200JSONResponseBody_MediaContainer_SubscriptionTemplate_MediaSubscription_Setting_Default ¶
type MediaSubscriptionsGetTemplate200JSONResponseBody_MediaContainer_SubscriptionTemplate_MediaSubscription_Setting_Default struct {
// contains filtered or unexported fields
}
MediaSubscriptionsGetTemplate200JSONResponseBody_MediaContainer_SubscriptionTemplate_MediaSubscription_Setting_Default defines parameters for MediaSubscriptionsGetTemplate.
func (MediaSubscriptionsGetTemplate200JSONResponseBody_MediaContainer_SubscriptionTemplate_MediaSubscription_Setting_Default) AsMediaSubscriptionsGetTemplate200JSONResponseBodyMediaContainerSubscriptionTemplateMediaSubscriptionSettingDefault0 ¶
func (t MediaSubscriptionsGetTemplate200JSONResponseBody_MediaContainer_SubscriptionTemplate_MediaSubscription_Setting_Default) AsMediaSubscriptionsGetTemplate200JSONResponseBodyMediaContainerSubscriptionTemplateMediaSubscriptionSettingDefault0() (MediaSubscriptionsGetTemplate200JSONResponseBodyMediaContainerSubscriptionTemplateMediaSubscriptionSettingDefault0, error)
AsMediaSubscriptionsGetTemplate200JSONResponseBodyMediaContainerSubscriptionTemplateMediaSubscriptionSettingDefault0 returns the union data inside the MediaSubscriptionsGetTemplate200JSONResponseBody_MediaContainer_SubscriptionTemplate_MediaSubscription_Setting_Default as a MediaSubscriptionsGetTemplate200JSONResponseBodyMediaContainerSubscriptionTemplateMediaSubscriptionSettingDefault0
func (MediaSubscriptionsGetTemplate200JSONResponseBody_MediaContainer_SubscriptionTemplate_MediaSubscription_Setting_Default) AsMediaSubscriptionsGetTemplate200JSONResponseBodyMediaContainerSubscriptionTemplateMediaSubscriptionSettingDefault1 ¶
func (t MediaSubscriptionsGetTemplate200JSONResponseBody_MediaContainer_SubscriptionTemplate_MediaSubscription_Setting_Default) AsMediaSubscriptionsGetTemplate200JSONResponseBodyMediaContainerSubscriptionTemplateMediaSubscriptionSettingDefault1() (MediaSubscriptionsGetTemplate200JSONResponseBodyMediaContainerSubscriptionTemplateMediaSubscriptionSettingDefault1, error)
AsMediaSubscriptionsGetTemplate200JSONResponseBodyMediaContainerSubscriptionTemplateMediaSubscriptionSettingDefault1 returns the union data inside the MediaSubscriptionsGetTemplate200JSONResponseBody_MediaContainer_SubscriptionTemplate_MediaSubscription_Setting_Default as a MediaSubscriptionsGetTemplate200JSONResponseBodyMediaContainerSubscriptionTemplateMediaSubscriptionSettingDefault1
func (MediaSubscriptionsGetTemplate200JSONResponseBody_MediaContainer_SubscriptionTemplate_MediaSubscription_Setting_Default) AsMediaSubscriptionsGetTemplate200JSONResponseBodyMediaContainerSubscriptionTemplateMediaSubscriptionSettingDefault2 ¶
func (t MediaSubscriptionsGetTemplate200JSONResponseBody_MediaContainer_SubscriptionTemplate_MediaSubscription_Setting_Default) AsMediaSubscriptionsGetTemplate200JSONResponseBodyMediaContainerSubscriptionTemplateMediaSubscriptionSettingDefault2() (MediaSubscriptionsGetTemplate200JSONResponseBodyMediaContainerSubscriptionTemplateMediaSubscriptionSettingDefault2, error)
AsMediaSubscriptionsGetTemplate200JSONResponseBodyMediaContainerSubscriptionTemplateMediaSubscriptionSettingDefault2 returns the union data inside the MediaSubscriptionsGetTemplate200JSONResponseBody_MediaContainer_SubscriptionTemplate_MediaSubscription_Setting_Default as a MediaSubscriptionsGetTemplate200JSONResponseBodyMediaContainerSubscriptionTemplateMediaSubscriptionSettingDefault2
func (*MediaSubscriptionsGetTemplate200JSONResponseBody_MediaContainer_SubscriptionTemplate_MediaSubscription_Setting_Default) FromMediaSubscriptionsGetTemplate200JSONResponseBodyMediaContainerSubscriptionTemplateMediaSubscriptionSettingDefault0 ¶
func (t *MediaSubscriptionsGetTemplate200JSONResponseBody_MediaContainer_SubscriptionTemplate_MediaSubscription_Setting_Default) FromMediaSubscriptionsGetTemplate200JSONResponseBodyMediaContainerSubscriptionTemplateMediaSubscriptionSettingDefault0(v MediaSubscriptionsGetTemplate200JSONResponseBodyMediaContainerSubscriptionTemplateMediaSubscriptionSettingDefault0) error
FromMediaSubscriptionsGetTemplate200JSONResponseBodyMediaContainerSubscriptionTemplateMediaSubscriptionSettingDefault0 overwrites any union data inside the MediaSubscriptionsGetTemplate200JSONResponseBody_MediaContainer_SubscriptionTemplate_MediaSubscription_Setting_Default as the provided MediaSubscriptionsGetTemplate200JSONResponseBodyMediaContainerSubscriptionTemplateMediaSubscriptionSettingDefault0
func (*MediaSubscriptionsGetTemplate200JSONResponseBody_MediaContainer_SubscriptionTemplate_MediaSubscription_Setting_Default) FromMediaSubscriptionsGetTemplate200JSONResponseBodyMediaContainerSubscriptionTemplateMediaSubscriptionSettingDefault1 ¶
func (t *MediaSubscriptionsGetTemplate200JSONResponseBody_MediaContainer_SubscriptionTemplate_MediaSubscription_Setting_Default) FromMediaSubscriptionsGetTemplate200JSONResponseBodyMediaContainerSubscriptionTemplateMediaSubscriptionSettingDefault1(v MediaSubscriptionsGetTemplate200JSONResponseBodyMediaContainerSubscriptionTemplateMediaSubscriptionSettingDefault1) error
FromMediaSubscriptionsGetTemplate200JSONResponseBodyMediaContainerSubscriptionTemplateMediaSubscriptionSettingDefault1 overwrites any union data inside the MediaSubscriptionsGetTemplate200JSONResponseBody_MediaContainer_SubscriptionTemplate_MediaSubscription_Setting_Default as the provided MediaSubscriptionsGetTemplate200JSONResponseBodyMediaContainerSubscriptionTemplateMediaSubscriptionSettingDefault1
func (*MediaSubscriptionsGetTemplate200JSONResponseBody_MediaContainer_SubscriptionTemplate_MediaSubscription_Setting_Default) FromMediaSubscriptionsGetTemplate200JSONResponseBodyMediaContainerSubscriptionTemplateMediaSubscriptionSettingDefault2 ¶
func (t *MediaSubscriptionsGetTemplate200JSONResponseBody_MediaContainer_SubscriptionTemplate_MediaSubscription_Setting_Default) FromMediaSubscriptionsGetTemplate200JSONResponseBodyMediaContainerSubscriptionTemplateMediaSubscriptionSettingDefault2(v MediaSubscriptionsGetTemplate200JSONResponseBodyMediaContainerSubscriptionTemplateMediaSubscriptionSettingDefault2) error
FromMediaSubscriptionsGetTemplate200JSONResponseBodyMediaContainerSubscriptionTemplateMediaSubscriptionSettingDefault2 overwrites any union data inside the MediaSubscriptionsGetTemplate200JSONResponseBody_MediaContainer_SubscriptionTemplate_MediaSubscription_Setting_Default as the provided MediaSubscriptionsGetTemplate200JSONResponseBodyMediaContainerSubscriptionTemplateMediaSubscriptionSettingDefault2
func (MediaSubscriptionsGetTemplate200JSONResponseBody_MediaContainer_SubscriptionTemplate_MediaSubscription_Setting_Default) MarshalJSON ¶
func (*MediaSubscriptionsGetTemplate200JSONResponseBody_MediaContainer_SubscriptionTemplate_MediaSubscription_Setting_Default) MergeMediaSubscriptionsGetTemplate200JSONResponseBodyMediaContainerSubscriptionTemplateMediaSubscriptionSettingDefault0 ¶
func (t *MediaSubscriptionsGetTemplate200JSONResponseBody_MediaContainer_SubscriptionTemplate_MediaSubscription_Setting_Default) MergeMediaSubscriptionsGetTemplate200JSONResponseBodyMediaContainerSubscriptionTemplateMediaSubscriptionSettingDefault0(v MediaSubscriptionsGetTemplate200JSONResponseBodyMediaContainerSubscriptionTemplateMediaSubscriptionSettingDefault0) error
MergeMediaSubscriptionsGetTemplate200JSONResponseBodyMediaContainerSubscriptionTemplateMediaSubscriptionSettingDefault0 performs a merge with any union data inside the MediaSubscriptionsGetTemplate200JSONResponseBody_MediaContainer_SubscriptionTemplate_MediaSubscription_Setting_Default, using the provided MediaSubscriptionsGetTemplate200JSONResponseBodyMediaContainerSubscriptionTemplateMediaSubscriptionSettingDefault0
func (*MediaSubscriptionsGetTemplate200JSONResponseBody_MediaContainer_SubscriptionTemplate_MediaSubscription_Setting_Default) MergeMediaSubscriptionsGetTemplate200JSONResponseBodyMediaContainerSubscriptionTemplateMediaSubscriptionSettingDefault1 ¶
func (t *MediaSubscriptionsGetTemplate200JSONResponseBody_MediaContainer_SubscriptionTemplate_MediaSubscription_Setting_Default) MergeMediaSubscriptionsGetTemplate200JSONResponseBodyMediaContainerSubscriptionTemplateMediaSubscriptionSettingDefault1(v MediaSubscriptionsGetTemplate200JSONResponseBodyMediaContainerSubscriptionTemplateMediaSubscriptionSettingDefault1) error
MergeMediaSubscriptionsGetTemplate200JSONResponseBodyMediaContainerSubscriptionTemplateMediaSubscriptionSettingDefault1 performs a merge with any union data inside the MediaSubscriptionsGetTemplate200JSONResponseBody_MediaContainer_SubscriptionTemplate_MediaSubscription_Setting_Default, using the provided MediaSubscriptionsGetTemplate200JSONResponseBodyMediaContainerSubscriptionTemplateMediaSubscriptionSettingDefault1
func (*MediaSubscriptionsGetTemplate200JSONResponseBody_MediaContainer_SubscriptionTemplate_MediaSubscription_Setting_Default) MergeMediaSubscriptionsGetTemplate200JSONResponseBodyMediaContainerSubscriptionTemplateMediaSubscriptionSettingDefault2 ¶
func (t *MediaSubscriptionsGetTemplate200JSONResponseBody_MediaContainer_SubscriptionTemplate_MediaSubscription_Setting_Default) MergeMediaSubscriptionsGetTemplate200JSONResponseBodyMediaContainerSubscriptionTemplateMediaSubscriptionSettingDefault2(v MediaSubscriptionsGetTemplate200JSONResponseBodyMediaContainerSubscriptionTemplateMediaSubscriptionSettingDefault2) error
MergeMediaSubscriptionsGetTemplate200JSONResponseBodyMediaContainerSubscriptionTemplateMediaSubscriptionSettingDefault2 performs a merge with any union data inside the MediaSubscriptionsGetTemplate200JSONResponseBody_MediaContainer_SubscriptionTemplate_MediaSubscription_Setting_Default, using the provided MediaSubscriptionsGetTemplate200JSONResponseBodyMediaContainerSubscriptionTemplateMediaSubscriptionSettingDefault2
func (*MediaSubscriptionsGetTemplate200JSONResponseBody_MediaContainer_SubscriptionTemplate_MediaSubscription_Setting_Default) UnmarshalJSON ¶
type MediaSubscriptionsGetTemplate200JSONResponseBody_MediaContainer_SubscriptionTemplate_MediaSubscription_Setting_Value ¶
type MediaSubscriptionsGetTemplate200JSONResponseBody_MediaContainer_SubscriptionTemplate_MediaSubscription_Setting_Value struct {
// contains filtered or unexported fields
}
MediaSubscriptionsGetTemplate200JSONResponseBody_MediaContainer_SubscriptionTemplate_MediaSubscription_Setting_Value defines parameters for MediaSubscriptionsGetTemplate.
func (MediaSubscriptionsGetTemplate200JSONResponseBody_MediaContainer_SubscriptionTemplate_MediaSubscription_Setting_Value) AsMediaSubscriptionsGetTemplate200JSONResponseBodyMediaContainerSubscriptionTemplateMediaSubscriptionSettingValue0 ¶
func (t MediaSubscriptionsGetTemplate200JSONResponseBody_MediaContainer_SubscriptionTemplate_MediaSubscription_Setting_Value) AsMediaSubscriptionsGetTemplate200JSONResponseBodyMediaContainerSubscriptionTemplateMediaSubscriptionSettingValue0() (MediaSubscriptionsGetTemplate200JSONResponseBodyMediaContainerSubscriptionTemplateMediaSubscriptionSettingValue0, error)
AsMediaSubscriptionsGetTemplate200JSONResponseBodyMediaContainerSubscriptionTemplateMediaSubscriptionSettingValue0 returns the union data inside the MediaSubscriptionsGetTemplate200JSONResponseBody_MediaContainer_SubscriptionTemplate_MediaSubscription_Setting_Value as a MediaSubscriptionsGetTemplate200JSONResponseBodyMediaContainerSubscriptionTemplateMediaSubscriptionSettingValue0
func (MediaSubscriptionsGetTemplate200JSONResponseBody_MediaContainer_SubscriptionTemplate_MediaSubscription_Setting_Value) AsMediaSubscriptionsGetTemplate200JSONResponseBodyMediaContainerSubscriptionTemplateMediaSubscriptionSettingValue1 ¶
func (t MediaSubscriptionsGetTemplate200JSONResponseBody_MediaContainer_SubscriptionTemplate_MediaSubscription_Setting_Value) AsMediaSubscriptionsGetTemplate200JSONResponseBodyMediaContainerSubscriptionTemplateMediaSubscriptionSettingValue1() (MediaSubscriptionsGetTemplate200JSONResponseBodyMediaContainerSubscriptionTemplateMediaSubscriptionSettingValue1, error)
AsMediaSubscriptionsGetTemplate200JSONResponseBodyMediaContainerSubscriptionTemplateMediaSubscriptionSettingValue1 returns the union data inside the MediaSubscriptionsGetTemplate200JSONResponseBody_MediaContainer_SubscriptionTemplate_MediaSubscription_Setting_Value as a MediaSubscriptionsGetTemplate200JSONResponseBodyMediaContainerSubscriptionTemplateMediaSubscriptionSettingValue1
func (MediaSubscriptionsGetTemplate200JSONResponseBody_MediaContainer_SubscriptionTemplate_MediaSubscription_Setting_Value) AsMediaSubscriptionsGetTemplate200JSONResponseBodyMediaContainerSubscriptionTemplateMediaSubscriptionSettingValue2 ¶
func (t MediaSubscriptionsGetTemplate200JSONResponseBody_MediaContainer_SubscriptionTemplate_MediaSubscription_Setting_Value) AsMediaSubscriptionsGetTemplate200JSONResponseBodyMediaContainerSubscriptionTemplateMediaSubscriptionSettingValue2() (MediaSubscriptionsGetTemplate200JSONResponseBodyMediaContainerSubscriptionTemplateMediaSubscriptionSettingValue2, error)
AsMediaSubscriptionsGetTemplate200JSONResponseBodyMediaContainerSubscriptionTemplateMediaSubscriptionSettingValue2 returns the union data inside the MediaSubscriptionsGetTemplate200JSONResponseBody_MediaContainer_SubscriptionTemplate_MediaSubscription_Setting_Value as a MediaSubscriptionsGetTemplate200JSONResponseBodyMediaContainerSubscriptionTemplateMediaSubscriptionSettingValue2
func (*MediaSubscriptionsGetTemplate200JSONResponseBody_MediaContainer_SubscriptionTemplate_MediaSubscription_Setting_Value) FromMediaSubscriptionsGetTemplate200JSONResponseBodyMediaContainerSubscriptionTemplateMediaSubscriptionSettingValue0 ¶
func (t *MediaSubscriptionsGetTemplate200JSONResponseBody_MediaContainer_SubscriptionTemplate_MediaSubscription_Setting_Value) FromMediaSubscriptionsGetTemplate200JSONResponseBodyMediaContainerSubscriptionTemplateMediaSubscriptionSettingValue0(v MediaSubscriptionsGetTemplate200JSONResponseBodyMediaContainerSubscriptionTemplateMediaSubscriptionSettingValue0) error
FromMediaSubscriptionsGetTemplate200JSONResponseBodyMediaContainerSubscriptionTemplateMediaSubscriptionSettingValue0 overwrites any union data inside the MediaSubscriptionsGetTemplate200JSONResponseBody_MediaContainer_SubscriptionTemplate_MediaSubscription_Setting_Value as the provided MediaSubscriptionsGetTemplate200JSONResponseBodyMediaContainerSubscriptionTemplateMediaSubscriptionSettingValue0
func (*MediaSubscriptionsGetTemplate200JSONResponseBody_MediaContainer_SubscriptionTemplate_MediaSubscription_Setting_Value) FromMediaSubscriptionsGetTemplate200JSONResponseBodyMediaContainerSubscriptionTemplateMediaSubscriptionSettingValue1 ¶
func (t *MediaSubscriptionsGetTemplate200JSONResponseBody_MediaContainer_SubscriptionTemplate_MediaSubscription_Setting_Value) FromMediaSubscriptionsGetTemplate200JSONResponseBodyMediaContainerSubscriptionTemplateMediaSubscriptionSettingValue1(v MediaSubscriptionsGetTemplate200JSONResponseBodyMediaContainerSubscriptionTemplateMediaSubscriptionSettingValue1) error
FromMediaSubscriptionsGetTemplate200JSONResponseBodyMediaContainerSubscriptionTemplateMediaSubscriptionSettingValue1 overwrites any union data inside the MediaSubscriptionsGetTemplate200JSONResponseBody_MediaContainer_SubscriptionTemplate_MediaSubscription_Setting_Value as the provided MediaSubscriptionsGetTemplate200JSONResponseBodyMediaContainerSubscriptionTemplateMediaSubscriptionSettingValue1
func (*MediaSubscriptionsGetTemplate200JSONResponseBody_MediaContainer_SubscriptionTemplate_MediaSubscription_Setting_Value) FromMediaSubscriptionsGetTemplate200JSONResponseBodyMediaContainerSubscriptionTemplateMediaSubscriptionSettingValue2 ¶
func (t *MediaSubscriptionsGetTemplate200JSONResponseBody_MediaContainer_SubscriptionTemplate_MediaSubscription_Setting_Value) FromMediaSubscriptionsGetTemplate200JSONResponseBodyMediaContainerSubscriptionTemplateMediaSubscriptionSettingValue2(v MediaSubscriptionsGetTemplate200JSONResponseBodyMediaContainerSubscriptionTemplateMediaSubscriptionSettingValue2) error
FromMediaSubscriptionsGetTemplate200JSONResponseBodyMediaContainerSubscriptionTemplateMediaSubscriptionSettingValue2 overwrites any union data inside the MediaSubscriptionsGetTemplate200JSONResponseBody_MediaContainer_SubscriptionTemplate_MediaSubscription_Setting_Value as the provided MediaSubscriptionsGetTemplate200JSONResponseBodyMediaContainerSubscriptionTemplateMediaSubscriptionSettingValue2
func (MediaSubscriptionsGetTemplate200JSONResponseBody_MediaContainer_SubscriptionTemplate_MediaSubscription_Setting_Value) MarshalJSON ¶
func (*MediaSubscriptionsGetTemplate200JSONResponseBody_MediaContainer_SubscriptionTemplate_MediaSubscription_Setting_Value) MergeMediaSubscriptionsGetTemplate200JSONResponseBodyMediaContainerSubscriptionTemplateMediaSubscriptionSettingValue0 ¶
func (t *MediaSubscriptionsGetTemplate200JSONResponseBody_MediaContainer_SubscriptionTemplate_MediaSubscription_Setting_Value) MergeMediaSubscriptionsGetTemplate200JSONResponseBodyMediaContainerSubscriptionTemplateMediaSubscriptionSettingValue0(v MediaSubscriptionsGetTemplate200JSONResponseBodyMediaContainerSubscriptionTemplateMediaSubscriptionSettingValue0) error
MergeMediaSubscriptionsGetTemplate200JSONResponseBodyMediaContainerSubscriptionTemplateMediaSubscriptionSettingValue0 performs a merge with any union data inside the MediaSubscriptionsGetTemplate200JSONResponseBody_MediaContainer_SubscriptionTemplate_MediaSubscription_Setting_Value, using the provided MediaSubscriptionsGetTemplate200JSONResponseBodyMediaContainerSubscriptionTemplateMediaSubscriptionSettingValue0
func (*MediaSubscriptionsGetTemplate200JSONResponseBody_MediaContainer_SubscriptionTemplate_MediaSubscription_Setting_Value) MergeMediaSubscriptionsGetTemplate200JSONResponseBodyMediaContainerSubscriptionTemplateMediaSubscriptionSettingValue1 ¶
func (t *MediaSubscriptionsGetTemplate200JSONResponseBody_MediaContainer_SubscriptionTemplate_MediaSubscription_Setting_Value) MergeMediaSubscriptionsGetTemplate200JSONResponseBodyMediaContainerSubscriptionTemplateMediaSubscriptionSettingValue1(v MediaSubscriptionsGetTemplate200JSONResponseBodyMediaContainerSubscriptionTemplateMediaSubscriptionSettingValue1) error
MergeMediaSubscriptionsGetTemplate200JSONResponseBodyMediaContainerSubscriptionTemplateMediaSubscriptionSettingValue1 performs a merge with any union data inside the MediaSubscriptionsGetTemplate200JSONResponseBody_MediaContainer_SubscriptionTemplate_MediaSubscription_Setting_Value, using the provided MediaSubscriptionsGetTemplate200JSONResponseBodyMediaContainerSubscriptionTemplateMediaSubscriptionSettingValue1
func (*MediaSubscriptionsGetTemplate200JSONResponseBody_MediaContainer_SubscriptionTemplate_MediaSubscription_Setting_Value) MergeMediaSubscriptionsGetTemplate200JSONResponseBodyMediaContainerSubscriptionTemplateMediaSubscriptionSettingValue2 ¶
func (t *MediaSubscriptionsGetTemplate200JSONResponseBody_MediaContainer_SubscriptionTemplate_MediaSubscription_Setting_Value) MergeMediaSubscriptionsGetTemplate200JSONResponseBodyMediaContainerSubscriptionTemplateMediaSubscriptionSettingValue2(v MediaSubscriptionsGetTemplate200JSONResponseBodyMediaContainerSubscriptionTemplateMediaSubscriptionSettingValue2) error
MergeMediaSubscriptionsGetTemplate200JSONResponseBodyMediaContainerSubscriptionTemplateMediaSubscriptionSettingValue2 performs a merge with any union data inside the MediaSubscriptionsGetTemplate200JSONResponseBody_MediaContainer_SubscriptionTemplate_MediaSubscription_Setting_Value, using the provided MediaSubscriptionsGetTemplate200JSONResponseBodyMediaContainerSubscriptionTemplateMediaSubscriptionSettingValue2
func (*MediaSubscriptionsGetTemplate200JSONResponseBody_MediaContainer_SubscriptionTemplate_MediaSubscription_Setting_Value) UnmarshalJSON ¶
type MediaSubscriptionsGetTemplateParams ¶
type MediaSubscriptionsGetTemplateParams struct {
// GUID The guid of the item for which to get the template
GUID string `form:"guid,omitempty" json:"guid,omitempty,omitzero"`
}
MediaSubscriptionsGetTemplateParams defines parameters for MediaSubscriptionsGetTemplate.
type MediaSubscriptionsGetTemplateResponse ¶
type MediaSubscriptionsGetTemplateResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *struct {
MediaContainer struct {
SubscriptionTemplate []struct {
MediaSubscription []struct {
// Directory Media Matching Hints
Directory map[string]interface{} `json:"Directory,omitempty,omitzero"`
MediaGrabOperation []MediaGrabOperation `json:"MediaGrabOperation,omitempty,omitzero"`
// Playlist Media Matching Hints
Playlist map[string]interface{} `json:"Playlist,omitempty,omitzero"`
Setting []struct {
// Advanced Whether this is considered an advanced setting
Advanced bool `json:"advanced,omitempty,omitzero"`
// Default The default value for this setting
Default MediaSubscriptionsGetTemplate200JSONResponseBody_MediaContainer_SubscriptionTemplate_MediaSubscription_Setting_Default `json:"default,omitempty,omitzero"`
// EnumValues The possible values for this setting if restricted. The list is `|` separated with `value:name` entries.
EnumValues string `json:"enumValues,omitempty,omitzero"`
// Group The group name for this setting
Group string `json:"group,omitempty,omitzero"`
// Hidden Whether this setting is hidden from the user
Hidden bool `json:"hidden,omitempty,omitzero"`
// ID The query parameter name for this setting
ID string `json:"id,omitempty,omitzero"`
// Label The user-facing name of this setting
Label string `json:"label,omitempty,omitzero"`
// Summary A user-facing description of the setting
Summary string `json:"summary,omitempty,omitzero"`
// Type They type of the value
Type MediaSubscriptionsGetTemplate200JSONResponseBodyMediaContainerSubscriptionTemplateMediaSubscriptionSettingType `json:"type,omitempty,omitzero"`
// Value The current value of this setting
Value MediaSubscriptionsGetTemplate200JSONResponseBody_MediaContainer_SubscriptionTemplate_MediaSubscription_Setting_Value `json:"value,omitempty,omitzero"`
} `json:"Setting,omitempty,omitzero"`
// Video Media Matching Hints
Video map[string]interface{} `json:"Video,omitempty,omitzero"`
AiringsType string `json:"airingsType,omitempty,omitzero"`
CreatedAt int `json:"createdAt,omitempty,omitzero"`
// DurationTotal Only included if `includeStorage` is specified
DurationTotal int `json:"durationTotal,omitempty,omitzero"`
Key string `json:"key,omitempty,omitzero"`
LibrarySectionTitle string `json:"librarySectionTitle,omitempty,omitzero"`
LocationPath string `json:"locationPath,omitempty,omitzero"`
// Parameters Parameter string for creating this subscription
Parameters string `json:"parameters,omitempty,omitzero"`
Selected bool `json:"selected,omitempty,omitzero"`
// StorageTotal Only included if `includeStorage` is specified
StorageTotal int `json:"storageTotal,omitempty,omitzero"`
// TargetLibrarySectionID Where this subscription will record to
TargetLibrarySectionID int `json:"targetLibrarySectionID,omitempty,omitzero"`
// TargetSectionLocationID The library section location id for where the item is to be recorded
TargetSectionLocationID int `json:"targetSectionLocationID,omitempty,omitzero"`
// Title The title of this subscription type
Title string `json:"title,omitempty,omitzero"`
// Type Metadata type number
Type int `json:"type,omitempty,omitzero"`
} `json:"MediaSubscription,omitempty,omitzero"`
} `json:"SubscriptionTemplate,omitempty,omitzero"`
Identifier string `json:"identifier,omitempty,omitzero"`
// Offset The offset of where this container page starts among the total objects available. Also provided in the X-Plex-Container-Start header
Offset int `json:"offset,omitempty,omitzero"`
Size int `json:"size,omitempty,omitzero"`
// TotalSize The total size of objects available. Also provided in the X-Plex-Container-Total-Size header
TotalSize int `json:"totalSize,omitempty,omitzero"`
} `json:"MediaContainer,omitempty,omitzero"`
}
// Headers200 the parsed response headers for an HTTP 200 response
Headers200 *MediaSubscriptionsGetTemplateResponse200Headers
}
func ParseMediaSubscriptionsGetTemplateResponse ¶
func ParseMediaSubscriptionsGetTemplateResponse(rsp *http.Response) (*MediaSubscriptionsGetTemplateResponse, error)
ParseMediaSubscriptionsGetTemplateResponse parses an HTTP response from a MediaSubscriptionsGetTemplateWithResponse call
func (MediaSubscriptionsGetTemplateResponse) ContentType ¶
func (r MediaSubscriptionsGetTemplateResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (MediaSubscriptionsGetTemplateResponse) GetBody ¶
func (r MediaSubscriptionsGetTemplateResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (MediaSubscriptionsGetTemplateResponse) GetJSON200 ¶
func (r MediaSubscriptionsGetTemplateResponse) GetJSON200() *struct { MediaContainer struct { SubscriptionTemplate []struct { MediaSubscription []struct { // Directory Media Matching Hints Directory map[string]interface{} `json:"Directory,omitempty,omitzero"` MediaGrabOperation []MediaGrabOperation `json:"MediaGrabOperation,omitempty,omitzero"` // Playlist Media Matching Hints Playlist map[string]interface{} `json:"Playlist,omitempty,omitzero"` Setting []struct { // Advanced Whether this is considered an advanced setting Advanced bool `json:"advanced,omitempty,omitzero"` // Default The default value for this setting Default MediaSubscriptionsGetTemplate200JSONResponseBody_MediaContainer_SubscriptionTemplate_MediaSubscription_Setting_Default `json:"default,omitempty,omitzero"` // EnumValues The possible values for this setting if restricted. The list is `|` separated with `value:name` entries. EnumValues string `json:"enumValues,omitempty,omitzero"` // Group The group name for this setting Group string `json:"group,omitempty,omitzero"` // Hidden Whether this setting is hidden from the user Hidden bool `json:"hidden,omitempty,omitzero"` // ID The query parameter name for this setting ID string `json:"id,omitempty,omitzero"` // Label The user-facing name of this setting Label string `json:"label,omitempty,omitzero"` // Summary A user-facing description of the setting Summary string `json:"summary,omitempty,omitzero"` // Type They type of the value Type MediaSubscriptionsGetTemplate200JSONResponseBodyMediaContainerSubscriptionTemplateMediaSubscriptionSettingType `json:"type,omitempty,omitzero"` // Value The current value of this setting Value MediaSubscriptionsGetTemplate200JSONResponseBody_MediaContainer_SubscriptionTemplate_MediaSubscription_Setting_Value `json:"value,omitempty,omitzero"` } `json:"Setting,omitempty,omitzero"` // Video Media Matching Hints Video map[string]interface{} `json:"Video,omitempty,omitzero"` AiringsType string `json:"airingsType,omitempty,omitzero"` CreatedAt int `json:"createdAt,omitempty,omitzero"` // DurationTotal Only included if `includeStorage` is specified DurationTotal int `json:"durationTotal,omitempty,omitzero"` Key string `json:"key,omitempty,omitzero"` LibrarySectionTitle string `json:"librarySectionTitle,omitempty,omitzero"` LocationPath string `json:"locationPath,omitempty,omitzero"` // Parameters Parameter string for creating this subscription Parameters string `json:"parameters,omitempty,omitzero"` Selected bool `json:"selected,omitempty,omitzero"` // StorageTotal Only included if `includeStorage` is specified StorageTotal int `json:"storageTotal,omitempty,omitzero"` // TargetLibrarySectionID Where this subscription will record to TargetLibrarySectionID int `json:"targetLibrarySectionID,omitempty,omitzero"` // TargetSectionLocationID The library section location id for where the item is to be recorded TargetSectionLocationID int `json:"targetSectionLocationID,omitempty,omitzero"` // Title The title of this subscription type Title string `json:"title,omitempty,omitzero"` // Type Metadata type number Type int `json:"type,omitempty,omitzero"` } `json:"MediaSubscription,omitempty,omitzero"` } `json:"SubscriptionTemplate,omitempty,omitzero"` Identifier string `json:"identifier,omitempty,omitzero"` // Offset The offset of where this container page starts among the total objects available. Also provided in the X-Plex-Container-Start header Offset int `json:"offset,omitempty,omitzero"` Size int `json:"size,omitempty,omitzero"` // TotalSize The total size of objects available. Also provided in the X-Plex-Container-Total-Size header TotalSize int `json:"totalSize,omitempty,omitzero"` } `json:"MediaContainer,omitempty,omitzero"` }
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (MediaSubscriptionsGetTemplateResponse) Status ¶
func (r MediaSubscriptionsGetTemplateResponse) Status() string
Status returns HTTPResponse.Status
func (MediaSubscriptionsGetTemplateResponse) StatusCode ¶
func (r MediaSubscriptionsGetTemplateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type MediaSubscriptionsGetTemplateResponse200Headers ¶
type MediaSubscriptionsGetTemplateResponse200Headers struct {
XPlexContainerStart int
XPlexContainerTotalSize int
}
MediaSubscriptionsGetTemplateResponse200Headers the declared response headers of an HTTP 200 response for MediaSubscriptionsGetTemplate
type MediaSubscriptionsPostProcessResponse ¶
type MediaSubscriptionsPostProcessResponse struct {
Body []byte
HTTPResponse *http.Response
// Headers200 the parsed response headers for an HTTP 200 response
Headers200 *MediaSubscriptionsPostProcessResponse200Headers
}
func ParseMediaSubscriptionsPostProcessResponse ¶
func ParseMediaSubscriptionsPostProcessResponse(rsp *http.Response) (*MediaSubscriptionsPostProcessResponse, error)
ParseMediaSubscriptionsPostProcessResponse parses an HTTP response from a MediaSubscriptionsPostProcessWithResponse call
func (MediaSubscriptionsPostProcessResponse) ContentType ¶
func (r MediaSubscriptionsPostProcessResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (MediaSubscriptionsPostProcessResponse) GetBody ¶
func (r MediaSubscriptionsPostProcessResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (MediaSubscriptionsPostProcessResponse) Status ¶
func (r MediaSubscriptionsPostProcessResponse) Status() string
Status returns HTTPResponse.Status
func (MediaSubscriptionsPostProcessResponse) StatusCode ¶
func (r MediaSubscriptionsPostProcessResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type MediaSubscriptionsPostProcessResponse200Headers ¶
type MediaSubscriptionsPostProcessResponse200Headers struct {
XPlexActivity string
}
MediaSubscriptionsPostProcessResponse200Headers the declared response headers of an HTTP 200 response for MediaSubscriptionsPostProcess
type MediaSubscriptionsPostSlashParams ¶
type MediaSubscriptionsPostSlashParams struct {
// TargetLibrarySectionID The library section into which we'll grab the media. Not actually required when the subscription is to a playlist.
TargetLibrarySectionID int `form:"targetLibrarySectionID,omitempty" json:"targetLibrarySectionID,omitempty,omitzero"`
// TargetSectionLocationID The section location into which to grab.
TargetSectionLocationID int `form:"targetSectionLocationID,omitempty" json:"targetSectionLocationID,omitempty,omitzero"`
// Type The type of the thing we're subscribing too (e.g. show, season).
Type int `form:"type,omitempty" json:"type,omitempty,omitzero"`
// Hints Hints describing what we're looking for. Note: The hint `ratingKey` is required for downloading from a PMS remote.
Hints map[string]interface{} `json:"hints,omitempty,omitzero"`
// Prefs Subscription preferences.
Prefs map[string]interface{} `json:"prefs,omitempty,omitzero"`
// Params Subscription parameters.
// - `mediaProviderID`: Required for downloads to indicate which MP the subscription will download into
// - `source`: Required for downloads to indicate the source of the downloaded content.
Params map[string]interface{} `json:"params,omitempty,omitzero"`
}
MediaSubscriptionsPostSlashParams defines parameters for MediaSubscriptionsPostSlash.
type MediaSubscriptionsPostSlashResponse ¶
type MediaSubscriptionsPostSlashResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *struct {
MediaContainer struct {
MediaSubscription []MediaSubscription `json:"MediaSubscription,omitempty,omitzero"`
Identifier string `json:"identifier,omitempty,omitzero"`
// Offset The offset of where this container page starts among the total objects available. Also provided in the X-Plex-Container-Start header
Offset int `json:"offset,omitempty,omitzero"`
Size int `json:"size,omitempty,omitzero"`
// TotalSize The total size of objects available. Also provided in the X-Plex-Container-Total-Size header
TotalSize int `json:"totalSize,omitempty,omitzero"`
} `json:"MediaContainer,omitempty,omitzero"`
}
// Headers200 the parsed response headers for an HTTP 200 response
Headers200 *MediaSubscriptionsPostSlashResponse200Headers
}
func ParseMediaSubscriptionsPostSlashResponse ¶
func ParseMediaSubscriptionsPostSlashResponse(rsp *http.Response) (*MediaSubscriptionsPostSlashResponse, error)
ParseMediaSubscriptionsPostSlashResponse parses an HTTP response from a MediaSubscriptionsPostSlashWithResponse call
func (MediaSubscriptionsPostSlashResponse) ContentType ¶
func (r MediaSubscriptionsPostSlashResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (MediaSubscriptionsPostSlashResponse) GetBody ¶
func (r MediaSubscriptionsPostSlashResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (MediaSubscriptionsPostSlashResponse) GetJSON200 ¶
func (r MediaSubscriptionsPostSlashResponse) GetJSON200() *struct { MediaContainer struct { MediaSubscription []MediaSubscription `json:"MediaSubscription,omitempty,omitzero"` Identifier string `json:"identifier,omitempty,omitzero"` // Offset The offset of where this container page starts among the total objects available. Also provided in the X-Plex-Container-Start header Offset int `json:"offset,omitempty,omitzero"` Size int `json:"size,omitempty,omitzero"` // TotalSize The total size of objects available. Also provided in the X-Plex-Container-Total-Size header TotalSize int `json:"totalSize,omitempty,omitzero"` } `json:"MediaContainer,omitempty,omitzero"` }
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (MediaSubscriptionsPostSlashResponse) Status ¶
func (r MediaSubscriptionsPostSlashResponse) Status() string
Status returns HTTPResponse.Status
func (MediaSubscriptionsPostSlashResponse) StatusCode ¶
func (r MediaSubscriptionsPostSlashResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type MediaSubscriptionsPostSlashResponse200Headers ¶
type MediaSubscriptionsPostSlashResponse200Headers struct {
XPlexContainerStart int
XPlexContainerTotalSize int
}
MediaSubscriptionsPostSlashResponse200Headers the declared response headers of an HTTP 200 response for MediaSubscriptionsPostSlash
type MediaSubscriptionsPutSubscriptionMoveParams ¶
type MediaSubscriptionsPutSubscriptionMoveParams struct {
// After The subscription to move this sub after. If missing will insert at the beginning of the list
After int `form:"after,omitempty" json:"after,omitempty,omitzero"`
}
MediaSubscriptionsPutSubscriptionMoveParams defines parameters for MediaSubscriptionsPutSubscriptionMove.
type MediaSubscriptionsPutSubscriptionMoveResponse ¶
type MediaSubscriptionsPutSubscriptionMoveResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *MediaContainerWithSubscription
}
func ParseMediaSubscriptionsPutSubscriptionMoveResponse ¶
func ParseMediaSubscriptionsPutSubscriptionMoveResponse(rsp *http.Response) (*MediaSubscriptionsPutSubscriptionMoveResponse, error)
ParseMediaSubscriptionsPutSubscriptionMoveResponse parses an HTTP response from a MediaSubscriptionsPutSubscriptionMoveWithResponse call
func (MediaSubscriptionsPutSubscriptionMoveResponse) ContentType ¶
func (r MediaSubscriptionsPutSubscriptionMoveResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (MediaSubscriptionsPutSubscriptionMoveResponse) GetBody ¶
func (r MediaSubscriptionsPutSubscriptionMoveResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (MediaSubscriptionsPutSubscriptionMoveResponse) GetJSON200 ¶
func (r MediaSubscriptionsPutSubscriptionMoveResponse) GetJSON200() *MediaContainerWithSubscription
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (MediaSubscriptionsPutSubscriptionMoveResponse) Status ¶
func (r MediaSubscriptionsPutSubscriptionMoveResponse) Status() string
Status returns HTTPResponse.Status
func (MediaSubscriptionsPutSubscriptionMoveResponse) StatusCode ¶
func (r MediaSubscriptionsPutSubscriptionMoveResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type MediaSubscriptionsPutSubscriptionParams ¶
type MediaSubscriptionsPutSubscriptionParams struct {
Prefs map[string]interface{} `json:"prefs,omitempty,omitzero"`
}
MediaSubscriptionsPutSubscriptionParams defines parameters for MediaSubscriptionsPutSubscription.
type MediaSubscriptionsPutSubscriptionResponse ¶
type MediaSubscriptionsPutSubscriptionResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *MediaContainerWithSubscription
}
func ParseMediaSubscriptionsPutSubscriptionResponse ¶
func ParseMediaSubscriptionsPutSubscriptionResponse(rsp *http.Response) (*MediaSubscriptionsPutSubscriptionResponse, error)
ParseMediaSubscriptionsPutSubscriptionResponse parses an HTTP response from a MediaSubscriptionsPutSubscriptionWithResponse call
func (MediaSubscriptionsPutSubscriptionResponse) ContentType ¶
func (r MediaSubscriptionsPutSubscriptionResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (MediaSubscriptionsPutSubscriptionResponse) GetBody ¶
func (r MediaSubscriptionsPutSubscriptionResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (MediaSubscriptionsPutSubscriptionResponse) GetJSON200 ¶
func (r MediaSubscriptionsPutSubscriptionResponse) GetJSON200() *MediaContainerWithSubscription
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (MediaSubscriptionsPutSubscriptionResponse) Status ¶
func (r MediaSubscriptionsPutSubscriptionResponse) Status() string
Status returns HTTPResponse.Status
func (MediaSubscriptionsPutSubscriptionResponse) StatusCode ¶
func (r MediaSubscriptionsPutSubscriptionResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type Metadata ¶
type Metadata struct {
Autotag []Tag `json:"Autotag,omitempty,omitzero"`
Country []Tag `json:"Country,omitempty,omitzero"`
Director []Tag `json:"Director,omitempty,omitzero"`
// Filter Typically only seen in metadata at a library's top level
Filter []Filter `json:"Filter,omitempty,omitzero"`
Genre []Tag `json:"Genre,omitempty,omitzero"`
GUID []GUID `json:"Guid,omitempty,omitzero"`
Image []Image `json:"Image,omitempty,omitzero"`
Media []Media `json:"Media,omitempty,omitzero"`
Ratings []Tag `json:"Rating,omitempty,omitzero"`
Role []Tag `json:"Role,omitempty,omitzero"`
// Sort Typically only seen in metadata at a library's top level
Sort []Sort `json:"Sort,omitempty,omitzero"`
Writer []Tag `json:"Writer,omitempty,omitzero"`
// AbsoluteIndex When present, contains the disc number for a track on multi-disc albums.
AbsoluteIndex int `json:"absoluteIndex,omitempty,omitzero"`
// AddedAt In units of seconds since the epoch, returns the time at which the item was added to the library.
AddedAt int `json:"addedAt,omitempty,omitzero"`
// Art When present, the URL for the background artwork for the item.
Art interface{} `json:"art,omitempty,omitzero"`
// AudienceRating Some rating systems separate reviewer ratings from audience ratings
AudienceRating float32 `json:"audienceRating,omitempty,omitzero"`
// AudienceRatingImage A URI representing the image to be shown with the audience rating (e.g. rottentomatoes://image.rating.spilled).
AudienceRatingImage interface{} `json:"audienceRatingImage,omitempty,omitzero"`
// Banner When present, the URL for a banner graphic for the item.
Banner interface{} `json:"banner,omitempty,omitzero"`
// ChapterSource When present, indicates the source for the chapters in the media file. Can be media (the chapters were embedded in the media itself), agent (a metadata agent computed them), or mixed (a combination of the two).
ChapterSource interface{} `json:"chapterSource,omitempty,omitzero"`
// ChildCount The number of direct children, e.g. seasons of a show or items in a collection.
ChildCount int `json:"childCount,omitempty,omitzero"`
// Composite When present, the URL for a composite image for descendent items (e.g. photo albums or playlists).
Composite interface{} `json:"composite,omitempty,omitzero"`
// ContentRating If known, the content rating (e.g. MPAA) for an item.
ContentRating interface{} `json:"contentRating,omitempty,omitzero"`
// Duration When present, the duration for the item, in units of milliseconds.
Duration int `json:"duration,omitempty,omitzero"`
// GrandparentArt The `art` of the grandparent
GrandparentArt string `json:"grandparentArt,omitempty,omitzero"`
// GrandparentHero The `hero` of the grandparent
GrandparentHero string `json:"grandparentHero,omitempty,omitzero"`
// GrandparentKey The `key` of the grandparent
GrandparentKey string `json:"grandparentKey,omitempty,omitzero"`
// GrandparentRatingKey The `ratingKey` of the grandparent
GrandparentRatingKey string `json:"grandparentRatingKey,omitempty,omitzero"`
// GrandparentTheme The `theme` of the grandparent
GrandparentTheme string `json:"grandparentTheme,omitempty,omitzero"`
// GrandparentThumb The `thumb` of the grandparent
GrandparentThumb string `json:"grandparentThumb,omitempty,omitzero"`
// GrandparentTitle The `title` of the grandparent
GrandparentTitle string `json:"grandparentTitle,omitempty,omitzero"`
// PlexGUID The Plex GUID of the item itself, e.g. "plex://movie/5d7769a023d5a3001f4fa465".
PlexGUID string `json:"guid,omitempty,omitzero"`
// Hero When present, the URL for a hero image for the item.
Hero interface{} `json:"hero,omitempty,omitzero"`
// Index When present, this represents the episode number for episodes, season number for seasons, or track number for audio tracks.
Index int `json:"index,omitempty,omitzero"`
// Key The key at which the item's details can be fetched. In many cases a metadata item may be passed without all the details (such as in a hub) and this key corresponds to the endpoint to fetch additional details.
Key interface{} `json:"key,omitempty,omitzero"`
// LastViewedAt When a user has watched or listened to an item, this contains a timestamp (epoch seconds) for that last consumption time.
LastViewedAt int `json:"lastViewedAt,omitempty,omitzero"`
// LeafCount For shows and seasons, contains the number of total episodes.
LeafCount int `json:"leafCount,omitempty,omitzero"`
// OriginalTitle When present, used to indicate an item's original title, e.g. a movie's foreign title.
OriginalTitle interface{} `json:"originalTitle,omitempty,omitzero"`
// OriginallyAvailableAt When present, in the format YYYY-MM-DD [HH:MM:SS] (the hours/minutes/seconds part is not always present). The air date, or a higher resolution release date for an item, depending on type. For example, episodes usually have air date like 1979-08-10 (we don't use epoch seconds because media existed prior to 1970). In some cases, recorded over-the-air content has higher resolution air date which includes a time component. Albums and movies may have day-resolution release dates as well.
OriginallyAvailableAt interface{} `json:"originallyAvailableAt,omitempty,omitzero"`
// ParentHero The `hero` of the parent
ParentHero string `json:"parentHero,omitempty,omitzero"`
// ParentIndex The `index` of the parent
ParentIndex int `json:"parentIndex,omitempty,omitzero"`
// ParentKey The `key` of the parent
ParentKey string `json:"parentKey,omitempty,omitzero"`
// ParentRatingKey The `ratingKey` of the parent
ParentRatingKey string `json:"parentRatingKey,omitempty,omitzero"`
// ParentThumb The `thumb` of the parent
ParentThumb string `json:"parentThumb,omitempty,omitzero"`
// ParentTitle The `title` of the parent
ParentTitle string `json:"parentTitle,omitempty,omitzero"`
// PrimaryExtraKey Indicates that the item has a primary extra; for a movie, this is a trailer, and for a music track it is a music video. The URL points to the metadata details endpoint for the item.
PrimaryExtraKey interface{} `json:"primaryExtraKey,omitempty,omitzero"`
// Prompt Prompt to give the user for this directory (such as `Search Movies`)
Prompt string `json:"prompt,omitempty,omitzero"`
// Rating When present, the rating for the item. The exact meaning and representation depends on where the rating was sourced from.
Rating float32 `json:"rating,omitempty,omitzero"`
// RatingCount Number of ratings under this metadata
RatingCount int `json:"ratingCount,omitempty,omitzero"`
// RatingImage When present, indicates an image to be shown with the rating. This is passed back as a small set of defined URI values, e.g. rottentomatoes://image.rating.rotten.
RatingImage interface{} `json:"ratingImage,omitempty,omitzero"`
// RatingKey This is the opaque string to be passed into timeline, scrobble, and rating endpoints to identify them. While it often appears to be numeric, this is not guaranteed.
RatingKey interface{} `json:"ratingKey,omitempty,omitzero"`
// Search Indicates this is a search directory
Search bool `json:"search,omitempty,omitzero"`
// Secondary Used by old clients to provide nested menus allowing for primative (but structured) navigation.
Secondary bool `json:"secondary,omitempty,omitzero"`
// SkipChildren When found on a show item, indicates that the children (seasons) should be skipped in favor of the grandchildren (episodes). Useful for mini-series, etc.
SkipChildren bool `json:"skipChildren,omitempty,omitzero"`
// SkipParent When present on an episode or track item, indicates parent should be skipped in favor of grandparent (show).
SkipParent bool `json:"skipParent,omitempty,omitzero"`
// Studio When present, the studio or label which produced an item (e.g. movie studio for movies, record label for albums).
Studio interface{} `json:"studio,omitempty,omitzero"`
// Subtype The subtype of the video item, such as `photo` when the video item is in a photo library
Subtype interface{} `json:"subtype,omitempty,omitzero"`
// Summary When present, the extended textual information about the item (e.g. movie plot, artist biography, album review).
Summary interface{} `json:"summary,omitempty,omitzero"`
// Tagline When present, a pithy one-liner about the item (usually only seen for movies).
Tagline interface{} `json:"tagline,omitempty,omitzero"`
// Theme When present, the URL for theme music for the item (usually only for TV shows).
Theme interface{} `json:"theme,omitempty,omitzero"`
// Thumb When present, the URL for the poster or thumbnail for the item. When available for types like movie, it will be the poster graphic, but fall-back to the extracted media thumbnail.
Thumb interface{} `json:"thumb,omitempty,omitzero"`
// Title The title of the item (e.g. “300” or “The Simpsons”)
Title interface{} `json:"title,omitempty,omitzero"`
// TitleSort Whene present, this is the string used for sorting the item. It's usually the title with any leading articles removed (e.g. “Simpsons”).
TitleSort interface{} `json:"titleSort,omitempty,omitzero"`
// Type The type of the video item, such as `movie`, `episode`, or `clip`.
Type interface{} `json:"type,omitempty,omitzero"`
// UpdatedAt In units of seconds since the epoch, returns the time at which the item was last changed (e.g. had its metadata updated).
UpdatedAt int `json:"updatedAt,omitempty,omitzero"`
// UserRating When the user has rated an item, this contains the user rating
UserRating float32 `json:"userRating,omitempty,omitzero"`
// ViewCount When a users has completed watched or listened to an item, this attribute contains the number of consumptions.
ViewCount int `json:"viewCount,omitempty,omitzero"`
// ViewOffset When a user is in the process of viewing or listening to this item, this attribute contains the current offset, in units of milliseconds.
ViewOffset int `json:"viewOffset,omitempty,omitzero"`
// ViewedLeafCount For shows and seasons, contains the number of viewed episodes.
ViewedLeafCount int `json:"viewedLeafCount,omitempty,omitzero"`
// Year When present, the year associated with the item's release (e.g. release year for a movie).
Year int `json:"year,omitempty,omitzero"`
AdditionalProperties map[string]interface{} `json:"-"`
}
Metadata Items in a library are referred to as "metadata items." These metadata items are distinct from "media items" which represent actual instances of media that can be consumed. Consider a TV library that has a single video file in it for a particular episode of a show. The library has a single media item, but it has three metadata items: one for the show, one for the season, and one for the episode. Consider a movie library that has two video files in it: the same movie, but two different resolutions. The library has a single metadata item for the movie, but that metadata item has two media items, one for each resolution. Additionally a "media item" will have one or more "media parts" where the the parts are intended to be watched together, such as a CD1 and CD2 parts of the same movie.
Note that when a metadata item has multiple media items, those media items should be isomorphic. That is, a 4K version and 1080p version of a movie are different versions of the same movie. They have the same duration, same summary, same rating, etc. and they can generally be considered interchangeable. A theatrical release vs. director's cut vs. unrated version on the other hand would be separate metadata items.
Metadata items can often live in a hierarchy with relationships between them. For example, the metadata item for an episodes is associated with a season metadata item which is associated with a show metadata item. A similar hierarchy exists with track, album, and artist and photos and photo album. The relationships may be expressed via relative terms and absolute terms. For example, "leaves" refer to metadata items which has associated media (there is no media for a season nor show). A show will have "children" in the form of seasons and a season will have "children" in the form of episodes and episodes have "parent" in the form of a season which has a "parent" in the form of a show. Similarly, a show has "grandchildren" in the form of episodse and an episode has a "grandparent" in the form of a show.
func (Metadata) Get ¶
Getter for additional properties for Metadata. Returns the specified element and whether it was found
func (Metadata) MarshalJSON ¶
Override default JSON handling for Metadata to handle AdditionalProperties
func (*Metadata) UnmarshalJSON ¶
Override default JSON handling for Metadata to handle AdditionalProperties
type MetadataAgentProvider ¶
type MetadataAgentProvider struct {
// MetadataType The metadata types supported by the provider.
MetadataType []struct {
// Type The type of supported metadata.
Type int `json:"type,omitempty,omitzero"`
} `json:"MetadataType,omitempty,omitzero"`
// AgentType The type of agent.
// - primary: A metadata provider which provides a unique identifier (guid) for each item.
// - contributor: A metadata provider which provides additional metadata for items but does not have a unique item identifier.
AgentType MetadataAgentProviderAgentType `json:"agentType,omitempty,omitzero"`
// ID The unique identifier for the item.
ID int `json:"id,omitempty,omitzero"`
// Identifier The identifier for the provider.
Identifier string `json:"identifier,omitempty,omitzero"`
// Online Indicates whether the provider is online.
Online bool `json:"online,omitempty,omitzero"`
// Title The title of the provider.
Title string `json:"title,omitempty,omitzero"`
// URI The URI of the provider.
URI string `json:"uri,omitempty,omitzero"`
}
MetadataAgentProvider Describes a MetadataAgentProvider object.
type MetadataAgentProviderAgentType ¶
type MetadataAgentProviderAgentType string
MetadataAgentProviderAgentType The type of agent. - primary: A metadata provider which provides a unique identifier (guid) for each item. - contributor: A metadata provider which provides additional metadata for items but does not have a unique item identifier.
const ( Contributor MetadataAgentProviderAgentType = "contributor" Primary MetadataAgentProviderAgentType = "primary" )
Defines values for MetadataAgentProviderAgentType.
func (MetadataAgentProviderAgentType) Valid ¶
func (e MetadataAgentProviderAgentType) Valid() bool
Valid indicates whether the value is a known member of the MetadataAgentProviderAgentType enum.
type MetadataAgentProviderGroup ¶
type MetadataAgentProviderGroup struct {
MetadataAgentGroupItem []MetadataAgentProviderGroupItem `json:"MetadataAgentGroupItem,omitempty,omitzero"`
// ID The unique identifier for the item.
ID int `json:"id,omitempty,omitzero"`
// PrimaryIdentifier The primary identifier for the group. i.e. the identifier of the MetadataAgentProvider which will provide the item guids.
PrimaryIdentifier string `json:"primaryIdentifier,omitempty,omitzero"`
// Title The title of the group.
Title string `json:"title,omitempty,omitzero"`
}
MetadataAgentProviderGroup An item that describes a group of MetadataAgentProviderGroupItem objects.
type MetadataAgentProviderGroupItem ¶
type MetadataAgentProviderGroupItem struct {
// ID The unique identifier for the item.
ID int `json:"id,omitempty,omitzero"`
// MetadataAgentProviderGroupID The unique identifier for the MetadataAgentProviderGroup.
MetadataAgentProviderGroupID int `json:"metadataAgentProviderGroupId,omitempty,omitzero"`
// MetadataAgentProviderID The unique identifier for the MetadataAgentProvider.
MetadataAgentProviderID int `json:"metadataAgentProviderId,omitempty,omitzero"`
// Order The order of the item in the group.
Order float32 `json:"order,omitempty,omitzero"`
}
MetadataAgentProviderGroupItem Sub-items of a MetadataAgentProviderGroup object. They represent specific MetadataAgentProvider objects.
type MetadataAgentProviderManagerSlashGetResponses200 ¶
type MetadataAgentProviderManagerSlashGetResponses200 struct {
MediaContainer struct {
MetadataAgentProvider []MetadataAgentProvider `json:"MetadataAgentProvider,omitempty,omitzero"`
Identifier string `json:"identifier,omitempty,omitzero"`
// Offset The offset of where this container page starts among the total objects available. Also provided in the X-Plex-Container-Start header
Offset int `json:"offset,omitempty,omitzero"`
Size int `json:"size,omitempty,omitzero"`
// TotalSize The total size of objects available. Also provided in the X-Plex-Container-Total-Size header
TotalSize int `json:"totalSize,omitempty,omitzero"`
} `json:"MediaContainer,omitempty,omitzero"`
}
MetadataAgentProviderManagerSlashGetResponses200 defines model for metadataAgentProviderManager_slash-get-responses-200.
type NormalizeLoudnessParam ¶
type NormalizeLoudnessParam int
NormalizeLoudnessParam defines model for 5.
const ( NormalizeLoudnessParamN0 NormalizeLoudnessParam = 0 NormalizeLoudnessParamN1 NormalizeLoudnessParam = 1 )
Defines values for NormalizeLoudnessParam.
func (NormalizeLoudnessParam) Valid ¶
func (e NormalizeLoudnessParam) Valid() bool
Valid indicates whether the value is a known member of the NormalizeLoudnessParam enum.
type Part ¶
type Part struct {
Stream []Stream `json:"Stream,omitempty,omitzero"`
AudioProfile interface{} `json:"audioProfile,omitempty,omitzero"`
// Container The container of the media file, such as `mp4` or `mkv`
Container interface{} `json:"container,omitempty,omitzero"`
// Duration The duration of the media item, in milliseconds
Duration int `json:"duration,omitempty,omitzero"`
// File The local file path at which the part is stored on the server
File interface{} `json:"file,omitempty,omitzero"`
Has64BitOffsets bool `json:"has64bitOffsets,omitempty,omitzero"`
ID int `json:"id,omitempty,omitzero"`
// Key The key from which the media can be streamed
Key interface{} `json:"key,omitempty,omitzero"`
OptimizedForStreaming bool `json:"optimizedForStreaming,omitempty,omitzero"`
// Size The size of the media, in bytes
Size int `json:"size,omitempty,omitzero"`
VideoProfile interface{} `json:"videoProfile,omitempty,omitzero"`
AdditionalProperties map[string]interface{} `json:"-"`
}
Part `Part` represents a particular file or "part" of a media item. The part is the playable unit of the media hierarchy. Suppose that a movie library contains a movie that is broken up into files, reminiscent of a movie split across two BDs. The metadata item represents information about the movie, the media item represents this instance of the movie at this resolution and quality, and the part items represent the two playable files. If another media were added which contained the joining of these two parts transcoded down to a lower resolution, then this metadata would contain 2 medias, one with 2 parts and one with 1 part.
func (Part) Get ¶
Getter for additional properties for Part. Returns the specified element and whether it was found
func (Part) MarshalJSON ¶
Override default JSON handling for Part to handle AdditionalProperties
func (*Part) UnmarshalJSON ¶
Override default JSON handling for Part to handle AdditionalProperties
type PhotoResolutionParam ¶
type PhotoResolutionParam = string
PhotoResolutionParam defines model for 22.
type PlayQueuePlayQueueResetResponse ¶
type PlayQueuePlayQueueResetResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *SlashPostResponses200
}
func ParsePlayQueuePlayQueueResetResponse ¶
func ParsePlayQueuePlayQueueResetResponse(rsp *http.Response) (*PlayQueuePlayQueueResetResponse, error)
ParsePlayQueuePlayQueueResetResponse parses an HTTP response from a PlayQueuePlayQueueResetWithResponse call
func (PlayQueuePlayQueueResetResponse) ContentType ¶
func (r PlayQueuePlayQueueResetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (PlayQueuePlayQueueResetResponse) GetBody ¶
func (r PlayQueuePlayQueueResetResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (PlayQueuePlayQueueResetResponse) GetJSON200 ¶
func (r PlayQueuePlayQueueResetResponse) GetJSON200() *SlashPostResponses200
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (PlayQueuePlayQueueResetResponse) Status ¶
func (r PlayQueuePlayQueueResetResponse) Status() string
Status returns HTTPResponse.Status
func (PlayQueuePlayQueueResetResponse) StatusCode ¶
func (r PlayQueuePlayQueueResetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PlayQueuePostSlash200JSONResponseBody_MediaContainer ¶
type PlayQueuePostSlash200JSONResponseBody_MediaContainer struct {
Metadata []Metadata `json:"Metadata,omitempty,omitzero"`
Identifier string `json:"identifier,omitempty,omitzero"`
// Offset The offset of where this container page starts among the total objects available. Also provided in the X-Plex-Container-Start header
Offset int `json:"offset,omitempty,omitzero"`
// PlayQueueID The ID of the play queue, which is used in subsequent requests.
PlayQueueID int `json:"playQueueID,omitempty,omitzero"`
// PlayQueueLastAddedItemID Defines where the "Up Next" region starts
PlayQueueLastAddedItemID string `json:"playQueueLastAddedItemID,omitempty,omitzero"`
// PlayQueueSelectedItemID The queue item ID of the currently selected item.
PlayQueueSelectedItemID int `json:"playQueueSelectedItemID,omitempty,omitzero"`
// PlayQueueSelectedItemOffset The offset of the selected item in the play queue, from the beginning of the queue.
PlayQueueSelectedItemOffset int `json:"playQueueSelectedItemOffset,omitempty,omitzero"`
// PlayQueueSelectedMetadataItemID The metadata item ID of the currently selected item (matches `ratingKey` attribute in metadata item if the media provider is a library).
PlayQueueSelectedMetadataItemID int `json:"playQueueSelectedMetadataItemID,omitempty,omitzero"`
// PlayQueueShuffled Whether or not the queue is shuffled.
PlayQueueShuffled bool `json:"playQueueShuffled,omitempty,omitzero"`
// PlayQueueSourceURI The original URI used to create the play queue.
PlayQueueSourceURI string `json:"playQueueSourceURI,omitempty,omitzero"`
// PlayQueueTotalCount The total number of items in the play queue.
PlayQueueTotalCount int `json:"playQueueTotalCount,omitempty,omitzero"`
// PlayQueueVersion The version of the play queue. It increments every time a change is made to the play queue to assist clients in knowing when to refresh.
PlayQueueVersion int `json:"playQueueVersion,omitempty,omitzero"`
Size int `json:"size,omitempty,omitzero"`
// TotalSize The total size of objects available. Also provided in the X-Plex-Container-Total-Size header
TotalSize int `json:"totalSize,omitempty,omitzero"`
AdditionalProperties map[string]interface{} `json:"-"`
}
PlayQueuePostSlash200JSONResponseBody_MediaContainer defines parameters for PlayQueuePostSlash.
func (PlayQueuePostSlash200JSONResponseBody_MediaContainer) Get ¶
func (a PlayQueuePostSlash200JSONResponseBody_MediaContainer) Get(fieldName string) (value interface{}, found bool)
Getter for additional properties for PlayQueuePostSlash200JSONResponseBody_MediaContainer. Returns the specified element and whether it was found
func (PlayQueuePostSlash200JSONResponseBody_MediaContainer) MarshalJSON ¶
func (a PlayQueuePostSlash200JSONResponseBody_MediaContainer) MarshalJSON() ([]byte, error)
Override default JSON handling for PlayQueuePostSlash200JSONResponseBody_MediaContainer to handle AdditionalProperties
func (*PlayQueuePostSlash200JSONResponseBody_MediaContainer) Set ¶
func (a *PlayQueuePostSlash200JSONResponseBody_MediaContainer) Set(fieldName string, value interface{})
Setter for additional properties for PlayQueuePostSlash200JSONResponseBody_MediaContainer
func (*PlayQueuePostSlash200JSONResponseBody_MediaContainer) UnmarshalJSON ¶
func (a *PlayQueuePostSlash200JSONResponseBody_MediaContainer) UnmarshalJSON(b []byte) error
Override default JSON handling for PlayQueuePostSlash200JSONResponseBody_MediaContainer to handle AdditionalProperties
type PlayQueuePostSlashParams ¶
type PlayQueuePostSlashParams struct {
// URI The content URI for what we're playing.
URI string `form:"uri,omitempty" json:"uri,omitempty,omitzero"`
// PlaylistID the ID of the playlist we're playing.
PlaylistID int `form:"playlistID,omitempty" json:"playlistID,omitempty,omitzero"`
// Type The type of play queue to create
Type PlayQueuePostSlashParamsType `form:"type" json:"type"`
// Key The key of the first item to play, defaults to the first in the play queue.
Key string `form:"key,omitempty" json:"key,omitempty,omitzero"`
// Shuffle Whether to shuffle the playlist, defaults to 0.
Shuffle PlayQueuePostSlashParamsShuffle `form:"shuffle,omitempty" json:"shuffle,omitempty,omitzero"`
// Repeat If the PQ is bigger than the window, fill any empty space with wraparound items, defaults to 0.
Repeat PlayQueuePostSlashParamsRepeat `form:"repeat,omitempty" json:"repeat,omitempty,omitzero"`
// Continuous Whether to create a continuous play queue (e.g. from an episode), defaults to 0.
Continuous PlayQueuePostSlashParamsContinuous `form:"continuous,omitempty" json:"continuous,omitempty,omitzero"`
// ExtrasPrefixCount Number of trailers to prepend a movie with not including the pre-roll. If omitted the pre-roll will not be returned in the play queue. When resuming a movie `extrasPrefixCount` should be omitted as a parameter instead of passing 0.
ExtrasPrefixCount int `form:"extrasPrefixCount,omitempty" json:"extrasPrefixCount,omitempty,omitzero"`
// Recursive Only applies to queues of type photo, whether to retrieve all descendent photos from an album or section, defaults to 1.
Recursive PlayQueuePostSlashParamsRecursive `form:"recursive,omitempty" json:"recursive,omitempty,omitzero"`
// OnDeck Only applies to queues of type show or seasons, whether to return a queue that is started on the On Deck episode if one exists. Otherwise begins the play queue on the beginning of the show or season.
OnDeck PlayQueuePostSlashParamsOnDeck `form:"onDeck,omitempty" json:"onDeck,omitempty,omitzero"`
}
PlayQueuePostSlashParams defines parameters for PlayQueuePostSlash.
type PlayQueuePostSlashParamsContinuous ¶
type PlayQueuePostSlashParamsContinuous int
PlayQueuePostSlashParamsContinuous defines parameters for PlayQueuePostSlash.
const ( PlayQueuePostSlashParamsContinuousN0 PlayQueuePostSlashParamsContinuous = 0 PlayQueuePostSlashParamsContinuousN1 PlayQueuePostSlashParamsContinuous = 1 )
Defines values for PlayQueuePostSlashParamsContinuous.
func (PlayQueuePostSlashParamsContinuous) Valid ¶
func (e PlayQueuePostSlashParamsContinuous) Valid() bool
Valid indicates whether the value is a known member of the PlayQueuePostSlashParamsContinuous enum.
type PlayQueuePostSlashParamsOnDeck ¶
type PlayQueuePostSlashParamsOnDeck int
PlayQueuePostSlashParamsOnDeck defines parameters for PlayQueuePostSlash.
const ( PlayQueuePostSlashParamsOnDeckN0 PlayQueuePostSlashParamsOnDeck = 0 PlayQueuePostSlashParamsOnDeckN1 PlayQueuePostSlashParamsOnDeck = 1 )
Defines values for PlayQueuePostSlashParamsOnDeck.
func (PlayQueuePostSlashParamsOnDeck) Valid ¶
func (e PlayQueuePostSlashParamsOnDeck) Valid() bool
Valid indicates whether the value is a known member of the PlayQueuePostSlashParamsOnDeck enum.
type PlayQueuePostSlashParamsRecursive ¶
type PlayQueuePostSlashParamsRecursive int
PlayQueuePostSlashParamsRecursive defines parameters for PlayQueuePostSlash.
const ( PlayQueuePostSlashParamsRecursiveN0 PlayQueuePostSlashParamsRecursive = 0 PlayQueuePostSlashParamsRecursiveN1 PlayQueuePostSlashParamsRecursive = 1 )
Defines values for PlayQueuePostSlashParamsRecursive.
func (PlayQueuePostSlashParamsRecursive) Valid ¶
func (e PlayQueuePostSlashParamsRecursive) Valid() bool
Valid indicates whether the value is a known member of the PlayQueuePostSlashParamsRecursive enum.
type PlayQueuePostSlashParamsRepeat ¶
type PlayQueuePostSlashParamsRepeat int
PlayQueuePostSlashParamsRepeat defines parameters for PlayQueuePostSlash.
const ( PlayQueuePostSlashParamsRepeatN0 PlayQueuePostSlashParamsRepeat = 0 PlayQueuePostSlashParamsRepeatN1 PlayQueuePostSlashParamsRepeat = 1 )
Defines values for PlayQueuePostSlashParamsRepeat.
func (PlayQueuePostSlashParamsRepeat) Valid ¶
func (e PlayQueuePostSlashParamsRepeat) Valid() bool
Valid indicates whether the value is a known member of the PlayQueuePostSlashParamsRepeat enum.
type PlayQueuePostSlashParamsShuffle ¶
type PlayQueuePostSlashParamsShuffle int
PlayQueuePostSlashParamsShuffle defines parameters for PlayQueuePostSlash.
const ( PlayQueuePostSlashParamsShuffleN0 PlayQueuePostSlashParamsShuffle = 0 PlayQueuePostSlashParamsShuffleN1 PlayQueuePostSlashParamsShuffle = 1 )
Defines values for PlayQueuePostSlashParamsShuffle.
func (PlayQueuePostSlashParamsShuffle) Valid ¶
func (e PlayQueuePostSlashParamsShuffle) Valid() bool
Valid indicates whether the value is a known member of the PlayQueuePostSlashParamsShuffle enum.
type PlayQueuePostSlashParamsType ¶
type PlayQueuePostSlashParamsType string
PlayQueuePostSlashParamsType defines parameters for PlayQueuePostSlash.
const ( PlayQueuePostSlashParamsTypeAudio PlayQueuePostSlashParamsType = "audio" PlayQueuePostSlashParamsTypePhoto PlayQueuePostSlashParamsType = "photo" PlayQueuePostSlashParamsTypeVideo PlayQueuePostSlashParamsType = "video" )
Defines values for PlayQueuePostSlashParamsType.
func (PlayQueuePostSlashParamsType) Valid ¶
func (e PlayQueuePostSlashParamsType) Valid() bool
Valid indicates whether the value is a known member of the PlayQueuePostSlashParamsType enum.
type PlayQueuePostSlashResponse ¶
type PlayQueuePostSlashResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *struct {
MediaContainer PlayQueuePostSlash200JSONResponseBody_MediaContainer `json:"MediaContainer,omitempty,omitzero"`
}
// Headers200 the parsed response headers for an HTTP 200 response
Headers200 *PlayQueuePostSlashResponse200Headers
}
func ParsePlayQueuePostSlashResponse ¶
func ParsePlayQueuePostSlashResponse(rsp *http.Response) (*PlayQueuePostSlashResponse, error)
ParsePlayQueuePostSlashResponse parses an HTTP response from a PlayQueuePostSlashWithResponse call
func (PlayQueuePostSlashResponse) ContentType ¶
func (r PlayQueuePostSlashResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (PlayQueuePostSlashResponse) GetBody ¶
func (r PlayQueuePostSlashResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (PlayQueuePostSlashResponse) GetJSON200 ¶
func (r PlayQueuePostSlashResponse) GetJSON200() *struct { MediaContainer PlayQueuePostSlash200JSONResponseBody_MediaContainer `json:"MediaContainer,omitempty,omitzero"` }
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (PlayQueuePostSlashResponse) Status ¶
func (r PlayQueuePostSlashResponse) Status() string
Status returns HTTPResponse.Status
func (PlayQueuePostSlashResponse) StatusCode ¶
func (r PlayQueuePostSlashResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PlayQueuePostSlashResponse200Headers ¶
type PlayQueuePostSlashResponse200Headers struct {
XPlexContainerStart int
XPlexContainerTotalSize int
}
PlayQueuePostSlashResponse200Headers the declared response headers of an HTTP 200 response for PlayQueuePostSlash
type PlayQueueQueueDeleteItemsItemResponse ¶
type PlayQueueQueueDeleteItemsItemResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *SlashPostResponses200
}
func ParsePlayQueueQueueDeleteItemsItemResponse ¶
func ParsePlayQueueQueueDeleteItemsItemResponse(rsp *http.Response) (*PlayQueueQueueDeleteItemsItemResponse, error)
ParsePlayQueueQueueDeleteItemsItemResponse parses an HTTP response from a PlayQueueQueueDeleteItemsItemWithResponse call
func (PlayQueueQueueDeleteItemsItemResponse) ContentType ¶
func (r PlayQueueQueueDeleteItemsItemResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (PlayQueueQueueDeleteItemsItemResponse) GetBody ¶
func (r PlayQueueQueueDeleteItemsItemResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (PlayQueueQueueDeleteItemsItemResponse) GetJSON200 ¶
func (r PlayQueueQueueDeleteItemsItemResponse) GetJSON200() *SlashPostResponses200
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (PlayQueueQueueDeleteItemsItemResponse) Status ¶
func (r PlayQueueQueueDeleteItemsItemResponse) Status() string
Status returns HTTPResponse.Status
func (PlayQueueQueueDeleteItemsItemResponse) StatusCode ¶
func (r PlayQueueQueueDeleteItemsItemResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PlayQueueQueueDeleteItemsResponse ¶
type PlayQueueQueueDeleteItemsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *MediaContainerWithPlaylistMetadata
}
func ParsePlayQueueQueueDeleteItemsResponse ¶
func ParsePlayQueueQueueDeleteItemsResponse(rsp *http.Response) (*PlayQueueQueueDeleteItemsResponse, error)
ParsePlayQueueQueueDeleteItemsResponse parses an HTTP response from a PlayQueueQueueDeleteItemsWithResponse call
func (PlayQueueQueueDeleteItemsResponse) ContentType ¶
func (r PlayQueueQueueDeleteItemsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (PlayQueueQueueDeleteItemsResponse) GetBody ¶
func (r PlayQueueQueueDeleteItemsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (PlayQueueQueueDeleteItemsResponse) GetJSON200 ¶
func (r PlayQueueQueueDeleteItemsResponse) GetJSON200() *MediaContainerWithPlaylistMetadata
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (PlayQueueQueueDeleteItemsResponse) Status ¶
func (r PlayQueueQueueDeleteItemsResponse) Status() string
Status returns HTTPResponse.Status
func (PlayQueueQueueDeleteItemsResponse) StatusCode ¶
func (r PlayQueueQueueDeleteItemsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PlayQueueQueueGetSlashParams ¶
type PlayQueueQueueGetSlashParams struct {
// Own If the server should transfer ownership to the requesting client (used in remote control scenarios).
Own PlayQueueQueueGetSlashParamsOwn `form:"own,omitempty" json:"own,omitempty,omitzero"`
// Center The play queue item ID for the center of the window - this doesn't change the current selected item.
Center string `form:"center,omitempty" json:"center,omitempty,omitzero"`
// Window How many items on each side of the center of the window
Window int `form:"window,omitempty" json:"window,omitempty,omitzero"`
// IncludeBefore Whether to include the items before the center (if 0, center is not included either), defaults to 1.
IncludeBefore PlayQueueQueueGetSlashParamsIncludeBefore `form:"includeBefore,omitempty" json:"includeBefore,omitempty,omitzero"`
// IncludeAfter Whether to include the items after the center (if 0, center is not included either), defaults to 1.
IncludeAfter PlayQueueQueueGetSlashParamsIncludeAfter `form:"includeAfter,omitempty" json:"includeAfter,omitempty,omitzero"`
}
PlayQueueQueueGetSlashParams defines parameters for PlayQueueQueueGetSlash.
type PlayQueueQueueGetSlashParamsIncludeAfter ¶
type PlayQueueQueueGetSlashParamsIncludeAfter int
PlayQueueQueueGetSlashParamsIncludeAfter defines parameters for PlayQueueQueueGetSlash.
const ( PlayQueueQueueGetSlashParamsIncludeAfterN0 PlayQueueQueueGetSlashParamsIncludeAfter = 0 PlayQueueQueueGetSlashParamsIncludeAfterN1 PlayQueueQueueGetSlashParamsIncludeAfter = 1 )
Defines values for PlayQueueQueueGetSlashParamsIncludeAfter.
func (PlayQueueQueueGetSlashParamsIncludeAfter) Valid ¶
func (e PlayQueueQueueGetSlashParamsIncludeAfter) Valid() bool
Valid indicates whether the value is a known member of the PlayQueueQueueGetSlashParamsIncludeAfter enum.
type PlayQueueQueueGetSlashParamsIncludeBefore ¶
type PlayQueueQueueGetSlashParamsIncludeBefore int
PlayQueueQueueGetSlashParamsIncludeBefore defines parameters for PlayQueueQueueGetSlash.
const ( PlayQueueQueueGetSlashParamsIncludeBeforeN0 PlayQueueQueueGetSlashParamsIncludeBefore = 0 PlayQueueQueueGetSlashParamsIncludeBeforeN1 PlayQueueQueueGetSlashParamsIncludeBefore = 1 )
Defines values for PlayQueueQueueGetSlashParamsIncludeBefore.
func (PlayQueueQueueGetSlashParamsIncludeBefore) Valid ¶
func (e PlayQueueQueueGetSlashParamsIncludeBefore) Valid() bool
Valid indicates whether the value is a known member of the PlayQueueQueueGetSlashParamsIncludeBefore enum.
type PlayQueueQueueGetSlashParamsOwn ¶
type PlayQueueQueueGetSlashParamsOwn int
PlayQueueQueueGetSlashParamsOwn defines parameters for PlayQueueQueueGetSlash.
const ( PlayQueueQueueGetSlashParamsOwnN0 PlayQueueQueueGetSlashParamsOwn = 0 PlayQueueQueueGetSlashParamsOwnN1 PlayQueueQueueGetSlashParamsOwn = 1 )
Defines values for PlayQueueQueueGetSlashParamsOwn.
func (PlayQueueQueueGetSlashParamsOwn) Valid ¶
func (e PlayQueueQueueGetSlashParamsOwn) Valid() bool
Valid indicates whether the value is a known member of the PlayQueueQueueGetSlashParamsOwn enum.
type PlayQueueQueueGetSlashResponse ¶
type PlayQueueQueueGetSlashResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *SlashPostResponses200
}
func ParsePlayQueueQueueGetSlashResponse ¶
func ParsePlayQueueQueueGetSlashResponse(rsp *http.Response) (*PlayQueueQueueGetSlashResponse, error)
ParsePlayQueueQueueGetSlashResponse parses an HTTP response from a PlayQueueQueueGetSlashWithResponse call
func (PlayQueueQueueGetSlashResponse) ContentType ¶
func (r PlayQueueQueueGetSlashResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (PlayQueueQueueGetSlashResponse) GetBody ¶
func (r PlayQueueQueueGetSlashResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (PlayQueueQueueGetSlashResponse) GetJSON200 ¶
func (r PlayQueueQueueGetSlashResponse) GetJSON200() *SlashPostResponses200
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (PlayQueueQueueGetSlashResponse) Status ¶
func (r PlayQueueQueueGetSlashResponse) Status() string
Status returns HTTPResponse.Status
func (PlayQueueQueueGetSlashResponse) StatusCode ¶
func (r PlayQueueQueueGetSlashResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PlayQueueQueuePutItemsMoveParams ¶
type PlayQueueQueuePutItemsMoveParams struct {
// After The play queue item ID to insert the new item after. If not present, moves to the beginning.
After int `form:"after,omitempty" json:"after,omitempty,omitzero"`
}
PlayQueueQueuePutItemsMoveParams defines parameters for PlayQueueQueuePutItemsMove.
type PlayQueueQueuePutItemsMoveResponse ¶
type PlayQueueQueuePutItemsMoveResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *SlashPostResponses200
}
func ParsePlayQueueQueuePutItemsMoveResponse ¶
func ParsePlayQueueQueuePutItemsMoveResponse(rsp *http.Response) (*PlayQueueQueuePutItemsMoveResponse, error)
ParsePlayQueueQueuePutItemsMoveResponse parses an HTTP response from a PlayQueueQueuePutItemsMoveWithResponse call
func (PlayQueueQueuePutItemsMoveResponse) ContentType ¶
func (r PlayQueueQueuePutItemsMoveResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (PlayQueueQueuePutItemsMoveResponse) GetBody ¶
func (r PlayQueueQueuePutItemsMoveResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (PlayQueueQueuePutItemsMoveResponse) GetJSON200 ¶
func (r PlayQueueQueuePutItemsMoveResponse) GetJSON200() *SlashPostResponses200
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (PlayQueueQueuePutItemsMoveResponse) Status ¶
func (r PlayQueueQueuePutItemsMoveResponse) Status() string
Status returns HTTPResponse.Status
func (PlayQueueQueuePutItemsMoveResponse) StatusCode ¶
func (r PlayQueueQueuePutItemsMoveResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PlayQueueQueuePutItemsShuffleResponse ¶
type PlayQueueQueuePutItemsShuffleResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *MediaContainerWithPlaylistMetadata
}
func ParsePlayQueueQueuePutItemsShuffleResponse ¶
func ParsePlayQueueQueuePutItemsShuffleResponse(rsp *http.Response) (*PlayQueueQueuePutItemsShuffleResponse, error)
ParsePlayQueueQueuePutItemsShuffleResponse parses an HTTP response from a PlayQueueQueuePutItemsShuffleWithResponse call
func (PlayQueueQueuePutItemsShuffleResponse) ContentType ¶
func (r PlayQueueQueuePutItemsShuffleResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (PlayQueueQueuePutItemsShuffleResponse) GetBody ¶
func (r PlayQueueQueuePutItemsShuffleResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (PlayQueueQueuePutItemsShuffleResponse) GetJSON200 ¶
func (r PlayQueueQueuePutItemsShuffleResponse) GetJSON200() *MediaContainerWithPlaylistMetadata
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (PlayQueueQueuePutItemsShuffleResponse) Status ¶
func (r PlayQueueQueuePutItemsShuffleResponse) Status() string
Status returns HTTPResponse.Status
func (PlayQueueQueuePutItemsShuffleResponse) StatusCode ¶
func (r PlayQueueQueuePutItemsShuffleResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PlayQueueQueuePutItemsUnshuffleResponse ¶
type PlayQueueQueuePutItemsUnshuffleResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *SlashPostResponses200
}
func ParsePlayQueueQueuePutItemsUnshuffleResponse ¶
func ParsePlayQueueQueuePutItemsUnshuffleResponse(rsp *http.Response) (*PlayQueueQueuePutItemsUnshuffleResponse, error)
ParsePlayQueueQueuePutItemsUnshuffleResponse parses an HTTP response from a PlayQueueQueuePutItemsUnshuffleWithResponse call
func (PlayQueueQueuePutItemsUnshuffleResponse) ContentType ¶
func (r PlayQueueQueuePutItemsUnshuffleResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (PlayQueueQueuePutItemsUnshuffleResponse) GetBody ¶
func (r PlayQueueQueuePutItemsUnshuffleResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (PlayQueueQueuePutItemsUnshuffleResponse) GetJSON200 ¶
func (r PlayQueueQueuePutItemsUnshuffleResponse) GetJSON200() *SlashPostResponses200
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (PlayQueueQueuePutItemsUnshuffleResponse) Status ¶
func (r PlayQueueQueuePutItemsUnshuffleResponse) Status() string
Status returns HTTPResponse.Status
func (PlayQueueQueuePutItemsUnshuffleResponse) StatusCode ¶
func (r PlayQueueQueuePutItemsUnshuffleResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PlayQueueQueuePutSlashParams ¶
type PlayQueueQueuePutSlashParams struct {
// URI The content URI for what we're adding to the queue.
URI string `form:"uri,omitempty" json:"uri,omitempty,omitzero"`
// PlaylistID The ID of the playlist to add to the playQueue.
PlaylistID string `form:"playlistID,omitempty" json:"playlistID,omitempty,omitzero"`
// Next Play this item next (defaults to 0 - queueing at the end of manually queued items).
Next PlayQueueQueuePutSlashParamsNext `form:"next,omitempty" json:"next,omitempty,omitzero"`
}
PlayQueueQueuePutSlashParams defines parameters for PlayQueueQueuePutSlash.
type PlayQueueQueuePutSlashParamsNext ¶
type PlayQueueQueuePutSlashParamsNext int
PlayQueueQueuePutSlashParamsNext defines parameters for PlayQueueQueuePutSlash.
const ( PlayQueueQueuePutSlashParamsNextN0 PlayQueueQueuePutSlashParamsNext = 0 PlayQueueQueuePutSlashParamsNextN1 PlayQueueQueuePutSlashParamsNext = 1 )
Defines values for PlayQueueQueuePutSlashParamsNext.
func (PlayQueueQueuePutSlashParamsNext) Valid ¶
func (e PlayQueueQueuePutSlashParamsNext) Valid() bool
Valid indicates whether the value is a known member of the PlayQueueQueuePutSlashParamsNext enum.
type PlayQueueQueuePutSlashResponse ¶
type PlayQueueQueuePutSlashResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *SlashPostResponses200
}
func ParsePlayQueueQueuePutSlashResponse ¶
func ParsePlayQueueQueuePutSlashResponse(rsp *http.Response) (*PlayQueueQueuePutSlashResponse, error)
ParsePlayQueueQueuePutSlashResponse parses an HTTP response from a PlayQueueQueuePutSlashWithResponse call
func (PlayQueueQueuePutSlashResponse) ContentType ¶
func (r PlayQueueQueuePutSlashResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (PlayQueueQueuePutSlashResponse) GetBody ¶
func (r PlayQueueQueuePutSlashResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (PlayQueueQueuePutSlashResponse) GetJSON200 ¶
func (r PlayQueueQueuePutSlashResponse) GetJSON200() *SlashPostResponses200
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (PlayQueueQueuePutSlashResponse) Status ¶
func (r PlayQueueQueuePutSlashResponse) Status() string
Status returns HTTPResponse.Status
func (PlayQueueQueuePutSlashResponse) StatusCode ¶
func (r PlayQueueQueuePutSlashResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PlaylistDeleteItemsGeneratorResponse ¶
type PlaylistDeleteItemsGeneratorResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *SlashPostResponses200
}
func ParsePlaylistDeleteItemsGeneratorResponse ¶
func ParsePlaylistDeleteItemsGeneratorResponse(rsp *http.Response) (*PlaylistDeleteItemsGeneratorResponse, error)
ParsePlaylistDeleteItemsGeneratorResponse parses an HTTP response from a PlaylistDeleteItemsGeneratorWithResponse call
func (PlaylistDeleteItemsGeneratorResponse) ContentType ¶
func (r PlaylistDeleteItemsGeneratorResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (PlaylistDeleteItemsGeneratorResponse) GetBody ¶
func (r PlaylistDeleteItemsGeneratorResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (PlaylistDeleteItemsGeneratorResponse) GetJSON200 ¶
func (r PlaylistDeleteItemsGeneratorResponse) GetJSON200() *SlashPostResponses200
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (PlaylistDeleteItemsGeneratorResponse) Status ¶
func (r PlaylistDeleteItemsGeneratorResponse) Status() string
Status returns HTTPResponse.Status
func (PlaylistDeleteItemsGeneratorResponse) StatusCode ¶
func (r PlaylistDeleteItemsGeneratorResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PlaylistDeleteItemsResponse ¶
type PlaylistDeleteItemsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *SlashPostResponses200
}
func ParsePlaylistDeleteItemsResponse ¶
func ParsePlaylistDeleteItemsResponse(rsp *http.Response) (*PlaylistDeleteItemsResponse, error)
ParsePlaylistDeleteItemsResponse parses an HTTP response from a PlaylistDeleteItemsWithResponse call
func (PlaylistDeleteItemsResponse) ContentType ¶
func (r PlaylistDeleteItemsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (PlaylistDeleteItemsResponse) GetBody ¶
func (r PlaylistDeleteItemsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (PlaylistDeleteItemsResponse) GetJSON200 ¶
func (r PlaylistDeleteItemsResponse) GetJSON200() *SlashPostResponses200
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (PlaylistDeleteItemsResponse) Status ¶
func (r PlaylistDeleteItemsResponse) Status() string
Status returns HTTPResponse.Status
func (PlaylistDeleteItemsResponse) StatusCode ¶
func (r PlaylistDeleteItemsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PlaylistDeletePlaylistResponse ¶
func ParsePlaylistDeletePlaylistResponse ¶
func ParsePlaylistDeletePlaylistResponse(rsp *http.Response) (*PlaylistDeletePlaylistResponse, error)
ParsePlaylistDeletePlaylistResponse parses an HTTP response from a PlaylistDeletePlaylistWithResponse call
func (PlaylistDeletePlaylistResponse) ContentType ¶
func (r PlaylistDeletePlaylistResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (PlaylistDeletePlaylistResponse) GetBody ¶
func (r PlaylistDeletePlaylistResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (PlaylistDeletePlaylistResponse) Status ¶
func (r PlaylistDeletePlaylistResponse) Status() string
Status returns HTTPResponse.Status
func (PlaylistDeletePlaylistResponse) StatusCode ¶
func (r PlaylistDeletePlaylistResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PlaylistGetGenerators200JSONResponseBodyMediaContainerPlayQueueGeneratorType ¶
type PlaylistGetGenerators200JSONResponseBodyMediaContainerPlayQueueGeneratorType int
PlaylistGetGenerators200JSONResponseBodyMediaContainerPlayQueueGeneratorType defines parameters for PlaylistGetGenerators.
const ( PlaylistGetGenerators200JSONResponseBodyMediaContainerPlayQueueGeneratorTypeMinus1 PlaylistGetGenerators200JSONResponseBodyMediaContainerPlayQueueGeneratorType = -1 PlaylistGetGenerators200JSONResponseBodyMediaContainerPlayQueueGeneratorTypeN42 PlaylistGetGenerators200JSONResponseBodyMediaContainerPlayQueueGeneratorType = 42 )
Defines values for PlaylistGetGenerators200JSONResponseBodyMediaContainerPlayQueueGeneratorType.
type PlaylistGetGeneratorsResponse ¶
type PlaylistGetGeneratorsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *struct {
MediaContainer struct {
PlayQueueGenerator []struct {
ChangedAt int `json:"changedAt,omitempty,omitzero"`
CreatedAt int `json:"createdAt,omitempty,omitzero"`
ID int `json:"id,omitempty,omitzero"`
PlaylistID int `json:"playlistID,omitempty,omitzero"`
// Type The type of playlist generator.
//
// - -1: A smart playlist generator
// - 42: A optimized version generator
Type PlaylistGetGenerators200JSONResponseBodyMediaContainerPlayQueueGeneratorType `json:"type,omitempty,omitzero"`
UpdatedAt int `json:"updatedAt,omitempty,omitzero"`
// URI The URI indicating the search for this generator
URI string `json:"uri,omitempty,omitzero"`
} `json:"PlayQueueGenerator,omitempty,omitzero"`
Identifier string `json:"identifier,omitempty,omitzero"`
// Offset The offset of where this container page starts among the total objects available. Also provided in the X-Plex-Container-Start header
Offset int `json:"offset,omitempty,omitzero"`
Size int `json:"size,omitempty,omitzero"`
// TotalSize The total size of objects available. Also provided in the X-Plex-Container-Total-Size header
TotalSize int `json:"totalSize,omitempty,omitzero"`
} `json:"MediaContainer,omitempty,omitzero"`
}
}
func ParsePlaylistGetGeneratorsResponse ¶
func ParsePlaylistGetGeneratorsResponse(rsp *http.Response) (*PlaylistGetGeneratorsResponse, error)
ParsePlaylistGetGeneratorsResponse parses an HTTP response from a PlaylistGetGeneratorsWithResponse call
func (PlaylistGetGeneratorsResponse) ContentType ¶
func (r PlaylistGetGeneratorsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (PlaylistGetGeneratorsResponse) GetBody ¶
func (r PlaylistGetGeneratorsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (PlaylistGetGeneratorsResponse) GetJSON200 ¶
func (r PlaylistGetGeneratorsResponse) GetJSON200() *struct { MediaContainer struct { PlayQueueGenerator []struct { ChangedAt int `json:"changedAt,omitempty,omitzero"` CreatedAt int `json:"createdAt,omitempty,omitzero"` ID int `json:"id,omitempty,omitzero"` PlaylistID int `json:"playlistID,omitempty,omitzero"` // Type The type of playlist generator. // // - -1: A smart playlist generator // - 42: A optimized version generator Type PlaylistGetGenerators200JSONResponseBodyMediaContainerPlayQueueGeneratorType `json:"type,omitempty,omitzero"` UpdatedAt int `json:"updatedAt,omitempty,omitzero"` // URI The URI indicating the search for this generator URI string `json:"uri,omitempty,omitzero"` } `json:"PlayQueueGenerator,omitempty,omitzero"` Identifier string `json:"identifier,omitempty,omitzero"` // Offset The offset of where this container page starts among the total objects available. Also provided in the X-Plex-Container-Start header Offset int `json:"offset,omitempty,omitzero"` Size int `json:"size,omitempty,omitzero"` // TotalSize The total size of objects available. Also provided in the X-Plex-Container-Total-Size header TotalSize int `json:"totalSize,omitempty,omitzero"` } `json:"MediaContainer,omitempty,omitzero"` }
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (PlaylistGetGeneratorsResponse) Status ¶
func (r PlaylistGetGeneratorsResponse) Status() string
Status returns HTTPResponse.Status
func (PlaylistGetGeneratorsResponse) StatusCode ¶
func (r PlaylistGetGeneratorsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PlaylistGetItemsGenerator200JSONResponseBodyMediaContainerItemMediaSettingsAdvancedSubtitles ¶
type PlaylistGetItemsGenerator200JSONResponseBodyMediaContainerItemMediaSettingsAdvancedSubtitles string
PlaylistGetItemsGenerator200JSONResponseBodyMediaContainerItemMediaSettingsAdvancedSubtitles defines parameters for PlaylistGetItemsGenerator.
const ( PlaylistGetItemsGenerator200JSONResponseBodyMediaContainerItemMediaSettingsAdvancedSubtitlesAuto PlaylistGetItemsGenerator200JSONResponseBodyMediaContainerItemMediaSettingsAdvancedSubtitles = "auto" PlaylistGetItemsGenerator200JSONResponseBodyMediaContainerItemMediaSettingsAdvancedSubtitlesBurn PlaylistGetItemsGenerator200JSONResponseBodyMediaContainerItemMediaSettingsAdvancedSubtitles = "burn" PlaylistGetItemsGenerator200JSONResponseBodyMediaContainerItemMediaSettingsAdvancedSubtitlesEmbedded PlaylistGetItemsGenerator200JSONResponseBodyMediaContainerItemMediaSettingsAdvancedSubtitles = "embedded" PlaylistGetItemsGenerator200JSONResponseBodyMediaContainerItemMediaSettingsAdvancedSubtitlesNone PlaylistGetItemsGenerator200JSONResponseBodyMediaContainerItemMediaSettingsAdvancedSubtitles = "none" PlaylistGetItemsGenerator200JSONResponseBodyMediaContainerItemMediaSettingsAdvancedSubtitlesSegmented PlaylistGetItemsGenerator200JSONResponseBodyMediaContainerItemMediaSettingsAdvancedSubtitles = "segmented" PlaylistGetItemsGenerator200JSONResponseBodyMediaContainerItemMediaSettingsAdvancedSubtitlesSidecar PlaylistGetItemsGenerator200JSONResponseBodyMediaContainerItemMediaSettingsAdvancedSubtitles = "sidecar" )
Defines values for PlaylistGetItemsGenerator200JSONResponseBodyMediaContainerItemMediaSettingsAdvancedSubtitles.
func (PlaylistGetItemsGenerator200JSONResponseBodyMediaContainerItemMediaSettingsAdvancedSubtitles) Valid ¶
func (e PlaylistGetItemsGenerator200JSONResponseBodyMediaContainerItemMediaSettingsAdvancedSubtitles) Valid() bool
Valid indicates whether the value is a known member of the PlaylistGetItemsGenerator200JSONResponseBodyMediaContainerItemMediaSettingsAdvancedSubtitles enum.
type PlaylistGetItemsGenerator200JSONResponseBodyMediaContainerItemMediaSettingsSubtitles ¶
type PlaylistGetItemsGenerator200JSONResponseBodyMediaContainerItemMediaSettingsSubtitles string
PlaylistGetItemsGenerator200JSONResponseBodyMediaContainerItemMediaSettingsSubtitles defines parameters for PlaylistGetItemsGenerator.
const ( PlaylistGetItemsGenerator200JSONResponseBodyMediaContainerItemMediaSettingsSubtitlesAuto PlaylistGetItemsGenerator200JSONResponseBodyMediaContainerItemMediaSettingsSubtitles = "auto" PlaylistGetItemsGenerator200JSONResponseBodyMediaContainerItemMediaSettingsSubtitlesBurn PlaylistGetItemsGenerator200JSONResponseBodyMediaContainerItemMediaSettingsSubtitles = "burn" PlaylistGetItemsGenerator200JSONResponseBodyMediaContainerItemMediaSettingsSubtitlesEmbedded PlaylistGetItemsGenerator200JSONResponseBodyMediaContainerItemMediaSettingsSubtitles = "embedded" PlaylistGetItemsGenerator200JSONResponseBodyMediaContainerItemMediaSettingsSubtitlesNone PlaylistGetItemsGenerator200JSONResponseBodyMediaContainerItemMediaSettingsSubtitles = "none" PlaylistGetItemsGenerator200JSONResponseBodyMediaContainerItemMediaSettingsSubtitlesSegmented PlaylistGetItemsGenerator200JSONResponseBodyMediaContainerItemMediaSettingsSubtitles = "segmented" PlaylistGetItemsGenerator200JSONResponseBodyMediaContainerItemMediaSettingsSubtitlesSidecar PlaylistGetItemsGenerator200JSONResponseBodyMediaContainerItemMediaSettingsSubtitles = "sidecar" )
Defines values for PlaylistGetItemsGenerator200JSONResponseBodyMediaContainerItemMediaSettingsSubtitles.
func (PlaylistGetItemsGenerator200JSONResponseBodyMediaContainerItemMediaSettingsSubtitles) Valid ¶
func (e PlaylistGetItemsGenerator200JSONResponseBodyMediaContainerItemMediaSettingsSubtitles) Valid() bool
Valid indicates whether the value is a known member of the PlaylistGetItemsGenerator200JSONResponseBodyMediaContainerItemMediaSettingsSubtitles enum.
type PlaylistGetItemsGenerator200JSONResponseBodyMediaContainerItemPolicyScope ¶
type PlaylistGetItemsGenerator200JSONResponseBodyMediaContainerItemPolicyScope string
PlaylistGetItemsGenerator200JSONResponseBodyMediaContainerItemPolicyScope defines parameters for PlaylistGetItemsGenerator.
const ( PlaylistGetItemsGenerator200JSONResponseBodyMediaContainerItemPolicyScopeAll PlaylistGetItemsGenerator200JSONResponseBodyMediaContainerItemPolicyScope = "all" PlaylistGetItemsGenerator200JSONResponseBodyMediaContainerItemPolicyScopeCount PlaylistGetItemsGenerator200JSONResponseBodyMediaContainerItemPolicyScope = "count" )
Defines values for PlaylistGetItemsGenerator200JSONResponseBodyMediaContainerItemPolicyScope.
type PlaylistGetItemsGenerator200JSONResponseBodyMediaContainerItemStatusState ¶
type PlaylistGetItemsGenerator200JSONResponseBodyMediaContainerItemStatusState string
PlaylistGetItemsGenerator200JSONResponseBodyMediaContainerItemStatusState defines parameters for PlaylistGetItemsGenerator.
const ( PlaylistGetItemsGenerator200JSONResponseBodyMediaContainerItemStatusStateComplete PlaylistGetItemsGenerator200JSONResponseBodyMediaContainerItemStatusState = "complete" PlaylistGetItemsGenerator200JSONResponseBodyMediaContainerItemStatusStateFailed PlaylistGetItemsGenerator200JSONResponseBodyMediaContainerItemStatusState = "failed" PlaylistGetItemsGenerator200JSONResponseBodyMediaContainerItemStatusStatePending PlaylistGetItemsGenerator200JSONResponseBodyMediaContainerItemStatusState = "pending" )
Defines values for PlaylistGetItemsGenerator200JSONResponseBodyMediaContainerItemStatusState.
type PlaylistGetItemsGenerator200JSONResponseBodyMediaContainerItemType ¶
type PlaylistGetItemsGenerator200JSONResponseBodyMediaContainerItemType int
PlaylistGetItemsGenerator200JSONResponseBodyMediaContainerItemType defines parameters for PlaylistGetItemsGenerator.
const ( PlaylistGetItemsGenerator200JSONResponseBodyMediaContainerItemTypeMinus1 PlaylistGetItemsGenerator200JSONResponseBodyMediaContainerItemType = -1 PlaylistGetItemsGenerator200JSONResponseBodyMediaContainerItemTypeN42 PlaylistGetItemsGenerator200JSONResponseBodyMediaContainerItemType = 42 )
Defines values for PlaylistGetItemsGenerator200JSONResponseBodyMediaContainerItemType.
func (PlaylistGetItemsGenerator200JSONResponseBodyMediaContainerItemType) Valid ¶
func (e PlaylistGetItemsGenerator200JSONResponseBodyMediaContainerItemType) Valid() bool
Valid indicates whether the value is a known member of the PlaylistGetItemsGenerator200JSONResponseBodyMediaContainerItemType enum.
type PlaylistGetItemsGeneratorItems200JSONResponseBodyMediaContainerMetadataProcessingState ¶
type PlaylistGetItemsGeneratorItems200JSONResponseBodyMediaContainerMetadataProcessingState string
PlaylistGetItemsGeneratorItems200JSONResponseBodyMediaContainerMetadataProcessingState defines parameters for PlaylistGetItemsGeneratorItems.
const ( PlaylistGetItemsGeneratorItems200JSONResponseBodyMediaContainerMetadataProcessingStateCompleted PlaylistGetItemsGeneratorItems200JSONResponseBodyMediaContainerMetadataProcessingState = "completed" PlaylistGetItemsGeneratorItems200JSONResponseBodyMediaContainerMetadataProcessingStateDisabled PlaylistGetItemsGeneratorItems200JSONResponseBodyMediaContainerMetadataProcessingState = "disabled" PlaylistGetItemsGeneratorItems200JSONResponseBodyMediaContainerMetadataProcessingStateError PlaylistGetItemsGeneratorItems200JSONResponseBodyMediaContainerMetadataProcessingState = "error" PlaylistGetItemsGeneratorItems200JSONResponseBodyMediaContainerMetadataProcessingStatePending PlaylistGetItemsGeneratorItems200JSONResponseBodyMediaContainerMetadataProcessingState = "pending" PlaylistGetItemsGeneratorItems200JSONResponseBodyMediaContainerMetadataProcessingStateProcessed PlaylistGetItemsGeneratorItems200JSONResponseBodyMediaContainerMetadataProcessingState = "processed" PlaylistGetItemsGeneratorItems200JSONResponseBodyMediaContainerMetadataProcessingStateTombstoned PlaylistGetItemsGeneratorItems200JSONResponseBodyMediaContainerMetadataProcessingState = "tombstoned" )
Defines values for PlaylistGetItemsGeneratorItems200JSONResponseBodyMediaContainerMetadataProcessingState.
func (PlaylistGetItemsGeneratorItems200JSONResponseBodyMediaContainerMetadataProcessingState) Valid ¶
func (e PlaylistGetItemsGeneratorItems200JSONResponseBodyMediaContainerMetadataProcessingState) Valid() bool
Valid indicates whether the value is a known member of the PlaylistGetItemsGeneratorItems200JSONResponseBodyMediaContainerMetadataProcessingState enum.
type PlaylistGetItemsGeneratorItems200JSONResponseBodyMediaContainerMetadataProcessingStateContext ¶
type PlaylistGetItemsGeneratorItems200JSONResponseBodyMediaContainerMetadataProcessingStateContext string
PlaylistGetItemsGeneratorItems200JSONResponseBodyMediaContainerMetadataProcessingStateContext defines parameters for PlaylistGetItemsGeneratorItems.
const ( AccessDenied PlaylistGetItemsGeneratorItems200JSONResponseBodyMediaContainerMetadataProcessingStateContext = "accessDenied" CannotTranscode PlaylistGetItemsGeneratorItems200JSONResponseBodyMediaContainerMetadataProcessingStateContext = "cannotTranscode" ClientProfileError PlaylistGetItemsGeneratorItems200JSONResponseBodyMediaContainerMetadataProcessingStateContext = "clientProfileError" CodecInstallError PlaylistGetItemsGeneratorItems200JSONResponseBodyMediaContainerMetadataProcessingStateContext = "codecInstallError" DiskFull PlaylistGetItemsGeneratorItems200JSONResponseBodyMediaContainerMetadataProcessingStateContext = "diskFull" DownloadFailed PlaylistGetItemsGeneratorItems200JSONResponseBodyMediaContainerMetadataProcessingStateContext = "downloadFailed" Good PlaylistGetItemsGeneratorItems200JSONResponseBodyMediaContainerMetadataProcessingStateContext = "good" IoError PlaylistGetItemsGeneratorItems200JSONResponseBodyMediaContainerMetadataProcessingStateContext = "ioError" MediaAnalysisError PlaylistGetItemsGeneratorItems200JSONResponseBodyMediaContainerMetadataProcessingStateContext = "mediaAnalysisError" SourceFileMetadataError PlaylistGetItemsGeneratorItems200JSONResponseBodyMediaContainerMetadataProcessingStateContext = "sourceFileMetadataError" TranscoderError PlaylistGetItemsGeneratorItems200JSONResponseBodyMediaContainerMetadataProcessingStateContext = "transcoderError" UnknownError PlaylistGetItemsGeneratorItems200JSONResponseBodyMediaContainerMetadataProcessingStateContext = "unknownError" )
Defines values for PlaylistGetItemsGeneratorItems200JSONResponseBodyMediaContainerMetadataProcessingStateContext.
func (PlaylistGetItemsGeneratorItems200JSONResponseBodyMediaContainerMetadataProcessingStateContext) Valid ¶
func (e PlaylistGetItemsGeneratorItems200JSONResponseBodyMediaContainerMetadataProcessingStateContext) Valid() bool
Valid indicates whether the value is a known member of the PlaylistGetItemsGeneratorItems200JSONResponseBodyMediaContainerMetadataProcessingStateContext enum.
type PlaylistGetItemsGeneratorItems200JSONResponseBody_MediaContainer_Metadata ¶
type PlaylistGetItemsGeneratorItems200JSONResponseBody_MediaContainer_Metadata struct {
Autotag []Tag `json:"Autotag,omitempty,omitzero"`
Country []Tag `json:"Country,omitempty,omitzero"`
Director []Tag `json:"Director,omitempty,omitzero"`
// Filter Typically only seen in metadata at a library's top level
Filter []Filter `json:"Filter,omitempty,omitzero"`
Genre []Tag `json:"Genre,omitempty,omitzero"`
GUID []GUID `json:"Guid,omitempty,omitzero"`
Image []Image `json:"Image,omitempty,omitzero"`
Media []Media `json:"Media,omitempty,omitzero"`
Ratings []Tag `json:"Rating,omitempty,omitzero"`
Role []Tag `json:"Role,omitempty,omitzero"`
// Sort Typically only seen in metadata at a library's top level
Sort []Sort `json:"Sort,omitempty,omitzero"`
Writer []Tag `json:"Writer,omitempty,omitzero"`
// AbsoluteIndex When present, contains the disc number for a track on multi-disc albums.
AbsoluteIndex int `json:"absoluteIndex,omitempty,omitzero"`
// AddedAt In units of seconds since the epoch, returns the time at which the item was added to the library.
AddedAt int `json:"addedAt,omitempty,omitzero"`
// Art When present, the URL for the background artwork for the item.
Art interface{} `json:"art,omitempty,omitzero"`
// AudienceRating Some rating systems separate reviewer ratings from audience ratings
AudienceRating float32 `json:"audienceRating,omitempty,omitzero"`
// AudienceRatingImage A URI representing the image to be shown with the audience rating (e.g. rottentomatoes://image.rating.spilled).
AudienceRatingImage interface{} `json:"audienceRatingImage,omitempty,omitzero"`
// Banner When present, the URL for a banner graphic for the item.
Banner interface{} `json:"banner,omitempty,omitzero"`
// ChapterSource When present, indicates the source for the chapters in the media file. Can be media (the chapters were embedded in the media itself), agent (a metadata agent computed them), or mixed (a combination of the two).
ChapterSource interface{} `json:"chapterSource,omitempty,omitzero"`
// ChildCount The number of direct children, e.g. seasons of a show or items in a collection.
ChildCount int `json:"childCount,omitempty,omitzero"`
// Composite When present, the URL for a composite image for descendent items (e.g. photo albums or playlists).
Composite interface{} `json:"composite,omitempty,omitzero"`
// ContentRating If known, the content rating (e.g. MPAA) for an item.
ContentRating interface{} `json:"contentRating,omitempty,omitzero"`
// Duration When present, the duration for the item, in units of milliseconds.
Duration int `json:"duration,omitempty,omitzero"`
// GrandparentArt The `art` of the grandparent
GrandparentArt string `json:"grandparentArt,omitempty,omitzero"`
// GrandparentHero The `hero` of the grandparent
GrandparentHero string `json:"grandparentHero,omitempty,omitzero"`
// GrandparentKey The `key` of the grandparent
GrandparentKey string `json:"grandparentKey,omitempty,omitzero"`
// GrandparentRatingKey The `ratingKey` of the grandparent
GrandparentRatingKey string `json:"grandparentRatingKey,omitempty,omitzero"`
// GrandparentTheme The `theme` of the grandparent
GrandparentTheme string `json:"grandparentTheme,omitempty,omitzero"`
// GrandparentThumb The `thumb` of the grandparent
GrandparentThumb string `json:"grandparentThumb,omitempty,omitzero"`
// GrandparentTitle The `title` of the grandparent
GrandparentTitle string `json:"grandparentTitle,omitempty,omitzero"`
// PlexGUID The Plex GUID of the item itself, e.g. "plex://movie/5d7769a023d5a3001f4fa465".
PlexGUID string `json:"guid,omitempty,omitzero"`
// Hero When present, the URL for a hero image for the item.
Hero interface{} `json:"hero,omitempty,omitzero"`
// Index When present, this represents the episode number for episodes, season number for seasons, or track number for audio tracks.
Index int `json:"index,omitempty,omitzero"`
// Key The key at which the item's details can be fetched. In many cases a metadata item may be passed without all the details (such as in a hub) and this key corresponds to the endpoint to fetch additional details.
Key interface{} `json:"key,omitempty,omitzero"`
// LastViewedAt When a user has watched or listened to an item, this contains a timestamp (epoch seconds) for that last consumption time.
LastViewedAt int `json:"lastViewedAt,omitempty,omitzero"`
// LeafCount For shows and seasons, contains the number of total episodes.
LeafCount int `json:"leafCount,omitempty,omitzero"`
// OriginalTitle When present, used to indicate an item's original title, e.g. a movie's foreign title.
OriginalTitle interface{} `json:"originalTitle,omitempty,omitzero"`
// OriginallyAvailableAt When present, in the format YYYY-MM-DD [HH:MM:SS] (the hours/minutes/seconds part is not always present). The air date, or a higher resolution release date for an item, depending on type. For example, episodes usually have air date like 1979-08-10 (we don't use epoch seconds because media existed prior to 1970). In some cases, recorded over-the-air content has higher resolution air date which includes a time component. Albums and movies may have day-resolution release dates as well.
OriginallyAvailableAt interface{} `json:"originallyAvailableAt,omitempty,omitzero"`
// ParentHero The `hero` of the parent
ParentHero string `json:"parentHero,omitempty,omitzero"`
// ParentIndex The `index` of the parent
ParentIndex int `json:"parentIndex,omitempty,omitzero"`
// ParentKey The `key` of the parent
ParentKey string `json:"parentKey,omitempty,omitzero"`
// ParentRatingKey The `ratingKey` of the parent
ParentRatingKey string `json:"parentRatingKey,omitempty,omitzero"`
// ParentThumb The `thumb` of the parent
ParentThumb string `json:"parentThumb,omitempty,omitzero"`
// ParentTitle The `title` of the parent
ParentTitle string `json:"parentTitle,omitempty,omitzero"`
// PrimaryExtraKey Indicates that the item has a primary extra; for a movie, this is a trailer, and for a music track it is a music video. The URL points to the metadata details endpoint for the item.
PrimaryExtraKey interface{} `json:"primaryExtraKey,omitempty,omitzero"`
// ProcessingState The state of processing if this generator is part of an optimizer playlist
ProcessingState PlaylistGetItemsGeneratorItems200JSONResponseBodyMediaContainerMetadataProcessingState `json:"processingState,omitempty,omitzero"`
// ProcessingStateContext The error which could have occurred (or `good`)
ProcessingStateContext PlaylistGetItemsGeneratorItems200JSONResponseBodyMediaContainerMetadataProcessingStateContext `json:"processingStateContext,omitempty,omitzero"`
// Prompt Prompt to give the user for this directory (such as `Search Movies`)
Prompt string `json:"prompt,omitempty,omitzero"`
// Rating When present, the rating for the item. The exact meaning and representation depends on where the rating was sourced from.
Rating float32 `json:"rating,omitempty,omitzero"`
// RatingCount Number of ratings under this metadata
RatingCount int `json:"ratingCount,omitempty,omitzero"`
// RatingImage When present, indicates an image to be shown with the rating. This is passed back as a small set of defined URI values, e.g. rottentomatoes://image.rating.rotten.
RatingImage interface{} `json:"ratingImage,omitempty,omitzero"`
// RatingKey This is the opaque string to be passed into timeline, scrobble, and rating endpoints to identify them. While it often appears to be numeric, this is not guaranteed.
RatingKey interface{} `json:"ratingKey,omitempty,omitzero"`
// Search Indicates this is a search directory
Search bool `json:"search,omitempty,omitzero"`
// Secondary Used by old clients to provide nested menus allowing for primative (but structured) navigation.
Secondary bool `json:"secondary,omitempty,omitzero"`
// SkipChildren When found on a show item, indicates that the children (seasons) should be skipped in favor of the grandchildren (episodes). Useful for mini-series, etc.
SkipChildren bool `json:"skipChildren,omitempty,omitzero"`
// SkipParent When present on an episode or track item, indicates parent should be skipped in favor of grandparent (show).
SkipParent bool `json:"skipParent,omitempty,omitzero"`
// Studio When present, the studio or label which produced an item (e.g. movie studio for movies, record label for albums).
Studio interface{} `json:"studio,omitempty,omitzero"`
// Subtype The subtype of the video item, such as `photo` when the video item is in a photo library
Subtype interface{} `json:"subtype,omitempty,omitzero"`
// Summary When present, the extended textual information about the item (e.g. movie plot, artist biography, album review).
Summary interface{} `json:"summary,omitempty,omitzero"`
// Tagline When present, a pithy one-liner about the item (usually only seen for movies).
Tagline interface{} `json:"tagline,omitempty,omitzero"`
// Theme When present, the URL for theme music for the item (usually only for TV shows).
Theme interface{} `json:"theme,omitempty,omitzero"`
// Thumb When present, the URL for the poster or thumbnail for the item. When available for types like movie, it will be the poster graphic, but fall-back to the extracted media thumbnail.
Thumb interface{} `json:"thumb,omitempty,omitzero"`
// Title The title of the item (e.g. “300” or “The Simpsons”)
Title interface{} `json:"title,omitempty,omitzero"`
// TitleSort Whene present, this is the string used for sorting the item. It's usually the title with any leading articles removed (e.g. “Simpsons”).
TitleSort interface{} `json:"titleSort,omitempty,omitzero"`
// Type The type of the video item, such as `movie`, `episode`, or `clip`.
Type interface{} `json:"type,omitempty,omitzero"`
// UpdatedAt In units of seconds since the epoch, returns the time at which the item was last changed (e.g. had its metadata updated).
UpdatedAt int `json:"updatedAt,omitempty,omitzero"`
// UserRating When the user has rated an item, this contains the user rating
UserRating float32 `json:"userRating,omitempty,omitzero"`
// ViewCount When a users has completed watched or listened to an item, this attribute contains the number of consumptions.
ViewCount int `json:"viewCount,omitempty,omitzero"`
// ViewOffset When a user is in the process of viewing or listening to this item, this attribute contains the current offset, in units of milliseconds.
ViewOffset int `json:"viewOffset,omitempty,omitzero"`
// ViewedLeafCount For shows and seasons, contains the number of viewed episodes.
ViewedLeafCount int `json:"viewedLeafCount,omitempty,omitzero"`
// Year When present, the year associated with the item's release (e.g. release year for a movie).
Year int `json:"year,omitempty,omitzero"`
AdditionalProperties map[string]interface{} `json:"-"`
}
PlaylistGetItemsGeneratorItems200JSONResponseBody_MediaContainer_Metadata defines parameters for PlaylistGetItemsGeneratorItems.
func (PlaylistGetItemsGeneratorItems200JSONResponseBody_MediaContainer_Metadata) Get ¶
func (a PlaylistGetItemsGeneratorItems200JSONResponseBody_MediaContainer_Metadata) Get(fieldName string) (value interface{}, found bool)
Getter for additional properties for PlaylistGetItemsGeneratorItems200JSONResponseBody_MediaContainer_Metadata. Returns the specified element and whether it was found
func (PlaylistGetItemsGeneratorItems200JSONResponseBody_MediaContainer_Metadata) MarshalJSON ¶
func (a PlaylistGetItemsGeneratorItems200JSONResponseBody_MediaContainer_Metadata) MarshalJSON() ([]byte, error)
Override default JSON handling for PlaylistGetItemsGeneratorItems200JSONResponseBody_MediaContainer_Metadata to handle AdditionalProperties
func (*PlaylistGetItemsGeneratorItems200JSONResponseBody_MediaContainer_Metadata) Set ¶
func (a *PlaylistGetItemsGeneratorItems200JSONResponseBody_MediaContainer_Metadata) Set(fieldName string, value interface{})
Setter for additional properties for PlaylistGetItemsGeneratorItems200JSONResponseBody_MediaContainer_Metadata
func (*PlaylistGetItemsGeneratorItems200JSONResponseBody_MediaContainer_Metadata) UnmarshalJSON ¶
func (a *PlaylistGetItemsGeneratorItems200JSONResponseBody_MediaContainer_Metadata) UnmarshalJSON(b []byte) error
Override default JSON handling for PlaylistGetItemsGeneratorItems200JSONResponseBody_MediaContainer_Metadata to handle AdditionalProperties
type PlaylistGetItemsGeneratorItemsResponse ¶
type PlaylistGetItemsGeneratorItemsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *struct {
MediaContainer struct {
Metadata PlaylistGetItemsGeneratorItems200JSONResponseBody_MediaContainer_Metadata `json:"Metadata,omitempty,omitzero"`
Identifier string `json:"identifier,omitempty,omitzero"`
// Offset The offset of where this container page starts among the total objects available. Also provided in the X-Plex-Container-Start header
Offset int `json:"offset,omitempty,omitzero"`
Size int `json:"size,omitempty,omitzero"`
// TotalSize The total size of objects available. Also provided in the X-Plex-Container-Total-Size header
TotalSize int `json:"totalSize,omitempty,omitzero"`
} `json:"MediaContainer,omitempty,omitzero"`
}
}
func ParsePlaylistGetItemsGeneratorItemsResponse ¶
func ParsePlaylistGetItemsGeneratorItemsResponse(rsp *http.Response) (*PlaylistGetItemsGeneratorItemsResponse, error)
ParsePlaylistGetItemsGeneratorItemsResponse parses an HTTP response from a PlaylistGetItemsGeneratorItemsWithResponse call
func (PlaylistGetItemsGeneratorItemsResponse) ContentType ¶
func (r PlaylistGetItemsGeneratorItemsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (PlaylistGetItemsGeneratorItemsResponse) GetBody ¶
func (r PlaylistGetItemsGeneratorItemsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (PlaylistGetItemsGeneratorItemsResponse) GetJSON200 ¶
func (r PlaylistGetItemsGeneratorItemsResponse) GetJSON200() *struct { MediaContainer struct { Metadata PlaylistGetItemsGeneratorItems200JSONResponseBody_MediaContainer_Metadata `json:"Metadata,omitempty,omitzero"` Identifier string `json:"identifier,omitempty,omitzero"` // Offset The offset of where this container page starts among the total objects available. Also provided in the X-Plex-Container-Start header Offset int `json:"offset,omitempty,omitzero"` Size int `json:"size,omitempty,omitzero"` // TotalSize The total size of objects available. Also provided in the X-Plex-Container-Total-Size header TotalSize int `json:"totalSize,omitempty,omitzero"` } `json:"MediaContainer,omitempty,omitzero"` }
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (PlaylistGetItemsGeneratorItemsResponse) Status ¶
func (r PlaylistGetItemsGeneratorItemsResponse) Status() string
Status returns HTTPResponse.Status
func (PlaylistGetItemsGeneratorItemsResponse) StatusCode ¶
func (r PlaylistGetItemsGeneratorItemsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PlaylistGetItemsGeneratorResponse ¶
type PlaylistGetItemsGeneratorResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *struct {
MediaContainer struct {
Item []struct {
Device struct {
Profile string `json:"profile,omitempty,omitzero"`
} `json:"Device,omitempty,omitzero"`
Location struct {
LibrarySectionID int `json:"librarySectionID,omitempty,omitzero"`
URI string `json:"uri,omitempty,omitzero"`
} `json:"Location,omitempty,omitzero"`
MediaSettings struct {
AdvancedSubtitles PlaylistGetItemsGenerator200JSONResponseBodyMediaContainerItemMediaSettingsAdvancedSubtitles `json:"advancedSubtitles,omitempty,omitzero"`
AudioBoost int `json:"audioBoost,omitempty,omitzero"`
AudioChannelCount int `json:"audioChannelCount,omitempty,omitzero"`
AutoAdjustQuality bool `json:"autoAdjustQuality,omitempty,omitzero"`
AutoAdjustSubtitle bool `json:"autoAdjustSubtitle,omitempty,omitzero"`
BoostDialog bool `json:"boostDialog,omitempty,omitzero"`
DirectPlay bool `json:"directPlay,omitempty,omitzero"`
DirectStream bool `json:"directStream,omitempty,omitzero"`
DirectStreamAudio bool `json:"directStreamAudio,omitempty,omitzero"`
DisableResolutionRotation bool `json:"disableResolutionRotation,omitempty,omitzero"`
MaxVideoBitrate int `json:"maxVideoBitrate,omitempty,omitzero"`
MusicBitrate int `json:"musicBitrate,omitempty,omitzero"`
NormalizeLoudness bool `json:"normalizeLoudness,omitempty,omitzero"`
PeakBitrate int `json:"peakBitrate,omitempty,omitzero"`
PhotoQuality int `json:"photoQuality,omitempty,omitzero"`
PhotoResolution string `json:"photoResolution,omitempty,omitzero"`
SecondsPerSegment int `json:"secondsPerSegment,omitempty,omitzero"`
SubtitleSize int `json:"subtitleSize,omitempty,omitzero"`
Subtitles PlaylistGetItemsGenerator200JSONResponseBodyMediaContainerItemMediaSettingsSubtitles `json:"subtitles,omitempty,omitzero"`
VideoBitrate int `json:"videoBitrate,omitempty,omitzero"`
VideoQuality int `json:"videoQuality,omitempty,omitzero"`
VideoResolution string `json:"videoResolution,omitempty,omitzero"`
} `json:"MediaSettings,omitempty,omitzero"`
Policy struct {
Scope PlaylistGetItemsGenerator200JSONResponseBodyMediaContainerItemPolicyScope `json:"scope,omitempty,omitzero"`
// Unwatched True if only unwatched items are optimized
Unwatched bool `json:"unwatched,omitempty,omitzero"`
// Value If the scope is count, the number of items to optimize
Value int `json:"value,omitempty,omitzero"`
} `json:"Policy,omitempty,omitzero"`
Status struct {
ItemsCompleteCount int `json:"itemsCompleteCount,omitempty,omitzero"`
ItemsCount int `json:"itemsCount,omitempty,omitzero"`
ItemsSuccessfulCount int `json:"itemsSuccessfulCount,omitempty,omitzero"`
State PlaylistGetItemsGenerator200JSONResponseBodyMediaContainerItemStatusState `json:"state,omitempty,omitzero"`
TotalSize int `json:"totalSize,omitempty,omitzero"`
} `json:"Status,omitempty,omitzero"`
// Composite The composite thumbnail image path
Composite string `json:"composite,omitempty,omitzero"`
ID int `json:"id,omitempty,omitzero"`
Target string `json:"target,omitempty,omitzero"`
// TargetTagID The tag of this generator's settings
TargetTagID int `json:"targetTagID,omitempty,omitzero"`
Title string `json:"title,omitempty,omitzero"`
// Type The type of this generator
Type PlaylistGetItemsGenerator200JSONResponseBodyMediaContainerItemType `json:"type,omitempty,omitzero"`
} `json:"Item,omitempty,omitzero"`
Identifier string `json:"identifier,omitempty,omitzero"`
// Offset The offset of where this container page starts among the total objects available. Also provided in the X-Plex-Container-Start header
Offset int `json:"offset,omitempty,omitzero"`
Size int `json:"size,omitempty,omitzero"`
// TotalSize The total size of objects available. Also provided in the X-Plex-Container-Total-Size header
TotalSize int `json:"totalSize,omitempty,omitzero"`
} `json:"MediaContainer,omitempty,omitzero"`
}
}
func ParsePlaylistGetItemsGeneratorResponse ¶
func ParsePlaylistGetItemsGeneratorResponse(rsp *http.Response) (*PlaylistGetItemsGeneratorResponse, error)
ParsePlaylistGetItemsGeneratorResponse parses an HTTP response from a PlaylistGetItemsGeneratorWithResponse call
func (PlaylistGetItemsGeneratorResponse) ContentType ¶
func (r PlaylistGetItemsGeneratorResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (PlaylistGetItemsGeneratorResponse) GetBody ¶
func (r PlaylistGetItemsGeneratorResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (PlaylistGetItemsGeneratorResponse) GetJSON200 ¶
func (r PlaylistGetItemsGeneratorResponse) GetJSON200() *struct { MediaContainer struct { Item []struct { Device struct { Profile string `json:"profile,omitempty,omitzero"` } `json:"Device,omitempty,omitzero"` Location struct { LibrarySectionID int `json:"librarySectionID,omitempty,omitzero"` URI string `json:"uri,omitempty,omitzero"` } `json:"Location,omitempty,omitzero"` MediaSettings struct { AdvancedSubtitles PlaylistGetItemsGenerator200JSONResponseBodyMediaContainerItemMediaSettingsAdvancedSubtitles `json:"advancedSubtitles,omitempty,omitzero"` AudioBoost int `json:"audioBoost,omitempty,omitzero"` AudioChannelCount int `json:"audioChannelCount,omitempty,omitzero"` AutoAdjustQuality bool `json:"autoAdjustQuality,omitempty,omitzero"` AutoAdjustSubtitle bool `json:"autoAdjustSubtitle,omitempty,omitzero"` BoostDialog bool `json:"boostDialog,omitempty,omitzero"` DirectPlay bool `json:"directPlay,omitempty,omitzero"` DirectStream bool `json:"directStream,omitempty,omitzero"` DirectStreamAudio bool `json:"directStreamAudio,omitempty,omitzero"` DisableResolutionRotation bool `json:"disableResolutionRotation,omitempty,omitzero"` MaxVideoBitrate int `json:"maxVideoBitrate,omitempty,omitzero"` MusicBitrate int `json:"musicBitrate,omitempty,omitzero"` NormalizeLoudness bool `json:"normalizeLoudness,omitempty,omitzero"` PeakBitrate int `json:"peakBitrate,omitempty,omitzero"` PhotoQuality int `json:"photoQuality,omitempty,omitzero"` PhotoResolution string `json:"photoResolution,omitempty,omitzero"` SecondsPerSegment int `json:"secondsPerSegment,omitempty,omitzero"` SubtitleSize int `json:"subtitleSize,omitempty,omitzero"` Subtitles PlaylistGetItemsGenerator200JSONResponseBodyMediaContainerItemMediaSettingsSubtitles `json:"subtitles,omitempty,omitzero"` VideoBitrate int `json:"videoBitrate,omitempty,omitzero"` VideoQuality int `json:"videoQuality,omitempty,omitzero"` VideoResolution string `json:"videoResolution,omitempty,omitzero"` } `json:"MediaSettings,omitempty,omitzero"` Policy struct { Scope PlaylistGetItemsGenerator200JSONResponseBodyMediaContainerItemPolicyScope `json:"scope,omitempty,omitzero"` // Unwatched True if only unwatched items are optimized Unwatched bool `json:"unwatched,omitempty,omitzero"` // Value If the scope is count, the number of items to optimize Value int `json:"value,omitempty,omitzero"` } `json:"Policy,omitempty,omitzero"` Status struct { ItemsCompleteCount int `json:"itemsCompleteCount,omitempty,omitzero"` ItemsCount int `json:"itemsCount,omitempty,omitzero"` ItemsSuccessfulCount int `json:"itemsSuccessfulCount,omitempty,omitzero"` State PlaylistGetItemsGenerator200JSONResponseBodyMediaContainerItemStatusState `json:"state,omitempty,omitzero"` TotalSize int `json:"totalSize,omitempty,omitzero"` } `json:"Status,omitempty,omitzero"` // Composite The composite thumbnail image path Composite string `json:"composite,omitempty,omitzero"` ID int `json:"id,omitempty,omitzero"` Target string `json:"target,omitempty,omitzero"` // TargetTagID The tag of this generator's settings TargetTagID int `json:"targetTagID,omitempty,omitzero"` Title string `json:"title,omitempty,omitzero"` // Type The type of this generator Type PlaylistGetItemsGenerator200JSONResponseBodyMediaContainerItemType `json:"type,omitempty,omitzero"` } `json:"Item,omitempty,omitzero"` Identifier string `json:"identifier,omitempty,omitzero"` // Offset The offset of where this container page starts among the total objects available. Also provided in the X-Plex-Container-Start header Offset int `json:"offset,omitempty,omitzero"` Size int `json:"size,omitempty,omitzero"` // TotalSize The total size of objects available. Also provided in the X-Plex-Container-Total-Size header TotalSize int `json:"totalSize,omitempty,omitzero"` } `json:"MediaContainer,omitempty,omitzero"` }
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (PlaylistGetItemsGeneratorResponse) Status ¶
func (r PlaylistGetItemsGeneratorResponse) Status() string
Status returns HTTPResponse.Status
func (PlaylistGetItemsGeneratorResponse) StatusCode ¶
func (r PlaylistGetItemsGeneratorResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PlaylistGetItemsParams ¶
type PlaylistGetItemsParams struct {
// Type The metadata types of the item to return. Values past the first are only used in fetching items from the background processing playlist.
Type []int `form:"type,omitempty" json:"type,omitempty,omitzero"`
}
PlaylistGetItemsParams defines parameters for PlaylistGetItems.
type PlaylistGetItemsResponse ¶
type PlaylistGetItemsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *MediaContainerWithMetadata
// Headers200 the parsed response headers for an HTTP 200 response
Headers200 *PlaylistGetItemsResponse200Headers
}
func ParsePlaylistGetItemsResponse ¶
func ParsePlaylistGetItemsResponse(rsp *http.Response) (*PlaylistGetItemsResponse, error)
ParsePlaylistGetItemsResponse parses an HTTP response from a PlaylistGetItemsWithResponse call
func (PlaylistGetItemsResponse) ContentType ¶
func (r PlaylistGetItemsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (PlaylistGetItemsResponse) GetBody ¶
func (r PlaylistGetItemsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (PlaylistGetItemsResponse) GetJSON200 ¶
func (r PlaylistGetItemsResponse) GetJSON200() *MediaContainerWithMetadata
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (PlaylistGetItemsResponse) Status ¶
func (r PlaylistGetItemsResponse) Status() string
Status returns HTTPResponse.Status
func (PlaylistGetItemsResponse) StatusCode ¶
func (r PlaylistGetItemsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PlaylistGetItemsResponse200Headers ¶
type PlaylistGetItemsResponse200Headers struct {
XPlexContainerStart int
XPlexContainerTotalSize int
}
PlaylistGetItemsResponse200Headers the declared response headers of an HTTP 200 response for PlaylistGetItems
type PlaylistGetPlaylistResponse ¶
type PlaylistGetPlaylistResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *MediaContainerWithPlaylistMetadata
}
func ParsePlaylistGetPlaylistResponse ¶
func ParsePlaylistGetPlaylistResponse(rsp *http.Response) (*PlaylistGetPlaylistResponse, error)
ParsePlaylistGetPlaylistResponse parses an HTTP response from a PlaylistGetPlaylistWithResponse call
func (PlaylistGetPlaylistResponse) ContentType ¶
func (r PlaylistGetPlaylistResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (PlaylistGetPlaylistResponse) GetBody ¶
func (r PlaylistGetPlaylistResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (PlaylistGetPlaylistResponse) GetJSON200 ¶
func (r PlaylistGetPlaylistResponse) GetJSON200() *MediaContainerWithPlaylistMetadata
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (PlaylistGetPlaylistResponse) Status ¶
func (r PlaylistGetPlaylistResponse) Status() string
Status returns HTTPResponse.Status
func (PlaylistGetPlaylistResponse) StatusCode ¶
func (r PlaylistGetPlaylistResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PlaylistGetSlashParams ¶
type PlaylistGetSlashParams struct {
// PlaylistType Limit to a type of playlist
PlaylistType PlaylistGetSlashParamsPlaylistType `form:"playlistType,omitempty" json:"playlistType,omitempty,omitzero"`
// Smart Type of playlists to return, smart or not. When not provided, will return both.
Smart PlaylistGetSlashParamsSmart `form:"smart,omitempty" json:"smart,omitempty,omitzero"`
}
PlaylistGetSlashParams defines parameters for PlaylistGetSlash.
type PlaylistGetSlashParamsPlaylistType ¶
type PlaylistGetSlashParamsPlaylistType string
PlaylistGetSlashParamsPlaylistType defines parameters for PlaylistGetSlash.
const ( PlaylistGetSlashParamsPlaylistTypeAudio PlaylistGetSlashParamsPlaylistType = "audio" PlaylistGetSlashParamsPlaylistTypePhoto PlaylistGetSlashParamsPlaylistType = "photo" PlaylistGetSlashParamsPlaylistTypeVideo PlaylistGetSlashParamsPlaylistType = "video" )
Defines values for PlaylistGetSlashParamsPlaylistType.
func (PlaylistGetSlashParamsPlaylistType) Valid ¶
func (e PlaylistGetSlashParamsPlaylistType) Valid() bool
Valid indicates whether the value is a known member of the PlaylistGetSlashParamsPlaylistType enum.
type PlaylistGetSlashParamsSmart ¶
type PlaylistGetSlashParamsSmart int
PlaylistGetSlashParamsSmart defines parameters for PlaylistGetSlash.
const ( PlaylistGetSlashParamsSmartN0 PlaylistGetSlashParamsSmart = 0 PlaylistGetSlashParamsSmartN1 PlaylistGetSlashParamsSmart = 1 )
Defines values for PlaylistGetSlashParamsSmart.
func (PlaylistGetSlashParamsSmart) Valid ¶
func (e PlaylistGetSlashParamsSmart) Valid() bool
Valid indicates whether the value is a known member of the PlaylistGetSlashParamsSmart enum.
type PlaylistGetSlashResponse ¶
type PlaylistGetSlashResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *MediaContainerWithPlaylistMetadata
// Headers200 the parsed response headers for an HTTP 200 response
Headers200 *PlaylistGetSlashResponse200Headers
}
func ParsePlaylistGetSlashResponse ¶
func ParsePlaylistGetSlashResponse(rsp *http.Response) (*PlaylistGetSlashResponse, error)
ParsePlaylistGetSlashResponse parses an HTTP response from a PlaylistGetSlashWithResponse call
func (PlaylistGetSlashResponse) ContentType ¶
func (r PlaylistGetSlashResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (PlaylistGetSlashResponse) GetBody ¶
func (r PlaylistGetSlashResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (PlaylistGetSlashResponse) GetJSON200 ¶
func (r PlaylistGetSlashResponse) GetJSON200() *MediaContainerWithPlaylistMetadata
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (PlaylistGetSlashResponse) Status ¶
func (r PlaylistGetSlashResponse) Status() string
Status returns HTTPResponse.Status
func (PlaylistGetSlashResponse) StatusCode ¶
func (r PlaylistGetSlashResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PlaylistGetSlashResponse200Headers ¶
type PlaylistGetSlashResponse200Headers struct {
XPlexContainerStart int
XPlexContainerTotalSize int
}
PlaylistGetSlashResponse200Headers the declared response headers of an HTTP 200 response for PlaylistGetSlash
type PlaylistPostSlashParams ¶
type PlaylistPostSlashParams struct {
// URI The content URI for what we're playing (e.g. `library://...`).
URI string `form:"uri,omitempty" json:"uri,omitempty,omitzero"`
// PlayQueueID To create a playlist from an existing play queue.
PlayQueueID int `form:"playQueueID,omitempty" json:"playQueueID,omitempty,omitzero"`
}
PlaylistPostSlashParams defines parameters for PlaylistPostSlash.
type PlaylistPostSlashResponse ¶
type PlaylistPostSlashResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *MediaContainerWithPlaylistMetadata
}
func ParsePlaylistPostSlashResponse ¶
func ParsePlaylistPostSlashResponse(rsp *http.Response) (*PlaylistPostSlashResponse, error)
ParsePlaylistPostSlashResponse parses an HTTP response from a PlaylistPostSlashWithResponse call
func (PlaylistPostSlashResponse) ContentType ¶
func (r PlaylistPostSlashResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (PlaylistPostSlashResponse) GetBody ¶
func (r PlaylistPostSlashResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (PlaylistPostSlashResponse) GetJSON200 ¶
func (r PlaylistPostSlashResponse) GetJSON200() *MediaContainerWithPlaylistMetadata
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (PlaylistPostSlashResponse) Status ¶
func (r PlaylistPostSlashResponse) Status() string
Status returns HTTPResponse.Status
func (PlaylistPostSlashResponse) StatusCode ¶
func (r PlaylistPostSlashResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PlaylistPostUploadParams ¶
type PlaylistPostUploadParams struct {
// Path Absolute path to a directory on the server where m3u files are stored, or the absolute path to a playlist file on the server. If the `path` argument is a directory, that path will be scanned for playlist files to be processed. Each file in that directory creates a separate playlist, with a name based on the filename of the file that created it. The GUID of each playlist is based on the filename. If the `path` argument is a file, that file will be used to create a new playlist, with the name based on the filename of the file that created it. The GUID of each playlist is based on the filename.
Path string `form:"path,omitempty" json:"path,omitempty,omitzero"`
// Force Force overwriting of duplicate playlists. By default, a playlist file uploaded with the same path will overwrite the existing playlist. The `force` argument is used to disable overwriting. If the `force` argument is set to 0, a new playlist will be created suffixed with the date and time that the duplicate was uploaded.
Force PlaylistPostUploadParamsForce `form:"force,omitempty" json:"force,omitempty,omitzero"`
}
PlaylistPostUploadParams defines parameters for PlaylistPostUpload.
type PlaylistPostUploadParamsForce ¶
type PlaylistPostUploadParamsForce int
PlaylistPostUploadParamsForce defines parameters for PlaylistPostUpload.
const ( PlaylistPostUploadParamsForceN0 PlaylistPostUploadParamsForce = 0 PlaylistPostUploadParamsForceN1 PlaylistPostUploadParamsForce = 1 )
Defines values for PlaylistPostUploadParamsForce.
func (PlaylistPostUploadParamsForce) Valid ¶
func (e PlaylistPostUploadParamsForce) Valid() bool
Valid indicates whether the value is a known member of the PlaylistPostUploadParamsForce enum.
type PlaylistPostUploadResponse ¶
func ParsePlaylistPostUploadResponse ¶
func ParsePlaylistPostUploadResponse(rsp *http.Response) (*PlaylistPostUploadResponse, error)
ParsePlaylistPostUploadResponse parses an HTTP response from a PlaylistPostUploadWithResponse call
func (PlaylistPostUploadResponse) ContentType ¶
func (r PlaylistPostUploadResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (PlaylistPostUploadResponse) GetBody ¶
func (r PlaylistPostUploadResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (PlaylistPostUploadResponse) Status ¶
func (r PlaylistPostUploadResponse) Status() string
Status returns HTTPResponse.Status
func (PlaylistPostUploadResponse) StatusCode ¶
func (r PlaylistPostUploadResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PlaylistPutItemsGeneratorParams ¶
type PlaylistPutItemsGeneratorParams struct {
// Item Note: OpenAPI cannot properly render this query parameter example ([See GHI](https://github.com/OAI/OpenAPI-Specification/issues/1706)). It should be rendered as:
//
// Item[type]=42&Item[title]=Jack-Jack Attack&Item[target]=&Item[targetTagID]=1&Item[locationID]=-1&Item[Location][uri]=library://82503060-0d68-4603-b594-8b071d54819e/item//library/metadata/146&Item[Policy][scope]=all&Item[Policy][value]=&Item[Policy][unwatched]=0
Item struct {
Location struct {
URI string `json:"uri,omitempty,omitzero"`
} `json:"Location,omitempty,omitzero"`
Policy struct {
Scope PlaylistPutItemsGeneratorParamsItemPolicyScope `json:"scope,omitempty,omitzero"`
Unwatched PlaylistPutItemsGeneratorParamsItemPolicyUnwatched `json:"unwatched,omitempty,omitzero"`
Value int `json:"value,omitempty,omitzero"`
} `json:"Policy,omitempty,omitzero"`
LocationID int `json:"locationID,omitempty,omitzero"`
Target string `json:"target,omitempty,omitzero"`
TargetTagID int `json:"targetTagID,omitempty,omitzero"`
Title string `json:"title,omitempty,omitzero"`
Type int `json:"type,omitempty,omitzero"`
} `json:"Item,omitempty,omitzero"`
}
PlaylistPutItemsGeneratorParams defines parameters for PlaylistPutItemsGenerator.
type PlaylistPutItemsGeneratorParamsItemPolicyScope ¶
type PlaylistPutItemsGeneratorParamsItemPolicyScope string
PlaylistPutItemsGeneratorParamsItemPolicyScope defines parameters for PlaylistPutItemsGenerator.
const ( PlaylistPutItemsGeneratorParamsItemPolicyScopeAll PlaylistPutItemsGeneratorParamsItemPolicyScope = "all" PlaylistPutItemsGeneratorParamsItemPolicyScopeCount PlaylistPutItemsGeneratorParamsItemPolicyScope = "count" )
Defines values for PlaylistPutItemsGeneratorParamsItemPolicyScope.
func (PlaylistPutItemsGeneratorParamsItemPolicyScope) Valid ¶
func (e PlaylistPutItemsGeneratorParamsItemPolicyScope) Valid() bool
Valid indicates whether the value is a known member of the PlaylistPutItemsGeneratorParamsItemPolicyScope enum.
type PlaylistPutItemsGeneratorParamsItemPolicyUnwatched ¶
type PlaylistPutItemsGeneratorParamsItemPolicyUnwatched int
PlaylistPutItemsGeneratorParamsItemPolicyUnwatched defines parameters for PlaylistPutItemsGenerator.
const ( PlaylistPutItemsGeneratorParamsItemPolicyUnwatchedN0 PlaylistPutItemsGeneratorParamsItemPolicyUnwatched = 0 PlaylistPutItemsGeneratorParamsItemPolicyUnwatchedN1 PlaylistPutItemsGeneratorParamsItemPolicyUnwatched = 1 )
Defines values for PlaylistPutItemsGeneratorParamsItemPolicyUnwatched.
func (PlaylistPutItemsGeneratorParamsItemPolicyUnwatched) Valid ¶
func (e PlaylistPutItemsGeneratorParamsItemPolicyUnwatched) Valid() bool
Valid indicates whether the value is a known member of the PlaylistPutItemsGeneratorParamsItemPolicyUnwatched enum.
type PlaylistPutItemsGeneratorReprocessParamsAction ¶
type PlaylistPutItemsGeneratorReprocessParamsAction string
PlaylistPutItemsGeneratorReprocessParamsAction defines parameters for PlaylistPutItemsGeneratorReprocess.
const ( Disable PlaylistPutItemsGeneratorReprocessParamsAction = "disable" Enable PlaylistPutItemsGeneratorReprocessParamsAction = "enable" Reprocess PlaylistPutItemsGeneratorReprocessParamsAction = "reprocess" )
Defines values for PlaylistPutItemsGeneratorReprocessParamsAction.
func (PlaylistPutItemsGeneratorReprocessParamsAction) Valid ¶
func (e PlaylistPutItemsGeneratorReprocessParamsAction) Valid() bool
Valid indicates whether the value is a known member of the PlaylistPutItemsGeneratorReprocessParamsAction enum.
type PlaylistPutItemsGeneratorReprocessResponse ¶
func ParsePlaylistPutItemsGeneratorReprocessResponse ¶
func ParsePlaylistPutItemsGeneratorReprocessResponse(rsp *http.Response) (*PlaylistPutItemsGeneratorReprocessResponse, error)
ParsePlaylistPutItemsGeneratorReprocessResponse parses an HTTP response from a PlaylistPutItemsGeneratorReprocessWithResponse call
func (PlaylistPutItemsGeneratorReprocessResponse) ContentType ¶
func (r PlaylistPutItemsGeneratorReprocessResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (PlaylistPutItemsGeneratorReprocessResponse) GetBody ¶
func (r PlaylistPutItemsGeneratorReprocessResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (PlaylistPutItemsGeneratorReprocessResponse) Status ¶
func (r PlaylistPutItemsGeneratorReprocessResponse) Status() string
Status returns HTTPResponse.Status
func (PlaylistPutItemsGeneratorReprocessResponse) StatusCode ¶
func (r PlaylistPutItemsGeneratorReprocessResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PlaylistPutItemsGeneratorResponse ¶
type PlaylistPutItemsGeneratorResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *SlashPostResponses200
}
func ParsePlaylistPutItemsGeneratorResponse ¶
func ParsePlaylistPutItemsGeneratorResponse(rsp *http.Response) (*PlaylistPutItemsGeneratorResponse, error)
ParsePlaylistPutItemsGeneratorResponse parses an HTTP response from a PlaylistPutItemsGeneratorWithResponse call
func (PlaylistPutItemsGeneratorResponse) ContentType ¶
func (r PlaylistPutItemsGeneratorResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (PlaylistPutItemsGeneratorResponse) GetBody ¶
func (r PlaylistPutItemsGeneratorResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (PlaylistPutItemsGeneratorResponse) GetJSON200 ¶
func (r PlaylistPutItemsGeneratorResponse) GetJSON200() *SlashPostResponses200
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (PlaylistPutItemsGeneratorResponse) Status ¶
func (r PlaylistPutItemsGeneratorResponse) Status() string
Status returns HTTPResponse.Status
func (PlaylistPutItemsGeneratorResponse) StatusCode ¶
func (r PlaylistPutItemsGeneratorResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PlaylistPutItemsMoveParams ¶
type PlaylistPutItemsMoveParams struct {
// After The playlist item ID to insert the new item after. If not provided, item is moved to beginning of playlist
After int `form:"after,omitempty" json:"after,omitempty,omitzero"`
}
PlaylistPutItemsMoveParams defines parameters for PlaylistPutItemsMove.
type PlaylistPutItemsMoveResponse ¶
type PlaylistPutItemsMoveResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *SlashPostResponses200
}
func ParsePlaylistPutItemsMoveResponse ¶
func ParsePlaylistPutItemsMoveResponse(rsp *http.Response) (*PlaylistPutItemsMoveResponse, error)
ParsePlaylistPutItemsMoveResponse parses an HTTP response from a PlaylistPutItemsMoveWithResponse call
func (PlaylistPutItemsMoveResponse) ContentType ¶
func (r PlaylistPutItemsMoveResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (PlaylistPutItemsMoveResponse) GetBody ¶
func (r PlaylistPutItemsMoveResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (PlaylistPutItemsMoveResponse) GetJSON200 ¶
func (r PlaylistPutItemsMoveResponse) GetJSON200() *SlashPostResponses200
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (PlaylistPutItemsMoveResponse) Status ¶
func (r PlaylistPutItemsMoveResponse) Status() string
Status returns HTTPResponse.Status
func (PlaylistPutItemsMoveResponse) StatusCode ¶
func (r PlaylistPutItemsMoveResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PlaylistPutItemsParams ¶
type PlaylistPutItemsParams struct {
// URI The content URI for the playlist.
URI string `form:"uri,omitempty" json:"uri,omitempty,omitzero"`
// PlayQueueID The play queue to add to a playlist.
PlayQueueID int `form:"playQueueID,omitempty" json:"playQueueID,omitempty,omitzero"`
}
PlaylistPutItemsParams defines parameters for PlaylistPutItems.
type PlaylistPutItemsResponse ¶
type PlaylistPutItemsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *SlashPostResponses200
}
func ParsePlaylistPutItemsResponse ¶
func ParsePlaylistPutItemsResponse(rsp *http.Response) (*PlaylistPutItemsResponse, error)
ParsePlaylistPutItemsResponse parses an HTTP response from a PlaylistPutItemsWithResponse call
func (PlaylistPutItemsResponse) ContentType ¶
func (r PlaylistPutItemsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (PlaylistPutItemsResponse) GetBody ¶
func (r PlaylistPutItemsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (PlaylistPutItemsResponse) GetJSON200 ¶
func (r PlaylistPutItemsResponse) GetJSON200() *SlashPostResponses200
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (PlaylistPutItemsResponse) Status ¶
func (r PlaylistPutItemsResponse) Status() string
Status returns HTTPResponse.Status
func (PlaylistPutItemsResponse) StatusCode ¶
func (r PlaylistPutItemsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PlaylistPutPlaylistResponse ¶
func ParsePlaylistPutPlaylistResponse ¶
func ParsePlaylistPutPlaylistResponse(rsp *http.Response) (*PlaylistPutPlaylistResponse, error)
ParsePlaylistPutPlaylistResponse parses an HTTP response from a PlaylistPutPlaylistWithResponse call
func (PlaylistPutPlaylistResponse) ContentType ¶
func (r PlaylistPutPlaylistResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (PlaylistPutPlaylistResponse) GetBody ¶
func (r PlaylistPutPlaylistResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (PlaylistPutPlaylistResponse) Status ¶
func (r PlaylistPutPlaylistResponse) Status() string
Status returns HTTPResponse.Status
func (PlaylistPutPlaylistResponse) StatusCode ¶
func (r PlaylistPutPlaylistResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PostMediaProvidersParams ¶
type PostMediaProvidersParams struct {
// URL The URL of the media provider to add.
URL string `form:"url" json:"url"`
}
PostMediaProvidersParams defines parameters for PostMediaProviders.
type PostMediaProvidersRefreshResponse ¶
func ParsePostMediaProvidersRefreshResponse ¶
func ParsePostMediaProvidersRefreshResponse(rsp *http.Response) (*PostMediaProvidersRefreshResponse, error)
ParsePostMediaProvidersRefreshResponse parses an HTTP response from a PostMediaProvidersRefreshWithResponse call
func (PostMediaProvidersRefreshResponse) ContentType ¶
func (r PostMediaProvidersRefreshResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (PostMediaProvidersRefreshResponse) GetBody ¶
func (r PostMediaProvidersRefreshResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (PostMediaProvidersRefreshResponse) Status ¶
func (r PostMediaProvidersRefreshResponse) Status() string
Status returns HTTPResponse.Status
func (PostMediaProvidersRefreshResponse) StatusCode ¶
func (r PostMediaProvidersRefreshResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PostMediaProvidersResponse ¶
func ParsePostMediaProvidersResponse ¶
func ParsePostMediaProvidersResponse(rsp *http.Response) (*PostMediaProvidersResponse, error)
ParsePostMediaProvidersResponse parses an HTTP response from a PostMediaProvidersWithResponse call
func (PostMediaProvidersResponse) ContentType ¶
func (r PostMediaProvidersResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (PostMediaProvidersResponse) GetBody ¶
func (r PostMediaProvidersResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (PostMediaProvidersResponse) Status ¶
func (r PostMediaProvidersResponse) Status() string
Status returns HTTPResponse.Status
func (PostMediaProvidersResponse) StatusCode ¶
func (r PostMediaProvidersResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PostMetadataAgentProviderGroupsParams ¶
type PostMetadataAgentProviderGroupsParams struct {
// Title The title of the metadata agent provider group to add.
Title string `form:"title" json:"title"`
// PrimaryIdentifier The identifier of the metadata agent provider which will be the primary for the group.
PrimaryIdentifier string `form:"primaryIdentifier" json:"primaryIdentifier"`
}
PostMetadataAgentProviderGroupsParams defines parameters for PostMetadataAgentProviderGroups.
type PostMetadataAgentProviderGroupsResponse ¶
type PostMetadataAgentProviderGroupsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *struct {
MediaContainer struct {
MetadataAgentProviderGroup []MetadataAgentProviderGroup `json:"MetadataAgentProviderGroup,omitempty,omitzero"`
Identifier string `json:"identifier,omitempty,omitzero"`
// Offset The offset of where this container page starts among the total objects available. Also provided in the X-Plex-Container-Start header
Offset int `json:"offset,omitempty,omitzero"`
Size int `json:"size,omitempty,omitzero"`
// TotalSize The total size of objects available. Also provided in the X-Plex-Container-Total-Size header
TotalSize int `json:"totalSize,omitempty,omitzero"`
} `json:"MediaContainer,omitempty,omitzero"`
}
}
func ParsePostMetadataAgentProviderGroupsResponse ¶
func ParsePostMetadataAgentProviderGroupsResponse(rsp *http.Response) (*PostMetadataAgentProviderGroupsResponse, error)
ParsePostMetadataAgentProviderGroupsResponse parses an HTTP response from a PostMetadataAgentProviderGroupsWithResponse call
func (PostMetadataAgentProviderGroupsResponse) ContentType ¶
func (r PostMetadataAgentProviderGroupsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (PostMetadataAgentProviderGroupsResponse) GetBody ¶
func (r PostMetadataAgentProviderGroupsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (PostMetadataAgentProviderGroupsResponse) GetJSON200 ¶
func (r PostMetadataAgentProviderGroupsResponse) GetJSON200() *struct { MediaContainer struct { MetadataAgentProviderGroup []MetadataAgentProviderGroup `json:"MetadataAgentProviderGroup,omitempty,omitzero"` Identifier string `json:"identifier,omitempty,omitzero"` // Offset The offset of where this container page starts among the total objects available. Also provided in the X-Plex-Container-Start header Offset int `json:"offset,omitempty,omitzero"` Size int `json:"size,omitempty,omitzero"` // TotalSize The total size of objects available. Also provided in the X-Plex-Container-Total-Size header TotalSize int `json:"totalSize,omitempty,omitzero"` } `json:"MediaContainer,omitempty,omitzero"` }
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (PostMetadataAgentProviderGroupsResponse) Status ¶
func (r PostMetadataAgentProviderGroupsResponse) Status() string
Status returns HTTPResponse.Status
func (PostMetadataAgentProviderGroupsResponse) StatusCode ¶
func (r PostMetadataAgentProviderGroupsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PostMetadataAgentProvidersParams ¶
type PostMetadataAgentProvidersParams struct {
// URI The URI of the metadata agent provider to add.
URI string `form:"uri" json:"uri"`
}
PostMetadataAgentProvidersParams defines parameters for PostMetadataAgentProviders.
type PostMetadataAgentProvidersResponse ¶
type PostMetadataAgentProvidersResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *MetadataAgentProviderManagerSlashGetResponses200
}
func ParsePostMetadataAgentProvidersResponse ¶
func ParsePostMetadataAgentProvidersResponse(rsp *http.Response) (*PostMetadataAgentProvidersResponse, error)
ParsePostMetadataAgentProvidersResponse parses an HTTP response from a PostMetadataAgentProvidersWithResponse call
func (PostMetadataAgentProvidersResponse) ContentType ¶
func (r PostMetadataAgentProvidersResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (PostMetadataAgentProvidersResponse) GetBody ¶
func (r PostMetadataAgentProvidersResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (PostMetadataAgentProvidersResponse) GetJSON200 ¶
func (r PostMetadataAgentProvidersResponse) GetJSON200() *MetadataAgentProviderManagerSlashGetResponses200
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (PostMetadataAgentProvidersResponse) Status ¶
func (r PostMetadataAgentProvidersResponse) Status() string
Status returns HTTPResponse.Status
func (PostMetadataAgentProvidersResponse) StatusCode ¶
func (r PostMetadataAgentProvidersResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PostResponses200 ¶
type PostResponses200 struct {
MediaContainer PostResponses200_MediaContainer `json:"MediaContainer,omitempty,omitzero"`
}
PostResponses200 defines model for post-responses-200.
type PostResponses200MediaContainerType ¶
type PostResponses200MediaContainerType string
PostResponses200MediaContainerType defines model for PostResponses200.MediaContainer.Type.
const ( PostResponses200MediaContainerTypeBookmark PostResponses200MediaContainerType = "bookmark" PostResponses200MediaContainerTypeCommercial PostResponses200MediaContainerType = "commercial" PostResponses200MediaContainerTypeCredit PostResponses200MediaContainerType = "credit" PostResponses200MediaContainerTypeIntro PostResponses200MediaContainerType = "intro" PostResponses200MediaContainerTypeResume PostResponses200MediaContainerType = "resume" )
Defines values for PostResponses200MediaContainerType.
func (PostResponses200MediaContainerType) Valid ¶
func (e PostResponses200MediaContainerType) Valid() bool
Valid indicates whether the value is a known member of the PostResponses200MediaContainerType enum.
type PostResponses200_MediaContainer ¶
type PostResponses200_MediaContainer struct {
Color string `json:"color,omitempty,omitzero"`
EndTimeOffset int `json:"endTimeOffset,omitempty,omitzero"`
ID int `json:"id,omitempty,omitzero"`
Identifier string `json:"identifier,omitempty,omitzero"`
// Offset The offset of where this container page starts among the total objects available. Also provided in the X-Plex-Container-Start header
Offset int `json:"offset,omitempty,omitzero"`
Size int `json:"size,omitempty,omitzero"`
StartTimeOffset int `json:"startTimeOffset,omitempty,omitzero"`
Title string `json:"title,omitempty,omitzero"`
// TotalSize The total size of objects available. Also provided in the X-Plex-Container-Total-Size header
TotalSize int `json:"totalSize,omitempty,omitzero"`
Type PostResponses200MediaContainerType `json:"type,omitempty,omitzero"`
AdditionalProperties map[string]interface{} `json:"-"`
}
PostResponses200_MediaContainer defines model for PostResponses200.MediaContainer.
func (PostResponses200_MediaContainer) Get ¶
func (a PostResponses200_MediaContainer) Get(fieldName string) (value interface{}, found bool)
Getter for additional properties for PostResponses200_MediaContainer. Returns the specified element and whether it was found
func (PostResponses200_MediaContainer) MarshalJSON ¶
func (a PostResponses200_MediaContainer) MarshalJSON() ([]byte, error)
Override default JSON handling for PostResponses200_MediaContainer to handle AdditionalProperties
func (*PostResponses200_MediaContainer) Set ¶
func (a *PostResponses200_MediaContainer) Set(fieldName string, value interface{})
Setter for additional properties for PostResponses200_MediaContainer
func (*PostResponses200_MediaContainer) UnmarshalJSON ¶
func (a *PostResponses200_MediaContainer) UnmarshalJSON(b []byte) error
Override default JSON handling for PostResponses200_MediaContainer to handle AdditionalProperties
type PreferencesGetGetParams ¶
type PreferencesGetGetParams struct {
// ID The preference to fetch
ID string `form:"id,omitempty" json:"id,omitempty,omitzero"`
}
PreferencesGetGetParams defines parameters for PreferencesGetGet.
type PreferencesGetGetResponse ¶
type PreferencesGetGetResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *MediaContainerWithSettings
}
func ParsePreferencesGetGetResponse ¶
func ParsePreferencesGetGetResponse(rsp *http.Response) (*PreferencesGetGetResponse, error)
ParsePreferencesGetGetResponse parses an HTTP response from a PreferencesGetGetWithResponse call
func (PreferencesGetGetResponse) ContentType ¶
func (r PreferencesGetGetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (PreferencesGetGetResponse) GetBody ¶
func (r PreferencesGetGetResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (PreferencesGetGetResponse) GetJSON200 ¶
func (r PreferencesGetGetResponse) GetJSON200() *MediaContainerWithSettings
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (PreferencesGetGetResponse) Status ¶
func (r PreferencesGetGetResponse) Status() string
Status returns HTTPResponse.Status
func (PreferencesGetGetResponse) StatusCode ¶
func (r PreferencesGetGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PreferencesGetSlashResponse ¶
type PreferencesGetSlashResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *MediaContainerWithSettings
}
func ParsePreferencesGetSlashResponse ¶
func ParsePreferencesGetSlashResponse(rsp *http.Response) (*PreferencesGetSlashResponse, error)
ParsePreferencesGetSlashResponse parses an HTTP response from a PreferencesGetSlashWithResponse call
func (PreferencesGetSlashResponse) ContentType ¶
func (r PreferencesGetSlashResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (PreferencesGetSlashResponse) GetBody ¶
func (r PreferencesGetSlashResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (PreferencesGetSlashResponse) GetJSON200 ¶
func (r PreferencesGetSlashResponse) GetJSON200() *MediaContainerWithSettings
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (PreferencesGetSlashResponse) Status ¶
func (r PreferencesGetSlashResponse) Status() string
Status returns HTTPResponse.Status
func (PreferencesGetSlashResponse) StatusCode ¶
func (r PreferencesGetSlashResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PreferencesPutSlashParams ¶
type PreferencesPutSlashParams struct {
Prefs map[string]interface{} `form:"prefs" json:"prefs"`
}
PreferencesPutSlashParams defines parameters for PreferencesPutSlash.
type PreferencesPutSlashResponse ¶
func ParsePreferencesPutSlashResponse ¶
func ParsePreferencesPutSlashResponse(rsp *http.Response) (*PreferencesPutSlashResponse, error)
ParsePreferencesPutSlashResponse parses an HTTP response from a PreferencesPutSlashWithResponse call
func (PreferencesPutSlashResponse) ContentType ¶
func (r PreferencesPutSlashResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (PreferencesPutSlashResponse) GetBody ¶
func (r PreferencesPutSlashResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (PreferencesPutSlashResponse) Status ¶
func (r PreferencesPutSlashResponse) Status() string
Status returns HTTPResponse.Status
func (PreferencesPutSlashResponse) StatusCode ¶
func (r PreferencesPutSlashResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PropertiesMediaContainer ¶
type PropertiesMediaContainer struct {
Metadata []Metadata `json:"Metadata,omitempty,omitzero"`
Identifier string `json:"identifier,omitempty,omitzero"`
// Offset The offset of where this container page starts among the total objects available. Also provided in the X-Plex-Container-Start header
Offset int `json:"offset,omitempty,omitzero"`
Size int `json:"size,omitempty,omitzero"`
// TotalSize The total size of objects available. Also provided in the X-Plex-Container-Total-Size header
TotalSize int `json:"totalSize,omitempty,omitzero"`
AdditionalProperties map[string]interface{} `json:"-"`
}
PropertiesMediaContainer defines model for properties-MediaContainer.
func (PropertiesMediaContainer) Get ¶
func (a PropertiesMediaContainer) Get(fieldName string) (value interface{}, found bool)
Getter for additional properties for PropertiesMediaContainer. Returns the specified element and whether it was found
func (PropertiesMediaContainer) MarshalJSON ¶
func (a PropertiesMediaContainer) MarshalJSON() ([]byte, error)
Override default JSON handling for PropertiesMediaContainer to handle AdditionalProperties
func (*PropertiesMediaContainer) Set ¶
func (a *PropertiesMediaContainer) Set(fieldName string, value interface{})
Setter for additional properties for PropertiesMediaContainer
func (*PropertiesMediaContainer) UnmarshalJSON ¶
func (a *PropertiesMediaContainer) UnmarshalJSON(b []byte) error
Override default JSON handling for PropertiesMediaContainer to handle AdditionalProperties
type ProtocolParam ¶
type ProtocolParam string
ProtocolParam defines model for 23.
const ( ProtocolParamDash ProtocolParam = "dash" ProtocolParamHTTP ProtocolParam = "http" ProtocolParamHls ProtocolParam = "hls" )
Defines values for ProtocolParam.
func (ProtocolParam) Valid ¶
func (e ProtocolParam) Valid() bool
Valid indicates whether the value is a known member of the ProtocolParam enum.
type PutMetadataAgentProviderGroupItemParams ¶
type PutMetadataAgentProviderGroupItemParams struct {
// After The ID of the group item to place this item after. This only works if the group item already exists. A -1 value will place the item at the beginning.
After float32 `form:"after,omitempty" json:"after,omitempty,omitzero"`
}
PutMetadataAgentProviderGroupItemParams defines parameters for PutMetadataAgentProviderGroupItem.
type PutMetadataAgentProviderGroupItemResponse ¶
type PutMetadataAgentProviderGroupItemResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *struct {
MediaContainer struct {
MetadataAgentProviderGroupItem []MetadataAgentProviderGroupItem `json:"MetadataAgentProviderGroupItem,omitempty,omitzero"`
Identifier string `json:"identifier,omitempty,omitzero"`
// Offset The offset of where this container page starts among the total objects available. Also provided in the X-Plex-Container-Start header
Offset int `json:"offset,omitempty,omitzero"`
Size int `json:"size,omitempty,omitzero"`
// TotalSize The total size of objects available. Also provided in the X-Plex-Container-Total-Size header
TotalSize int `json:"totalSize,omitempty,omitzero"`
} `json:"MediaContainer,omitempty,omitzero"`
}
}
func ParsePutMetadataAgentProviderGroupItemResponse ¶
func ParsePutMetadataAgentProviderGroupItemResponse(rsp *http.Response) (*PutMetadataAgentProviderGroupItemResponse, error)
ParsePutMetadataAgentProviderGroupItemResponse parses an HTTP response from a PutMetadataAgentProviderGroupItemWithResponse call
func (PutMetadataAgentProviderGroupItemResponse) ContentType ¶
func (r PutMetadataAgentProviderGroupItemResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (PutMetadataAgentProviderGroupItemResponse) GetBody ¶
func (r PutMetadataAgentProviderGroupItemResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (PutMetadataAgentProviderGroupItemResponse) GetJSON200 ¶
func (r PutMetadataAgentProviderGroupItemResponse) GetJSON200() *struct { MediaContainer struct { MetadataAgentProviderGroupItem []MetadataAgentProviderGroupItem `json:"MetadataAgentProviderGroupItem,omitempty,omitzero"` Identifier string `json:"identifier,omitempty,omitzero"` // Offset The offset of where this container page starts among the total objects available. Also provided in the X-Plex-Container-Start header Offset int `json:"offset,omitempty,omitzero"` Size int `json:"size,omitempty,omitzero"` // TotalSize The total size of objects available. Also provided in the X-Plex-Container-Total-Size header TotalSize int `json:"totalSize,omitempty,omitzero"` } `json:"MediaContainer,omitempty,omitzero"` }
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (PutMetadataAgentProviderGroupItemResponse) Status ¶
func (r PutMetadataAgentProviderGroupItemResponse) Status() string
Status returns HTTPResponse.Status
func (PutMetadataAgentProviderGroupItemResponse) StatusCode ¶
func (r PutMetadataAgentProviderGroupItemResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PutMetadataAgentProviderGroupParams ¶
type PutMetadataAgentProviderGroupParams struct {
// Title The title of the metadata agent provider group to update.
Title string `form:"title,omitempty" json:"title,omitempty,omitzero"`
}
PutMetadataAgentProviderGroupParams defines parameters for PutMetadataAgentProviderGroup.
type PutMetadataAgentProviderGroupResponse ¶
type PutMetadataAgentProviderGroupResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *struct {
MediaContainer struct {
MetadataAgentProviderGroup []MetadataAgentProviderGroup `json:"MetadataAgentProviderGroup,omitempty,omitzero"`
Identifier string `json:"identifier,omitempty,omitzero"`
// Offset The offset of where this container page starts among the total objects available. Also provided in the X-Plex-Container-Start header
Offset int `json:"offset,omitempty,omitzero"`
Size int `json:"size,omitempty,omitzero"`
// TotalSize The total size of objects available. Also provided in the X-Plex-Container-Total-Size header
TotalSize int `json:"totalSize,omitempty,omitzero"`
} `json:"MediaContainer,omitempty,omitzero"`
}
}
func ParsePutMetadataAgentProviderGroupResponse ¶
func ParsePutMetadataAgentProviderGroupResponse(rsp *http.Response) (*PutMetadataAgentProviderGroupResponse, error)
ParsePutMetadataAgentProviderGroupResponse parses an HTTP response from a PutMetadataAgentProviderGroupWithResponse call
func (PutMetadataAgentProviderGroupResponse) ContentType ¶
func (r PutMetadataAgentProviderGroupResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (PutMetadataAgentProviderGroupResponse) GetBody ¶
func (r PutMetadataAgentProviderGroupResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (PutMetadataAgentProviderGroupResponse) GetJSON200 ¶
func (r PutMetadataAgentProviderGroupResponse) GetJSON200() *struct { MediaContainer struct { MetadataAgentProviderGroup []MetadataAgentProviderGroup `json:"MetadataAgentProviderGroup,omitempty,omitzero"` Identifier string `json:"identifier,omitempty,omitzero"` // Offset The offset of where this container page starts among the total objects available. Also provided in the X-Plex-Container-Start header Offset int `json:"offset,omitempty,omitzero"` Size int `json:"size,omitempty,omitzero"` // TotalSize The total size of objects available. Also provided in the X-Plex-Container-Total-Size header TotalSize int `json:"totalSize,omitempty,omitzero"` } `json:"MediaContainer,omitempty,omitzero"` }
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (PutMetadataAgentProviderGroupResponse) Status ¶
func (r PutMetadataAgentProviderGroupResponse) Status() string
Status returns HTTPResponse.Status
func (PutMetadataAgentProviderGroupResponse) StatusCode ¶
func (r PutMetadataAgentProviderGroupResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PutMetadataAgentProviderParams ¶
type PutMetadataAgentProviderParams struct {
// URI The new URI of the metadata agent provider.
URI string `form:"uri,omitempty" json:"uri,omitempty,omitzero"`
}
PutMetadataAgentProviderParams defines parameters for PutMetadataAgentProvider.
type PutMetadataAgentProviderResponse ¶
type PutMetadataAgentProviderResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *struct {
MediaContainer struct {
MetadataAgentProvider []MetadataAgentProvider `json:"MetadataAgentProvider,omitempty,omitzero"`
Identifier string `json:"identifier,omitempty,omitzero"`
// Offset The offset of where this container page starts among the total objects available. Also provided in the X-Plex-Container-Start header
Offset int `json:"offset,omitempty,omitzero"`
Size int `json:"size,omitempty,omitzero"`
// TotalSize The total size of objects available. Also provided in the X-Plex-Container-Total-Size header
TotalSize int `json:"totalSize,omitempty,omitzero"`
} `json:"MediaContainer,omitempty,omitzero"`
}
}
func ParsePutMetadataAgentProviderResponse ¶
func ParsePutMetadataAgentProviderResponse(rsp *http.Response) (*PutMetadataAgentProviderResponse, error)
ParsePutMetadataAgentProviderResponse parses an HTTP response from a PutMetadataAgentProviderWithResponse call
func (PutMetadataAgentProviderResponse) ContentType ¶
func (r PutMetadataAgentProviderResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (PutMetadataAgentProviderResponse) GetBody ¶
func (r PutMetadataAgentProviderResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (PutMetadataAgentProviderResponse) GetJSON200 ¶
func (r PutMetadataAgentProviderResponse) GetJSON200() *struct { MediaContainer struct { MetadataAgentProvider []MetadataAgentProvider `json:"MetadataAgentProvider,omitempty,omitzero"` Identifier string `json:"identifier,omitempty,omitzero"` // Offset The offset of where this container page starts among the total objects available. Also provided in the X-Plex-Container-Start header Offset int `json:"offset,omitempty,omitzero"` Size int `json:"size,omitempty,omitzero"` // TotalSize The total size of objects available. Also provided in the X-Plex-Container-Total-Size header TotalSize int `json:"totalSize,omitempty,omitzero"` } `json:"MediaContainer,omitempty,omitzero"` }
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (PutMetadataAgentProviderResponse) Status ¶
func (r PutMetadataAgentProviderResponse) Status() string
Status returns HTTPResponse.Status
func (PutMetadataAgentProviderResponse) StatusCode ¶
func (r PutMetadataAgentProviderResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PutRateParams ¶
type PutRateParams struct {
// Identifier The identifier of the media provider containing the media to rate. Typically `com.plexapp.plugins.library`
Identifier string `form:"identifier" json:"identifier"`
// Key The key of the item to rate. This is the `ratingKey` found in metadata items
Key string `form:"key" json:"key"`
// Rating The rating to give the item.
Rating float32 `form:"rating" json:"rating"`
// RatedAt The time when the rating occurred. If not present, interpreted as now.
RatedAt int `form:"ratedAt,omitempty" json:"ratedAt,omitempty,omitzero"`
}
PutRateParams defines parameters for PutRate.
type PutRateResponse ¶
func ParsePutRateResponse ¶
func ParsePutRateResponse(rsp *http.Response) (*PutRateResponse, error)
ParsePutRateResponse parses an HTTP response from a PutRateWithResponse call
func (PutRateResponse) ContentType ¶
func (r PutRateResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (PutRateResponse) GetBody ¶
func (r PutRateResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (PutRateResponse) Status ¶
func (r PutRateResponse) Status() string
Status returns HTTPResponse.Status
func (PutRateResponse) StatusCode ¶
func (r PutRateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PutScrobbleParams ¶
type PutScrobbleParams struct {
// Identifier The identifier of the media provider containing the media to rate. Typically `com.plexapp.plugins.library`
Identifier string `form:"identifier" json:"identifier"`
// Key The key of the item to rate. This is the `ratingKey` found in metadata items
Key string `form:"key,omitempty" json:"key,omitempty,omitzero"`
// URI The URI of the item to mark as played. See intro for description of the URIs
URI string `form:"uri,omitempty" json:"uri,omitempty,omitzero"`
}
PutScrobbleParams defines parameters for PutScrobble.
type PutScrobbleResponse ¶
func ParsePutScrobbleResponse ¶
func ParsePutScrobbleResponse(rsp *http.Response) (*PutScrobbleResponse, error)
ParsePutScrobbleResponse parses an HTTP response from a PutScrobbleWithResponse call
func (PutScrobbleResponse) ContentType ¶
func (r PutScrobbleResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (PutScrobbleResponse) GetBody ¶
func (r PutScrobbleResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (PutScrobbleResponse) Status ¶
func (r PutScrobbleResponse) Status() string
Status returns HTTPResponse.Status
func (PutScrobbleResponse) StatusCode ¶
func (r PutScrobbleResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PutUnscrobbleParams ¶
type PutUnscrobbleParams struct {
// Identifier The identifier of the media provider containing the media to rate. Typically `com.plexapp.plugins.library`
Identifier string `form:"identifier" json:"identifier"`
// Key The key of the item to rate. This is the `ratingKey` found in metadata items
Key string `form:"key,omitempty" json:"key,omitempty,omitzero"`
// URI The URI of the item to mark as played. See intro for description of the URIs
URI string `form:"uri,omitempty" json:"uri,omitempty,omitzero"`
}
PutUnscrobbleParams defines parameters for PutUnscrobble.
type PutUnscrobbleResponse ¶
func ParsePutUnscrobbleResponse ¶
func ParsePutUnscrobbleResponse(rsp *http.Response) (*PutUnscrobbleResponse, error)
ParsePutUnscrobbleResponse parses an HTTP response from a PutUnscrobbleWithResponse call
func (PutUnscrobbleResponse) ContentType ¶
func (r PutUnscrobbleResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (PutUnscrobbleResponse) GetBody ¶
func (r PutUnscrobbleResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (PutUnscrobbleResponse) Status ¶
func (r PutUnscrobbleResponse) Status() string
Status returns HTTPResponse.Status
func (PutUnscrobbleResponse) StatusCode ¶
func (r PutUnscrobbleResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RequestEditorFn ¶
RequestEditorFn is the function signature for the RequestEditor callback function
type RequestHandlerSlashGetResponses200 ¶
type RequestHandlerSlashGetResponses200 struct {
MediaContainer struct {
Directory []struct {
Count int `json:"count,omitempty,omitzero"`
// Key The key where this directory is found
Key string `json:"key,omitempty,omitzero"`
Title string `json:"title,omitempty,omitzero"`
} `json:"Directory,omitempty,omitzero"`
AllowCameraUpload bool `json:"allowCameraUpload,omitempty,omitzero"`
AllowChannelAccess bool `json:"allowChannelAccess,omitempty,omitzero"`
AllowMediaDeletion bool `json:"allowMediaDeletion,omitempty,omitzero"`
AllowSharing bool `json:"allowSharing,omitempty,omitzero"`
AllowSync bool `json:"allowSync,omitempty,omitzero"`
AllowTuners bool `json:"allowTuners,omitempty,omitzero"`
BackgroundProcessing bool `json:"backgroundProcessing,omitempty,omitzero"`
Certificate bool `json:"certificate,omitempty,omitzero"`
CompanionProxy bool `json:"companionProxy,omitempty,omitzero"`
CountryCode string `json:"countryCode,omitempty,omitzero"`
Diagnostics string `json:"diagnostics,omitempty,omitzero"`
EventStream bool `json:"eventStream,omitempty,omitzero"`
FriendlyName string `json:"friendlyName,omitempty,omitzero"`
HubSearch bool `json:"hubSearch,omitempty,omitzero"`
Identifier string `json:"identifier,omitempty,omitzero"`
ItemClusters bool `json:"itemClusters,omitempty,omitzero"`
Livetv int `json:"livetv,omitempty,omitzero"`
MachineIdentifier interface{} `json:"machineIdentifier,omitempty,omitzero"`
MediaProviders bool `json:"mediaProviders,omitempty,omitzero"`
Multiuser bool `json:"multiuser,omitempty,omitzero"`
MusicAnalysis int `json:"musicAnalysis,omitempty,omitzero"`
MyPlex bool `json:"myPlex,omitempty,omitzero"`
MyPlexMappingState interface{} `json:"myPlexMappingState,omitempty,omitzero"`
MyPlexSigninState interface{} `json:"myPlexSigninState,omitempty,omitzero"`
MyPlexSubscription bool `json:"myPlexSubscription,omitempty,omitzero"`
MyPlexUsername string `json:"myPlexUsername,omitempty,omitzero"`
OfflineTranscode interface{} `json:"offlineTranscode,omitempty,omitzero"`
// Offset The offset of where this container page starts among the total objects available. Also provided in the X-Plex-Container-Start header
Offset int `json:"offset,omitempty,omitzero"`
// OwnerFeatures A comma-separated list of features which are enabled for the server owner
OwnerFeatures string `json:"ownerFeatures,omitempty,omitzero"`
Platform string `json:"platform,omitempty,omitzero"`
PlatformVersion string `json:"platformVersion,omitempty,omitzero"`
PluginHost bool `json:"pluginHost,omitempty,omitzero"`
PushNotifications bool `json:"pushNotifications,omitempty,omitzero"`
ReadOnlyLibraries bool `json:"readOnlyLibraries,omitempty,omitzero"`
Size int `json:"size,omitempty,omitzero"`
StreamingBrainABRVersion int `json:"streamingBrainABRVersion,omitempty,omitzero"`
StreamingBrainVersion int `json:"streamingBrainVersion,omitempty,omitzero"`
Sync bool `json:"sync,omitempty,omitzero"`
// TotalSize The total size of objects available. Also provided in the X-Plex-Container-Total-Size header
TotalSize int `json:"totalSize,omitempty,omitzero"`
TranscoderActiveVideoSessions int `json:"transcoderActiveVideoSessions,omitempty,omitzero"`
TranscoderAudio bool `json:"transcoderAudio,omitempty,omitzero"`
TranscoderLyrics bool `json:"transcoderLyrics,omitempty,omitzero"`
TranscoderPhoto bool `json:"transcoderPhoto,omitempty,omitzero"`
TranscoderSubtitles bool `json:"transcoderSubtitles,omitempty,omitzero"`
TranscoderVideo bool `json:"transcoderVideo,omitempty,omitzero"`
// TranscoderVideoBitrates The suggested video quality bitrates to present to the user
TranscoderVideoBitrates interface{} `json:"transcoderVideoBitrates,omitempty,omitzero"`
TranscoderVideoQualities string `json:"transcoderVideoQualities,omitempty,omitzero"`
// TranscoderVideoResolutions The suggested video resolutions to the above quality bitrates
TranscoderVideoResolutions interface{} `json:"transcoderVideoResolutions,omitempty,omitzero"`
UpdatedAt int `json:"updatedAt,omitempty,omitzero"`
Updater bool `json:"updater,omitempty,omitzero"`
Version string `json:"version,omitempty,omitzero"`
VoiceSearch bool `json:"voiceSearch,omitempty,omitzero"`
} `json:"MediaContainer,omitempty,omitzero"`
}
RequestHandlerSlashGetResponses200 defines model for requestHandler_slash-get-responses-200.
type Responses200 ¶
type Responses200 struct {
MediaContainer struct {
Hub []Hub `json:"Hub,omitempty,omitzero"`
Identifier string `json:"identifier,omitempty,omitzero"`
// Offset The offset of where this container page starts among the total objects available. Also provided in the X-Plex-Container-Start header
Offset int `json:"offset,omitempty,omitzero"`
Size int `json:"size,omitempty,omitzero"`
// TotalSize The total size of objects available. Also provided in the X-Plex-Container-Total-Size header
TotalSize int `json:"totalSize,omitempty,omitzero"`
} `json:"MediaContainer,omitempty,omitzero"`
}
Responses200 defines model for responses-200.
type SecondsPerSegmentParam ¶
type SecondsPerSegmentParam = int
SecondsPerSegmentParam defines model for 24.
type SecurityGetResourcesParams ¶
type SecurityGetResourcesParams struct {
// Source The source identifier with an included prefix.
Source string `form:"source" json:"source"`
// Refresh Force refresh
Refresh SecurityGetResourcesParamsRefresh `form:"refresh,omitempty" json:"refresh,omitempty,omitzero"`
}
SecurityGetResourcesParams defines parameters for SecurityGetResources.
type SecurityGetResourcesParamsRefresh ¶
type SecurityGetResourcesParamsRefresh int
SecurityGetResourcesParamsRefresh defines parameters for SecurityGetResources.
const ( SecurityGetResourcesParamsRefreshN0 SecurityGetResourcesParamsRefresh = 0 SecurityGetResourcesParamsRefreshN1 SecurityGetResourcesParamsRefresh = 1 )
Defines values for SecurityGetResourcesParamsRefresh.
func (SecurityGetResourcesParamsRefresh) Valid ¶
func (e SecurityGetResourcesParamsRefresh) Valid() bool
Valid indicates whether the value is a known member of the SecurityGetResourcesParamsRefresh enum.
type SecurityGetResourcesResponse ¶
type SecurityGetResourcesResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *struct {
MediaContainer struct {
Device struct {
Connection []struct {
Address string `json:"address,omitempty,omitzero"`
// Local Indicates if the connection is the server's LAN address
Local bool `json:"local,omitempty,omitzero"`
Port int `json:"port,omitempty,omitzero"`
Protocol string `json:"protocol,omitempty,omitzero"`
// Relay Indicates the connection is over a relayed connection
Relay bool `json:"relay,omitempty,omitzero"`
URI string `json:"uri,omitempty,omitzero"`
} `json:"Connection,omitempty,omitzero"`
AccessToken string `json:"accessToken,omitempty,omitzero"`
ClientIdentifier string `json:"clientIdentifier,omitempty,omitzero"`
Name string `json:"name,omitempty,omitzero"`
} `json:"Device,omitempty,omitzero"`
Identifier string `json:"identifier,omitempty,omitzero"`
// Offset The offset of where this container page starts among the total objects available. Also provided in the X-Plex-Container-Start header
Offset int `json:"offset,omitempty,omitzero"`
Size int `json:"size,omitempty,omitzero"`
// TotalSize The total size of objects available. Also provided in the X-Plex-Container-Total-Size header
TotalSize int `json:"totalSize,omitempty,omitzero"`
} `json:"MediaContainer,omitempty,omitzero"`
}
}
func ParseSecurityGetResourcesResponse ¶
func ParseSecurityGetResourcesResponse(rsp *http.Response) (*SecurityGetResourcesResponse, error)
ParseSecurityGetResourcesResponse parses an HTTP response from a SecurityGetResourcesWithResponse call
func (SecurityGetResourcesResponse) ContentType ¶
func (r SecurityGetResourcesResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (SecurityGetResourcesResponse) GetBody ¶
func (r SecurityGetResourcesResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (SecurityGetResourcesResponse) GetJSON200 ¶
func (r SecurityGetResourcesResponse) GetJSON200() *struct { MediaContainer struct { Device struct { Connection []struct { Address string `json:"address,omitempty,omitzero"` // Local Indicates if the connection is the server's LAN address Local bool `json:"local,omitempty,omitzero"` Port int `json:"port,omitempty,omitzero"` Protocol string `json:"protocol,omitempty,omitzero"` // Relay Indicates the connection is over a relayed connection Relay bool `json:"relay,omitempty,omitzero"` URI string `json:"uri,omitempty,omitzero"` } `json:"Connection,omitempty,omitzero"` AccessToken string `json:"accessToken,omitempty,omitzero"` ClientIdentifier string `json:"clientIdentifier,omitempty,omitzero"` Name string `json:"name,omitempty,omitzero"` } `json:"Device,omitempty,omitzero"` Identifier string `json:"identifier,omitempty,omitzero"` // Offset The offset of where this container page starts among the total objects available. Also provided in the X-Plex-Container-Start header Offset int `json:"offset,omitempty,omitzero"` Size int `json:"size,omitempty,omitzero"` // TotalSize The total size of objects available. Also provided in the X-Plex-Container-Total-Size header TotalSize int `json:"totalSize,omitempty,omitzero"` } `json:"MediaContainer,omitempty,omitzero"` }
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (SecurityGetResourcesResponse) Status ¶
func (r SecurityGetResourcesResponse) Status() string
Status returns HTTPResponse.Status
func (SecurityGetResourcesResponse) StatusCode ¶
func (r SecurityGetResourcesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SecurityPostTokenParams ¶
type SecurityPostTokenParams struct {
// Type The value `delegation` is the only supported `type` parameter.
Type SecurityPostTokenParamsType `form:"type" json:"type"`
// Scope The value `all` is the only supported `scope` parameter.
Scope SecurityPostTokenParamsScope `form:"scope" json:"scope"`
}
SecurityPostTokenParams defines parameters for SecurityPostToken.
type SecurityPostTokenParamsScope ¶
type SecurityPostTokenParamsScope string
SecurityPostTokenParamsScope defines parameters for SecurityPostToken.
const (
SecurityPostTokenParamsScopeAll SecurityPostTokenParamsScope = "all"
)
Defines values for SecurityPostTokenParamsScope.
func (SecurityPostTokenParamsScope) Valid ¶
func (e SecurityPostTokenParamsScope) Valid() bool
Valid indicates whether the value is a known member of the SecurityPostTokenParamsScope enum.
type SecurityPostTokenParamsType ¶
type SecurityPostTokenParamsType string
SecurityPostTokenParamsType defines parameters for SecurityPostToken.
const (
Delegation SecurityPostTokenParamsType = "delegation"
)
Defines values for SecurityPostTokenParamsType.
func (SecurityPostTokenParamsType) Valid ¶
func (e SecurityPostTokenParamsType) Valid() bool
Valid indicates whether the value is a known member of the SecurityPostTokenParamsType enum.
type SecurityPostTokenResponse ¶
type SecurityPostTokenResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *struct {
MediaContainer struct {
MediaContainer struct {
Identifier string `json:"identifier,omitempty,omitzero"`
// Offset The offset of where this container page starts among the total objects available. Also provided in the X-Plex-Container-Start header
Offset int `json:"offset,omitempty,omitzero"`
Size int `json:"size,omitempty,omitzero"`
// TotalSize The total size of objects available. Also provided in the X-Plex-Container-Total-Size header
TotalSize int `json:"totalSize,omitempty,omitzero"`
} `json:"MediaContainer,omitempty,omitzero"`
// Token The transient token
Token string `json:"token,omitempty,omitzero"`
} `json:"MediaContainer,omitempty,omitzero"`
}
}
func ParseSecurityPostTokenResponse ¶
func ParseSecurityPostTokenResponse(rsp *http.Response) (*SecurityPostTokenResponse, error)
ParseSecurityPostTokenResponse parses an HTTP response from a SecurityPostTokenWithResponse call
func (SecurityPostTokenResponse) ContentType ¶
func (r SecurityPostTokenResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (SecurityPostTokenResponse) GetBody ¶
func (r SecurityPostTokenResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (SecurityPostTokenResponse) GetJSON200 ¶
func (r SecurityPostTokenResponse) GetJSON200() *struct { MediaContainer struct { MediaContainer struct { Identifier string `json:"identifier,omitempty,omitzero"` // Offset The offset of where this container page starts among the total objects available. Also provided in the X-Plex-Container-Start header Offset int `json:"offset,omitempty,omitzero"` Size int `json:"size,omitempty,omitzero"` // TotalSize The total size of objects available. Also provided in the X-Plex-Container-Total-Size header TotalSize int `json:"totalSize,omitempty,omitzero"` } `json:"MediaContainer,omitempty,omitzero"` // Token The transient token Token string `json:"token,omitempty,omitzero"` } `json:"MediaContainer,omitempty,omitzero"` }
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (SecurityPostTokenResponse) Status ¶
func (r SecurityPostTokenResponse) Status() string
Status returns HTTPResponse.Status
func (SecurityPostTokenResponse) StatusCode ¶
func (r SecurityPostTokenResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ServerConfiguration ¶
type ServerConfiguration struct {
AllowCameraUpload bool `json:"allowCameraUpload,omitempty,omitzero"`
AllowChannelAccess bool `json:"allowChannelAccess,omitempty,omitzero"`
AllowMediaDeletion bool `json:"allowMediaDeletion,omitempty,omitzero"`
AllowSharing bool `json:"allowSharing,omitempty,omitzero"`
AllowSync bool `json:"allowSync,omitempty,omitzero"`
AllowTuners bool `json:"allowTuners,omitempty,omitzero"`
BackgroundProcessing bool `json:"backgroundProcessing,omitempty,omitzero"`
Certificate bool `json:"certificate,omitempty,omitzero"`
CompanionProxy bool `json:"companionProxy,omitempty,omitzero"`
CountryCode string `json:"countryCode,omitempty,omitzero"`
Diagnostics string `json:"diagnostics,omitempty,omitzero"`
EventStream bool `json:"eventStream,omitempty,omitzero"`
FriendlyName string `json:"friendlyName,omitempty,omitzero"`
HubSearch bool `json:"hubSearch,omitempty,omitzero"`
Identifier string `json:"identifier,omitempty,omitzero"`
ItemClusters bool `json:"itemClusters,omitempty,omitzero"`
Livetv int `json:"livetv,omitempty,omitzero"`
MachineIdentifier interface{} `json:"machineIdentifier,omitempty,omitzero"`
MediaProviders bool `json:"mediaProviders,omitempty,omitzero"`
Multiuser bool `json:"multiuser,omitempty,omitzero"`
MusicAnalysis int `json:"musicAnalysis,omitempty,omitzero"`
MyPlex bool `json:"myPlex,omitempty,omitzero"`
MyPlexMappingState interface{} `json:"myPlexMappingState,omitempty,omitzero"`
MyPlexSigninState interface{} `json:"myPlexSigninState,omitempty,omitzero"`
MyPlexSubscription bool `json:"myPlexSubscription,omitempty,omitzero"`
MyPlexUsername string `json:"myPlexUsername,omitempty,omitzero"`
OfflineTranscode interface{} `json:"offlineTranscode,omitempty,omitzero"`
// Offset The offset of where this container page starts among the total objects available. Also provided in the X-Plex-Container-Start header
Offset int `json:"offset,omitempty,omitzero"`
// OwnerFeatures A comma-separated list of features which are enabled for the server owner
OwnerFeatures string `json:"ownerFeatures,omitempty,omitzero"`
Platform string `json:"platform,omitempty,omitzero"`
PlatformVersion string `json:"platformVersion,omitempty,omitzero"`
PluginHost bool `json:"pluginHost,omitempty,omitzero"`
PushNotifications bool `json:"pushNotifications,omitempty,omitzero"`
ReadOnlyLibraries bool `json:"readOnlyLibraries,omitempty,omitzero"`
Size int `json:"size,omitempty,omitzero"`
StreamingBrainABRVersion int `json:"streamingBrainABRVersion,omitempty,omitzero"`
StreamingBrainVersion int `json:"streamingBrainVersion,omitempty,omitzero"`
Sync bool `json:"sync,omitempty,omitzero"`
// TotalSize The total size of objects available. Also provided in the X-Plex-Container-Total-Size header
TotalSize int `json:"totalSize,omitempty,omitzero"`
TranscoderActiveVideoSessions int `json:"transcoderActiveVideoSessions,omitempty,omitzero"`
TranscoderAudio bool `json:"transcoderAudio,omitempty,omitzero"`
TranscoderLyrics bool `json:"transcoderLyrics,omitempty,omitzero"`
TranscoderPhoto bool `json:"transcoderPhoto,omitempty,omitzero"`
TranscoderSubtitles bool `json:"transcoderSubtitles,omitempty,omitzero"`
TranscoderVideo bool `json:"transcoderVideo,omitempty,omitzero"`
// TranscoderVideoBitrates The suggested video quality bitrates to present to the user
TranscoderVideoBitrates interface{} `json:"transcoderVideoBitrates,omitempty,omitzero"`
TranscoderVideoQualities string `json:"transcoderVideoQualities,omitempty,omitzero"`
// TranscoderVideoResolutions The suggested video resolutions to the above quality bitrates
TranscoderVideoResolutions interface{} `json:"transcoderVideoResolutions,omitempty,omitzero"`
UpdatedAt int `json:"updatedAt,omitempty,omitzero"`
Updater bool `json:"updater,omitempty,omitzero"`
Version string `json:"version,omitempty,omitzero"`
VoiceSearch bool `json:"voiceSearch,omitempty,omitzero"`
}
ServerConfiguration defines model for serverConfiguration.
type SlashGetResponses200 ¶
type SlashGetResponses200 struct {
MediaContainer struct {
Directory []Metadata `json:"Directory,omitempty,omitzero"`
AllowSync bool `json:"allowSync,omitempty,omitzero"`
Art string `json:"art,omitempty,omitzero"`
// Content The flavors of directory found here:
// - Primary: (e.g. all, On Deck) These are still used in some clients to provide "shortcuts" to subsets of media. However, with the exception of On Deck, all of them can be created by media queries, and the desire is to allow these to be customized by users.
// - Secondary: These are marked with `"secondary": true` and were used by old clients to provide nested menus allowing for primative (but structured) navigation.
// - Special: There is a By Folder entry which allows browsing the media by the underlying filesystem structure, and there's a completely obsolete entry marked `"search": true` which used to be used to allow clients to build search dialogs on the fly.
Content string `json:"content,omitempty,omitzero"`
Identifier string `json:"identifier,omitempty,omitzero"`
LibrarySectionID int `json:"librarySectionID,omitempty,omitzero"`
MediaTagPrefix string `json:"mediaTagPrefix,omitempty,omitzero"`
MediaTagVersion int `json:"mediaTagVersion,omitempty,omitzero"`
Size int `json:"size,omitempty,omitzero"`
SortAsc bool `json:"sortAsc,omitempty,omitzero"`
Thumb string `json:"thumb,omitempty,omitzero"`
Title1 string `json:"title1,omitempty,omitzero"`
ViewGroup string `json:"viewGroup,omitempty,omitzero"`
ViewMode int `json:"viewMode,omitempty,omitzero"`
} `json:"MediaContainer,omitempty,omitzero"`
}
SlashGetResponses200 defines model for slash-get-responses-200.
type SlashPostResponses200 ¶
type SlashPostResponses200 = MediaContainerWithPlaylistMetadata
SlashPostResponses200 defines model for slash-post-responses-200.
type Sort ¶
type Sort struct {
Pivot []struct {
Context string `json:"context,omitempty,omitzero"`
ID string `json:"id,omitempty,omitzero"`
Key string `json:"key,omitempty,omitzero"`
Symbol string `json:"symbol,omitempty,omitzero"`
Title string `json:"title,omitempty,omitzero"`
Type string `json:"type,omitempty,omitzero"`
} `json:"Pivot,omitempty,omitzero"`
Art string `json:"art,omitempty,omitzero"`
Content bool `json:"content,omitempty,omitzero"`
// Default If present, this sort is the default and in this direction
Default SortDefault `json:"default,omitempty,omitzero"`
// DefaultDirection This default diction of this sort
DefaultDirection SortDefaultDirection `json:"defaultDirection,omitempty,omitzero"`
// DescKey The key for sorting this field in reverse order
DescKey string `json:"descKey,omitempty,omitzero"`
Filter string `json:"filter,omitempty,omitzero"`
// FirstCharacterKey The key to use to get items sorted by this field and indexed by the first character
FirstCharacterKey string `json:"firstCharacterKey,omitempty,omitzero"`
HasPrefs bool `json:"hasPrefs,omitempty,omitzero"`
HasStoreServices bool `json:"hasStoreServices,omitempty,omitzero"`
HubKey string `json:"hubKey,omitempty,omitzero"`
Identifier string `json:"identifier,omitempty,omitzero"`
// Key The key to use in the sort field to make items sort by this item
Key string `json:"key,omitempty,omitzero"`
LastAccessedAt int `json:"lastAccessedAt,omitempty,omitzero"`
Thumb string `json:"thumb,omitempty,omitzero"`
// Title The title of the field.
Title string `json:"title,omitempty,omitzero"`
TitleBar string `json:"titleBar,omitempty,omitzero"`
Type string `json:"type,omitempty,omitzero"`
AdditionalProperties map[string]interface{} `json:"-"`
}
Sort defines model for sort.
func (Sort) Get ¶
Getter for additional properties for Sort. Returns the specified element and whether it was found
func (Sort) MarshalJSON ¶
Override default JSON handling for Sort to handle AdditionalProperties
func (*Sort) UnmarshalJSON ¶
Override default JSON handling for Sort to handle AdditionalProperties
type SortDefault ¶
type SortDefault string
SortDefault If present, this sort is the default and in this direction
const ( SortDefaultAsc SortDefault = "asc" SortDefaultDesc SortDefault = "desc" )
Defines values for SortDefault.
func (SortDefault) Valid ¶
func (e SortDefault) Valid() bool
Valid indicates whether the value is a known member of the SortDefault enum.
type SortDefaultDirection ¶
type SortDefaultDirection string
SortDefaultDirection This default diction of this sort
const ( SortDefaultDirectionAsc SortDefaultDirection = "asc" SortDefaultDirectionDesc SortDefaultDirection = "desc" )
Defines values for SortDefaultDirection.
func (SortDefaultDirection) Valid ¶
func (e SortDefaultDirection) Valid() bool
Valid indicates whether the value is a known member of the SortDefaultDirection enum.
type StatusDeleteHistoryResponse ¶
type StatusDeleteHistoryResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *MediaContainerRoot
// Headers200 the parsed response headers for an HTTP 200 response
Headers200 *StatusDeleteHistoryResponse200Headers
}
func ParseStatusDeleteHistoryResponse ¶
func ParseStatusDeleteHistoryResponse(rsp *http.Response) (*StatusDeleteHistoryResponse, error)
ParseStatusDeleteHistoryResponse parses an HTTP response from a StatusDeleteHistoryWithResponse call
func (StatusDeleteHistoryResponse) ContentType ¶
func (r StatusDeleteHistoryResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (StatusDeleteHistoryResponse) GetBody ¶
func (r StatusDeleteHistoryResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (StatusDeleteHistoryResponse) GetJSON200 ¶
func (r StatusDeleteHistoryResponse) GetJSON200() *MediaContainerRoot
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (StatusDeleteHistoryResponse) Status ¶
func (r StatusDeleteHistoryResponse) Status() string
Status returns HTTPResponse.Status
func (StatusDeleteHistoryResponse) StatusCode ¶
func (r StatusDeleteHistoryResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type StatusDeleteHistoryResponse200Headers ¶
type StatusDeleteHistoryResponse200Headers struct {
XPlexContainerStart int
XPlexContainerTotalSize int
}
StatusDeleteHistoryResponse200Headers the declared response headers of an HTTP 200 response for StatusDeleteHistory
type StatusGetBackground200JSONResponseBodyMediaContainerTranscodeJobType ¶
type StatusGetBackground200JSONResponseBodyMediaContainerTranscodeJobType string
StatusGetBackground200JSONResponseBodyMediaContainerTranscodeJobType defines parameters for StatusGetBackground.
const (
StatusGetBackground200JSONResponseBodyMediaContainerTranscodeJobTypeTranscode StatusGetBackground200JSONResponseBodyMediaContainerTranscodeJobType = "transcode"
)
Defines values for StatusGetBackground200JSONResponseBodyMediaContainerTranscodeJobType.
func (StatusGetBackground200JSONResponseBodyMediaContainerTranscodeJobType) Valid ¶
func (e StatusGetBackground200JSONResponseBodyMediaContainerTranscodeJobType) Valid() bool
Valid indicates whether the value is a known member of the StatusGetBackground200JSONResponseBodyMediaContainerTranscodeJobType enum.
type StatusGetBackgroundResponse ¶
type StatusGetBackgroundResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *struct {
MediaContainer struct {
TranscodeJob []struct {
GeneratorID int `json:"generatorID,omitempty,omitzero"`
Key string `json:"key,omitempty,omitzero"`
Progress float32 `json:"progress,omitempty,omitzero"`
RatingKey string `json:"ratingKey,omitempty,omitzero"`
// Remaining The number of seconds remaining in this job
Remaining int `json:"remaining,omitempty,omitzero"`
// Size The size of the result so far
Size int `json:"size,omitempty,omitzero"`
// Speed The speed of the transcode; 1.0 means real-time
Speed float32 `json:"speed,omitempty,omitzero"`
// TargetTagID The tag associated with the job. This could be the tag containing the optimizer settings.
TargetTagID int `json:"targetTagID,omitempty,omitzero"`
Thumb string `json:"thumb,omitempty,omitzero"`
Title string `json:"title,omitempty,omitzero"`
Type StatusGetBackground200JSONResponseBodyMediaContainerTranscodeJobType `json:"type,omitempty,omitzero"`
} `json:"TranscodeJob,omitempty,omitzero"`
Identifier string `json:"identifier,omitempty,omitzero"`
// Offset The offset of where this container page starts among the total objects available. Also provided in the X-Plex-Container-Start header
Offset int `json:"offset,omitempty,omitzero"`
Size int `json:"size,omitempty,omitzero"`
// TotalSize The total size of objects available. Also provided in the X-Plex-Container-Total-Size header
TotalSize int `json:"totalSize,omitempty,omitzero"`
} `json:"MediaContainer,omitempty,omitzero"`
}
}
func ParseStatusGetBackgroundResponse ¶
func ParseStatusGetBackgroundResponse(rsp *http.Response) (*StatusGetBackgroundResponse, error)
ParseStatusGetBackgroundResponse parses an HTTP response from a StatusGetBackgroundWithResponse call
func (StatusGetBackgroundResponse) ContentType ¶
func (r StatusGetBackgroundResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (StatusGetBackgroundResponse) GetBody ¶
func (r StatusGetBackgroundResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (StatusGetBackgroundResponse) GetJSON200 ¶
func (r StatusGetBackgroundResponse) GetJSON200() *struct { MediaContainer struct { TranscodeJob []struct { GeneratorID int `json:"generatorID,omitempty,omitzero"` Key string `json:"key,omitempty,omitzero"` Progress float32 `json:"progress,omitempty,omitzero"` RatingKey string `json:"ratingKey,omitempty,omitzero"` // Remaining The number of seconds remaining in this job Remaining int `json:"remaining,omitempty,omitzero"` // Size The size of the result so far Size int `json:"size,omitempty,omitzero"` // Speed The speed of the transcode; 1.0 means real-time Speed float32 `json:"speed,omitempty,omitzero"` // TargetTagID The tag associated with the job. This could be the tag containing the optimizer settings. TargetTagID int `json:"targetTagID,omitempty,omitzero"` Thumb string `json:"thumb,omitempty,omitzero"` Title string `json:"title,omitempty,omitzero"` Type StatusGetBackground200JSONResponseBodyMediaContainerTranscodeJobType `json:"type,omitempty,omitzero"` } `json:"TranscodeJob,omitempty,omitzero"` Identifier string `json:"identifier,omitempty,omitzero"` // Offset The offset of where this container page starts among the total objects available. Also provided in the X-Plex-Container-Start header Offset int `json:"offset,omitempty,omitzero"` Size int `json:"size,omitempty,omitzero"` // TotalSize The total size of objects available. Also provided in the X-Plex-Container-Total-Size header TotalSize int `json:"totalSize,omitempty,omitzero"` } `json:"MediaContainer,omitempty,omitzero"` }
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (StatusGetBackgroundResponse) Status ¶
func (r StatusGetBackgroundResponse) Status() string
Status returns HTTPResponse.Status
func (StatusGetBackgroundResponse) StatusCode ¶
func (r StatusGetBackgroundResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type StatusGetHistory200JSONResponseBody_MediaContainer ¶
type StatusGetHistory200JSONResponseBody_MediaContainer struct {
Metadata []struct {
// AccountID The account id of this playback
AccountID int `json:"accountID,omitempty,omitzero"`
// DeviceID The device id which played the item
DeviceID int `json:"deviceID,omitempty,omitzero"`
// GrandparentKey The `key` of the grandparent of the item played, e.g. the show of an episode
GrandparentKey string `json:"grandparentKey,omitempty,omitzero"`
// GrandparentTitle The `title` of the grandparent of the item played
GrandparentTitle string `json:"grandparentTitle,omitempty,omitzero"`
// HistoryKey The key for this individual history item
HistoryKey string `json:"historyKey,omitempty,omitzero"`
// Index The episode number for episodes, the season number for seasons, or the track number for audio tracks
Index int `json:"index,omitempty,omitzero"`
// Key The metadata key for the item played
Key string `json:"key,omitempty,omitzero"`
// LibrarySectionID The library section id containing the item played
LibrarySectionID string `json:"librarySectionID,omitempty,omitzero"`
// OriginallyAvailableAt The originally available at of the item played
OriginallyAvailableAt string `json:"originallyAvailableAt,omitempty,omitzero"`
// ParentIndex The `index` of the parent of the item played
ParentIndex int `json:"parentIndex,omitempty,omitzero"`
// ParentKey The `key` of the parent of the item played
ParentKey string `json:"parentKey,omitempty,omitzero"`
// RatingKey The rating key for the item played
RatingKey string `json:"ratingKey,omitempty,omitzero"`
// Thumb The thumb of the item played
Thumb string `json:"thumb,omitempty,omitzero"`
// Title The title of the item played
Title string `json:"title,omitempty,omitzero"`
// Type The metadata type of the item played
Type string `json:"type,omitempty,omitzero"`
// ViewedAt The time when the item was played
ViewedAt int `json:"viewedAt,omitempty,omitzero"`
} `json:"Metadata,omitempty,omitzero"`
Identifier string `json:"identifier,omitempty,omitzero"`
// Offset The offset of where this container page starts among the total objects available. Also provided in the X-Plex-Container-Start header
Offset int `json:"offset,omitempty,omitzero"`
Size int `json:"size,omitempty,omitzero"`
// TotalSize The total size of objects available. Also provided in the X-Plex-Container-Total-Size header
TotalSize int `json:"totalSize,omitempty,omitzero"`
AdditionalProperties map[string]interface{} `json:"-"`
}
StatusGetHistory200JSONResponseBody_MediaContainer defines parameters for StatusGetHistory.
func (StatusGetHistory200JSONResponseBody_MediaContainer) Get ¶
func (a StatusGetHistory200JSONResponseBody_MediaContainer) Get(fieldName string) (value interface{}, found bool)
Getter for additional properties for StatusGetHistory200JSONResponseBody_MediaContainer. Returns the specified element and whether it was found
func (StatusGetHistory200JSONResponseBody_MediaContainer) MarshalJSON ¶
func (a StatusGetHistory200JSONResponseBody_MediaContainer) MarshalJSON() ([]byte, error)
Override default JSON handling for StatusGetHistory200JSONResponseBody_MediaContainer to handle AdditionalProperties
func (*StatusGetHistory200JSONResponseBody_MediaContainer) Set ¶
func (a *StatusGetHistory200JSONResponseBody_MediaContainer) Set(fieldName string, value interface{})
Setter for additional properties for StatusGetHistory200JSONResponseBody_MediaContainer
func (*StatusGetHistory200JSONResponseBody_MediaContainer) UnmarshalJSON ¶
func (a *StatusGetHistory200JSONResponseBody_MediaContainer) UnmarshalJSON(b []byte) error
Override default JSON handling for StatusGetHistory200JSONResponseBody_MediaContainer to handle AdditionalProperties
type StatusGetHistoryAll200JSONResponseBody_MediaContainer ¶
type StatusGetHistoryAll200JSONResponseBody_MediaContainer struct {
Metadata []struct {
// AccountID The account id of this playback
AccountID int `json:"accountID,omitempty,omitzero"`
// DeviceID The device id which played the item
DeviceID int `json:"deviceID,omitempty,omitzero"`
// GrandparentKey The `key` of the grandparent of the item played, e.g. the show of an episode
GrandparentKey string `json:"grandparentKey,omitempty,omitzero"`
// GrandparentTitle The `title` of the grandparent of the item played
GrandparentTitle string `json:"grandparentTitle,omitempty,omitzero"`
// HistoryKey The key for this individual history item
HistoryKey string `json:"historyKey,omitempty,omitzero"`
// Index The episode number for episodes, the season number for seasons, or the track number for audio tracks
Index int `json:"index,omitempty,omitzero"`
// Key The metadata key for the item played
Key string `json:"key,omitempty,omitzero"`
// LibrarySectionID The library section id containing the item played
LibrarySectionID string `json:"librarySectionID,omitempty,omitzero"`
// OriginallyAvailableAt The originally available at of the item played
OriginallyAvailableAt string `json:"originallyAvailableAt,omitempty,omitzero"`
// ParentIndex The `index` of the parent of the item played
ParentIndex int `json:"parentIndex,omitempty,omitzero"`
// ParentKey The `key` of the parent of the item played
ParentKey string `json:"parentKey,omitempty,omitzero"`
// RatingKey The rating key for the item played
RatingKey string `json:"ratingKey,omitempty,omitzero"`
// Thumb The thumb of the item played
Thumb string `json:"thumb,omitempty,omitzero"`
// Title The title of the item played
Title string `json:"title,omitempty,omitzero"`
// Type The metadata type of the item played
Type string `json:"type,omitempty,omitzero"`
// ViewedAt The time when the item was played
ViewedAt int `json:"viewedAt,omitempty,omitzero"`
} `json:"Metadata,omitempty,omitzero"`
Identifier string `json:"identifier,omitempty,omitzero"`
// Offset The offset of where this container page starts among the total objects available. Also provided in the X-Plex-Container-Start header
Offset int `json:"offset,omitempty,omitzero"`
Size int `json:"size,omitempty,omitzero"`
// TotalSize The total size of objects available. Also provided in the X-Plex-Container-Total-Size header
TotalSize int `json:"totalSize,omitempty,omitzero"`
AdditionalProperties map[string]interface{} `json:"-"`
}
StatusGetHistoryAll200JSONResponseBody_MediaContainer defines parameters for StatusGetHistoryAll.
func (StatusGetHistoryAll200JSONResponseBody_MediaContainer) Get ¶
func (a StatusGetHistoryAll200JSONResponseBody_MediaContainer) Get(fieldName string) (value interface{}, found bool)
Getter for additional properties for StatusGetHistoryAll200JSONResponseBody_MediaContainer. Returns the specified element and whether it was found
func (StatusGetHistoryAll200JSONResponseBody_MediaContainer) MarshalJSON ¶
func (a StatusGetHistoryAll200JSONResponseBody_MediaContainer) MarshalJSON() ([]byte, error)
Override default JSON handling for StatusGetHistoryAll200JSONResponseBody_MediaContainer to handle AdditionalProperties
func (*StatusGetHistoryAll200JSONResponseBody_MediaContainer) Set ¶
func (a *StatusGetHistoryAll200JSONResponseBody_MediaContainer) Set(fieldName string, value interface{})
Setter for additional properties for StatusGetHistoryAll200JSONResponseBody_MediaContainer
func (*StatusGetHistoryAll200JSONResponseBody_MediaContainer) UnmarshalJSON ¶
func (a *StatusGetHistoryAll200JSONResponseBody_MediaContainer) UnmarshalJSON(b []byte) error
Override default JSON handling for StatusGetHistoryAll200JSONResponseBody_MediaContainer to handle AdditionalProperties
type StatusGetHistoryAllParams ¶
type StatusGetHistoryAllParams struct {
// AccountID The account id to restrict view history
AccountID int `form:"accountID,omitempty" json:"accountID,omitempty,omitzero"`
// ViewedAt The time period to restrict history (typically of the form `viewedAt>=12456789`)
ViewedAt int `form:"viewedAt,omitempty" json:"viewedAt,omitempty,omitzero"`
// LibrarySectionID The library section id to restrict view history
LibrarySectionID int `form:"librarySectionID,omitempty" json:"librarySectionID,omitempty,omitzero"`
// MetadataItemID The metadata item to restrict view history (can provide the id for a show to see all of that show's view history). Note this is translated to `metadata_items.id`, `parents.id`, or `grandparents.id` internally depending on the metadata type.
MetadataItemID int `form:"metadataItemID,omitempty" json:"metadataItemID,omitempty,omitzero"`
// Sort The field on which to sort. Multiple orderings can be specified separated by `,` and the direction specified following a `:` (`desc` or `asc`; `asc` is assumed if not provided). Note `metadataItemID` may not be used here.
Sort []string `form:"sort,omitempty" json:"sort,omitempty,omitzero"`
}
StatusGetHistoryAllParams defines parameters for StatusGetHistoryAll.
type StatusGetHistoryAllResponse ¶
type StatusGetHistoryAllResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *struct {
MediaContainer StatusGetHistoryAll200JSONResponseBody_MediaContainer `json:"MediaContainer,omitempty,omitzero"`
}
// Headers200 the parsed response headers for an HTTP 200 response
Headers200 *StatusGetHistoryAllResponse200Headers
}
func ParseStatusGetHistoryAllResponse ¶
func ParseStatusGetHistoryAllResponse(rsp *http.Response) (*StatusGetHistoryAllResponse, error)
ParseStatusGetHistoryAllResponse parses an HTTP response from a StatusGetHistoryAllWithResponse call
func (StatusGetHistoryAllResponse) ContentType ¶
func (r StatusGetHistoryAllResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (StatusGetHistoryAllResponse) GetBody ¶
func (r StatusGetHistoryAllResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (StatusGetHistoryAllResponse) GetJSON200 ¶
func (r StatusGetHistoryAllResponse) GetJSON200() *struct { MediaContainer StatusGetHistoryAll200JSONResponseBody_MediaContainer `json:"MediaContainer,omitempty,omitzero"` }
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (StatusGetHistoryAllResponse) Status ¶
func (r StatusGetHistoryAllResponse) Status() string
Status returns HTTPResponse.Status
func (StatusGetHistoryAllResponse) StatusCode ¶
func (r StatusGetHistoryAllResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type StatusGetHistoryAllResponse200Headers ¶
type StatusGetHistoryAllResponse200Headers struct {
XPlexContainerStart int
XPlexContainerTotalSize int
}
StatusGetHistoryAllResponse200Headers the declared response headers of an HTTP 200 response for StatusGetHistoryAll
type StatusGetHistoryResponse ¶
type StatusGetHistoryResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *HistoryAllGetResponses200
// Headers200 the parsed response headers for an HTTP 200 response
Headers200 *StatusGetHistoryResponse200Headers
}
func ParseStatusGetHistoryResponse ¶
func ParseStatusGetHistoryResponse(rsp *http.Response) (*StatusGetHistoryResponse, error)
ParseStatusGetHistoryResponse parses an HTTP response from a StatusGetHistoryWithResponse call
func (StatusGetHistoryResponse) ContentType ¶
func (r StatusGetHistoryResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (StatusGetHistoryResponse) GetBody ¶
func (r StatusGetHistoryResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (StatusGetHistoryResponse) GetJSON200 ¶
func (r StatusGetHistoryResponse) GetJSON200() *HistoryAllGetResponses200
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (StatusGetHistoryResponse) Status ¶
func (r StatusGetHistoryResponse) Status() string
Status returns HTTPResponse.Status
func (StatusGetHistoryResponse) StatusCode ¶
func (r StatusGetHistoryResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type StatusGetHistoryResponse200Headers ¶
type StatusGetHistoryResponse200Headers struct {
XPlexContainerStart int
XPlexContainerTotalSize int
}
StatusGetHistoryResponse200Headers the declared response headers of an HTTP 200 response for StatusGetHistory
type StatusGetSlash200JSONResponseBodyMediaContainerMetadataSessionLocation ¶
type StatusGetSlash200JSONResponseBodyMediaContainerMetadataSessionLocation string
StatusGetSlash200JSONResponseBodyMediaContainerMetadataSessionLocation defines parameters for StatusGetSlash.
const ( StatusGetSlash200JSONResponseBodyMediaContainerMetadataSessionLocationLan StatusGetSlash200JSONResponseBodyMediaContainerMetadataSessionLocation = "lan" StatusGetSlash200JSONResponseBodyMediaContainerMetadataSessionLocationWan StatusGetSlash200JSONResponseBodyMediaContainerMetadataSessionLocation = "wan" )
Defines values for StatusGetSlash200JSONResponseBodyMediaContainerMetadataSessionLocation.
type StatusGetSlash200JSONResponseBody_MediaContainer ¶
type StatusGetSlash200JSONResponseBody_MediaContainer struct {
Metadata []StatusGetSlash200JSONResponseBody_MediaContainer_Metadata_Item `json:"Metadata,omitempty,omitzero"`
Identifier string `json:"identifier,omitempty,omitzero"`
// Offset The offset of where this container page starts among the total objects available. Also provided in the X-Plex-Container-Start header
Offset int `json:"offset,omitempty,omitzero"`
Size int `json:"size,omitempty,omitzero"`
// TotalSize The total size of objects available. Also provided in the X-Plex-Container-Total-Size header
TotalSize int `json:"totalSize,omitempty,omitzero"`
AdditionalProperties map[string]interface{} `json:"-"`
}
StatusGetSlash200JSONResponseBody_MediaContainer defines parameters for StatusGetSlash.
func (StatusGetSlash200JSONResponseBody_MediaContainer) Get ¶
func (a StatusGetSlash200JSONResponseBody_MediaContainer) Get(fieldName string) (value interface{}, found bool)
Getter for additional properties for StatusGetSlash200JSONResponseBody_MediaContainer. Returns the specified element and whether it was found
func (StatusGetSlash200JSONResponseBody_MediaContainer) MarshalJSON ¶
func (a StatusGetSlash200JSONResponseBody_MediaContainer) MarshalJSON() ([]byte, error)
Override default JSON handling for StatusGetSlash200JSONResponseBody_MediaContainer to handle AdditionalProperties
func (*StatusGetSlash200JSONResponseBody_MediaContainer) Set ¶
func (a *StatusGetSlash200JSONResponseBody_MediaContainer) Set(fieldName string, value interface{})
Setter for additional properties for StatusGetSlash200JSONResponseBody_MediaContainer
func (*StatusGetSlash200JSONResponseBody_MediaContainer) UnmarshalJSON ¶
func (a *StatusGetSlash200JSONResponseBody_MediaContainer) UnmarshalJSON(b []byte) error
Override default JSON handling for StatusGetSlash200JSONResponseBody_MediaContainer to handle AdditionalProperties
type StatusGetSlash200JSONResponseBody_MediaContainer_Metadata_Item ¶
type StatusGetSlash200JSONResponseBody_MediaContainer_Metadata_Item struct {
Autotag []Tag `json:"Autotag,omitempty,omitzero"`
Country []Tag `json:"Country,omitempty,omitzero"`
Director []Tag `json:"Director,omitempty,omitzero"`
// Filter Typically only seen in metadata at a library's top level
Filter []Filter `json:"Filter,omitempty,omitzero"`
Genre []Tag `json:"Genre,omitempty,omitzero"`
GUID []GUID `json:"Guid,omitempty,omitzero"`
Image []Image `json:"Image,omitempty,omitzero"`
Media []Media `json:"Media,omitempty,omitzero"`
// Player Info about the player being used
Player struct {
// Address The remote address
Address string `json:"address,omitempty,omitzero"`
// Local Indicating if the client is playing from the local LAN
Local bool `json:"local,omitempty,omitzero"`
// MachineIdentifier The identifier of the client
MachineIdentifier string `json:"machineIdentifier,omitempty,omitzero"`
// Model The model of the client
Model string `json:"model,omitempty,omitzero"`
// Platform The platform of the client
Platform string `json:"platform,omitempty,omitzero"`
// PlatformVersion The platformVersion of the client
PlatformVersion string `json:"platformVersion,omitempty,omitzero"`
// Product The product name of the client
Product string `json:"product,omitempty,omitzero"`
// Relayed Indicating if the client is playing over a relay connection
Relayed bool `json:"relayed,omitempty,omitzero"`
// RemotePublicAddress The client's public address
RemotePublicAddress string `json:"remotePublicAddress,omitempty,omitzero"`
// Secure Indicating if the client is playing over HTTPS
Secure bool `json:"secure,omitempty,omitzero"`
// State The client's last reported state
State string `json:"state,omitempty,omitzero"`
// Title The title of the client
Title string `json:"title,omitempty,omitzero"`
// UserID The id of the user
UserID int `json:"userID,omitempty,omitzero"`
// Vendor The vendor of the client
Vendor string `json:"vendor,omitempty,omitzero"`
// Version The version of the client
Version string `json:"version,omitempty,omitzero"`
} `json:"Player,omitempty,omitzero"`
Ratings []Tag `json:"Rating,omitempty,omitzero"`
Role []Tag `json:"Role,omitempty,omitzero"`
// Session Info about the playback session
Session struct {
// Bandwidth The bandwidth used by this client's playback in kbps
Bandwidth int `json:"bandwidth,omitempty,omitzero"`
// ID The id of the playback session
ID string `json:"id,omitempty,omitzero"`
// Location The location of the client
Location StatusGetSlash200JSONResponseBodyMediaContainerMetadataSessionLocation `json:"location,omitempty,omitzero"`
} `json:"Session,omitempty,omitzero"`
// Sort Typically only seen in metadata at a library's top level
Sort []Sort `json:"Sort,omitempty,omitzero"`
// User The user playing the content
User struct {
// ID The id of the user
ID string `json:"id,omitempty,omitzero"`
// Thumb Thumb image to display for the user
Thumb string `json:"thumb,omitempty,omitzero"`
// Title The username
Title string `json:"title,omitempty,omitzero"`
} `json:"User,omitempty,omitzero"`
Writer []Tag `json:"Writer,omitempty,omitzero"`
// AbsoluteIndex When present, contains the disc number for a track on multi-disc albums.
AbsoluteIndex int `json:"absoluteIndex,omitempty,omitzero"`
// AddedAt In units of seconds since the epoch, returns the time at which the item was added to the library.
AddedAt int `json:"addedAt,omitempty,omitzero"`
// Art When present, the URL for the background artwork for the item.
Art interface{} `json:"art,omitempty,omitzero"`
// AudienceRating Some rating systems separate reviewer ratings from audience ratings
AudienceRating float32 `json:"audienceRating,omitempty,omitzero"`
// AudienceRatingImage A URI representing the image to be shown with the audience rating (e.g. rottentomatoes://image.rating.spilled).
AudienceRatingImage interface{} `json:"audienceRatingImage,omitempty,omitzero"`
// Banner When present, the URL for a banner graphic for the item.
Banner interface{} `json:"banner,omitempty,omitzero"`
// ChapterSource When present, indicates the source for the chapters in the media file. Can be media (the chapters were embedded in the media itself), agent (a metadata agent computed them), or mixed (a combination of the two).
ChapterSource interface{} `json:"chapterSource,omitempty,omitzero"`
// ChildCount The number of direct children, e.g. seasons of a show or items in a collection.
ChildCount int `json:"childCount,omitempty,omitzero"`
// Composite When present, the URL for a composite image for descendent items (e.g. photo albums or playlists).
Composite interface{} `json:"composite,omitempty,omitzero"`
// ContentRating If known, the content rating (e.g. MPAA) for an item.
ContentRating interface{} `json:"contentRating,omitempty,omitzero"`
// Duration When present, the duration for the item, in units of milliseconds.
Duration int `json:"duration,omitempty,omitzero"`
// GrandparentArt The `art` of the grandparent
GrandparentArt string `json:"grandparentArt,omitempty,omitzero"`
// GrandparentHero The `hero` of the grandparent
GrandparentHero string `json:"grandparentHero,omitempty,omitzero"`
// GrandparentKey The `key` of the grandparent
GrandparentKey string `json:"grandparentKey,omitempty,omitzero"`
// GrandparentRatingKey The `ratingKey` of the grandparent
GrandparentRatingKey string `json:"grandparentRatingKey,omitempty,omitzero"`
// GrandparentTheme The `theme` of the grandparent
GrandparentTheme string `json:"grandparentTheme,omitempty,omitzero"`
// GrandparentThumb The `thumb` of the grandparent
GrandparentThumb string `json:"grandparentThumb,omitempty,omitzero"`
// GrandparentTitle The `title` of the grandparent
GrandparentTitle string `json:"grandparentTitle,omitempty,omitzero"`
// PlexGUID The Plex GUID of the item itself, e.g. "plex://movie/5d7769a023d5a3001f4fa465".
PlexGUID string `json:"guid,omitempty,omitzero"`
// Hero When present, the URL for a hero image for the item.
Hero interface{} `json:"hero,omitempty,omitzero"`
// Index When present, this represents the episode number for episodes, season number for seasons, or track number for audio tracks.
Index int `json:"index,omitempty,omitzero"`
// Key The key at which the item's details can be fetched. In many cases a metadata item may be passed without all the details (such as in a hub) and this key corresponds to the endpoint to fetch additional details.
Key interface{} `json:"key,omitempty,omitzero"`
// LastViewedAt When a user has watched or listened to an item, this contains a timestamp (epoch seconds) for that last consumption time.
LastViewedAt int `json:"lastViewedAt,omitempty,omitzero"`
// LeafCount For shows and seasons, contains the number of total episodes.
LeafCount int `json:"leafCount,omitempty,omitzero"`
// OriginalTitle When present, used to indicate an item's original title, e.g. a movie's foreign title.
OriginalTitle interface{} `json:"originalTitle,omitempty,omitzero"`
// OriginallyAvailableAt When present, in the format YYYY-MM-DD [HH:MM:SS] (the hours/minutes/seconds part is not always present). The air date, or a higher resolution release date for an item, depending on type. For example, episodes usually have air date like 1979-08-10 (we don't use epoch seconds because media existed prior to 1970). In some cases, recorded over-the-air content has higher resolution air date which includes a time component. Albums and movies may have day-resolution release dates as well.
OriginallyAvailableAt interface{} `json:"originallyAvailableAt,omitempty,omitzero"`
// ParentHero The `hero` of the parent
ParentHero string `json:"parentHero,omitempty,omitzero"`
// ParentIndex The `index` of the parent
ParentIndex int `json:"parentIndex,omitempty,omitzero"`
// ParentKey The `key` of the parent
ParentKey string `json:"parentKey,omitempty,omitzero"`
// ParentRatingKey The `ratingKey` of the parent
ParentRatingKey string `json:"parentRatingKey,omitempty,omitzero"`
// ParentThumb The `thumb` of the parent
ParentThumb string `json:"parentThumb,omitempty,omitzero"`
// ParentTitle The `title` of the parent
ParentTitle string `json:"parentTitle,omitempty,omitzero"`
// PrimaryExtraKey Indicates that the item has a primary extra; for a movie, this is a trailer, and for a music track it is a music video. The URL points to the metadata details endpoint for the item.
PrimaryExtraKey interface{} `json:"primaryExtraKey,omitempty,omitzero"`
// Prompt Prompt to give the user for this directory (such as `Search Movies`)
Prompt string `json:"prompt,omitempty,omitzero"`
// Rating When present, the rating for the item. The exact meaning and representation depends on where the rating was sourced from.
Rating float32 `json:"rating,omitempty,omitzero"`
// RatingCount Number of ratings under this metadata
RatingCount int `json:"ratingCount,omitempty,omitzero"`
// RatingImage When present, indicates an image to be shown with the rating. This is passed back as a small set of defined URI values, e.g. rottentomatoes://image.rating.rotten.
RatingImage interface{} `json:"ratingImage,omitempty,omitzero"`
// RatingKey This is the opaque string to be passed into timeline, scrobble, and rating endpoints to identify them. While it often appears to be numeric, this is not guaranteed.
RatingKey interface{} `json:"ratingKey,omitempty,omitzero"`
// Search Indicates this is a search directory
Search bool `json:"search,omitempty,omitzero"`
// Secondary Used by old clients to provide nested menus allowing for primative (but structured) navigation.
Secondary bool `json:"secondary,omitempty,omitzero"`
// SkipChildren When found on a show item, indicates that the children (seasons) should be skipped in favor of the grandchildren (episodes). Useful for mini-series, etc.
SkipChildren bool `json:"skipChildren,omitempty,omitzero"`
// SkipParent When present on an episode or track item, indicates parent should be skipped in favor of grandparent (show).
SkipParent bool `json:"skipParent,omitempty,omitzero"`
// Studio When present, the studio or label which produced an item (e.g. movie studio for movies, record label for albums).
Studio interface{} `json:"studio,omitempty,omitzero"`
// Subtype The subtype of the video item, such as `photo` when the video item is in a photo library
Subtype interface{} `json:"subtype,omitempty,omitzero"`
// Summary When present, the extended textual information about the item (e.g. movie plot, artist biography, album review).
Summary interface{} `json:"summary,omitempty,omitzero"`
// Tagline When present, a pithy one-liner about the item (usually only seen for movies).
Tagline interface{} `json:"tagline,omitempty,omitzero"`
// Theme When present, the URL for theme music for the item (usually only for TV shows).
Theme interface{} `json:"theme,omitempty,omitzero"`
// Thumb When present, the URL for the poster or thumbnail for the item. When available for types like movie, it will be the poster graphic, but fall-back to the extracted media thumbnail.
Thumb interface{} `json:"thumb,omitempty,omitzero"`
// Title The title of the item (e.g. “300” or “The Simpsons”)
Title interface{} `json:"title,omitempty,omitzero"`
// TitleSort Whene present, this is the string used for sorting the item. It's usually the title with any leading articles removed (e.g. “Simpsons”).
TitleSort interface{} `json:"titleSort,omitempty,omitzero"`
// Type The type of the video item, such as `movie`, `episode`, or `clip`.
Type interface{} `json:"type,omitempty,omitzero"`
// UpdatedAt In units of seconds since the epoch, returns the time at which the item was last changed (e.g. had its metadata updated).
UpdatedAt int `json:"updatedAt,omitempty,omitzero"`
// UserRating When the user has rated an item, this contains the user rating
UserRating float32 `json:"userRating,omitempty,omitzero"`
// ViewCount When a users has completed watched or listened to an item, this attribute contains the number of consumptions.
ViewCount int `json:"viewCount,omitempty,omitzero"`
// ViewOffset When a user is in the process of viewing or listening to this item, this attribute contains the current offset, in units of milliseconds.
ViewOffset int `json:"viewOffset,omitempty,omitzero"`
// ViewedLeafCount For shows and seasons, contains the number of viewed episodes.
ViewedLeafCount int `json:"viewedLeafCount,omitempty,omitzero"`
// Year When present, the year associated with the item's release (e.g. release year for a movie).
Year int `json:"year,omitempty,omitzero"`
AdditionalProperties map[string]interface{} `json:"-"`
}
StatusGetSlash200JSONResponseBody_MediaContainer_Metadata_Item defines parameters for StatusGetSlash.
func (StatusGetSlash200JSONResponseBody_MediaContainer_Metadata_Item) Get ¶
func (a StatusGetSlash200JSONResponseBody_MediaContainer_Metadata_Item) Get(fieldName string) (value interface{}, found bool)
Getter for additional properties for StatusGetSlash200JSONResponseBody_MediaContainer_Metadata_Item. Returns the specified element and whether it was found
func (StatusGetSlash200JSONResponseBody_MediaContainer_Metadata_Item) MarshalJSON ¶
func (a StatusGetSlash200JSONResponseBody_MediaContainer_Metadata_Item) MarshalJSON() ([]byte, error)
Override default JSON handling for StatusGetSlash200JSONResponseBody_MediaContainer_Metadata_Item to handle AdditionalProperties
func (*StatusGetSlash200JSONResponseBody_MediaContainer_Metadata_Item) Set ¶
func (a *StatusGetSlash200JSONResponseBody_MediaContainer_Metadata_Item) Set(fieldName string, value interface{})
Setter for additional properties for StatusGetSlash200JSONResponseBody_MediaContainer_Metadata_Item
func (*StatusGetSlash200JSONResponseBody_MediaContainer_Metadata_Item) UnmarshalJSON ¶
func (a *StatusGetSlash200JSONResponseBody_MediaContainer_Metadata_Item) UnmarshalJSON(b []byte) error
Override default JSON handling for StatusGetSlash200JSONResponseBody_MediaContainer_Metadata_Item to handle AdditionalProperties
type StatusGetSlashResponse ¶
type StatusGetSlashResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *struct {
MediaContainer StatusGetSlash200JSONResponseBody_MediaContainer `json:"MediaContainer,omitempty,omitzero"`
}
// Headers200 the parsed response headers for an HTTP 200 response
Headers200 *StatusGetSlashResponse200Headers
}
func ParseStatusGetSlashResponse ¶
func ParseStatusGetSlashResponse(rsp *http.Response) (*StatusGetSlashResponse, error)
ParseStatusGetSlashResponse parses an HTTP response from a StatusGetSlashWithResponse call
func (StatusGetSlashResponse) ContentType ¶
func (r StatusGetSlashResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (StatusGetSlashResponse) GetBody ¶
func (r StatusGetSlashResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (StatusGetSlashResponse) GetJSON200 ¶
func (r StatusGetSlashResponse) GetJSON200() *struct { MediaContainer StatusGetSlash200JSONResponseBody_MediaContainer `json:"MediaContainer,omitempty,omitzero"` }
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (StatusGetSlashResponse) Status ¶
func (r StatusGetSlashResponse) Status() string
Status returns HTTPResponse.Status
func (StatusGetSlashResponse) StatusCode ¶
func (r StatusGetSlashResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type StatusGetSlashResponse200Headers ¶
type StatusGetSlashResponse200Headers struct {
XPlexContainerStart int
XPlexContainerTotalSize int
}
StatusGetSlashResponse200Headers the declared response headers of an HTTP 200 response for StatusGetSlash
type StatusPostTerminateParams ¶
type StatusPostTerminateParams struct {
// SessionID The session id (found in the `Session` element in [/status/sessions](#tag/Status/operation/statusGetSlash))
SessionID string `form:"sessionId" json:"sessionId"`
// Reason The reason to give to the user (typically displayed in the client)
Reason string `form:"reason,omitempty" json:"reason,omitempty,omitzero"`
}
StatusPostTerminateParams defines parameters for StatusPostTerminate.
type StatusPostTerminateResponse ¶
func ParseStatusPostTerminateResponse ¶
func ParseStatusPostTerminateResponse(rsp *http.Response) (*StatusPostTerminateResponse, error)
ParseStatusPostTerminateResponse parses an HTTP response from a StatusPostTerminateWithResponse call
func (StatusPostTerminateResponse) ContentType ¶
func (r StatusPostTerminateResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (StatusPostTerminateResponse) GetBody ¶
func (r StatusPostTerminateResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (StatusPostTerminateResponse) Status ¶
func (r StatusPostTerminateResponse) Status() string
Status returns HTTPResponse.Status
func (StatusPostTerminateResponse) StatusCode ¶
func (r StatusPostTerminateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type Stream ¶
type Stream struct {
AudioChannelLayout interface{} `json:"audioChannelLayout,omitempty,omitzero"`
BitDepth int `json:"bitDepth,omitempty,omitzero"`
Bitrate int `json:"bitrate,omitempty,omitzero"`
// CanAutoSync For subtitle streams only. If `true` then the server can attempt to automatically sync the subtitle timestamps with the video.
CanAutoSync bool `json:"canAutoSync,omitempty,omitzero"`
// CanNormalizeLoudness For audio streams only. If `true` then the server can attempt to normalize the loudness levels.
CanNormalizeLoudness bool `json:"canNormalizeLoudness,omitempty,omitzero"`
ChromaLocation interface{} `json:"chromaLocation,omitempty,omitzero"`
ChromaSubsampling interface{} `json:"chromaSubsampling,omitempty,omitzero"`
// Codec The codec of the stream, such as `h264` or `aac`
Codec interface{} `json:"codec,omitempty,omitzero"`
ColorPrimaries interface{} `json:"colorPrimaries,omitempty,omitzero"`
ColorRange interface{} `json:"colorRange,omitempty,omitzero"`
ColorSpace interface{} `json:"colorSpace,omitempty,omitzero"`
ColorTrc interface{} `json:"colorTrc,omitempty,omitzero"`
Default bool `json:"default,omitempty,omitzero"`
// DisplayTitle A friendly name for the stream, often comprised of the language and codec information
DisplayTitle interface{} `json:"displayTitle,omitempty,omitzero"`
FrameRate float32 `json:"frameRate,omitempty,omitzero"`
HasScalingMatrix interface{} `json:"hasScalingMatrix,omitempty,omitzero"`
Height int `json:"height,omitempty,omitzero"`
ID int `json:"id,omitempty,omitzero"`
// Index If the stream is part of the `Part` and not an external resource, the index of the stream within that part
Index int `json:"index,omitempty,omitzero"`
// Key If the stream is independently streamable, the key from which it can be streamed
Key interface{} `json:"key,omitempty,omitzero"`
Language interface{} `json:"language,omitempty,omitzero"`
// LanguageCode The three character language code for the stream contents
LanguageCode interface{} `json:"languageCode,omitempty,omitzero"`
Level int `json:"level,omitempty,omitzero"`
Profile interface{} `json:"profile,omitempty,omitzero"`
RefFrames int `json:"refFrames,omitempty,omitzero"`
SamplingRate int `json:"samplingRate,omitempty,omitzero"`
Selected bool `json:"selected,omitempty,omitzero"`
StreamIdentifier int `json:"streamIdentifier,omitempty,omitzero"`
// StreamType A number indicating the type of the stream. `1` for video, `2` for audio, `3` for subtitles, `4` for lyrics
StreamType int `json:"streamType,omitempty,omitzero"`
Width int `json:"width,omitempty,omitzero"`
AdditionalProperties map[string]interface{} `json:"-"`
}
Stream `Stream` represents a particular stream from a media item, such as the video stream, audio stream, or subtitle stream. The stream may either be part of the file represented by the parent `Part` or, especially for subtitles, an external file. The stream contains more detailed information about the specific stream. For example, a video may include the `aspectRatio` at the `Media` level, but detailed information about the video stream like the color space will be included on the `Stream` for the video stream. Note that photos do not have streams (mostly as an optimization).
func (Stream) Get ¶
Getter for additional properties for Stream. Returns the specified element and whether it was found
func (Stream) MarshalJSON ¶
Override default JSON handling for Stream to handle AdditionalProperties
func (*Stream) UnmarshalJSON ¶
Override default JSON handling for Stream to handle AdditionalProperties
type SubtitlesParam ¶
type SubtitlesParam string
SubtitlesParam defines model for 26.
const ( SubtitlesParamAuto SubtitlesParam = "auto" SubtitlesParamBurn SubtitlesParam = "burn" SubtitlesParamEmbedded SubtitlesParam = "embedded" SubtitlesParamNone SubtitlesParam = "none" SubtitlesParamSegmented SubtitlesParam = "segmented" SubtitlesParamSidecar SubtitlesParam = "sidecar" SubtitlesParamUnknown SubtitlesParam = "unknown" )
Defines values for SubtitlesParam.
func (SubtitlesParam) Valid ¶
func (e SubtitlesParam) Valid() bool
Valid indicates whether the value is a known member of the SubtitlesParam enum.
type Tag ¶
type Tag struct {
// Confidence Measure of the confidence of an automatic tag
Confidence float32 `json:"confidence,omitempty,omitzero"`
Context string `json:"context,omitempty,omitzero"`
// Filter A filter parameter that can be used to query for more content that matches this tag value.
Filter interface{} `json:"filter,omitempty,omitzero"`
ID int `json:"id,omitempty,omitzero"`
RatingKey string `json:"ratingKey,omitempty,omitzero"`
// Role The role this actor played
Role interface{} `json:"role,omitempty,omitzero"`
// Tag The value of the tag (the name)
Tag interface{} `json:"tag,omitempty,omitzero"`
// TagKey Plex identifier for this tag which can be used to fetch additional information from plex.tv
TagKey interface{} `json:"tagKey,omitempty,omitzero"`
TagType int `json:"tagType,omitempty,omitzero"`
Thumb interface{} `json:"thumb,omitempty,omitzero"`
}
Tag A variety of extra information about a metadata item is included as tags. These tags use their own element names such as `Genre`, `Writer`, `Directory`, and `Role`. Individual tag types may introduce their own extra attributes.
type TimelinePostSlashParams ¶
type TimelinePostSlashParams struct {
// Key The details key for the item.
Key string `form:"key,omitempty" json:"key,omitempty,omitzero"`
// RatingKey The rating key attribute for the item.
RatingKey string `form:"ratingKey,omitempty" json:"ratingKey,omitempty,omitzero"`
// State The current state of the media.
State TimelinePostSlashParamsState `form:"state,omitempty" json:"state,omitempty,omitzero"`
// PlayQueueItemID If playing media from a play queue, the play queue's ID.
PlayQueueItemID string `form:"playQueueItemID,omitempty" json:"playQueueItemID,omitempty,omitzero"`
// Time The current time offset of playback in ms.
Time int `form:"time,omitempty" json:"time,omitempty,omitzero"`
// Duration The total duration of the item in ms.
Duration int `form:"duration,omitempty" json:"duration,omitempty,omitzero"`
// Continuing When state is `stopped`, a flag indicating whether or not the client is going to continue playing anothe item.
Continuing TimelinePostSlashParamsContinuing `form:"continuing,omitempty" json:"continuing,omitempty,omitzero"`
// Updated Used when a sync client comes online and is syncing media timelines, holds the time at which the playback state was last updated.
Updated int `form:"updated,omitempty" json:"updated,omitempty,omitzero"`
// Offline Also used by sync clients, used to indicate that a timeline is being synced from being offline, as opposed to being "live".
Offline TimelinePostSlashParamsOffline `form:"offline,omitempty" json:"offline,omitempty,omitzero"`
// TimeToFirstFrame Time in seconds till first frame is displayed. Sent only on the first playing timeline request.
TimeToFirstFrame int `form:"timeToFirstFrame,omitempty" json:"timeToFirstFrame,omitempty,omitzero"`
// TimeStalled Time in seconds spent buffering since last request.
TimeStalled int `form:"timeStalled,omitempty" json:"timeStalled,omitempty,omitzero"`
// Bandwidth Bandwidth in kbps as estimated by the client.
Bandwidth int `form:"bandwidth,omitempty" json:"bandwidth,omitempty,omitzero"`
// BufferedTime Amount of time in seconds buffered by client. Omit if computed by `bufferedSize` below.
BufferedTime int `form:"bufferedTime,omitempty" json:"bufferedTime,omitempty,omitzero"`
// BufferedSize Size in kilobytes of data buffered by client. Omit if computed by `bufferedTime` above
BufferedSize int `form:"bufferedSize,omitempty" json:"bufferedSize,omitempty,omitzero"`
// XPlexClientIdentifier Unique per client.
XPlexClientIdentifier string `json:"X-Plex-Client-Identifier"`
// XPlexSessionIdentifier Unique per client playback session. Used if a client can playback multiple items at a time (such as a browser with multiple tabs)
XPlexSessionIdentifier string `json:"X-Plex-Session-Identifier,omitempty,omitzero"`
}
TimelinePostSlashParams defines parameters for TimelinePostSlash.
type TimelinePostSlashParamsContinuing ¶
type TimelinePostSlashParamsContinuing int
TimelinePostSlashParamsContinuing defines parameters for TimelinePostSlash.
const ( TimelinePostSlashParamsContinuingN0 TimelinePostSlashParamsContinuing = 0 TimelinePostSlashParamsContinuingN1 TimelinePostSlashParamsContinuing = 1 )
Defines values for TimelinePostSlashParamsContinuing.
func (TimelinePostSlashParamsContinuing) Valid ¶
func (e TimelinePostSlashParamsContinuing) Valid() bool
Valid indicates whether the value is a known member of the TimelinePostSlashParamsContinuing enum.
type TimelinePostSlashParamsOffline ¶
type TimelinePostSlashParamsOffline int
TimelinePostSlashParamsOffline defines parameters for TimelinePostSlash.
const ( TimelinePostSlashParamsOfflineN0 TimelinePostSlashParamsOffline = 0 TimelinePostSlashParamsOfflineN1 TimelinePostSlashParamsOffline = 1 )
Defines values for TimelinePostSlashParamsOffline.
func (TimelinePostSlashParamsOffline) Valid ¶
func (e TimelinePostSlashParamsOffline) Valid() bool
Valid indicates whether the value is a known member of the TimelinePostSlashParamsOffline enum.
type TimelinePostSlashParamsState ¶
type TimelinePostSlashParamsState string
TimelinePostSlashParamsState defines parameters for TimelinePostSlash.
const ( TimelinePostSlashParamsStateBuffering TimelinePostSlashParamsState = "buffering" TimelinePostSlashParamsStatePaused TimelinePostSlashParamsState = "paused" TimelinePostSlashParamsStatePlaying TimelinePostSlashParamsState = "playing" TimelinePostSlashParamsStateStopped TimelinePostSlashParamsState = "stopped" )
Defines values for TimelinePostSlashParamsState.
func (TimelinePostSlashParamsState) Valid ¶
func (e TimelinePostSlashParamsState) Valid() bool
Valid indicates whether the value is a known member of the TimelinePostSlashParamsState enum.
type TimelinePostSlashResponse ¶
type TimelinePostSlashResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *struct {
MediaContainer struct {
// Bandwidths A list of media times and bandwidths when trascoding is using with auto adjustment of bandwidth
Bandwidths struct {
Bandwidth []struct {
// Bandwidth The bandwidth at this time in kbps
Bandwidth int `json:"bandwidth,omitempty,omitzero"`
// Resolution The user-friendly resolution at this time
Resolution string `json:"resolution,omitempty,omitzero"`
// Time Media playback time where this bandwidth started
Time int `json:"time,omitempty,omitzero"`
} `json:"Bandwidth,omitempty,omitzero"`
} `json:"Bandwidths,omitempty,omitzero"`
AllowCameraUpload bool `json:"allowCameraUpload,omitempty,omitzero"`
AllowChannelAccess bool `json:"allowChannelAccess,omitempty,omitzero"`
AllowMediaDeletion bool `json:"allowMediaDeletion,omitempty,omitzero"`
AllowSharing bool `json:"allowSharing,omitempty,omitzero"`
AllowSync bool `json:"allowSync,omitempty,omitzero"`
AllowTuners bool `json:"allowTuners,omitempty,omitzero"`
BackgroundProcessing bool `json:"backgroundProcessing,omitempty,omitzero"`
Certificate bool `json:"certificate,omitempty,omitzero"`
CompanionProxy bool `json:"companionProxy,omitempty,omitzero"`
CountryCode string `json:"countryCode,omitempty,omitzero"`
Diagnostics string `json:"diagnostics,omitempty,omitzero"`
EventStream bool `json:"eventStream,omitempty,omitzero"`
FriendlyName string `json:"friendlyName,omitempty,omitzero"`
HubSearch bool `json:"hubSearch,omitempty,omitzero"`
Identifier string `json:"identifier,omitempty,omitzero"`
ItemClusters bool `json:"itemClusters,omitempty,omitzero"`
Livetv int `json:"livetv,omitempty,omitzero"`
MachineIdentifier interface{} `json:"machineIdentifier,omitempty,omitzero"`
MediaProviders bool `json:"mediaProviders,omitempty,omitzero"`
Multiuser bool `json:"multiuser,omitempty,omitzero"`
MusicAnalysis int `json:"musicAnalysis,omitempty,omitzero"`
MyPlex bool `json:"myPlex,omitempty,omitzero"`
MyPlexMappingState interface{} `json:"myPlexMappingState,omitempty,omitzero"`
MyPlexSigninState interface{} `json:"myPlexSigninState,omitempty,omitzero"`
MyPlexSubscription bool `json:"myPlexSubscription,omitempty,omitzero"`
MyPlexUsername string `json:"myPlexUsername,omitempty,omitzero"`
OfflineTranscode interface{} `json:"offlineTranscode,omitempty,omitzero"`
// Offset The offset of where this container page starts among the total objects available. Also provided in the X-Plex-Container-Start header
Offset int `json:"offset,omitempty,omitzero"`
// OwnerFeatures A comma-separated list of features which are enabled for the server owner
OwnerFeatures string `json:"ownerFeatures,omitempty,omitzero"`
Platform string `json:"platform,omitempty,omitzero"`
PlatformVersion string `json:"platformVersion,omitempty,omitzero"`
PluginHost bool `json:"pluginHost,omitempty,omitzero"`
PushNotifications bool `json:"pushNotifications,omitempty,omitzero"`
ReadOnlyLibraries bool `json:"readOnlyLibraries,omitempty,omitzero"`
Size int `json:"size,omitempty,omitzero"`
StreamingBrainABRVersion int `json:"streamingBrainABRVersion,omitempty,omitzero"`
StreamingBrainVersion int `json:"streamingBrainVersion,omitempty,omitzero"`
Sync bool `json:"sync,omitempty,omitzero"`
// TerminationCode A code describing why the session was terminated by the server.
TerminationCode int `json:"terminationCode,omitempty,omitzero"`
// TerminationText A user friendly and localized text describing why the session was terminated by the server.
TerminationText string `json:"terminationText,omitempty,omitzero"`
// TotalSize The total size of objects available. Also provided in the X-Plex-Container-Total-Size header
TotalSize int `json:"totalSize,omitempty,omitzero"`
TranscoderActiveVideoSessions int `json:"transcoderActiveVideoSessions,omitempty,omitzero"`
TranscoderAudio bool `json:"transcoderAudio,omitempty,omitzero"`
TranscoderLyrics bool `json:"transcoderLyrics,omitempty,omitzero"`
TranscoderPhoto bool `json:"transcoderPhoto,omitempty,omitzero"`
TranscoderSubtitles bool `json:"transcoderSubtitles,omitempty,omitzero"`
TranscoderVideo bool `json:"transcoderVideo,omitempty,omitzero"`
// TranscoderVideoBitrates The suggested video quality bitrates to present to the user
TranscoderVideoBitrates interface{} `json:"transcoderVideoBitrates,omitempty,omitzero"`
TranscoderVideoQualities string `json:"transcoderVideoQualities,omitempty,omitzero"`
// TranscoderVideoResolutions The suggested video resolutions to the above quality bitrates
TranscoderVideoResolutions interface{} `json:"transcoderVideoResolutions,omitempty,omitzero"`
UpdatedAt int `json:"updatedAt,omitempty,omitzero"`
Updater bool `json:"updater,omitempty,omitzero"`
Version string `json:"version,omitempty,omitzero"`
VoiceSearch bool `json:"voiceSearch,omitempty,omitzero"`
} `json:"MediaContainer,omitempty,omitzero"`
}
}
func ParseTimelinePostSlashResponse ¶
func ParseTimelinePostSlashResponse(rsp *http.Response) (*TimelinePostSlashResponse, error)
ParseTimelinePostSlashResponse parses an HTTP response from a TimelinePostSlashWithResponse call
func (TimelinePostSlashResponse) ContentType ¶
func (r TimelinePostSlashResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (TimelinePostSlashResponse) GetBody ¶
func (r TimelinePostSlashResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (TimelinePostSlashResponse) GetJSON200 ¶
func (r TimelinePostSlashResponse) GetJSON200() *struct { MediaContainer struct { // Bandwidths A list of media times and bandwidths when trascoding is using with auto adjustment of bandwidth Bandwidths struct { Bandwidth []struct { // Bandwidth The bandwidth at this time in kbps Bandwidth int `json:"bandwidth,omitempty,omitzero"` // Resolution The user-friendly resolution at this time Resolution string `json:"resolution,omitempty,omitzero"` // Time Media playback time where this bandwidth started Time int `json:"time,omitempty,omitzero"` } `json:"Bandwidth,omitempty,omitzero"` } `json:"Bandwidths,omitempty,omitzero"` AllowCameraUpload bool `json:"allowCameraUpload,omitempty,omitzero"` AllowChannelAccess bool `json:"allowChannelAccess,omitempty,omitzero"` AllowMediaDeletion bool `json:"allowMediaDeletion,omitempty,omitzero"` AllowSharing bool `json:"allowSharing,omitempty,omitzero"` AllowSync bool `json:"allowSync,omitempty,omitzero"` AllowTuners bool `json:"allowTuners,omitempty,omitzero"` BackgroundProcessing bool `json:"backgroundProcessing,omitempty,omitzero"` Certificate bool `json:"certificate,omitempty,omitzero"` CompanionProxy bool `json:"companionProxy,omitempty,omitzero"` CountryCode string `json:"countryCode,omitempty,omitzero"` Diagnostics string `json:"diagnostics,omitempty,omitzero"` EventStream bool `json:"eventStream,omitempty,omitzero"` FriendlyName string `json:"friendlyName,omitempty,omitzero"` HubSearch bool `json:"hubSearch,omitempty,omitzero"` Identifier string `json:"identifier,omitempty,omitzero"` ItemClusters bool `json:"itemClusters,omitempty,omitzero"` Livetv int `json:"livetv,omitempty,omitzero"` MachineIdentifier interface{} `json:"machineIdentifier,omitempty,omitzero"` MediaProviders bool `json:"mediaProviders,omitempty,omitzero"` Multiuser bool `json:"multiuser,omitempty,omitzero"` MusicAnalysis int `json:"musicAnalysis,omitempty,omitzero"` MyPlex bool `json:"myPlex,omitempty,omitzero"` MyPlexMappingState interface{} `json:"myPlexMappingState,omitempty,omitzero"` MyPlexSigninState interface{} `json:"myPlexSigninState,omitempty,omitzero"` MyPlexSubscription bool `json:"myPlexSubscription,omitempty,omitzero"` MyPlexUsername string `json:"myPlexUsername,omitempty,omitzero"` OfflineTranscode interface{} `json:"offlineTranscode,omitempty,omitzero"` // Offset The offset of where this container page starts among the total objects available. Also provided in the X-Plex-Container-Start header Offset int `json:"offset,omitempty,omitzero"` // OwnerFeatures A comma-separated list of features which are enabled for the server owner OwnerFeatures string `json:"ownerFeatures,omitempty,omitzero"` Platform string `json:"platform,omitempty,omitzero"` PlatformVersion string `json:"platformVersion,omitempty,omitzero"` PluginHost bool `json:"pluginHost,omitempty,omitzero"` PushNotifications bool `json:"pushNotifications,omitempty,omitzero"` ReadOnlyLibraries bool `json:"readOnlyLibraries,omitempty,omitzero"` Size int `json:"size,omitempty,omitzero"` StreamingBrainABRVersion int `json:"streamingBrainABRVersion,omitempty,omitzero"` StreamingBrainVersion int `json:"streamingBrainVersion,omitempty,omitzero"` Sync bool `json:"sync,omitempty,omitzero"` // TerminationCode A code describing why the session was terminated by the server. TerminationCode int `json:"terminationCode,omitempty,omitzero"` // TerminationText A user friendly and localized text describing why the session was terminated by the server. TerminationText string `json:"terminationText,omitempty,omitzero"` // TotalSize The total size of objects available. Also provided in the X-Plex-Container-Total-Size header TotalSize int `json:"totalSize,omitempty,omitzero"` TranscoderActiveVideoSessions int `json:"transcoderActiveVideoSessions,omitempty,omitzero"` TranscoderAudio bool `json:"transcoderAudio,omitempty,omitzero"` TranscoderLyrics bool `json:"transcoderLyrics,omitempty,omitzero"` TranscoderPhoto bool `json:"transcoderPhoto,omitempty,omitzero"` TranscoderSubtitles bool `json:"transcoderSubtitles,omitempty,omitzero"` TranscoderVideo bool `json:"transcoderVideo,omitempty,omitzero"` // TranscoderVideoBitrates The suggested video quality bitrates to present to the user TranscoderVideoBitrates interface{} `json:"transcoderVideoBitrates,omitempty,omitzero"` TranscoderVideoQualities string `json:"transcoderVideoQualities,omitempty,omitzero"` // TranscoderVideoResolutions The suggested video resolutions to the above quality bitrates TranscoderVideoResolutions interface{} `json:"transcoderVideoResolutions,omitempty,omitzero"` UpdatedAt int `json:"updatedAt,omitempty,omitzero"` Updater bool `json:"updater,omitempty,omitzero"` Version string `json:"version,omitempty,omitzero"` VoiceSearch bool `json:"voiceSearch,omitempty,omitzero"` } `json:"MediaContainer,omitempty,omitzero"` }
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (TimelinePostSlashResponse) Status ¶
func (r TimelinePostSlashResponse) Status() string
Status returns HTTPResponse.Status
func (TimelinePostSlashResponse) StatusCode ¶
func (r TimelinePostSlashResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type TranscodeDecisionParams ¶
type TranscodeDecisionParams struct {
// TranscodeSessionID Transcode session UUID
TranscodeSessionID TranscodeSessionID `form:"transcodeSessionId,omitempty" json:"transcodeSessionId,omitempty,omitzero"`
// AdvancedSubtitles Indicates how incompatible advanced subtitles (such as ass/ssa) should be included: * 'burn' - Burn incompatible advanced text subtitles into the video stream * 'text' - Transcode incompatible advanced text subtitles to a compatible text format, even if some markup is lost
AdvancedSubtitles TranscodeDecisionParamsAdvancedSubtitles `form:"advancedSubtitles,omitempty" json:"advancedSubtitles,omitempty,omitzero"`
// AudioBoost Percentage of original audio loudness to use when transcoding (100 is equivalent to original volume, 50 is half, 200 is double, etc)
AudioBoost int `form:"audioBoost,omitempty" json:"audioBoost,omitempty,omitzero"`
// AudioChannelCount Target video number of audio channels.
AudioChannelCount int `form:"audioChannelCount,omitempty" json:"audioChannelCount,omitempty,omitzero"`
// NormalizeLoudness Indicates if the server should normalize the loudness of an audio track based on loudness analysis results.
NormalizeLoudness TranscodeDecisionParamsNormalizeLoudness `form:"normalizeLoudness,omitempty" json:"normalizeLoudness,omitempty,omitzero"`
// BoostDialog Indicates if the server boost the dialog found within an audio track.
BoostDialog TranscodeDecisionParamsBoostDialog `form:"boostDialog,omitempty" json:"boostDialog,omitempty,omitzero"`
// AutoAdjustQuality Indicates the client supports ABR.
AutoAdjustQuality TranscodeDecisionParamsAutoAdjustQuality `form:"autoAdjustQuality,omitempty" json:"autoAdjustQuality,omitempty,omitzero"`
// AutoAdjustSubtitle Indicates if the server should adjust subtitles based on Voice Activity Data.
AutoAdjustSubtitle TranscodeDecisionParamsAutoAdjustSubtitle `form:"autoAdjustSubtitle,omitempty" json:"autoAdjustSubtitle,omitempty,omitzero"`
// DirectPlay Indicates the client supports direct playing the indicated content.
DirectPlay TranscodeDecisionParamsDirectPlay `form:"directPlay,omitempty" json:"directPlay,omitempty,omitzero"`
// DirectStream Indicates the client supports direct streaming the video of the indicated content.
DirectStream TranscodeDecisionParamsDirectStream `form:"directStream,omitempty" json:"directStream,omitempty,omitzero"`
// DirectStreamAudio Indicates the client supports direct streaming the audio of the indicated content.
DirectStreamAudio TranscodeDecisionParamsDirectStreamAudio `form:"directStreamAudio,omitempty" json:"directStreamAudio,omitempty,omitzero"`
// DisableResolutionRotation Indicates if resolution should be adjusted for orientation.
DisableResolutionRotation TranscodeDecisionParamsDisableResolutionRotation `form:"disableResolutionRotation,omitempty" json:"disableResolutionRotation,omitempty,omitzero"`
// HasMDE Ignore client profiles when determining if direct play is possible. Only has an effect when directPlay=1 and both mediaIndex and partIndex are specified and neither are -1
HasMDE TranscodeDecisionParamsHasMDE `form:"hasMDE,omitempty" json:"hasMDE,omitempty,omitzero"`
// Location Network type of the client, can be used to help determine target bitrate.
Location TranscodeDecisionParamsLocation `form:"location,omitempty" json:"location,omitempty,omitzero"`
// MediaBufferSize Buffer size used in playback (in KB). Clients should specify a lower bound if not known exactly. This value could make the difference between transcoding and direct play on bandwidth constrained networks.
MediaBufferSize int `form:"mediaBufferSize,omitempty" json:"mediaBufferSize,omitempty,omitzero"`
// MediaIndex Index of the media to transcode. -1 or not specified indicates let the server choose.
MediaIndex int `form:"mediaIndex,omitempty" json:"mediaIndex,omitempty,omitzero"`
// MusicBitrate Target bitrate for audio only files (in kbps, used to transcode).
MusicBitrate int `form:"musicBitrate,omitempty" json:"musicBitrate,omitempty,omitzero"`
// Offset Offset from the start of the media (in seconds).
Offset float32 `form:"offset,omitempty" json:"offset,omitempty,omitzero"`
// PartIndex Index of the part to transcode. -1 or not specified indicates the server should join parts together in a transcode
PartIndex int `form:"partIndex,omitempty" json:"partIndex,omitempty,omitzero"`
// Path Internal PMS path of the media to transcode.
Path string `form:"path,omitempty" json:"path,omitempty,omitzero"`
// PeakBitrate Maximum bitrate (in kbps) to use in ABR.
PeakBitrate int `form:"peakBitrate,omitempty" json:"peakBitrate,omitempty,omitzero"`
// PhotoResolution Target photo resolution.
PhotoResolution string `form:"photoResolution,omitempty" json:"photoResolution,omitempty,omitzero"`
// Protocol Indicates the network streaming protocol to be used for the transcode session: * 'http' - include the file in the http response such as MKV streaming * 'hls' - hls stream (RFC 8216) * 'dash' - dash stream (ISO/IEC 23009-1:2022)
Protocol TranscodeDecisionParamsProtocol `form:"protocol,omitempty" json:"protocol,omitempty,omitzero"`
// SecondsPerSegment Number of seconds to include in each transcoded segment
SecondsPerSegment int `form:"secondsPerSegment,omitempty" json:"secondsPerSegment,omitempty,omitzero"`
// SubtitleSize Percentage of original subtitle size to use when burning subtitles (100 is equivalent to original size, 50 is half, ect)
SubtitleSize int `form:"subtitleSize,omitempty" json:"subtitleSize,omitempty,omitzero"`
// Subtitles Indicates how subtitles should be included: * 'auto' - Compute the appropriate subtitle setting automatically * 'burn' - Burn the selected subtitle; auto if no selected subtitle * 'none' - Ignore all subtitle streams * 'sidecar' - The selected subtitle should be provided as a sidecar * 'embedded' - The selected subtitle should be provided as an embedded stream * 'segmented' - The selected subtitle should be provided as a segmented stream
Subtitles TranscodeDecisionParamsSubtitles `form:"subtitles,omitempty" json:"subtitles,omitempty,omitzero"`
// VideoBitrate Target video bitrate (in kbps).
VideoBitrate int `form:"videoBitrate,omitempty" json:"videoBitrate,omitempty,omitzero"`
// VideoQuality Target photo quality.
VideoQuality int `form:"videoQuality,omitempty" json:"videoQuality,omitempty,omitzero"`
// VideoResolution Target maximum video resolution.
VideoResolution string `form:"videoResolution,omitempty" json:"videoResolution,omitempty,omitzero"`
// XPlexClientIdentifier Unique per client.
XPlexClientIdentifier string `json:"X-Plex-Client-Identifier"`
// XPlexClientProfileExtra See [Profile Augmentations](#section/API-Info/Profile-Augmentations) .
XPlexClientProfileExtra string `json:"X-Plex-Client-Profile-Extra,omitempty,omitzero"`
// XPlexClientProfileName Which built in Client Profile to use in the decision. Generally should only be used to specify the Generic profile.
XPlexClientProfileName string `json:"X-Plex-Client-Profile-Name,omitempty,omitzero"`
// XPlexDevice Device the client is running on
XPlexDevice string `json:"X-Plex-Device,omitempty,omitzero"`
// XPlexModel Model of the device the client is running on
XPlexModel string `json:"X-Plex-Model,omitempty,omitzero"`
// XPlexPlatform Client Platform
XPlexPlatform string `json:"X-Plex-Platform,omitempty,omitzero"`
// XPlexPlatformVersion Client Platform Version
XPlexPlatformVersion string `json:"X-Plex-Platform-Version,omitempty,omitzero"`
// XPlexSessionIdentifier Unique per client playback session. Used if a client can playback multiple items at a time (such as a browser with multiple tabs)
XPlexSessionIdentifier string `json:"X-Plex-Session-Identifier,omitempty,omitzero"`
}
TranscodeDecisionParams defines parameters for TranscodeDecision.
type TranscodeDecisionParamsAdvancedSubtitles ¶
type TranscodeDecisionParamsAdvancedSubtitles string
TranscodeDecisionParamsAdvancedSubtitles defines parameters for TranscodeDecision.
const ( TranscodeDecisionParamsAdvancedSubtitlesBurn TranscodeDecisionParamsAdvancedSubtitles = "burn" TranscodeDecisionParamsAdvancedSubtitlesText TranscodeDecisionParamsAdvancedSubtitles = "text" TranscodeDecisionParamsAdvancedSubtitlesUnknown TranscodeDecisionParamsAdvancedSubtitles = "unknown" )
Defines values for TranscodeDecisionParamsAdvancedSubtitles.
func (TranscodeDecisionParamsAdvancedSubtitles) Valid ¶
func (e TranscodeDecisionParamsAdvancedSubtitles) Valid() bool
Valid indicates whether the value is a known member of the TranscodeDecisionParamsAdvancedSubtitles enum.
type TranscodeDecisionParamsAutoAdjustQuality ¶
type TranscodeDecisionParamsAutoAdjustQuality int
TranscodeDecisionParamsAutoAdjustQuality defines parameters for TranscodeDecision.
const ( TranscodeDecisionParamsAutoAdjustQualityN0 TranscodeDecisionParamsAutoAdjustQuality = 0 TranscodeDecisionParamsAutoAdjustQualityN1 TranscodeDecisionParamsAutoAdjustQuality = 1 )
Defines values for TranscodeDecisionParamsAutoAdjustQuality.
func (TranscodeDecisionParamsAutoAdjustQuality) Valid ¶
func (e TranscodeDecisionParamsAutoAdjustQuality) Valid() bool
Valid indicates whether the value is a known member of the TranscodeDecisionParamsAutoAdjustQuality enum.
type TranscodeDecisionParamsAutoAdjustSubtitle ¶
type TranscodeDecisionParamsAutoAdjustSubtitle int
TranscodeDecisionParamsAutoAdjustSubtitle defines parameters for TranscodeDecision.
const ( TranscodeDecisionParamsAutoAdjustSubtitleN0 TranscodeDecisionParamsAutoAdjustSubtitle = 0 TranscodeDecisionParamsAutoAdjustSubtitleN1 TranscodeDecisionParamsAutoAdjustSubtitle = 1 )
Defines values for TranscodeDecisionParamsAutoAdjustSubtitle.
func (TranscodeDecisionParamsAutoAdjustSubtitle) Valid ¶
func (e TranscodeDecisionParamsAutoAdjustSubtitle) Valid() bool
Valid indicates whether the value is a known member of the TranscodeDecisionParamsAutoAdjustSubtitle enum.
type TranscodeDecisionParamsBoostDialog ¶
type TranscodeDecisionParamsBoostDialog int
TranscodeDecisionParamsBoostDialog defines parameters for TranscodeDecision.
const ( TranscodeDecisionParamsBoostDialogN0 TranscodeDecisionParamsBoostDialog = 0 TranscodeDecisionParamsBoostDialogN1 TranscodeDecisionParamsBoostDialog = 1 )
Defines values for TranscodeDecisionParamsBoostDialog.
func (TranscodeDecisionParamsBoostDialog) Valid ¶
func (e TranscodeDecisionParamsBoostDialog) Valid() bool
Valid indicates whether the value is a known member of the TranscodeDecisionParamsBoostDialog enum.
type TranscodeDecisionParamsDirectPlay ¶
type TranscodeDecisionParamsDirectPlay int
TranscodeDecisionParamsDirectPlay defines parameters for TranscodeDecision.
const ( TranscodeDecisionParamsDirectPlayN0 TranscodeDecisionParamsDirectPlay = 0 TranscodeDecisionParamsDirectPlayN1 TranscodeDecisionParamsDirectPlay = 1 )
Defines values for TranscodeDecisionParamsDirectPlay.
func (TranscodeDecisionParamsDirectPlay) Valid ¶
func (e TranscodeDecisionParamsDirectPlay) Valid() bool
Valid indicates whether the value is a known member of the TranscodeDecisionParamsDirectPlay enum.
type TranscodeDecisionParamsDirectStream ¶
type TranscodeDecisionParamsDirectStream int
TranscodeDecisionParamsDirectStream defines parameters for TranscodeDecision.
const ( TranscodeDecisionParamsDirectStreamN0 TranscodeDecisionParamsDirectStream = 0 TranscodeDecisionParamsDirectStreamN1 TranscodeDecisionParamsDirectStream = 1 )
Defines values for TranscodeDecisionParamsDirectStream.
func (TranscodeDecisionParamsDirectStream) Valid ¶
func (e TranscodeDecisionParamsDirectStream) Valid() bool
Valid indicates whether the value is a known member of the TranscodeDecisionParamsDirectStream enum.
type TranscodeDecisionParamsDirectStreamAudio ¶
type TranscodeDecisionParamsDirectStreamAudio int
TranscodeDecisionParamsDirectStreamAudio defines parameters for TranscodeDecision.
const ( TranscodeDecisionParamsDirectStreamAudioN0 TranscodeDecisionParamsDirectStreamAudio = 0 TranscodeDecisionParamsDirectStreamAudioN1 TranscodeDecisionParamsDirectStreamAudio = 1 )
Defines values for TranscodeDecisionParamsDirectStreamAudio.
func (TranscodeDecisionParamsDirectStreamAudio) Valid ¶
func (e TranscodeDecisionParamsDirectStreamAudio) Valid() bool
Valid indicates whether the value is a known member of the TranscodeDecisionParamsDirectStreamAudio enum.
type TranscodeDecisionParamsDisableResolutionRotation ¶
type TranscodeDecisionParamsDisableResolutionRotation int
TranscodeDecisionParamsDisableResolutionRotation defines parameters for TranscodeDecision.
const ( TranscodeDecisionParamsDisableResolutionRotationN0 TranscodeDecisionParamsDisableResolutionRotation = 0 TranscodeDecisionParamsDisableResolutionRotationN1 TranscodeDecisionParamsDisableResolutionRotation = 1 )
Defines values for TranscodeDecisionParamsDisableResolutionRotation.
func (TranscodeDecisionParamsDisableResolutionRotation) Valid ¶
func (e TranscodeDecisionParamsDisableResolutionRotation) Valid() bool
Valid indicates whether the value is a known member of the TranscodeDecisionParamsDisableResolutionRotation enum.
type TranscodeDecisionParamsHasMDE ¶
type TranscodeDecisionParamsHasMDE int
TranscodeDecisionParamsHasMDE defines parameters for TranscodeDecision.
const ( TranscodeDecisionParamsHasMDEN0 TranscodeDecisionParamsHasMDE = 0 TranscodeDecisionParamsHasMDEN1 TranscodeDecisionParamsHasMDE = 1 )
Defines values for TranscodeDecisionParamsHasMDE.
func (TranscodeDecisionParamsHasMDE) Valid ¶
func (e TranscodeDecisionParamsHasMDE) Valid() bool
Valid indicates whether the value is a known member of the TranscodeDecisionParamsHasMDE enum.
type TranscodeDecisionParamsLocation ¶
type TranscodeDecisionParamsLocation string
TranscodeDecisionParamsLocation defines parameters for TranscodeDecision.
const ( TranscodeDecisionParamsLocationCellular TranscodeDecisionParamsLocation = "cellular" TranscodeDecisionParamsLocationLan TranscodeDecisionParamsLocation = "lan" TranscodeDecisionParamsLocationWan TranscodeDecisionParamsLocation = "wan" )
Defines values for TranscodeDecisionParamsLocation.
func (TranscodeDecisionParamsLocation) Valid ¶
func (e TranscodeDecisionParamsLocation) Valid() bool
Valid indicates whether the value is a known member of the TranscodeDecisionParamsLocation enum.
type TranscodeDecisionParamsNormalizeLoudness ¶
type TranscodeDecisionParamsNormalizeLoudness int
TranscodeDecisionParamsNormalizeLoudness defines parameters for TranscodeDecision.
const ( TranscodeDecisionParamsNormalizeLoudnessN0 TranscodeDecisionParamsNormalizeLoudness = 0 TranscodeDecisionParamsNormalizeLoudnessN1 TranscodeDecisionParamsNormalizeLoudness = 1 )
Defines values for TranscodeDecisionParamsNormalizeLoudness.
func (TranscodeDecisionParamsNormalizeLoudness) Valid ¶
func (e TranscodeDecisionParamsNormalizeLoudness) Valid() bool
Valid indicates whether the value is a known member of the TranscodeDecisionParamsNormalizeLoudness enum.
type TranscodeDecisionParamsProtocol ¶
type TranscodeDecisionParamsProtocol string
TranscodeDecisionParamsProtocol defines parameters for TranscodeDecision.
const ( TranscodeDecisionParamsProtocolDash TranscodeDecisionParamsProtocol = "dash" TranscodeDecisionParamsProtocolHTTP TranscodeDecisionParamsProtocol = "http" TranscodeDecisionParamsProtocolHls TranscodeDecisionParamsProtocol = "hls" )
Defines values for TranscodeDecisionParamsProtocol.
func (TranscodeDecisionParamsProtocol) Valid ¶
func (e TranscodeDecisionParamsProtocol) Valid() bool
Valid indicates whether the value is a known member of the TranscodeDecisionParamsProtocol enum.
type TranscodeDecisionParamsSubtitles ¶
type TranscodeDecisionParamsSubtitles string
TranscodeDecisionParamsSubtitles defines parameters for TranscodeDecision.
const ( TranscodeDecisionParamsSubtitlesAuto TranscodeDecisionParamsSubtitles = "auto" TranscodeDecisionParamsSubtitlesBurn TranscodeDecisionParamsSubtitles = "burn" TranscodeDecisionParamsSubtitlesEmbedded TranscodeDecisionParamsSubtitles = "embedded" TranscodeDecisionParamsSubtitlesNone TranscodeDecisionParamsSubtitles = "none" TranscodeDecisionParamsSubtitlesSegmented TranscodeDecisionParamsSubtitles = "segmented" TranscodeDecisionParamsSubtitlesSidecar TranscodeDecisionParamsSubtitles = "sidecar" TranscodeDecisionParamsSubtitlesUnknown TranscodeDecisionParamsSubtitles = "unknown" )
Defines values for TranscodeDecisionParamsSubtitles.
func (TranscodeDecisionParamsSubtitles) Valid ¶
func (e TranscodeDecisionParamsSubtitles) Valid() bool
Valid indicates whether the value is a known member of the TranscodeDecisionParamsSubtitles enum.
type TranscodeDecisionParamsTranscodeType ¶
type TranscodeDecisionParamsTranscodeType string
TranscodeDecisionParamsTranscodeType defines parameters for TranscodeDecision.
const ( TranscodeDecisionParamsTranscodeTypeAudio TranscodeDecisionParamsTranscodeType = "audio" TranscodeDecisionParamsTranscodeTypeMusic TranscodeDecisionParamsTranscodeType = "music" TranscodeDecisionParamsTranscodeTypeSubtitles TranscodeDecisionParamsTranscodeType = "subtitles" TranscodeDecisionParamsTranscodeTypeVideo TranscodeDecisionParamsTranscodeType = "video" )
Defines values for TranscodeDecisionParamsTranscodeType.
func (TranscodeDecisionParamsTranscodeType) Valid ¶
func (e TranscodeDecisionParamsTranscodeType) Valid() bool
Valid indicates whether the value is a known member of the TranscodeDecisionParamsTranscodeType enum.
type TranscodeDecisionResponse ¶
type TranscodeDecisionResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *MediaContainerWithDecision
}
func ParseTranscodeDecisionResponse ¶
func ParseTranscodeDecisionResponse(rsp *http.Response) (*TranscodeDecisionResponse, error)
ParseTranscodeDecisionResponse parses an HTTP response from a TranscodeDecisionWithResponse call
func (TranscodeDecisionResponse) ContentType ¶
func (r TranscodeDecisionResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (TranscodeDecisionResponse) GetBody ¶
func (r TranscodeDecisionResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (TranscodeDecisionResponse) GetJSON200 ¶
func (r TranscodeDecisionResponse) GetJSON200() *MediaContainerWithDecision
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (TranscodeDecisionResponse) Status ¶
func (r TranscodeDecisionResponse) Status() string
Status returns HTTPResponse.Status
func (TranscodeDecisionResponse) StatusCode ¶
func (r TranscodeDecisionResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type TranscodeFallbackParams ¶
type TranscodeFallbackParams struct {
// TranscodeSessionID Transcode session UUID
TranscodeSessionID TranscodeSessionID `form:"transcodeSessionId,omitempty" json:"transcodeSessionId,omitempty,omitzero"`
}
TranscodeFallbackParams defines parameters for TranscodeFallback.
type TranscodeFallbackParamsTranscodeType ¶
type TranscodeFallbackParamsTranscodeType string
TranscodeFallbackParamsTranscodeType defines parameters for TranscodeFallback.
const ( TranscodeFallbackParamsTranscodeTypeAudio TranscodeFallbackParamsTranscodeType = "audio" TranscodeFallbackParamsTranscodeTypeMusic TranscodeFallbackParamsTranscodeType = "music" TranscodeFallbackParamsTranscodeTypeSubtitles TranscodeFallbackParamsTranscodeType = "subtitles" TranscodeFallbackParamsTranscodeTypeVideo TranscodeFallbackParamsTranscodeType = "video" )
Defines values for TranscodeFallbackParamsTranscodeType.
func (TranscodeFallbackParamsTranscodeType) Valid ¶
func (e TranscodeFallbackParamsTranscodeType) Valid() bool
Valid indicates whether the value is a known member of the TranscodeFallbackParamsTranscodeType enum.
type TranscodeFallbackResponse ¶
func ParseTranscodeFallbackResponse ¶
func ParseTranscodeFallbackResponse(rsp *http.Response) (*TranscodeFallbackResponse, error)
ParseTranscodeFallbackResponse parses an HTTP response from a TranscodeFallbackWithResponse call
func (TranscodeFallbackResponse) ContentType ¶
func (r TranscodeFallbackResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (TranscodeFallbackResponse) GetBody ¶
func (r TranscodeFallbackResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (TranscodeFallbackResponse) Status ¶
func (r TranscodeFallbackResponse) Status() string
Status returns HTTPResponse.Status
func (TranscodeFallbackResponse) StatusCode ¶
func (r TranscodeFallbackResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type TranscodeSessionID ¶
type TranscodeSessionID = string
TranscodeSessionID defines model for transcodeSessionId.
type TranscodeStartParams ¶
type TranscodeStartParams struct {
// TranscodeSessionID Transcode session UUID
TranscodeSessionID TranscodeSessionID `form:"transcodeSessionId,omitempty" json:"transcodeSessionId,omitempty,omitzero"`
// AdvancedSubtitles Indicates how incompatible advanced subtitles (such as ass/ssa) should be included: * 'burn' - Burn incompatible advanced text subtitles into the video stream * 'text' - Transcode incompatible advanced text subtitles to a compatible text format, even if some markup is lost
AdvancedSubtitles TranscodeStartParamsAdvancedSubtitles `form:"advancedSubtitles,omitempty" json:"advancedSubtitles,omitempty,omitzero"`
// AudioBoost Percentage of original audio loudness to use when transcoding (100 is equivalent to original volume, 50 is half, 200 is double, etc)
AudioBoost int `form:"audioBoost,omitempty" json:"audioBoost,omitempty,omitzero"`
// AudioChannelCount Target video number of audio channels.
AudioChannelCount int `form:"audioChannelCount,omitempty" json:"audioChannelCount,omitempty,omitzero"`
// NormalizeLoudness Indicates if the server should normalize the loudness of an audio track based on loudness analysis results.
NormalizeLoudness TranscodeStartParamsNormalizeLoudness `form:"normalizeLoudness,omitempty" json:"normalizeLoudness,omitempty,omitzero"`
// BoostDialog Indicates if the server boost the dialog found within an audio track.
BoostDialog TranscodeStartParamsBoostDialog `form:"boostDialog,omitempty" json:"boostDialog,omitempty,omitzero"`
// AutoAdjustQuality Indicates the client supports ABR.
AutoAdjustQuality TranscodeStartParamsAutoAdjustQuality `form:"autoAdjustQuality,omitempty" json:"autoAdjustQuality,omitempty,omitzero"`
// AutoAdjustSubtitle Indicates if the server should adjust subtitles based on Voice Activity Data.
AutoAdjustSubtitle TranscodeStartParamsAutoAdjustSubtitle `form:"autoAdjustSubtitle,omitempty" json:"autoAdjustSubtitle,omitempty,omitzero"`
// DirectPlay Indicates the client supports direct playing the indicated content.
DirectPlay TranscodeStartParamsDirectPlay `form:"directPlay,omitempty" json:"directPlay,omitempty,omitzero"`
// DirectStream Indicates the client supports direct streaming the video of the indicated content.
DirectStream TranscodeStartParamsDirectStream `form:"directStream,omitempty" json:"directStream,omitempty,omitzero"`
// DirectStreamAudio Indicates the client supports direct streaming the audio of the indicated content.
DirectStreamAudio TranscodeStartParamsDirectStreamAudio `form:"directStreamAudio,omitempty" json:"directStreamAudio,omitempty,omitzero"`
// DisableResolutionRotation Indicates if resolution should be adjusted for orientation.
DisableResolutionRotation TranscodeStartParamsDisableResolutionRotation `form:"disableResolutionRotation,omitempty" json:"disableResolutionRotation,omitempty,omitzero"`
// HasMDE Ignore client profiles when determining if direct play is possible. Only has an effect when directPlay=1 and both mediaIndex and partIndex are specified and neither are -1
HasMDE TranscodeStartParamsHasMDE `form:"hasMDE,omitempty" json:"hasMDE,omitempty,omitzero"`
// Location Network type of the client, can be used to help determine target bitrate.
Location TranscodeStartParamsLocation `form:"location,omitempty" json:"location,omitempty,omitzero"`
// MediaBufferSize Buffer size used in playback (in KB). Clients should specify a lower bound if not known exactly. This value could make the difference between transcoding and direct play on bandwidth constrained networks.
MediaBufferSize int `form:"mediaBufferSize,omitempty" json:"mediaBufferSize,omitempty,omitzero"`
// MediaIndex Index of the media to transcode. -1 or not specified indicates let the server choose.
MediaIndex int `form:"mediaIndex,omitempty" json:"mediaIndex,omitempty,omitzero"`
// MusicBitrate Target bitrate for audio only files (in kbps, used to transcode).
MusicBitrate int `form:"musicBitrate,omitempty" json:"musicBitrate,omitempty,omitzero"`
// Offset Offset from the start of the media (in seconds).
Offset float32 `form:"offset,omitempty" json:"offset,omitempty,omitzero"`
// PartIndex Index of the part to transcode. -1 or not specified indicates the server should join parts together in a transcode
PartIndex int `form:"partIndex,omitempty" json:"partIndex,omitempty,omitzero"`
// Path Internal PMS path of the media to transcode.
Path string `form:"path,omitempty" json:"path,omitempty,omitzero"`
// PeakBitrate Maximum bitrate (in kbps) to use in ABR.
PeakBitrate int `form:"peakBitrate,omitempty" json:"peakBitrate,omitempty,omitzero"`
// PhotoResolution Target photo resolution.
PhotoResolution string `form:"photoResolution,omitempty" json:"photoResolution,omitempty,omitzero"`
// Protocol Indicates the network streaming protocol to be used for the transcode session: * 'http' - include the file in the http response such as MKV streaming * 'hls' - hls stream (RFC 8216) * 'dash' - dash stream (ISO/IEC 23009-1:2022)
Protocol TranscodeStartParamsProtocol `form:"protocol,omitempty" json:"protocol,omitempty,omitzero"`
// SecondsPerSegment Number of seconds to include in each transcoded segment
SecondsPerSegment int `form:"secondsPerSegment,omitempty" json:"secondsPerSegment,omitempty,omitzero"`
// SubtitleSize Percentage of original subtitle size to use when burning subtitles (100 is equivalent to original size, 50 is half, ect)
SubtitleSize int `form:"subtitleSize,omitempty" json:"subtitleSize,omitempty,omitzero"`
// Subtitles Indicates how subtitles should be included: * 'auto' - Compute the appropriate subtitle setting automatically * 'burn' - Burn the selected subtitle; auto if no selected subtitle * 'none' - Ignore all subtitle streams * 'sidecar' - The selected subtitle should be provided as a sidecar * 'embedded' - The selected subtitle should be provided as an embedded stream * 'segmented' - The selected subtitle should be provided as a segmented stream
Subtitles TranscodeStartParamsSubtitles `form:"subtitles,omitempty" json:"subtitles,omitempty,omitzero"`
// VideoBitrate Target video bitrate (in kbps).
VideoBitrate int `form:"videoBitrate,omitempty" json:"videoBitrate,omitempty,omitzero"`
// VideoQuality Target photo quality.
VideoQuality int `form:"videoQuality,omitempty" json:"videoQuality,omitempty,omitzero"`
// VideoResolution Target maximum video resolution.
VideoResolution string `form:"videoResolution,omitempty" json:"videoResolution,omitempty,omitzero"`
// XPlexClientIdentifier Unique per client.
XPlexClientIdentifier string `json:"X-Plex-Client-Identifier"`
// XPlexClientProfileExtra See [Profile Augmentations](#section/API-Info/Profile-Augmentations) .
XPlexClientProfileExtra string `json:"X-Plex-Client-Profile-Extra,omitempty,omitzero"`
// XPlexClientProfileName Which built in Client Profile to use in the decision. Generally should only be used to specify the Generic profile.
XPlexClientProfileName string `json:"X-Plex-Client-Profile-Name,omitempty,omitzero"`
// XPlexDevice Device the client is running on
XPlexDevice string `json:"X-Plex-Device,omitempty,omitzero"`
// XPlexModel Model of the device the client is running on
XPlexModel string `json:"X-Plex-Model,omitempty,omitzero"`
// XPlexPlatform Client Platform
XPlexPlatform string `json:"X-Plex-Platform,omitempty,omitzero"`
// XPlexPlatformVersion Client Platform Version
XPlexPlatformVersion string `json:"X-Plex-Platform-Version,omitempty,omitzero"`
// XPlexSessionIdentifier Unique per client playback session. Used if a client can playback multiple items at a time (such as a browser with multiple tabs)
XPlexSessionIdentifier string `json:"X-Plex-Session-Identifier,omitempty,omitzero"`
}
TranscodeStartParams defines parameters for TranscodeStart.
type TranscodeStartParamsAdvancedSubtitles ¶
type TranscodeStartParamsAdvancedSubtitles string
TranscodeStartParamsAdvancedSubtitles defines parameters for TranscodeStart.
const ( TranscodeStartParamsAdvancedSubtitlesBurn TranscodeStartParamsAdvancedSubtitles = "burn" TranscodeStartParamsAdvancedSubtitlesText TranscodeStartParamsAdvancedSubtitles = "text" TranscodeStartParamsAdvancedSubtitlesUnknown TranscodeStartParamsAdvancedSubtitles = "unknown" )
Defines values for TranscodeStartParamsAdvancedSubtitles.
func (TranscodeStartParamsAdvancedSubtitles) Valid ¶
func (e TranscodeStartParamsAdvancedSubtitles) Valid() bool
Valid indicates whether the value is a known member of the TranscodeStartParamsAdvancedSubtitles enum.
type TranscodeStartParamsAutoAdjustQuality ¶
type TranscodeStartParamsAutoAdjustQuality int
TranscodeStartParamsAutoAdjustQuality defines parameters for TranscodeStart.
const ( TranscodeStartParamsAutoAdjustQualityN0 TranscodeStartParamsAutoAdjustQuality = 0 TranscodeStartParamsAutoAdjustQualityN1 TranscodeStartParamsAutoAdjustQuality = 1 )
Defines values for TranscodeStartParamsAutoAdjustQuality.
func (TranscodeStartParamsAutoAdjustQuality) Valid ¶
func (e TranscodeStartParamsAutoAdjustQuality) Valid() bool
Valid indicates whether the value is a known member of the TranscodeStartParamsAutoAdjustQuality enum.
type TranscodeStartParamsAutoAdjustSubtitle ¶
type TranscodeStartParamsAutoAdjustSubtitle int
TranscodeStartParamsAutoAdjustSubtitle defines parameters for TranscodeStart.
const ( TranscodeStartParamsAutoAdjustSubtitleN0 TranscodeStartParamsAutoAdjustSubtitle = 0 TranscodeStartParamsAutoAdjustSubtitleN1 TranscodeStartParamsAutoAdjustSubtitle = 1 )
Defines values for TranscodeStartParamsAutoAdjustSubtitle.
func (TranscodeStartParamsAutoAdjustSubtitle) Valid ¶
func (e TranscodeStartParamsAutoAdjustSubtitle) Valid() bool
Valid indicates whether the value is a known member of the TranscodeStartParamsAutoAdjustSubtitle enum.
type TranscodeStartParamsBoostDialog ¶
type TranscodeStartParamsBoostDialog int
TranscodeStartParamsBoostDialog defines parameters for TranscodeStart.
const ( TranscodeStartParamsBoostDialogN0 TranscodeStartParamsBoostDialog = 0 TranscodeStartParamsBoostDialogN1 TranscodeStartParamsBoostDialog = 1 )
Defines values for TranscodeStartParamsBoostDialog.
func (TranscodeStartParamsBoostDialog) Valid ¶
func (e TranscodeStartParamsBoostDialog) Valid() bool
Valid indicates whether the value is a known member of the TranscodeStartParamsBoostDialog enum.
type TranscodeStartParamsDirectPlay ¶
type TranscodeStartParamsDirectPlay int
TranscodeStartParamsDirectPlay defines parameters for TranscodeStart.
const ( TranscodeStartParamsDirectPlayN0 TranscodeStartParamsDirectPlay = 0 TranscodeStartParamsDirectPlayN1 TranscodeStartParamsDirectPlay = 1 )
Defines values for TranscodeStartParamsDirectPlay.
func (TranscodeStartParamsDirectPlay) Valid ¶
func (e TranscodeStartParamsDirectPlay) Valid() bool
Valid indicates whether the value is a known member of the TranscodeStartParamsDirectPlay enum.
type TranscodeStartParamsDirectStream ¶
type TranscodeStartParamsDirectStream int
TranscodeStartParamsDirectStream defines parameters for TranscodeStart.
const ( TranscodeStartParamsDirectStreamN0 TranscodeStartParamsDirectStream = 0 TranscodeStartParamsDirectStreamN1 TranscodeStartParamsDirectStream = 1 )
Defines values for TranscodeStartParamsDirectStream.
func (TranscodeStartParamsDirectStream) Valid ¶
func (e TranscodeStartParamsDirectStream) Valid() bool
Valid indicates whether the value is a known member of the TranscodeStartParamsDirectStream enum.
type TranscodeStartParamsDirectStreamAudio ¶
type TranscodeStartParamsDirectStreamAudio int
TranscodeStartParamsDirectStreamAudio defines parameters for TranscodeStart.
const ( TranscodeStartParamsDirectStreamAudioN0 TranscodeStartParamsDirectStreamAudio = 0 TranscodeStartParamsDirectStreamAudioN1 TranscodeStartParamsDirectStreamAudio = 1 )
Defines values for TranscodeStartParamsDirectStreamAudio.
func (TranscodeStartParamsDirectStreamAudio) Valid ¶
func (e TranscodeStartParamsDirectStreamAudio) Valid() bool
Valid indicates whether the value is a known member of the TranscodeStartParamsDirectStreamAudio enum.
type TranscodeStartParamsDisableResolutionRotation ¶
type TranscodeStartParamsDisableResolutionRotation int
TranscodeStartParamsDisableResolutionRotation defines parameters for TranscodeStart.
const ( TranscodeStartParamsDisableResolutionRotationN0 TranscodeStartParamsDisableResolutionRotation = 0 TranscodeStartParamsDisableResolutionRotationN1 TranscodeStartParamsDisableResolutionRotation = 1 )
Defines values for TranscodeStartParamsDisableResolutionRotation.
func (TranscodeStartParamsDisableResolutionRotation) Valid ¶
func (e TranscodeStartParamsDisableResolutionRotation) Valid() bool
Valid indicates whether the value is a known member of the TranscodeStartParamsDisableResolutionRotation enum.
type TranscodeStartParamsHasMDE ¶
type TranscodeStartParamsHasMDE int
TranscodeStartParamsHasMDE defines parameters for TranscodeStart.
const ( TranscodeStartParamsHasMDEN0 TranscodeStartParamsHasMDE = 0 TranscodeStartParamsHasMDEN1 TranscodeStartParamsHasMDE = 1 )
Defines values for TranscodeStartParamsHasMDE.
func (TranscodeStartParamsHasMDE) Valid ¶
func (e TranscodeStartParamsHasMDE) Valid() bool
Valid indicates whether the value is a known member of the TranscodeStartParamsHasMDE enum.
type TranscodeStartParamsLocation ¶
type TranscodeStartParamsLocation string
TranscodeStartParamsLocation defines parameters for TranscodeStart.
const ( TranscodeStartParamsLocationCellular TranscodeStartParamsLocation = "cellular" TranscodeStartParamsLocationLan TranscodeStartParamsLocation = "lan" TranscodeStartParamsLocationWan TranscodeStartParamsLocation = "wan" )
Defines values for TranscodeStartParamsLocation.
func (TranscodeStartParamsLocation) Valid ¶
func (e TranscodeStartParamsLocation) Valid() bool
Valid indicates whether the value is a known member of the TranscodeStartParamsLocation enum.
type TranscodeStartParamsNormalizeLoudness ¶
type TranscodeStartParamsNormalizeLoudness int
TranscodeStartParamsNormalizeLoudness defines parameters for TranscodeStart.
const ( TranscodeStartParamsNormalizeLoudnessN0 TranscodeStartParamsNormalizeLoudness = 0 TranscodeStartParamsNormalizeLoudnessN1 TranscodeStartParamsNormalizeLoudness = 1 )
Defines values for TranscodeStartParamsNormalizeLoudness.
func (TranscodeStartParamsNormalizeLoudness) Valid ¶
func (e TranscodeStartParamsNormalizeLoudness) Valid() bool
Valid indicates whether the value is a known member of the TranscodeStartParamsNormalizeLoudness enum.
type TranscodeStartParamsProtocol ¶
type TranscodeStartParamsProtocol string
TranscodeStartParamsProtocol defines parameters for TranscodeStart.
const ( TranscodeStartParamsProtocolDash TranscodeStartParamsProtocol = "dash" TranscodeStartParamsProtocolHTTP TranscodeStartParamsProtocol = "http" TranscodeStartParamsProtocolHls TranscodeStartParamsProtocol = "hls" )
Defines values for TranscodeStartParamsProtocol.
func (TranscodeStartParamsProtocol) Valid ¶
func (e TranscodeStartParamsProtocol) Valid() bool
Valid indicates whether the value is a known member of the TranscodeStartParamsProtocol enum.
type TranscodeStartParamsSubtitles ¶
type TranscodeStartParamsSubtitles string
TranscodeStartParamsSubtitles defines parameters for TranscodeStart.
const ( TranscodeStartParamsSubtitlesAuto TranscodeStartParamsSubtitles = "auto" TranscodeStartParamsSubtitlesBurn TranscodeStartParamsSubtitles = "burn" TranscodeStartParamsSubtitlesEmbedded TranscodeStartParamsSubtitles = "embedded" TranscodeStartParamsSubtitlesNone TranscodeStartParamsSubtitles = "none" TranscodeStartParamsSubtitlesSegmented TranscodeStartParamsSubtitles = "segmented" TranscodeStartParamsSubtitlesSidecar TranscodeStartParamsSubtitles = "sidecar" TranscodeStartParamsSubtitlesUnknown TranscodeStartParamsSubtitles = "unknown" )
Defines values for TranscodeStartParamsSubtitles.
func (TranscodeStartParamsSubtitles) Valid ¶
func (e TranscodeStartParamsSubtitles) Valid() bool
Valid indicates whether the value is a known member of the TranscodeStartParamsSubtitles enum.
type TranscodeStartParamsTranscodeType ¶
type TranscodeStartParamsTranscodeType string
TranscodeStartParamsTranscodeType defines parameters for TranscodeStart.
const ( TranscodeStartParamsTranscodeTypeAudio TranscodeStartParamsTranscodeType = "audio" TranscodeStartParamsTranscodeTypeMusic TranscodeStartParamsTranscodeType = "music" TranscodeStartParamsTranscodeTypeSubtitles TranscodeStartParamsTranscodeType = "subtitles" TranscodeStartParamsTranscodeTypeVideo TranscodeStartParamsTranscodeType = "video" )
Defines values for TranscodeStartParamsTranscodeType.
func (TranscodeStartParamsTranscodeType) Valid ¶
func (e TranscodeStartParamsTranscodeType) Valid() bool
Valid indicates whether the value is a known member of the TranscodeStartParamsTranscodeType enum.
type TranscodeStartResponse ¶
func ParseTranscodeStartResponse ¶
func ParseTranscodeStartResponse(rsp *http.Response) (*TranscodeStartResponse, error)
ParseTranscodeStartResponse parses an HTTP response from a TranscodeStartWithResponse call
func (TranscodeStartResponse) ContentType ¶
func (r TranscodeStartResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (TranscodeStartResponse) GetBody ¶
func (r TranscodeStartResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (TranscodeStartResponse) Status ¶
func (r TranscodeStartResponse) Status() string
Status returns HTTPResponse.Status
func (TranscodeStartResponse) StatusCode ¶
func (r TranscodeStartResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type TranscodeSubtitlesParams ¶
type TranscodeSubtitlesParams struct {
// TranscodeSessionID Transcode session UUID
TranscodeSessionID TranscodeSessionID `form:"transcodeSessionId,omitempty" json:"transcodeSessionId,omitempty,omitzero"`
// AdvancedSubtitles Indicates how incompatible advanced subtitles (such as ass/ssa) should be included: * 'burn' - Burn incompatible advanced text subtitles into the video stream * 'text' - Transcode incompatible advanced text subtitles to a compatible text format, even if some markup is lost
AdvancedSubtitles TranscodeSubtitlesParamsAdvancedSubtitles `form:"advancedSubtitles,omitempty" json:"advancedSubtitles,omitempty,omitzero"`
// AudioBoost Percentage of original audio loudness to use when transcoding (100 is equivalent to original volume, 50 is half, 200 is double, etc)
AudioBoost int `form:"audioBoost,omitempty" json:"audioBoost,omitempty,omitzero"`
// AudioChannelCount Target video number of audio channels.
AudioChannelCount int `form:"audioChannelCount,omitempty" json:"audioChannelCount,omitempty,omitzero"`
// NormalizeLoudness Indicates if the server should normalize the loudness of an audio track based on loudness analysis results.
NormalizeLoudness TranscodeSubtitlesParamsNormalizeLoudness `form:"normalizeLoudness,omitempty" json:"normalizeLoudness,omitempty,omitzero"`
// BoostDialog Indicates if the server boost the dialog found within an audio track.
BoostDialog TranscodeSubtitlesParamsBoostDialog `form:"boostDialog,omitempty" json:"boostDialog,omitempty,omitzero"`
// AutoAdjustQuality Indicates the client supports ABR.
AutoAdjustQuality TranscodeSubtitlesParamsAutoAdjustQuality `form:"autoAdjustQuality,omitempty" json:"autoAdjustQuality,omitempty,omitzero"`
// AutoAdjustSubtitle Indicates if the server should adjust subtitles based on Voice Activity Data.
AutoAdjustSubtitle TranscodeSubtitlesParamsAutoAdjustSubtitle `form:"autoAdjustSubtitle,omitempty" json:"autoAdjustSubtitle,omitempty,omitzero"`
// DirectPlay Indicates the client supports direct playing the indicated content.
DirectPlay TranscodeSubtitlesParamsDirectPlay `form:"directPlay,omitempty" json:"directPlay,omitempty,omitzero"`
// DirectStream Indicates the client supports direct streaming the video of the indicated content.
DirectStream TranscodeSubtitlesParamsDirectStream `form:"directStream,omitempty" json:"directStream,omitempty,omitzero"`
// DirectStreamAudio Indicates the client supports direct streaming the audio of the indicated content.
DirectStreamAudio TranscodeSubtitlesParamsDirectStreamAudio `form:"directStreamAudio,omitempty" json:"directStreamAudio,omitempty,omitzero"`
// DisableResolutionRotation Indicates if resolution should be adjusted for orientation.
DisableResolutionRotation TranscodeSubtitlesParamsDisableResolutionRotation `form:"disableResolutionRotation,omitempty" json:"disableResolutionRotation,omitempty,omitzero"`
// HasMDE Ignore client profiles when determining if direct play is possible. Only has an effect when directPlay=1 and both mediaIndex and partIndex are specified and neither are -1
HasMDE TranscodeSubtitlesParamsHasMDE `form:"hasMDE,omitempty" json:"hasMDE,omitempty,omitzero"`
// Location Network type of the client, can be used to help determine target bitrate.
Location TranscodeSubtitlesParamsLocation `form:"location,omitempty" json:"location,omitempty,omitzero"`
// MediaBufferSize Buffer size used in playback (in KB). Clients should specify a lower bound if not known exactly. This value could make the difference between transcoding and direct play on bandwidth constrained networks.
MediaBufferSize int `form:"mediaBufferSize,omitempty" json:"mediaBufferSize,omitempty,omitzero"`
// MediaIndex Index of the media to transcode. -1 or not specified indicates let the server choose.
MediaIndex int `form:"mediaIndex,omitempty" json:"mediaIndex,omitempty,omitzero"`
// MusicBitrate Target bitrate for audio only files (in kbps, used to transcode).
MusicBitrate int `form:"musicBitrate,omitempty" json:"musicBitrate,omitempty,omitzero"`
// Offset Offset from the start of the media (in seconds).
Offset float32 `form:"offset,omitempty" json:"offset,omitempty,omitzero"`
// PartIndex Index of the part to transcode. -1 or not specified indicates the server should join parts together in a transcode
PartIndex int `form:"partIndex,omitempty" json:"partIndex,omitempty,omitzero"`
// Path Internal PMS path of the media to transcode.
Path string `form:"path,omitempty" json:"path,omitempty,omitzero"`
// PeakBitrate Maximum bitrate (in kbps) to use in ABR.
PeakBitrate int `form:"peakBitrate,omitempty" json:"peakBitrate,omitempty,omitzero"`
// PhotoResolution Target photo resolution.
PhotoResolution string `form:"photoResolution,omitempty" json:"photoResolution,omitempty,omitzero"`
// Protocol Indicates the network streaming protocol to be used for the transcode session: * 'http' - include the file in the http response such as MKV streaming * 'hls' - hls stream (RFC 8216) * 'dash' - dash stream (ISO/IEC 23009-1:2022)
Protocol TranscodeSubtitlesParamsProtocol `form:"protocol,omitempty" json:"protocol,omitempty,omitzero"`
// SecondsPerSegment Number of seconds to include in each transcoded segment
SecondsPerSegment int `form:"secondsPerSegment,omitempty" json:"secondsPerSegment,omitempty,omitzero"`
// SubtitleSize Percentage of original subtitle size to use when burning subtitles (100 is equivalent to original size, 50 is half, ect)
SubtitleSize int `form:"subtitleSize,omitempty" json:"subtitleSize,omitempty,omitzero"`
// Subtitles Indicates how subtitles should be included: * 'auto' - Compute the appropriate subtitle setting automatically * 'burn' - Burn the selected subtitle; auto if no selected subtitle * 'none' - Ignore all subtitle streams * 'sidecar' - The selected subtitle should be provided as a sidecar * 'embedded' - The selected subtitle should be provided as an embedded stream * 'segmented' - The selected subtitle should be provided as a segmented stream
Subtitles TranscodeSubtitlesParamsSubtitles `form:"subtitles,omitempty" json:"subtitles,omitempty,omitzero"`
// VideoBitrate Target video bitrate (in kbps).
VideoBitrate int `form:"videoBitrate,omitempty" json:"videoBitrate,omitempty,omitzero"`
// VideoQuality Target photo quality.
VideoQuality int `form:"videoQuality,omitempty" json:"videoQuality,omitempty,omitzero"`
// VideoResolution Target maximum video resolution.
VideoResolution string `form:"videoResolution,omitempty" json:"videoResolution,omitempty,omitzero"`
// XPlexClientIdentifier Unique per client.
XPlexClientIdentifier string `json:"X-Plex-Client-Identifier"`
// XPlexClientProfileExtra See [Profile Augmentations](#section/API-Info/Profile-Augmentations) .
XPlexClientProfileExtra string `json:"X-Plex-Client-Profile-Extra,omitempty,omitzero"`
// XPlexClientProfileName Which built in Client Profile to use in the decision. Generally should only be used to specify the Generic profile.
XPlexClientProfileName string `json:"X-Plex-Client-Profile-Name,omitempty,omitzero"`
// XPlexDevice Device the client is running on
XPlexDevice string `json:"X-Plex-Device,omitempty,omitzero"`
// XPlexModel Model of the device the client is running on
XPlexModel string `json:"X-Plex-Model,omitempty,omitzero"`
// XPlexPlatform Client Platform
XPlexPlatform string `json:"X-Plex-Platform,omitempty,omitzero"`
// XPlexPlatformVersion Client Platform Version
XPlexPlatformVersion string `json:"X-Plex-Platform-Version,omitempty,omitzero"`
// XPlexSessionIdentifier Unique per client playback session. Used if a client can playback multiple items at a time (such as a browser with multiple tabs)
XPlexSessionIdentifier string `json:"X-Plex-Session-Identifier,omitempty,omitzero"`
}
TranscodeSubtitlesParams defines parameters for TranscodeSubtitles.
type TranscodeSubtitlesParamsAdvancedSubtitles ¶
type TranscodeSubtitlesParamsAdvancedSubtitles string
TranscodeSubtitlesParamsAdvancedSubtitles defines parameters for TranscodeSubtitles.
const ( TranscodeSubtitlesParamsAdvancedSubtitlesBurn TranscodeSubtitlesParamsAdvancedSubtitles = "burn" TranscodeSubtitlesParamsAdvancedSubtitlesText TranscodeSubtitlesParamsAdvancedSubtitles = "text" TranscodeSubtitlesParamsAdvancedSubtitlesUnknown TranscodeSubtitlesParamsAdvancedSubtitles = "unknown" )
Defines values for TranscodeSubtitlesParamsAdvancedSubtitles.
func (TranscodeSubtitlesParamsAdvancedSubtitles) Valid ¶
func (e TranscodeSubtitlesParamsAdvancedSubtitles) Valid() bool
Valid indicates whether the value is a known member of the TranscodeSubtitlesParamsAdvancedSubtitles enum.
type TranscodeSubtitlesParamsAutoAdjustQuality ¶
type TranscodeSubtitlesParamsAutoAdjustQuality int
TranscodeSubtitlesParamsAutoAdjustQuality defines parameters for TranscodeSubtitles.
const ( TranscodeSubtitlesParamsAutoAdjustQualityN0 TranscodeSubtitlesParamsAutoAdjustQuality = 0 TranscodeSubtitlesParamsAutoAdjustQualityN1 TranscodeSubtitlesParamsAutoAdjustQuality = 1 )
Defines values for TranscodeSubtitlesParamsAutoAdjustQuality.
func (TranscodeSubtitlesParamsAutoAdjustQuality) Valid ¶
func (e TranscodeSubtitlesParamsAutoAdjustQuality) Valid() bool
Valid indicates whether the value is a known member of the TranscodeSubtitlesParamsAutoAdjustQuality enum.
type TranscodeSubtitlesParamsAutoAdjustSubtitle ¶
type TranscodeSubtitlesParamsAutoAdjustSubtitle int
TranscodeSubtitlesParamsAutoAdjustSubtitle defines parameters for TranscodeSubtitles.
const ( TranscodeSubtitlesParamsAutoAdjustSubtitleN0 TranscodeSubtitlesParamsAutoAdjustSubtitle = 0 TranscodeSubtitlesParamsAutoAdjustSubtitleN1 TranscodeSubtitlesParamsAutoAdjustSubtitle = 1 )
Defines values for TranscodeSubtitlesParamsAutoAdjustSubtitle.
func (TranscodeSubtitlesParamsAutoAdjustSubtitle) Valid ¶
func (e TranscodeSubtitlesParamsAutoAdjustSubtitle) Valid() bool
Valid indicates whether the value is a known member of the TranscodeSubtitlesParamsAutoAdjustSubtitle enum.
type TranscodeSubtitlesParamsBoostDialog ¶
type TranscodeSubtitlesParamsBoostDialog int
TranscodeSubtitlesParamsBoostDialog defines parameters for TranscodeSubtitles.
const ( TranscodeSubtitlesParamsBoostDialogN0 TranscodeSubtitlesParamsBoostDialog = 0 TranscodeSubtitlesParamsBoostDialogN1 TranscodeSubtitlesParamsBoostDialog = 1 )
Defines values for TranscodeSubtitlesParamsBoostDialog.
func (TranscodeSubtitlesParamsBoostDialog) Valid ¶
func (e TranscodeSubtitlesParamsBoostDialog) Valid() bool
Valid indicates whether the value is a known member of the TranscodeSubtitlesParamsBoostDialog enum.
type TranscodeSubtitlesParamsDirectPlay ¶
type TranscodeSubtitlesParamsDirectPlay int
TranscodeSubtitlesParamsDirectPlay defines parameters for TranscodeSubtitles.
const ( TranscodeSubtitlesParamsDirectPlayN0 TranscodeSubtitlesParamsDirectPlay = 0 TranscodeSubtitlesParamsDirectPlayN1 TranscodeSubtitlesParamsDirectPlay = 1 )
Defines values for TranscodeSubtitlesParamsDirectPlay.
func (TranscodeSubtitlesParamsDirectPlay) Valid ¶
func (e TranscodeSubtitlesParamsDirectPlay) Valid() bool
Valid indicates whether the value is a known member of the TranscodeSubtitlesParamsDirectPlay enum.
type TranscodeSubtitlesParamsDirectStream ¶
type TranscodeSubtitlesParamsDirectStream int
TranscodeSubtitlesParamsDirectStream defines parameters for TranscodeSubtitles.
const ( TranscodeSubtitlesParamsDirectStreamN0 TranscodeSubtitlesParamsDirectStream = 0 TranscodeSubtitlesParamsDirectStreamN1 TranscodeSubtitlesParamsDirectStream = 1 )
Defines values for TranscodeSubtitlesParamsDirectStream.
func (TranscodeSubtitlesParamsDirectStream) Valid ¶
func (e TranscodeSubtitlesParamsDirectStream) Valid() bool
Valid indicates whether the value is a known member of the TranscodeSubtitlesParamsDirectStream enum.
type TranscodeSubtitlesParamsDirectStreamAudio ¶
type TranscodeSubtitlesParamsDirectStreamAudio int
TranscodeSubtitlesParamsDirectStreamAudio defines parameters for TranscodeSubtitles.
const ( TranscodeSubtitlesParamsDirectStreamAudioN0 TranscodeSubtitlesParamsDirectStreamAudio = 0 TranscodeSubtitlesParamsDirectStreamAudioN1 TranscodeSubtitlesParamsDirectStreamAudio = 1 )
Defines values for TranscodeSubtitlesParamsDirectStreamAudio.
func (TranscodeSubtitlesParamsDirectStreamAudio) Valid ¶
func (e TranscodeSubtitlesParamsDirectStreamAudio) Valid() bool
Valid indicates whether the value is a known member of the TranscodeSubtitlesParamsDirectStreamAudio enum.
type TranscodeSubtitlesParamsDisableResolutionRotation ¶
type TranscodeSubtitlesParamsDisableResolutionRotation int
TranscodeSubtitlesParamsDisableResolutionRotation defines parameters for TranscodeSubtitles.
const ( TranscodeSubtitlesParamsDisableResolutionRotationN0 TranscodeSubtitlesParamsDisableResolutionRotation = 0 TranscodeSubtitlesParamsDisableResolutionRotationN1 TranscodeSubtitlesParamsDisableResolutionRotation = 1 )
Defines values for TranscodeSubtitlesParamsDisableResolutionRotation.
func (TranscodeSubtitlesParamsDisableResolutionRotation) Valid ¶
func (e TranscodeSubtitlesParamsDisableResolutionRotation) Valid() bool
Valid indicates whether the value is a known member of the TranscodeSubtitlesParamsDisableResolutionRotation enum.
type TranscodeSubtitlesParamsHasMDE ¶
type TranscodeSubtitlesParamsHasMDE int
TranscodeSubtitlesParamsHasMDE defines parameters for TranscodeSubtitles.
const ( TranscodeSubtitlesParamsHasMDEN0 TranscodeSubtitlesParamsHasMDE = 0 TranscodeSubtitlesParamsHasMDEN1 TranscodeSubtitlesParamsHasMDE = 1 )
Defines values for TranscodeSubtitlesParamsHasMDE.
func (TranscodeSubtitlesParamsHasMDE) Valid ¶
func (e TranscodeSubtitlesParamsHasMDE) Valid() bool
Valid indicates whether the value is a known member of the TranscodeSubtitlesParamsHasMDE enum.
type TranscodeSubtitlesParamsLocation ¶
type TranscodeSubtitlesParamsLocation string
TranscodeSubtitlesParamsLocation defines parameters for TranscodeSubtitles.
const ( TranscodeSubtitlesParamsLocationCellular TranscodeSubtitlesParamsLocation = "cellular" TranscodeSubtitlesParamsLocationLan TranscodeSubtitlesParamsLocation = "lan" TranscodeSubtitlesParamsLocationWan TranscodeSubtitlesParamsLocation = "wan" )
Defines values for TranscodeSubtitlesParamsLocation.
func (TranscodeSubtitlesParamsLocation) Valid ¶
func (e TranscodeSubtitlesParamsLocation) Valid() bool
Valid indicates whether the value is a known member of the TranscodeSubtitlesParamsLocation enum.
type TranscodeSubtitlesParamsNormalizeLoudness ¶
type TranscodeSubtitlesParamsNormalizeLoudness int
TranscodeSubtitlesParamsNormalizeLoudness defines parameters for TranscodeSubtitles.
const ( TranscodeSubtitlesParamsNormalizeLoudnessN0 TranscodeSubtitlesParamsNormalizeLoudness = 0 TranscodeSubtitlesParamsNormalizeLoudnessN1 TranscodeSubtitlesParamsNormalizeLoudness = 1 )
Defines values for TranscodeSubtitlesParamsNormalizeLoudness.
func (TranscodeSubtitlesParamsNormalizeLoudness) Valid ¶
func (e TranscodeSubtitlesParamsNormalizeLoudness) Valid() bool
Valid indicates whether the value is a known member of the TranscodeSubtitlesParamsNormalizeLoudness enum.
type TranscodeSubtitlesParamsProtocol ¶
type TranscodeSubtitlesParamsProtocol string
TranscodeSubtitlesParamsProtocol defines parameters for TranscodeSubtitles.
const ( TranscodeSubtitlesParamsProtocolDash TranscodeSubtitlesParamsProtocol = "dash" TranscodeSubtitlesParamsProtocolHTTP TranscodeSubtitlesParamsProtocol = "http" TranscodeSubtitlesParamsProtocolHls TranscodeSubtitlesParamsProtocol = "hls" )
Defines values for TranscodeSubtitlesParamsProtocol.
func (TranscodeSubtitlesParamsProtocol) Valid ¶
func (e TranscodeSubtitlesParamsProtocol) Valid() bool
Valid indicates whether the value is a known member of the TranscodeSubtitlesParamsProtocol enum.
type TranscodeSubtitlesParamsSubtitles ¶
type TranscodeSubtitlesParamsSubtitles string
TranscodeSubtitlesParamsSubtitles defines parameters for TranscodeSubtitles.
const ( TranscodeSubtitlesParamsSubtitlesAuto TranscodeSubtitlesParamsSubtitles = "auto" TranscodeSubtitlesParamsSubtitlesBurn TranscodeSubtitlesParamsSubtitles = "burn" TranscodeSubtitlesParamsSubtitlesEmbedded TranscodeSubtitlesParamsSubtitles = "embedded" TranscodeSubtitlesParamsSubtitlesNone TranscodeSubtitlesParamsSubtitles = "none" TranscodeSubtitlesParamsSubtitlesSegmented TranscodeSubtitlesParamsSubtitles = "segmented" TranscodeSubtitlesParamsSubtitlesSidecar TranscodeSubtitlesParamsSubtitles = "sidecar" TranscodeSubtitlesParamsSubtitlesUnknown TranscodeSubtitlesParamsSubtitles = "unknown" )
Defines values for TranscodeSubtitlesParamsSubtitles.
func (TranscodeSubtitlesParamsSubtitles) Valid ¶
func (e TranscodeSubtitlesParamsSubtitles) Valid() bool
Valid indicates whether the value is a known member of the TranscodeSubtitlesParamsSubtitles enum.
type TranscodeSubtitlesParamsTranscodeType ¶
type TranscodeSubtitlesParamsTranscodeType string
TranscodeSubtitlesParamsTranscodeType defines parameters for TranscodeSubtitles.
const ( TranscodeSubtitlesParamsTranscodeTypeAudio TranscodeSubtitlesParamsTranscodeType = "audio" TranscodeSubtitlesParamsTranscodeTypeMusic TranscodeSubtitlesParamsTranscodeType = "music" TranscodeSubtitlesParamsTranscodeTypeSubtitles TranscodeSubtitlesParamsTranscodeType = "subtitles" TranscodeSubtitlesParamsTranscodeTypeVideo TranscodeSubtitlesParamsTranscodeType = "video" )
Defines values for TranscodeSubtitlesParamsTranscodeType.
func (TranscodeSubtitlesParamsTranscodeType) Valid ¶
func (e TranscodeSubtitlesParamsTranscodeType) Valid() bool
Valid indicates whether the value is a known member of the TranscodeSubtitlesParamsTranscodeType enum.
type TranscodeSubtitlesResponse ¶
func ParseTranscodeSubtitlesResponse ¶
func ParseTranscodeSubtitlesResponse(rsp *http.Response) (*TranscodeSubtitlesResponse, error)
ParseTranscodeSubtitlesResponse parses an HTTP response from a TranscodeSubtitlesWithResponse call
func (TranscodeSubtitlesResponse) ContentType ¶
func (r TranscodeSubtitlesResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (TranscodeSubtitlesResponse) GetBody ¶
func (r TranscodeSubtitlesResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (TranscodeSubtitlesResponse) Status ¶
func (r TranscodeSubtitlesResponse) Status() string
Status returns HTTPResponse.Status
func (TranscodeSubtitlesResponse) StatusCode ¶
func (r TranscodeSubtitlesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type TranscodeType ¶
type TranscodeType string
TranscodeType defines model for transcodeType.
const ( TranscodeTypeAudio TranscodeType = "audio" TranscodeTypeMusic TranscodeType = "music" TranscodeTypeSubtitles TranscodeType = "subtitles" TranscodeTypeVideo TranscodeType = "video" )
Defines values for TranscodeType.
func (TranscodeType) Valid ¶
func (e TranscodeType) Valid() bool
Valid indicates whether the value is a known member of the TranscodeType enum.
type UltraBlurGetColorsParams ¶
type UltraBlurGetColorsParams struct {
// URL Url for image which requires color extraction. Can be relative PMS library path or absolute url.
URL string `form:"url,omitempty" json:"url,omitempty,omitzero"`
}
UltraBlurGetColorsParams defines parameters for UltraBlurGetColors.
type UltraBlurGetColorsResponse ¶
type UltraBlurGetColorsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *struct {
MediaContainer struct {
UltraBlurColors []struct {
// BottomLeft The color (hex) for the bottom left quadrant.
BottomLeft string `json:"bottomLeft,omitempty,omitzero"`
// BottomRight The color (hex) for the bottom right quadrant.
BottomRight string `json:"bottomRight,omitempty,omitzero"`
// TopLeft The color (hex) for the top left quadrant.
TopLeft string `json:"topLeft,omitempty,omitzero"`
// TopRight The color (hex) for the top right quadrant.
TopRight string `json:"topRight,omitempty,omitzero"`
} `json:"UltraBlurColors,omitempty,omitzero"`
Identifier string `json:"identifier,omitempty,omitzero"`
// Offset The offset of where this container page starts among the total objects available. Also provided in the X-Plex-Container-Start header
Offset int `json:"offset,omitempty,omitzero"`
Size int `json:"size,omitempty,omitzero"`
// TotalSize The total size of objects available. Also provided in the X-Plex-Container-Total-Size header
TotalSize int `json:"totalSize,omitempty,omitzero"`
} `json:"MediaContainer,omitempty,omitzero"`
}
}
func ParseUltraBlurGetColorsResponse ¶
func ParseUltraBlurGetColorsResponse(rsp *http.Response) (*UltraBlurGetColorsResponse, error)
ParseUltraBlurGetColorsResponse parses an HTTP response from a UltraBlurGetColorsWithResponse call
func (UltraBlurGetColorsResponse) ContentType ¶
func (r UltraBlurGetColorsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (UltraBlurGetColorsResponse) GetBody ¶
func (r UltraBlurGetColorsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (UltraBlurGetColorsResponse) GetJSON200 ¶
func (r UltraBlurGetColorsResponse) GetJSON200() *struct { MediaContainer struct { UltraBlurColors []struct { // BottomLeft The color (hex) for the bottom left quadrant. BottomLeft string `json:"bottomLeft,omitempty,omitzero"` // BottomRight The color (hex) for the bottom right quadrant. BottomRight string `json:"bottomRight,omitempty,omitzero"` // TopLeft The color (hex) for the top left quadrant. TopLeft string `json:"topLeft,omitempty,omitzero"` // TopRight The color (hex) for the top right quadrant. TopRight string `json:"topRight,omitempty,omitzero"` } `json:"UltraBlurColors,omitempty,omitzero"` Identifier string `json:"identifier,omitempty,omitzero"` // Offset The offset of where this container page starts among the total objects available. Also provided in the X-Plex-Container-Start header Offset int `json:"offset,omitempty,omitzero"` Size int `json:"size,omitempty,omitzero"` // TotalSize The total size of objects available. Also provided in the X-Plex-Container-Total-Size header TotalSize int `json:"totalSize,omitempty,omitzero"` } `json:"MediaContainer,omitempty,omitzero"` }
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (UltraBlurGetColorsResponse) Status ¶
func (r UltraBlurGetColorsResponse) Status() string
Status returns HTTPResponse.Status
func (UltraBlurGetColorsResponse) StatusCode ¶
func (r UltraBlurGetColorsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UltraBlurGetImageParams ¶
type UltraBlurGetImageParams struct {
// TopLeft The base color (hex) for the top left quadrant.
TopLeft string `form:"topLeft,omitempty" json:"topLeft,omitempty,omitzero"`
// TopRight The base color (hex) for the top right quadrant.
TopRight string `form:"topRight,omitempty" json:"topRight,omitempty,omitzero"`
// BottomRight The base color (hex) for the bottom right quadrant.
BottomRight string `form:"bottomRight,omitempty" json:"bottomRight,omitempty,omitzero"`
// BottomLeft The base color (hex) for the bottom left quadrant.
BottomLeft string `form:"bottomLeft,omitempty" json:"bottomLeft,omitempty,omitzero"`
// Width Width in pixels for the image.
Width int `form:"width,omitempty" json:"width,omitempty,omitzero"`
// Height Height in pixels for the image.
Height int `form:"height,omitempty" json:"height,omitempty,omitzero"`
// Noise Whether to add noise to the ouput image. Noise can reduce color banding with the gradients. Image sizes with noise will be larger.
Noise UltraBlurGetImageParamsNoise `form:"noise,omitempty" json:"noise,omitempty,omitzero"`
}
UltraBlurGetImageParams defines parameters for UltraBlurGetImage.
type UltraBlurGetImageParamsNoise ¶
type UltraBlurGetImageParamsNoise int
UltraBlurGetImageParamsNoise defines parameters for UltraBlurGetImage.
const ( UltraBlurGetImageParamsNoiseN0 UltraBlurGetImageParamsNoise = 0 UltraBlurGetImageParamsNoiseN1 UltraBlurGetImageParamsNoise = 1 )
Defines values for UltraBlurGetImageParamsNoise.
func (UltraBlurGetImageParamsNoise) Valid ¶
func (e UltraBlurGetImageParamsNoise) Valid() bool
Valid indicates whether the value is a known member of the UltraBlurGetImageParamsNoise enum.
type UltraBlurGetImageResponse ¶
func ParseUltraBlurGetImageResponse ¶
func ParseUltraBlurGetImageResponse(rsp *http.Response) (*UltraBlurGetImageResponse, error)
ParseUltraBlurGetImageResponse parses an HTTP response from a UltraBlurGetImageWithResponse call
func (UltraBlurGetImageResponse) ContentType ¶
func (r UltraBlurGetImageResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (UltraBlurGetImageResponse) GetBody ¶
func (r UltraBlurGetImageResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (UltraBlurGetImageResponse) Status ¶
func (r UltraBlurGetImageResponse) Status() string
Status returns HTTPResponse.Status
func (UltraBlurGetImageResponse) StatusCode ¶
func (r UltraBlurGetImageResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdaterGetStatus200JSONResponseBodyMediaContainerReleaseState ¶
type UpdaterGetStatus200JSONResponseBodyMediaContainerReleaseState string
UpdaterGetStatus200JSONResponseBodyMediaContainerReleaseState defines parameters for UpdaterGetStatus.
const ( UpdaterGetStatus200JSONResponseBodyMediaContainerReleaseStateAvailable UpdaterGetStatus200JSONResponseBodyMediaContainerReleaseState = "available" UpdaterGetStatus200JSONResponseBodyMediaContainerReleaseStateDone UpdaterGetStatus200JSONResponseBodyMediaContainerReleaseState = "done" UpdaterGetStatus200JSONResponseBodyMediaContainerReleaseStateDownloaded UpdaterGetStatus200JSONResponseBodyMediaContainerReleaseState = "downloaded" UpdaterGetStatus200JSONResponseBodyMediaContainerReleaseStateDownloading UpdaterGetStatus200JSONResponseBodyMediaContainerReleaseState = "downloading" UpdaterGetStatus200JSONResponseBodyMediaContainerReleaseStateError UpdaterGetStatus200JSONResponseBodyMediaContainerReleaseState = "error" UpdaterGetStatus200JSONResponseBodyMediaContainerReleaseStateInstalling UpdaterGetStatus200JSONResponseBodyMediaContainerReleaseState = "installing" UpdaterGetStatus200JSONResponseBodyMediaContainerReleaseStateNotify UpdaterGetStatus200JSONResponseBodyMediaContainerReleaseState = "notify" UpdaterGetStatus200JSONResponseBodyMediaContainerReleaseStateSkipped UpdaterGetStatus200JSONResponseBodyMediaContainerReleaseState = "skipped" UpdaterGetStatus200JSONResponseBodyMediaContainerReleaseStateTonight UpdaterGetStatus200JSONResponseBodyMediaContainerReleaseState = "tonight" )
Defines values for UpdaterGetStatus200JSONResponseBodyMediaContainerReleaseState.
func (UpdaterGetStatus200JSONResponseBodyMediaContainerReleaseState) Valid ¶
func (e UpdaterGetStatus200JSONResponseBodyMediaContainerReleaseState) Valid() bool
Valid indicates whether the value is a known member of the UpdaterGetStatus200JSONResponseBodyMediaContainerReleaseState enum.
type UpdaterGetStatusResponse ¶
type UpdaterGetStatusResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *struct {
MediaContainer struct {
Release []struct {
// Added A list of what has been added in this version
Added string `json:"added,omitempty,omitzero"`
// DownloadURL The URL of where this update is available
DownloadURL string `json:"downloadURL,omitempty,omitzero"`
// Fixed A list of what has been fixed in this version
Fixed string `json:"fixed,omitempty,omitzero"`
// Key The URL key of the update
Key string `json:"key,omitempty,omitzero"`
// State The status of this update.
//
// - available - This release is available
// - downloading - This release is downloading
// - downloaded - This release has been downloaded
// - installing - This release is installing
// - tonight - This release will be installed tonight
// - skipped - This release has been skipped
// - error - This release has an error
// - notify - This release is only notifying it is available (typically because it cannot be installed on this setup)
// - done - This release is complete
State UpdaterGetStatus200JSONResponseBodyMediaContainerReleaseState `json:"state,omitempty,omitzero"`
// Version The version available
Version string `json:"version,omitempty,omitzero"`
} `json:"Release,omitempty,omitzero"`
// AutoUpdateVersion The version of the updater (currently `1`)
AutoUpdateVersion int `json:"autoUpdateVersion,omitempty,omitzero"`
// CanInstall Indicates whether this install can be updated through these endpoints (typically only on MacOS and Windows)
CanInstall bool `json:"canInstall,omitempty,omitzero"`
// CheckedAt The last time a check for updates was performed
CheckedAt int `json:"checkedAt,omitempty,omitzero"`
// DownloadURL The URL where the update is available
DownloadURL string `json:"downloadURL,omitempty,omitzero"`
// Status The current error code (`0` means no error)
Status int `json:"status,omitempty,omitzero"`
} `json:"MediaContainer,omitempty,omitzero"`
}
}
func ParseUpdaterGetStatusResponse ¶
func ParseUpdaterGetStatusResponse(rsp *http.Response) (*UpdaterGetStatusResponse, error)
ParseUpdaterGetStatusResponse parses an HTTP response from a UpdaterGetStatusWithResponse call
func (UpdaterGetStatusResponse) ContentType ¶
func (r UpdaterGetStatusResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (UpdaterGetStatusResponse) GetBody ¶
func (r UpdaterGetStatusResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (UpdaterGetStatusResponse) GetJSON200 ¶
func (r UpdaterGetStatusResponse) GetJSON200() *struct { MediaContainer struct { Release []struct { // Added A list of what has been added in this version Added string `json:"added,omitempty,omitzero"` // DownloadURL The URL of where this update is available DownloadURL string `json:"downloadURL,omitempty,omitzero"` // Fixed A list of what has been fixed in this version Fixed string `json:"fixed,omitempty,omitzero"` // Key The URL key of the update Key string `json:"key,omitempty,omitzero"` // State The status of this update. // // - available - This release is available // - downloading - This release is downloading // - downloaded - This release has been downloaded // - installing - This release is installing // - tonight - This release will be installed tonight // - skipped - This release has been skipped // - error - This release has an error // - notify - This release is only notifying it is available (typically because it cannot be installed on this setup) // - done - This release is complete State UpdaterGetStatus200JSONResponseBodyMediaContainerReleaseState `json:"state,omitempty,omitzero"` // Version The version available Version string `json:"version,omitempty,omitzero"` } `json:"Release,omitempty,omitzero"` // AutoUpdateVersion The version of the updater (currently `1`) AutoUpdateVersion int `json:"autoUpdateVersion,omitempty,omitzero"` // CanInstall Indicates whether this install can be updated through these endpoints (typically only on MacOS and Windows) CanInstall bool `json:"canInstall,omitempty,omitzero"` // CheckedAt The last time a check for updates was performed CheckedAt int `json:"checkedAt,omitempty,omitzero"` // DownloadURL The URL where the update is available DownloadURL string `json:"downloadURL,omitempty,omitzero"` // Status The current error code (`0` means no error) Status int `json:"status,omitempty,omitzero"` } `json:"MediaContainer,omitempty,omitzero"` }
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (UpdaterGetStatusResponse) Status ¶
func (r UpdaterGetStatusResponse) Status() string
Status returns HTTPResponse.Status
func (UpdaterGetStatusResponse) StatusCode ¶
func (r UpdaterGetStatusResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdaterPutApplyParams ¶
type UpdaterPutApplyParams struct {
// Tonight Indicate that you want the update to run during the next Butler execution. Omitting this or setting it to false indicates that the update should install immediately.
Tonight UpdaterPutApplyParamsTonight `form:"tonight,omitempty" json:"tonight,omitempty,omitzero"`
// Skip Indicate that the latest version should be marked as skipped. The <Release> entry for this version will have the `state` set to `skipped`.
Skip UpdaterPutApplyParamsSkip `form:"skip,omitempty" json:"skip,omitempty,omitzero"`
}
UpdaterPutApplyParams defines parameters for UpdaterPutApply.
type UpdaterPutApplyParamsSkip ¶
type UpdaterPutApplyParamsSkip int
UpdaterPutApplyParamsSkip defines parameters for UpdaterPutApply.
const ( UpdaterPutApplyParamsSkipN0 UpdaterPutApplyParamsSkip = 0 UpdaterPutApplyParamsSkipN1 UpdaterPutApplyParamsSkip = 1 )
Defines values for UpdaterPutApplyParamsSkip.
func (UpdaterPutApplyParamsSkip) Valid ¶
func (e UpdaterPutApplyParamsSkip) Valid() bool
Valid indicates whether the value is a known member of the UpdaterPutApplyParamsSkip enum.
type UpdaterPutApplyParamsTonight ¶
type UpdaterPutApplyParamsTonight int
UpdaterPutApplyParamsTonight defines parameters for UpdaterPutApply.
const ( UpdaterPutApplyParamsTonightN0 UpdaterPutApplyParamsTonight = 0 UpdaterPutApplyParamsTonightN1 UpdaterPutApplyParamsTonight = 1 )
Defines values for UpdaterPutApplyParamsTonight.
func (UpdaterPutApplyParamsTonight) Valid ¶
func (e UpdaterPutApplyParamsTonight) Valid() bool
Valid indicates whether the value is a known member of the UpdaterPutApplyParamsTonight enum.
type UpdaterPutApplyResponse ¶
func ParseUpdaterPutApplyResponse ¶
func ParseUpdaterPutApplyResponse(rsp *http.Response) (*UpdaterPutApplyResponse, error)
ParseUpdaterPutApplyResponse parses an HTTP response from a UpdaterPutApplyWithResponse call
func (UpdaterPutApplyResponse) ContentType ¶
func (r UpdaterPutApplyResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (UpdaterPutApplyResponse) GetBody ¶
func (r UpdaterPutApplyResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (UpdaterPutApplyResponse) Status ¶
func (r UpdaterPutApplyResponse) Status() string
Status returns HTTPResponse.Status
func (UpdaterPutApplyResponse) StatusCode ¶
func (r UpdaterPutApplyResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdaterPutCheckParams ¶
type UpdaterPutCheckParams struct {
// Download Indicate that you want to start download any updates found.
Download UpdaterPutCheckParamsDownload `form:"download,omitempty" json:"download,omitempty,omitzero"`
}
UpdaterPutCheckParams defines parameters for UpdaterPutCheck.
type UpdaterPutCheckParamsDownload ¶
type UpdaterPutCheckParamsDownload int
UpdaterPutCheckParamsDownload defines parameters for UpdaterPutCheck.
const ( UpdaterPutCheckParamsDownloadN0 UpdaterPutCheckParamsDownload = 0 UpdaterPutCheckParamsDownloadN1 UpdaterPutCheckParamsDownload = 1 )
Defines values for UpdaterPutCheckParamsDownload.
func (UpdaterPutCheckParamsDownload) Valid ¶
func (e UpdaterPutCheckParamsDownload) Valid() bool
Valid indicates whether the value is a known member of the UpdaterPutCheckParamsDownload enum.
type UpdaterPutCheckResponse ¶
func ParseUpdaterPutCheckResponse ¶
func ParseUpdaterPutCheckResponse(rsp *http.Response) (*UpdaterPutCheckResponse, error)
ParseUpdaterPutCheckResponse parses an HTTP response from a UpdaterPutCheckWithResponse call
func (UpdaterPutCheckResponse) ContentType ¶
func (r UpdaterPutCheckResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (UpdaterPutCheckResponse) GetBody ¶
func (r UpdaterPutCheckResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (UpdaterPutCheckResponse) Status ¶
func (r UpdaterPutCheckResponse) Status() string
Status returns HTTPResponse.Status
func (UpdaterPutCheckResponse) StatusCode ¶
func (r UpdaterPutCheckResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type VideoResolutionParam ¶
type VideoResolutionParam = string
VideoResolutionParam defines model for 29.
type WebsocketGetSlashParams ¶
type WebsocketGetSlashParams struct {
// Filter By default, all events except logs are sent. A rich filtering mechanism is provided to allow clients to opt into or out of each event type using the `filters` parameter. For example:
//
// - `filters=-log`: All event types except logs (the default).
// - `filters=foo,bar`: Only the foo and bar event types.
// - `filters=`: All events types.
// - `filters=-foo,bar`: All event types except foo and bar.
Filter []string `form:"filter,omitempty" json:"filter,omitempty,omitzero"`
}
WebsocketGetSlashParams defines parameters for WebsocketGetSlash.
type WebsocketGetSlashResponse ¶
func ParseWebsocketGetSlashResponse ¶
func ParseWebsocketGetSlashResponse(rsp *http.Response) (*WebsocketGetSlashResponse, error)
ParseWebsocketGetSlashResponse parses an HTTP response from a WebsocketGetSlashWithResponse call
func (WebsocketGetSlashResponse) ContentType ¶
func (r WebsocketGetSlashResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (WebsocketGetSlashResponse) GetBody ¶
func (r WebsocketGetSlashResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (WebsocketGetSlashResponse) Status ¶
func (r WebsocketGetSlashResponse) Status() string
Status returns HTTPResponse.Status
func (WebsocketGetSlashResponse) StatusCode ¶
func (r WebsocketGetSlashResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type XPlexClientIdentifierParam ¶
type XPlexClientIdentifierParam = string
XPlexClientIdentifierParam defines model for 30.
type XPlexClientProfileExtraParam ¶
type XPlexClientProfileExtraParam = string
XPlexClientProfileExtraParam defines model for 31.
type XPlexClientProfileNameParam ¶
type XPlexClientProfileNameParam = string
XPlexClientProfileNameParam defines model for 32.
Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
plex-openapi
command
Command plex-openapi extracts the Plex Media Server OpenAPI specification from the Redoc documentation page at https://developer.plex.tv/pms/ and prints it as JSON.
|
Command plex-openapi extracts the Plex Media Server OpenAPI specification from the Redoc documentation page at https://developer.plex.tv/pms/ and prints it as JSON. |