Documentation
¶
Index ¶
- type Activity
- func (o *Activity) GetCancellable() *bool
- func (o *Activity) GetContext() *Context
- func (o *Activity) GetProgress() *float64
- func (o *Activity) GetSubtitle() *string
- func (o *Activity) GetTitle() *string
- func (o *Activity) GetType() *string
- func (o *Activity) GetUUID() *string
- func (o *Activity) GetUserID() *float64
- type AddPlaylistContentsRequest
- type AddPlaylistContentsResponse
- type ApplyUpdatesRequest
- type ApplyUpdatesResponse
- type ButlerTask
- type ButlerTasks
- type CancelServerActivitiesRequest
- type CancelServerActivitiesResponse
- type CheckForUpdatesRequest
- type CheckForUpdatesResponse
- type ClearPlaylistContentsRequest
- type ClearPlaylistContentsResponse
- type Context
- type Country
- type CreatePlaylistRequest
- type CreatePlaylistResponse
- type DeleteLibraryRequest
- type DeleteLibraryResponse
- type DeletePlaylistRequest
- type DeletePlaylistResponse
- type Device
- type Director
- type Directory
- type Download
- type EnablePaperTrailResponse
- type Force
- type Genre
- type GetAvailableClientsMediaContainer
- type GetAvailableClientsResponse
- type GetButlerTasksResponse
- type GetButlerTasksResponseBody
- type GetCommonLibraryItemsRequest
- type GetCommonLibraryItemsResponse
- type GetDevicesMediaContainer
- type GetDevicesResponse
- type GetDevicesResponseBody
- type GetFileHashRequest
- type GetFileHashResponse
- type GetGlobalHubsRequest
- type GetGlobalHubsResponse
- type GetLatestLibraryItemsRequest
- type GetLatestLibraryItemsResponse
- type GetLibrariesDirectory
- func (o *GetLibrariesDirectory) GetAgent() *string
- func (o *GetLibrariesDirectory) GetAllowSync() *bool
- func (o *GetLibrariesDirectory) GetArt() *string
- func (o *GetLibrariesDirectory) GetComposite() *string
- func (o *GetLibrariesDirectory) GetContent() *bool
- func (o *GetLibrariesDirectory) GetContentChangedAt() *int
- func (o *GetLibrariesDirectory) GetCreatedAt() *int
- func (o *GetLibrariesDirectory) GetDirectory() *bool
- func (o *GetLibrariesDirectory) GetFilters() *bool
- func (o *GetLibrariesDirectory) GetHidden() *int
- func (o *GetLibrariesDirectory) GetKey() *string
- func (o *GetLibrariesDirectory) GetLanguage() *string
- func (o *GetLibrariesDirectory) GetLocation() []Location
- func (o *GetLibrariesDirectory) GetRefreshing() *bool
- func (o *GetLibrariesDirectory) GetScannedAt() *int
- func (o *GetLibrariesDirectory) GetScanner() *string
- func (o *GetLibrariesDirectory) GetThumb() *string
- func (o *GetLibrariesDirectory) GetTitle() *string
- func (o *GetLibrariesDirectory) GetType() *string
- func (o *GetLibrariesDirectory) GetUUID() *string
- func (o *GetLibrariesDirectory) GetUpdatedAt() *int
- type GetLibrariesMediaContainer
- type GetLibrariesResponse
- type GetLibrariesResponseBody
- type GetLibraryHubsRequest
- type GetLibraryHubsResponse
- type GetLibraryItemsRequest
- type GetLibraryItemsResponse
- type GetLibraryRequest
- type GetLibraryResponse
- type GetMetadataChildrenRequest
- type GetMetadataChildrenResponse
- type GetMetadataRequest
- type GetMetadataResponse
- type GetMyPlexAccountResponse
- type GetMyPlexAccountResponseBody
- type GetOnDeckMedia
- func (o *GetOnDeckMedia) GetAspectRatio() *float64
- func (o *GetOnDeckMedia) GetAudioChannels() *float64
- func (o *GetOnDeckMedia) GetAudioCodec() *string
- func (o *GetOnDeckMedia) GetAudioProfile() *string
- func (o *GetOnDeckMedia) GetBitrate() *float64
- func (o *GetOnDeckMedia) GetContainer() *string
- func (o *GetOnDeckMedia) GetDuration() *float64
- func (o *GetOnDeckMedia) GetHeight() *float64
- func (o *GetOnDeckMedia) GetID() *float64
- func (o *GetOnDeckMedia) GetPart() []GetOnDeckPart
- func (o *GetOnDeckMedia) GetVideoCodec() *string
- func (o *GetOnDeckMedia) GetVideoFrameRate() *string
- func (o *GetOnDeckMedia) GetVideoProfile() *string
- func (o *GetOnDeckMedia) GetVideoResolution() *string
- func (o *GetOnDeckMedia) GetWidth() *float64
- type GetOnDeckMediaContainer
- func (o *GetOnDeckMediaContainer) GetAllowSync() *bool
- func (o *GetOnDeckMediaContainer) GetIdentifier() *string
- func (o *GetOnDeckMediaContainer) GetMediaTagPrefix() *string
- func (o *GetOnDeckMediaContainer) GetMediaTagVersion() *float64
- func (o *GetOnDeckMediaContainer) GetMetadata() []GetOnDeckMetadata
- func (o *GetOnDeckMediaContainer) GetMixedParents() *bool
- func (o *GetOnDeckMediaContainer) GetSize() *float64
- type GetOnDeckMetadata
- func (o *GetOnDeckMetadata) GetAddedAt() *float64
- func (o *GetOnDeckMetadata) GetAllowSync() *bool
- func (o *GetOnDeckMetadata) GetArt() *string
- func (o *GetOnDeckMetadata) GetContentRating() *string
- func (o *GetOnDeckMetadata) GetDuration() *float64
- func (o *GetOnDeckMetadata) GetGUID() *string
- func (o *GetOnDeckMetadata) GetGrandparentArt() *string
- func (o *GetOnDeckMetadata) GetGrandparentGUID() *string
- func (o *GetOnDeckMetadata) GetGrandparentKey() *string
- func (o *GetOnDeckMetadata) GetGrandparentRatingKey() *float64
- func (o *GetOnDeckMetadata) GetGrandparentTheme() *string
- func (o *GetOnDeckMetadata) GetGrandparentThumb() *string
- func (o *GetOnDeckMetadata) GetGrandparentTitle() *string
- func (o *GetOnDeckMetadata) GetGuids() []Guids
- func (o *GetOnDeckMetadata) GetIndex() *float64
- func (o *GetOnDeckMetadata) GetKey() *string
- func (o *GetOnDeckMetadata) GetLastViewedAt() *float64
- func (o *GetOnDeckMetadata) GetLibrarySectionID() *float64
- func (o *GetOnDeckMetadata) GetLibrarySectionKey() *string
- func (o *GetOnDeckMetadata) GetLibrarySectionTitle() *string
- func (o *GetOnDeckMetadata) GetLibrarySectionUUID() *string
- func (o *GetOnDeckMetadata) GetMedia() []GetOnDeckMedia
- func (o *GetOnDeckMetadata) GetOriginallyAvailableAt() *time.Time
- func (o *GetOnDeckMetadata) GetParentGUID() *string
- func (o *GetOnDeckMetadata) GetParentIndex() *float64
- func (o *GetOnDeckMetadata) GetParentKey() *string
- func (o *GetOnDeckMetadata) GetParentRatingKey() *float64
- func (o *GetOnDeckMetadata) GetParentThumb() *string
- func (o *GetOnDeckMetadata) GetParentTitle() *string
- func (o *GetOnDeckMetadata) GetRatingKey() *float64
- func (o *GetOnDeckMetadata) GetSummary() *string
- func (o *GetOnDeckMetadata) GetThumb() *string
- func (o *GetOnDeckMetadata) GetTitle() *string
- func (o *GetOnDeckMetadata) GetType() *string
- func (o *GetOnDeckMetadata) GetUpdatedAt() *float64
- func (o *GetOnDeckMetadata) GetYear() *float64
- func (g GetOnDeckMetadata) MarshalJSON() ([]byte, error)
- func (g *GetOnDeckMetadata) UnmarshalJSON(data []byte) error
- type GetOnDeckPart
- func (o *GetOnDeckPart) GetAudioProfile() *string
- func (o *GetOnDeckPart) GetContainer() *string
- func (o *GetOnDeckPart) GetDuration() *float64
- func (o *GetOnDeckPart) GetFile() *string
- func (o *GetOnDeckPart) GetID() *float64
- func (o *GetOnDeckPart) GetKey() *string
- func (o *GetOnDeckPart) GetSize() *float64
- func (o *GetOnDeckPart) GetStream() []Stream
- func (o *GetOnDeckPart) GetVideoProfile() *string
- type GetOnDeckResponse
- type GetOnDeckResponseBody
- type GetPlaylistContentsRequest
- type GetPlaylistContentsResponse
- type GetPlaylistRequest
- type GetPlaylistResponse
- type GetPlaylistsRequest
- type GetPlaylistsResponse
- type GetRecentlyAddedMediaContainer
- func (o *GetRecentlyAddedMediaContainer) GetAllowSync() *bool
- func (o *GetRecentlyAddedMediaContainer) GetIdentifier() *string
- func (o *GetRecentlyAddedMediaContainer) GetMediaTagPrefix() *string
- func (o *GetRecentlyAddedMediaContainer) GetMediaTagVersion() *float64
- func (o *GetRecentlyAddedMediaContainer) GetMetadata() []Metadata
- func (o *GetRecentlyAddedMediaContainer) GetMixedParents() *bool
- func (o *GetRecentlyAddedMediaContainer) GetSize() *float64
- type GetRecentlyAddedResponse
- type GetRecentlyAddedResponseBody
- type GetResizedPhotoRequest
- func (o *GetResizedPhotoRequest) GetBlur() float64
- func (o *GetResizedPhotoRequest) GetHeight() float64
- func (o *GetResizedPhotoRequest) GetMinSize() MinSize
- func (o *GetResizedPhotoRequest) GetOpacity() int64
- func (o *GetResizedPhotoRequest) GetURL() string
- func (o *GetResizedPhotoRequest) GetUpscale() Upscale
- func (o *GetResizedPhotoRequest) GetWidth() float64
- func (g GetResizedPhotoRequest) MarshalJSON() ([]byte, error)
- func (g *GetResizedPhotoRequest) UnmarshalJSON(data []byte) error
- type GetResizedPhotoResponse
- type GetSearchResultsCountry
- type GetSearchResultsDirector
- type GetSearchResultsGenre
- type GetSearchResultsMedia
- func (o *GetSearchResultsMedia) GetAspectRatio() *float64
- func (o *GetSearchResultsMedia) GetAudioChannels() *float64
- func (o *GetSearchResultsMedia) GetAudioCodec() *string
- func (o *GetSearchResultsMedia) GetAudioProfile() *string
- func (o *GetSearchResultsMedia) GetBitrate() *float64
- func (o *GetSearchResultsMedia) GetContainer() *string
- func (o *GetSearchResultsMedia) GetDuration() *float64
- func (o *GetSearchResultsMedia) GetHeight() *float64
- func (o *GetSearchResultsMedia) GetID() *float64
- func (o *GetSearchResultsMedia) GetPart() []GetSearchResultsPart
- func (o *GetSearchResultsMedia) GetVideoCodec() *string
- func (o *GetSearchResultsMedia) GetVideoFrameRate() *string
- func (o *GetSearchResultsMedia) GetVideoProfile() *string
- func (o *GetSearchResultsMedia) GetVideoResolution() *float64
- func (o *GetSearchResultsMedia) GetWidth() *float64
- type GetSearchResultsMediaContainer
- func (o *GetSearchResultsMediaContainer) GetIdentifier() *string
- func (o *GetSearchResultsMediaContainer) GetMediaTagPrefix() *string
- func (o *GetSearchResultsMediaContainer) GetMediaTagVersion() *float64
- func (o *GetSearchResultsMediaContainer) GetMetadata() []GetSearchResultsMetadata
- func (o *GetSearchResultsMediaContainer) GetProvider() []Provider
- func (o *GetSearchResultsMediaContainer) GetSize() *float64
- type GetSearchResultsMetadata
- func (o *GetSearchResultsMetadata) GetAddedAt() *float64
- func (o *GetSearchResultsMetadata) GetAllowSync() *bool
- func (o *GetSearchResultsMetadata) GetArt() *string
- func (o *GetSearchResultsMetadata) GetAudienceRating() *float64
- func (o *GetSearchResultsMetadata) GetAudienceRatingImage() *string
- func (o *GetSearchResultsMetadata) GetChapterSource() *string
- func (o *GetSearchResultsMetadata) GetContentRating() *string
- func (o *GetSearchResultsMetadata) GetCountry() []GetSearchResultsCountry
- func (o *GetSearchResultsMetadata) GetDirector() []GetSearchResultsDirector
- func (o *GetSearchResultsMetadata) GetDuration() *float64
- func (o *GetSearchResultsMetadata) GetGUID() *string
- func (o *GetSearchResultsMetadata) GetGenre() []GetSearchResultsGenre
- func (o *GetSearchResultsMetadata) GetKey() *string
- func (o *GetSearchResultsMetadata) GetLibrarySectionID() *float64
- func (o *GetSearchResultsMetadata) GetLibrarySectionTitle() *string
- func (o *GetSearchResultsMetadata) GetLibrarySectionUUID() *string
- func (o *GetSearchResultsMetadata) GetMedia() []GetSearchResultsMedia
- func (o *GetSearchResultsMetadata) GetOriginallyAvailableAt() *time.Time
- func (o *GetSearchResultsMetadata) GetPersonal() *bool
- func (o *GetSearchResultsMetadata) GetPrimaryExtraKey() *string
- func (o *GetSearchResultsMetadata) GetRating() *float64
- func (o *GetSearchResultsMetadata) GetRatingImage() *string
- func (o *GetSearchResultsMetadata) GetRatingKey() *float64
- func (o *GetSearchResultsMetadata) GetRole() []GetSearchResultsRole
- func (o *GetSearchResultsMetadata) GetSourceTitle() *string
- func (o *GetSearchResultsMetadata) GetStudio() *string
- func (o *GetSearchResultsMetadata) GetSummary() *string
- func (o *GetSearchResultsMetadata) GetTagline() *string
- func (o *GetSearchResultsMetadata) GetThumb() *string
- func (o *GetSearchResultsMetadata) GetTitle() *string
- func (o *GetSearchResultsMetadata) GetType() *string
- func (o *GetSearchResultsMetadata) GetUpdatedAt() *float64
- func (o *GetSearchResultsMetadata) GetWriter() []GetSearchResultsWriter
- func (o *GetSearchResultsMetadata) GetYear() *float64
- func (g GetSearchResultsMetadata) MarshalJSON() ([]byte, error)
- func (g *GetSearchResultsMetadata) UnmarshalJSON(data []byte) error
- type GetSearchResultsPart
- func (o *GetSearchResultsPart) GetAudioProfile() *string
- func (o *GetSearchResultsPart) GetContainer() *string
- func (o *GetSearchResultsPart) GetDuration() *float64
- func (o *GetSearchResultsPart) GetFile() *string
- func (o *GetSearchResultsPart) GetID() *float64
- func (o *GetSearchResultsPart) GetKey() *string
- func (o *GetSearchResultsPart) GetSize() *float64
- func (o *GetSearchResultsPart) GetVideoProfile() *string
- type GetSearchResultsRequest
- type GetSearchResultsResponse
- type GetSearchResultsResponseBody
- type GetSearchResultsRole
- type GetSearchResultsWriter
- type GetServerActivitiesMediaContainer
- type GetServerActivitiesResponse
- type GetServerActivitiesResponseBody
- type GetServerCapabilitiesResponse
- type GetServerCapabilitiesResponseBody
- type GetServerIdentityMediaContainer
- type GetServerIdentityResponse
- type GetServerIdentityResponseBody
- type GetServerListMediaContainer
- type GetServerListResponse
- type GetServerListResponseBody
- type GetServerListServer
- func (o *GetServerListServer) GetAddress() *string
- func (o *GetServerListServer) GetHost() *string
- func (o *GetServerListServer) GetMachineIdentifier() *string
- func (o *GetServerListServer) GetName() *string
- func (o *GetServerListServer) GetPort() *float64
- func (o *GetServerListServer) GetVersion() *string
- type GetServerPreferencesResponse
- type GetSessionHistoryResponse
- type GetSessionsResponse
- type GetSourceConnectionInformationRequest
- type GetSourceConnectionInformationResponse
- type GetTimelineRequest
- func (o *GetTimelineRequest) GetContext() string
- func (o *GetTimelineRequest) GetDuration() float64
- func (o *GetTimelineRequest) GetHasMDE() float64
- func (o *GetTimelineRequest) GetKey() string
- func (o *GetTimelineRequest) GetPlayBackTime() float64
- func (o *GetTimelineRequest) GetPlayQueueItemID() float64
- func (o *GetTimelineRequest) GetRatingKey() float64
- func (o *GetTimelineRequest) GetRow() float64
- func (o *GetTimelineRequest) GetState() State
- func (o *GetTimelineRequest) GetTime() float64
- type GetTimelineResponse
- type GetTranscodeSessionsMediaContainer
- type GetTranscodeSessionsResponse
- type GetTranscodeSessionsResponseBody
- type GetTransientTokenRequest
- type GetTransientTokenResponse
- type GetUpdateStatusResponse
- type Guids
- type IncludeDetails
- type Level
- type Location
- type LogLineRequest
- type LogLineResponse
- type LogMultiLineResponse
- type MarkPlayedRequest
- type MarkPlayedResponse
- type MarkUnplayedRequest
- type MarkUnplayedResponse
- type Media
- func (o *Media) GetAspectRatio() *float64
- func (o *Media) GetAudioChannels() *float64
- func (o *Media) GetAudioCodec() *string
- func (o *Media) GetBitrate() *float64
- func (o *Media) GetContainer() *string
- func (o *Media) GetDuration() *float64
- func (o *Media) GetHas64bitOffsets() *bool
- func (o *Media) GetHeight() *float64
- func (o *Media) GetID() *float64
- func (o *Media) GetOptimizedForStreaming() *float64
- func (o *Media) GetPart() []Part
- func (o *Media) GetVideoCodec() *string
- func (o *Media) GetVideoFrameRate() *string
- func (o *Media) GetVideoProfile() *string
- func (o *Media) GetVideoResolution() *float64
- func (o *Media) GetWidth() *float64
- type MediaContainer
- func (o *MediaContainer) GetAllowCameraUpload() *bool
- func (o *MediaContainer) GetAllowChannelAccess() *bool
- func (o *MediaContainer) GetAllowMediaDeletion() *bool
- func (o *MediaContainer) GetAllowSharing() *bool
- func (o *MediaContainer) GetAllowSync() *bool
- func (o *MediaContainer) GetAllowTuners() *bool
- func (o *MediaContainer) GetBackgroundProcessing() *bool
- func (o *MediaContainer) GetCertificate() *bool
- func (o *MediaContainer) GetCompanionProxy() *bool
- func (o *MediaContainer) GetCountryCode() *string
- func (o *MediaContainer) GetDiagnostics() *string
- func (o *MediaContainer) GetDirectory() []Directory
- func (o *MediaContainer) GetEventStream() *bool
- func (o *MediaContainer) GetFriendlyName() *string
- func (o *MediaContainer) GetHubSearch() *bool
- func (o *MediaContainer) GetItemClusters() *bool
- func (o *MediaContainer) GetLivetv() *float64
- func (o *MediaContainer) GetMachineIdentifier() *string
- func (o *MediaContainer) GetMediaProviders() *bool
- func (o *MediaContainer) GetMultiuser() *bool
- func (o *MediaContainer) GetMusicAnalysis() *float64
- func (o *MediaContainer) GetMyPlex() *bool
- func (o *MediaContainer) GetMyPlexMappingState() *string
- func (o *MediaContainer) GetMyPlexSigninState() *string
- func (o *MediaContainer) GetMyPlexSubscription() *bool
- func (o *MediaContainer) GetMyPlexUsername() *string
- func (o *MediaContainer) GetOfflineTranscode() *float64
- func (o *MediaContainer) GetOwnerFeatures() *string
- func (o *MediaContainer) GetPhotoAutoTag() *bool
- func (o *MediaContainer) GetPlatform() *string
- func (o *MediaContainer) GetPlatformVersion() *string
- func (o *MediaContainer) GetPluginHost() *bool
- func (o *MediaContainer) GetPushNotifications() *bool
- func (o *MediaContainer) GetReadOnlyLibraries() *bool
- func (o *MediaContainer) GetSize() *float64
- func (o *MediaContainer) GetStreamingBrainABRVersion() *float64
- func (o *MediaContainer) GetStreamingBrainVersion() *float64
- func (o *MediaContainer) GetSync() *bool
- func (o *MediaContainer) GetTranscoderActiveVideoSessions() *float64
- func (o *MediaContainer) GetTranscoderAudio() *bool
- func (o *MediaContainer) GetTranscoderLyrics() *bool
- func (o *MediaContainer) GetTranscoderPhoto() *bool
- func (o *MediaContainer) GetTranscoderSubtitles() *bool
- func (o *MediaContainer) GetTranscoderVideo() *bool
- func (o *MediaContainer) GetTranscoderVideoBitrates() *string
- func (o *MediaContainer) GetTranscoderVideoQualities() *string
- func (o *MediaContainer) GetTranscoderVideoResolutions() *string
- func (o *MediaContainer) GetUpdatedAt() *float64
- func (o *MediaContainer) GetUpdater() *bool
- func (o *MediaContainer) GetVersion() *string
- func (o *MediaContainer) GetVoiceSearch() *bool
- type Metadata
- func (o *Metadata) GetAddedAt() *float64
- func (o *Metadata) GetAllowSync() *bool
- func (o *Metadata) GetArt() *string
- func (o *Metadata) GetAudienceRating() *float64
- func (o *Metadata) GetAudienceRatingImage() *string
- func (o *Metadata) GetChapterSource() *string
- func (o *Metadata) GetContentRating() *string
- func (o *Metadata) GetCountry() []Country
- func (o *Metadata) GetDirector() []Director
- func (o *Metadata) GetDuration() *float64
- func (o *Metadata) GetGUID() *string
- func (o *Metadata) GetGenre() []Genre
- func (o *Metadata) GetKey() *string
- func (o *Metadata) GetLibrarySectionID() *float64
- func (o *Metadata) GetLibrarySectionTitle() *string
- func (o *Metadata) GetLibrarySectionUUID() *string
- func (o *Metadata) GetMedia() []Media
- func (o *Metadata) GetOriginallyAvailableAt() *time.Time
- func (o *Metadata) GetPrimaryExtraKey() *string
- func (o *Metadata) GetRating() *float64
- func (o *Metadata) GetRatingImage() *string
- func (o *Metadata) GetRatingKey() *float64
- func (o *Metadata) GetRole() []Role
- func (o *Metadata) GetStudio() *string
- func (o *Metadata) GetSummary() *string
- func (o *Metadata) GetTagline() *string
- func (o *Metadata) GetThumb() *string
- func (o *Metadata) GetTitle() *string
- func (o *Metadata) GetType() *string
- func (o *Metadata) GetUpdatedAt() *float64
- func (o *Metadata) GetWriter() []Writer
- func (o *Metadata) GetYear() *float64
- func (m Metadata) MarshalJSON() ([]byte, error)
- func (m *Metadata) UnmarshalJSON(data []byte) error
- type MinSize
- type MyPlex
- func (o *MyPlex) GetAuthToken() *string
- func (o *MyPlex) GetMappingError() *string
- func (o *MyPlex) GetMappingState() *string
- func (o *MyPlex) GetPrivateAddress() *string
- func (o *MyPlex) GetPrivatePort() *float64
- func (o *MyPlex) GetPublicAddress() *string
- func (o *MyPlex) GetPublicPort() *float64
- func (o *MyPlex) GetSignInState() *string
- func (o *MyPlex) GetSubscriptionActive() *bool
- func (o *MyPlex) GetSubscriptionFeatures() *string
- func (o *MyPlex) GetSubscriptionState() *string
- func (o *MyPlex) GetUsername() *string
- type OnlyTransient
- type Part
- func (o *Part) GetContainer() *string
- func (o *Part) GetDuration() *float64
- func (o *Part) GetFile() *string
- func (o *Part) GetHas64bitOffsets() *bool
- func (o *Part) GetHasThumbnail() *float64
- func (o *Part) GetID() *float64
- func (o *Part) GetKey() *string
- func (o *Part) GetOptimizedForStreaming() *bool
- func (o *Part) GetSize() *float64
- func (o *Part) GetVideoProfile() *string
- type PathParamTaskName
- type PerformSearchRequest
- type PerformSearchResponse
- type PerformVoiceSearchRequest
- func (o *PerformVoiceSearchRequest) GetLimit() *float64
- func (o *PerformVoiceSearchRequest) GetQuery() string
- func (o *PerformVoiceSearchRequest) GetSectionID() *float64
- func (p PerformVoiceSearchRequest) MarshalJSON() ([]byte, error)
- func (p *PerformVoiceSearchRequest) UnmarshalJSON(data []byte) error
- type PerformVoiceSearchResponse
- type PlaylistType
- type Provider
- type QueryParamOnlyTransient
- type QueryParamSmart
- type QueryParamType
- type RefreshLibraryRequest
- type RefreshLibraryResponse
- type ResponseBody
- type Role
- type Scope
- type Server
- func (o *Server) GetAddress() *string
- func (o *Server) GetDeviceClass() *string
- func (o *Server) GetHost() *string
- func (o *Server) GetMachineIdentifier() *string
- func (o *Server) GetName() *string
- func (o *Server) GetPort() *float64
- func (o *Server) GetProduct() *string
- func (o *Server) GetProtocol() *string
- func (o *Server) GetProtocolCapabilities() *string
- func (o *Server) GetProtocolVersion() *float64
- func (o *Server) GetVersion() *string
- type Skip
- type Smart
- type StartAllTasksResponse
- type StartTaskRequest
- type StartTaskResponse
- type StartUniversalTranscodeRequest
- func (o *StartUniversalTranscodeRequest) GetAddDebugOverlay() *float64
- func (o *StartUniversalTranscodeRequest) GetAudioBoost() *float64
- func (o *StartUniversalTranscodeRequest) GetAutoAdjustQuality() *float64
- func (o *StartUniversalTranscodeRequest) GetDirectPlay() *float64
- func (o *StartUniversalTranscodeRequest) GetDirectStream() *float64
- func (o *StartUniversalTranscodeRequest) GetFastSeek() *float64
- func (o *StartUniversalTranscodeRequest) GetHasMDE() float64
- func (o *StartUniversalTranscodeRequest) GetLocation() *string
- func (o *StartUniversalTranscodeRequest) GetMediaBufferSize() *float64
- func (o *StartUniversalTranscodeRequest) GetMediaIndex() float64
- func (o *StartUniversalTranscodeRequest) GetPartIndex() float64
- func (o *StartUniversalTranscodeRequest) GetPath() string
- func (o *StartUniversalTranscodeRequest) GetProtocol() string
- func (o *StartUniversalTranscodeRequest) GetSession() *string
- func (o *StartUniversalTranscodeRequest) GetSubtites() *string
- func (o *StartUniversalTranscodeRequest) GetSubtitleSize() *float64
- type StartUniversalTranscodeResponse
- type State
- type StopAllTasksResponse
- type StopTaskRequest
- type StopTaskResponse
- type StopTranscodeSessionRequest
- type StopTranscodeSessionResponse
- type Stream
- func (o *Stream) GetBitDepth() *float64
- func (o *Stream) GetBitrate() *float64
- func (o *Stream) GetChromaLocation() *string
- func (o *Stream) GetChromaSubsampling() *string
- func (o *Stream) GetCodec() *string
- func (o *Stream) GetCodedHeight() *float64
- func (o *Stream) GetCodedWidth() *float64
- func (o *Stream) GetColorRange() *string
- func (o *Stream) GetDefault() *bool
- func (o *Stream) GetDisplayTitle() *string
- func (o *Stream) GetExtendedDisplayTitle() *string
- func (o *Stream) GetFrameRate() *float64
- func (o *Stream) GetHeight() *float64
- func (o *Stream) GetID() *float64
- func (o *Stream) GetIndex() *float64
- func (o *Stream) GetLanguage() *string
- func (o *Stream) GetLanguageCode() *string
- func (o *Stream) GetLanguageTag() *string
- func (o *Stream) GetLevel() *float64
- func (o *Stream) GetProfile() *string
- func (o *Stream) GetRefFrames() *float64
- func (o *Stream) GetStreamType() *float64
- func (o *Stream) GetWidth() *float64
- type TaskName
- type Tonight
- type TranscodeSession
- func (o *TranscodeSession) GetAudioChannels() *float64
- func (o *TranscodeSession) GetAudioCodec() *string
- func (o *TranscodeSession) GetAudioDecision() *string
- func (o *TranscodeSession) GetComplete() *bool
- func (o *TranscodeSession) GetContainer() *string
- func (o *TranscodeSession) GetContext() *string
- func (o *TranscodeSession) GetDuration() *float64
- func (o *TranscodeSession) GetError() *bool
- func (o *TranscodeSession) GetKey() *string
- func (o *TranscodeSession) GetMaxOffsetAvailable() *float64
- func (o *TranscodeSession) GetMinOffsetAvailable() *float64
- func (o *TranscodeSession) GetProgress() *float64
- func (o *TranscodeSession) GetProtocol() *string
- func (o *TranscodeSession) GetSize() *float64
- func (o *TranscodeSession) GetSourceAudioCodec() *string
- func (o *TranscodeSession) GetSourceVideoCodec() *string
- func (o *TranscodeSession) GetSpeed() *float64
- func (o *TranscodeSession) GetThrottled() *bool
- func (o *TranscodeSession) GetTimeStamp() *float64
- func (o *TranscodeSession) GetTranscodeHwRequested() *bool
- func (o *TranscodeSession) GetVideoCodec() *string
- func (o *TranscodeSession) GetVideoDecision() *string
- type Type
- type UpdatePlayProgressRequest
- type UpdatePlayProgressResponse
- type UpdatePlaylistRequest
- type UpdatePlaylistResponse
- type UploadPlaylistRequest
- type UploadPlaylistResponse
- type Upscale
- type Writer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Activity ¶
type Activity struct {
UUID *string `json:"uuid,omitempty"`
Type *string `json:"type,omitempty"`
Cancellable *bool `json:"cancellable,omitempty"`
UserID *float64 `json:"userID,omitempty"`
Title *string `json:"title,omitempty"`
Subtitle *string `json:"subtitle,omitempty"`
Progress *float64 `json:"progress,omitempty"`
Context *Context `json:"Context,omitempty"`
}
func (*Activity) GetCancellable ¶
func (*Activity) GetContext ¶
func (*Activity) GetProgress ¶
func (*Activity) GetSubtitle ¶
type AddPlaylistContentsRequest ¶
type AddPlaylistContentsRequest struct {
// the ID of the playlist
PlaylistID float64 `pathParam:"style=simple,explode=false,name=playlistID"`
// the content URI for the playlist
URI string `queryParam:"style=form,explode=true,name=uri"`
// the play queue to add to a playlist
PlayQueueID float64 `queryParam:"style=form,explode=true,name=playQueueID"`
}
func (*AddPlaylistContentsRequest) GetPlayQueueID ¶
func (o *AddPlaylistContentsRequest) GetPlayQueueID() float64
func (*AddPlaylistContentsRequest) GetPlaylistID ¶
func (o *AddPlaylistContentsRequest) GetPlaylistID() float64
func (*AddPlaylistContentsRequest) GetURI ¶
func (o *AddPlaylistContentsRequest) GetURI() string
type AddPlaylistContentsResponse ¶
type AddPlaylistContentsResponse struct {
// HTTP response content type for this operation
ContentType string
// HTTP response status code for this operation
StatusCode int
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response
}
func (*AddPlaylistContentsResponse) GetContentType ¶
func (o *AddPlaylistContentsResponse) GetContentType() string
func (*AddPlaylistContentsResponse) GetRawResponse ¶
func (o *AddPlaylistContentsResponse) GetRawResponse() *http.Response
func (*AddPlaylistContentsResponse) GetStatusCode ¶
func (o *AddPlaylistContentsResponse) GetStatusCode() int
type ApplyUpdatesRequest ¶
type ApplyUpdatesRequest struct {
// 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
Tonight *Tonight `queryParam:"style=form,explode=true,name=tonight"`
// Indicate that the latest version should be marked as skipped. The <Release> entry for this version will have the `state` set to `skipped`.
Skip *Skip `queryParam:"style=form,explode=true,name=skip"`
}
func (*ApplyUpdatesRequest) GetSkip ¶
func (o *ApplyUpdatesRequest) GetSkip() *Skip
func (*ApplyUpdatesRequest) GetTonight ¶
func (o *ApplyUpdatesRequest) GetTonight() *Tonight
type ApplyUpdatesResponse ¶
type ApplyUpdatesResponse struct {
// HTTP response content type for this operation
ContentType string
// HTTP response status code for this operation
StatusCode int
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response
}
func (*ApplyUpdatesResponse) GetContentType ¶
func (o *ApplyUpdatesResponse) GetContentType() string
func (*ApplyUpdatesResponse) GetRawResponse ¶
func (o *ApplyUpdatesResponse) GetRawResponse() *http.Response
func (*ApplyUpdatesResponse) GetStatusCode ¶
func (o *ApplyUpdatesResponse) GetStatusCode() int
type ButlerTask ¶
type ButlerTask struct {
Name *string `json:"name,omitempty"`
Interval *float64 `json:"interval,omitempty"`
ScheduleRandomized *bool `json:"scheduleRandomized,omitempty"`
Enabled *bool `json:"enabled,omitempty"`
Title *string `json:"title,omitempty"`
Description *string `json:"description,omitempty"`
}
func (*ButlerTask) GetDescription ¶
func (o *ButlerTask) GetDescription() *string
func (*ButlerTask) GetEnabled ¶
func (o *ButlerTask) GetEnabled() *bool
func (*ButlerTask) GetInterval ¶
func (o *ButlerTask) GetInterval() *float64
func (*ButlerTask) GetName ¶
func (o *ButlerTask) GetName() *string
func (*ButlerTask) GetScheduleRandomized ¶
func (o *ButlerTask) GetScheduleRandomized() *bool
func (*ButlerTask) GetTitle ¶
func (o *ButlerTask) GetTitle() *string
type ButlerTasks ¶
type ButlerTasks struct {
ButlerTask []ButlerTask `json:"ButlerTask,omitempty"`
}
func (*ButlerTasks) GetButlerTask ¶
func (o *ButlerTasks) GetButlerTask() []ButlerTask
type CancelServerActivitiesRequest ¶
type CancelServerActivitiesRequest struct {
// The UUID of the activity to cancel.
ActivityUUID string `pathParam:"style=simple,explode=false,name=activityUUID"`
}
func (*CancelServerActivitiesRequest) GetActivityUUID ¶
func (o *CancelServerActivitiesRequest) GetActivityUUID() string
type CancelServerActivitiesResponse ¶
type CancelServerActivitiesResponse struct {
// HTTP response content type for this operation
ContentType string
// HTTP response status code for this operation
StatusCode int
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response
}
func (*CancelServerActivitiesResponse) GetContentType ¶
func (o *CancelServerActivitiesResponse) GetContentType() string
func (*CancelServerActivitiesResponse) GetRawResponse ¶
func (o *CancelServerActivitiesResponse) GetRawResponse() *http.Response
func (*CancelServerActivitiesResponse) GetStatusCode ¶
func (o *CancelServerActivitiesResponse) GetStatusCode() int
type CheckForUpdatesRequest ¶
type CheckForUpdatesRequest struct {
// Indicate that you want to start download any updates found.
Download *Download `queryParam:"style=form,explode=true,name=download"`
}
func (*CheckForUpdatesRequest) GetDownload ¶
func (o *CheckForUpdatesRequest) GetDownload() *Download
type CheckForUpdatesResponse ¶
type CheckForUpdatesResponse struct {
// HTTP response content type for this operation
ContentType string
// HTTP response status code for this operation
StatusCode int
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response
}
func (*CheckForUpdatesResponse) GetContentType ¶
func (o *CheckForUpdatesResponse) GetContentType() string
func (*CheckForUpdatesResponse) GetRawResponse ¶
func (o *CheckForUpdatesResponse) GetRawResponse() *http.Response
func (*CheckForUpdatesResponse) GetStatusCode ¶
func (o *CheckForUpdatesResponse) GetStatusCode() int
type ClearPlaylistContentsRequest ¶
type ClearPlaylistContentsRequest struct {
// the ID of the playlist
PlaylistID float64 `pathParam:"style=simple,explode=false,name=playlistID"`
}
func (*ClearPlaylistContentsRequest) GetPlaylistID ¶
func (o *ClearPlaylistContentsRequest) GetPlaylistID() float64
type ClearPlaylistContentsResponse ¶
type ClearPlaylistContentsResponse struct {
// HTTP response content type for this operation
ContentType string
// HTTP response status code for this operation
StatusCode int
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response
}
func (*ClearPlaylistContentsResponse) GetContentType ¶
func (o *ClearPlaylistContentsResponse) GetContentType() string
func (*ClearPlaylistContentsResponse) GetRawResponse ¶
func (o *ClearPlaylistContentsResponse) GetRawResponse() *http.Response
func (*ClearPlaylistContentsResponse) GetStatusCode ¶
func (o *ClearPlaylistContentsResponse) GetStatusCode() int
type Context ¶
type Context struct {
LibrarySectionID *string `json:"librarySectionID,omitempty"`
}
func (*Context) GetLibrarySectionID ¶
type CreatePlaylistRequest ¶
type CreatePlaylistRequest struct {
// name of the playlist
Title string `queryParam:"style=form,explode=true,name=title"`
// type of playlist to create
Type Type `queryParam:"style=form,explode=true,name=type"`
// whether the playlist is smart or not
Smart Smart `queryParam:"style=form,explode=true,name=smart"`
// the content URI for the playlist
URI *string `queryParam:"style=form,explode=true,name=uri"`
// the play queue to copy to a playlist
PlayQueueID *float64 `queryParam:"style=form,explode=true,name=playQueueID"`
}
func (*CreatePlaylistRequest) GetPlayQueueID ¶
func (o *CreatePlaylistRequest) GetPlayQueueID() *float64
func (*CreatePlaylistRequest) GetSmart ¶
func (o *CreatePlaylistRequest) GetSmart() Smart
func (*CreatePlaylistRequest) GetTitle ¶
func (o *CreatePlaylistRequest) GetTitle() string
func (*CreatePlaylistRequest) GetType ¶
func (o *CreatePlaylistRequest) GetType() Type
func (*CreatePlaylistRequest) GetURI ¶
func (o *CreatePlaylistRequest) GetURI() *string
type CreatePlaylistResponse ¶
type CreatePlaylistResponse struct {
// HTTP response content type for this operation
ContentType string
// HTTP response status code for this operation
StatusCode int
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response
}
func (*CreatePlaylistResponse) GetContentType ¶
func (o *CreatePlaylistResponse) GetContentType() string
func (*CreatePlaylistResponse) GetRawResponse ¶
func (o *CreatePlaylistResponse) GetRawResponse() *http.Response
func (*CreatePlaylistResponse) GetStatusCode ¶
func (o *CreatePlaylistResponse) GetStatusCode() int
type DeleteLibraryRequest ¶
type DeleteLibraryRequest struct {
// the Id of the library to query
SectionID float64 `pathParam:"style=simple,explode=false,name=sectionId"`
}
func (*DeleteLibraryRequest) GetSectionID ¶
func (o *DeleteLibraryRequest) GetSectionID() float64
type DeleteLibraryResponse ¶
type DeleteLibraryResponse struct {
// HTTP response content type for this operation
ContentType string
// HTTP response status code for this operation
StatusCode int
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response
}
func (*DeleteLibraryResponse) GetContentType ¶
func (o *DeleteLibraryResponse) GetContentType() string
func (*DeleteLibraryResponse) GetRawResponse ¶
func (o *DeleteLibraryResponse) GetRawResponse() *http.Response
func (*DeleteLibraryResponse) GetStatusCode ¶
func (o *DeleteLibraryResponse) GetStatusCode() int
type DeletePlaylistRequest ¶
type DeletePlaylistRequest struct {
// the ID of the playlist
PlaylistID float64 `pathParam:"style=simple,explode=false,name=playlistID"`
}
func (*DeletePlaylistRequest) GetPlaylistID ¶
func (o *DeletePlaylistRequest) GetPlaylistID() float64
type DeletePlaylistResponse ¶
type DeletePlaylistResponse struct {
// HTTP response content type for this operation
ContentType string
// HTTP response status code for this operation
StatusCode int
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response
}
func (*DeletePlaylistResponse) GetContentType ¶
func (o *DeletePlaylistResponse) GetContentType() string
func (*DeletePlaylistResponse) GetRawResponse ¶
func (o *DeletePlaylistResponse) GetRawResponse() *http.Response
func (*DeletePlaylistResponse) GetStatusCode ¶
func (o *DeletePlaylistResponse) GetStatusCode() int
type Device ¶
type Device struct {
ID *float64 `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
Platform *string `json:"platform,omitempty"`
ClientIdentifier *string `json:"clientIdentifier,omitempty"`
CreatedAt *float64 `json:"createdAt,omitempty"`
}
func (*Device) GetClientIdentifier ¶
func (*Device) GetCreatedAt ¶
func (*Device) GetPlatform ¶
type Directory ¶
type Download ¶
type Download int64
Download - Indicate that you want to start download any updates found.
func (*Download) UnmarshalJSON ¶
type EnablePaperTrailResponse ¶
type EnablePaperTrailResponse struct {
// HTTP response content type for this operation
ContentType string
// HTTP response status code for this operation
StatusCode int
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response
}
func (*EnablePaperTrailResponse) GetContentType ¶
func (o *EnablePaperTrailResponse) GetContentType() string
func (*EnablePaperTrailResponse) GetRawResponse ¶
func (o *EnablePaperTrailResponse) GetRawResponse() *http.Response
func (*EnablePaperTrailResponse) GetStatusCode ¶
func (o *EnablePaperTrailResponse) GetStatusCode() int
type Force ¶
type Force int64
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.
func (*Force) UnmarshalJSON ¶
type GetAvailableClientsMediaContainer ¶
type GetAvailableClientsMediaContainer struct {
Size *float64 `json:"size,omitempty"`
Server []Server `json:"Server,omitempty"`
}
func (*GetAvailableClientsMediaContainer) GetServer ¶
func (o *GetAvailableClientsMediaContainer) GetServer() []Server
func (*GetAvailableClientsMediaContainer) GetSize ¶
func (o *GetAvailableClientsMediaContainer) GetSize() *float64
type GetAvailableClientsResponse ¶
type GetAvailableClientsResponse struct {
// HTTP response content type for this operation
ContentType string
// HTTP response status code for this operation
StatusCode int
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response
// Available Clients
ResponseBodies []ResponseBody
}
func (*GetAvailableClientsResponse) GetContentType ¶
func (o *GetAvailableClientsResponse) GetContentType() string
func (*GetAvailableClientsResponse) GetRawResponse ¶
func (o *GetAvailableClientsResponse) GetRawResponse() *http.Response
func (*GetAvailableClientsResponse) GetResponseBodies ¶
func (o *GetAvailableClientsResponse) GetResponseBodies() []ResponseBody
func (*GetAvailableClientsResponse) GetStatusCode ¶
func (o *GetAvailableClientsResponse) GetStatusCode() int
type GetButlerTasksResponse ¶
type GetButlerTasksResponse struct {
// HTTP response content type for this operation
ContentType string
// HTTP response status code for this operation
StatusCode int
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response
// All butler tasks
Object *GetButlerTasksResponseBody
}
func (*GetButlerTasksResponse) GetContentType ¶
func (o *GetButlerTasksResponse) GetContentType() string
func (*GetButlerTasksResponse) GetObject ¶
func (o *GetButlerTasksResponse) GetObject() *GetButlerTasksResponseBody
func (*GetButlerTasksResponse) GetRawResponse ¶
func (o *GetButlerTasksResponse) GetRawResponse() *http.Response
func (*GetButlerTasksResponse) GetStatusCode ¶
func (o *GetButlerTasksResponse) GetStatusCode() int
type GetButlerTasksResponseBody ¶
type GetButlerTasksResponseBody struct {
ButlerTasks *ButlerTasks `json:"ButlerTasks,omitempty"`
}
GetButlerTasksResponseBody - All butler tasks
func (*GetButlerTasksResponseBody) GetButlerTasks ¶
func (o *GetButlerTasksResponseBody) GetButlerTasks() *ButlerTasks
type GetCommonLibraryItemsRequest ¶
type GetCommonLibraryItemsRequest struct {
// the Id of the library to query
SectionID float64 `pathParam:"style=simple,explode=false,name=sectionId"`
// item type
Type float64 `queryParam:"style=form,explode=true,name=type"`
// the filter parameter
Filter *string `queryParam:"style=form,explode=true,name=filter"`
}
func (*GetCommonLibraryItemsRequest) GetFilter ¶
func (o *GetCommonLibraryItemsRequest) GetFilter() *string
func (*GetCommonLibraryItemsRequest) GetSectionID ¶
func (o *GetCommonLibraryItemsRequest) GetSectionID() float64
func (*GetCommonLibraryItemsRequest) GetType ¶
func (o *GetCommonLibraryItemsRequest) GetType() float64
type GetCommonLibraryItemsResponse ¶
type GetCommonLibraryItemsResponse struct {
// HTTP response content type for this operation
ContentType string
// HTTP response status code for this operation
StatusCode int
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response
}
func (*GetCommonLibraryItemsResponse) GetContentType ¶
func (o *GetCommonLibraryItemsResponse) GetContentType() string
func (*GetCommonLibraryItemsResponse) GetRawResponse ¶
func (o *GetCommonLibraryItemsResponse) GetRawResponse() *http.Response
func (*GetCommonLibraryItemsResponse) GetStatusCode ¶
func (o *GetCommonLibraryItemsResponse) GetStatusCode() int
type GetDevicesMediaContainer ¶
type GetDevicesMediaContainer struct {
Size *float64 `json:"size,omitempty"`
Identifier *string `json:"identifier,omitempty"`
Device []Device `json:"Device,omitempty"`
}
func (*GetDevicesMediaContainer) GetDevice ¶
func (o *GetDevicesMediaContainer) GetDevice() []Device
func (*GetDevicesMediaContainer) GetIdentifier ¶
func (o *GetDevicesMediaContainer) GetIdentifier() *string
func (*GetDevicesMediaContainer) GetSize ¶
func (o *GetDevicesMediaContainer) GetSize() *float64
type GetDevicesResponse ¶
type GetDevicesResponse struct {
// HTTP response content type for this operation
ContentType string
// HTTP response status code for this operation
StatusCode int
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response
// Devices
Object *GetDevicesResponseBody
}
func (*GetDevicesResponse) GetContentType ¶
func (o *GetDevicesResponse) GetContentType() string
func (*GetDevicesResponse) GetObject ¶
func (o *GetDevicesResponse) GetObject() *GetDevicesResponseBody
func (*GetDevicesResponse) GetRawResponse ¶
func (o *GetDevicesResponse) GetRawResponse() *http.Response
func (*GetDevicesResponse) GetStatusCode ¶
func (o *GetDevicesResponse) GetStatusCode() int
type GetDevicesResponseBody ¶
type GetDevicesResponseBody struct {
MediaContainer *GetDevicesMediaContainer `json:"MediaContainer,omitempty"`
}
GetDevicesResponseBody - Devices
func (*GetDevicesResponseBody) GetMediaContainer ¶
func (o *GetDevicesResponseBody) GetMediaContainer() *GetDevicesMediaContainer
type GetFileHashRequest ¶
type GetFileHashRequest struct {
// This is the path to the local file, must be prefixed by `file://`
URL string `queryParam:"style=form,explode=true,name=url"`
// Item type
Type *float64 `queryParam:"style=form,explode=true,name=type"`
}
func (*GetFileHashRequest) GetType ¶
func (o *GetFileHashRequest) GetType() *float64
func (*GetFileHashRequest) GetURL ¶
func (o *GetFileHashRequest) GetURL() string
type GetFileHashResponse ¶
type GetFileHashResponse struct {
// HTTP response content type for this operation
ContentType string
// HTTP response status code for this operation
StatusCode int
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response
}
func (*GetFileHashResponse) GetContentType ¶
func (o *GetFileHashResponse) GetContentType() string
func (*GetFileHashResponse) GetRawResponse ¶
func (o *GetFileHashResponse) GetRawResponse() *http.Response
func (*GetFileHashResponse) GetStatusCode ¶
func (o *GetFileHashResponse) GetStatusCode() int
type GetGlobalHubsRequest ¶
type GetGlobalHubsRequest struct {
// The number of items to return with each hub.
Count *float64 `queryParam:"style=form,explode=true,name=count"`
// 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 *OnlyTransient `queryParam:"style=form,explode=true,name=onlyTransient"`
}
func (*GetGlobalHubsRequest) GetCount ¶
func (o *GetGlobalHubsRequest) GetCount() *float64
func (*GetGlobalHubsRequest) GetOnlyTransient ¶
func (o *GetGlobalHubsRequest) GetOnlyTransient() *OnlyTransient
type GetGlobalHubsResponse ¶
type GetGlobalHubsResponse struct {
// HTTP response content type for this operation
ContentType string
// HTTP response status code for this operation
StatusCode int
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response
}
func (*GetGlobalHubsResponse) GetContentType ¶
func (o *GetGlobalHubsResponse) GetContentType() string
func (*GetGlobalHubsResponse) GetRawResponse ¶
func (o *GetGlobalHubsResponse) GetRawResponse() *http.Response
func (*GetGlobalHubsResponse) GetStatusCode ¶
func (o *GetGlobalHubsResponse) GetStatusCode() int
type GetLatestLibraryItemsRequest ¶
type GetLatestLibraryItemsRequest struct {
// the Id of the library to query
SectionID float64 `pathParam:"style=simple,explode=false,name=sectionId"`
// item type
Type float64 `queryParam:"style=form,explode=true,name=type"`
// the filter parameter
Filter *string `queryParam:"style=form,explode=true,name=filter"`
}
func (*GetLatestLibraryItemsRequest) GetFilter ¶
func (o *GetLatestLibraryItemsRequest) GetFilter() *string
func (*GetLatestLibraryItemsRequest) GetSectionID ¶
func (o *GetLatestLibraryItemsRequest) GetSectionID() float64
func (*GetLatestLibraryItemsRequest) GetType ¶
func (o *GetLatestLibraryItemsRequest) GetType() float64
type GetLatestLibraryItemsResponse ¶
type GetLatestLibraryItemsResponse struct {
// HTTP response content type for this operation
ContentType string
// HTTP response status code for this operation
StatusCode int
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response
}
func (*GetLatestLibraryItemsResponse) GetContentType ¶
func (o *GetLatestLibraryItemsResponse) GetContentType() string
func (*GetLatestLibraryItemsResponse) GetRawResponse ¶
func (o *GetLatestLibraryItemsResponse) GetRawResponse() *http.Response
func (*GetLatestLibraryItemsResponse) GetStatusCode ¶
func (o *GetLatestLibraryItemsResponse) GetStatusCode() int
type GetLibrariesDirectory ¶ added in v0.0.4
type GetLibrariesDirectory struct {
AllowSync *bool `json:"allowSync,omitempty"`
Art *string `json:"art,omitempty"`
Composite *string `json:"composite,omitempty"`
Filters *bool `json:"filters,omitempty"`
Refreshing *bool `json:"refreshing,omitempty"`
Thumb *string `json:"thumb,omitempty"`
Key *string `json:"key,omitempty"`
Type *string `json:"type,omitempty"`
Title *string `json:"title,omitempty"`
Agent *string `json:"agent,omitempty"`
Scanner *string `json:"scanner,omitempty"`
Language *string `json:"language,omitempty"`
UUID *string `json:"uuid,omitempty"`
UpdatedAt *int `json:"updatedAt,omitempty"`
CreatedAt *int `json:"createdAt,omitempty"`
ScannedAt *int `json:"scannedAt,omitempty"`
Content *bool `json:"content,omitempty"`
Directory *bool `json:"directory,omitempty"`
ContentChangedAt *int `json:"contentChangedAt,omitempty"`
Hidden *int `json:"hidden,omitempty"`
Location []Location `json:"Location,omitempty"`
}
func (*GetLibrariesDirectory) GetAgent ¶ added in v0.0.4
func (o *GetLibrariesDirectory) GetAgent() *string
func (*GetLibrariesDirectory) GetAllowSync ¶ added in v0.0.4
func (o *GetLibrariesDirectory) GetAllowSync() *bool
func (*GetLibrariesDirectory) GetArt ¶ added in v0.0.4
func (o *GetLibrariesDirectory) GetArt() *string
func (*GetLibrariesDirectory) GetComposite ¶ added in v0.0.4
func (o *GetLibrariesDirectory) GetComposite() *string
func (*GetLibrariesDirectory) GetContent ¶ added in v0.0.4
func (o *GetLibrariesDirectory) GetContent() *bool
func (*GetLibrariesDirectory) GetContentChangedAt ¶ added in v0.0.4
func (o *GetLibrariesDirectory) GetContentChangedAt() *int
func (*GetLibrariesDirectory) GetCreatedAt ¶ added in v0.0.4
func (o *GetLibrariesDirectory) GetCreatedAt() *int
func (*GetLibrariesDirectory) GetDirectory ¶ added in v0.0.4
func (o *GetLibrariesDirectory) GetDirectory() *bool
func (*GetLibrariesDirectory) GetFilters ¶ added in v0.0.4
func (o *GetLibrariesDirectory) GetFilters() *bool
func (*GetLibrariesDirectory) GetHidden ¶ added in v0.0.4
func (o *GetLibrariesDirectory) GetHidden() *int
func (*GetLibrariesDirectory) GetKey ¶ added in v0.0.4
func (o *GetLibrariesDirectory) GetKey() *string
func (*GetLibrariesDirectory) GetLanguage ¶ added in v0.0.4
func (o *GetLibrariesDirectory) GetLanguage() *string
func (*GetLibrariesDirectory) GetLocation ¶ added in v0.0.4
func (o *GetLibrariesDirectory) GetLocation() []Location
func (*GetLibrariesDirectory) GetRefreshing ¶ added in v0.0.4
func (o *GetLibrariesDirectory) GetRefreshing() *bool
func (*GetLibrariesDirectory) GetScannedAt ¶ added in v0.0.4
func (o *GetLibrariesDirectory) GetScannedAt() *int
func (*GetLibrariesDirectory) GetScanner ¶ added in v0.0.4
func (o *GetLibrariesDirectory) GetScanner() *string
func (*GetLibrariesDirectory) GetThumb ¶ added in v0.0.4
func (o *GetLibrariesDirectory) GetThumb() *string
func (*GetLibrariesDirectory) GetTitle ¶ added in v0.0.4
func (o *GetLibrariesDirectory) GetTitle() *string
func (*GetLibrariesDirectory) GetType ¶ added in v0.0.4
func (o *GetLibrariesDirectory) GetType() *string
func (*GetLibrariesDirectory) GetUUID ¶ added in v0.0.4
func (o *GetLibrariesDirectory) GetUUID() *string
func (*GetLibrariesDirectory) GetUpdatedAt ¶ added in v0.0.4
func (o *GetLibrariesDirectory) GetUpdatedAt() *int
type GetLibrariesMediaContainer ¶ added in v0.0.4
type GetLibrariesMediaContainer struct {
Size *int `json:"size,omitempty"`
AllowSync *bool `json:"allowSync,omitempty"`
Title1 *string `json:"title1,omitempty"`
Directory []GetLibrariesDirectory `json:"Directory,omitempty"`
}
func (*GetLibrariesMediaContainer) GetAllowSync ¶ added in v0.0.4
func (o *GetLibrariesMediaContainer) GetAllowSync() *bool
func (*GetLibrariesMediaContainer) GetDirectory ¶ added in v0.0.4
func (o *GetLibrariesMediaContainer) GetDirectory() []GetLibrariesDirectory
func (*GetLibrariesMediaContainer) GetSize ¶ added in v0.0.4
func (o *GetLibrariesMediaContainer) GetSize() *int
func (*GetLibrariesMediaContainer) GetTitle1 ¶ added in v0.0.4
func (o *GetLibrariesMediaContainer) GetTitle1() *string
type GetLibrariesResponse ¶
type GetLibrariesResponse struct {
// HTTP response content type for this operation
ContentType string
// HTTP response status code for this operation
StatusCode int
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response
// The libraries available on the Server
Object *GetLibrariesResponseBody
}
func (*GetLibrariesResponse) GetContentType ¶
func (o *GetLibrariesResponse) GetContentType() string
func (*GetLibrariesResponse) GetObject ¶ added in v0.0.4
func (o *GetLibrariesResponse) GetObject() *GetLibrariesResponseBody
func (*GetLibrariesResponse) GetRawResponse ¶
func (o *GetLibrariesResponse) GetRawResponse() *http.Response
func (*GetLibrariesResponse) GetStatusCode ¶
func (o *GetLibrariesResponse) GetStatusCode() int
type GetLibrariesResponseBody ¶ added in v0.0.4
type GetLibrariesResponseBody struct {
MediaContainer *GetLibrariesMediaContainer `json:"MediaContainer,omitempty"`
}
GetLibrariesResponseBody - The libraries available on the Server
func (*GetLibrariesResponseBody) GetMediaContainer ¶ added in v0.0.4
func (o *GetLibrariesResponseBody) GetMediaContainer() *GetLibrariesMediaContainer
type GetLibraryHubsRequest ¶
type GetLibraryHubsRequest struct {
// the Id of the library to query
SectionID float64 `pathParam:"style=simple,explode=false,name=sectionId"`
// The number of items to return with each hub.
Count *float64 `queryParam:"style=form,explode=true,name=count"`
// 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 *QueryParamOnlyTransient `queryParam:"style=form,explode=true,name=onlyTransient"`
}
func (*GetLibraryHubsRequest) GetCount ¶
func (o *GetLibraryHubsRequest) GetCount() *float64
func (*GetLibraryHubsRequest) GetOnlyTransient ¶
func (o *GetLibraryHubsRequest) GetOnlyTransient() *QueryParamOnlyTransient
func (*GetLibraryHubsRequest) GetSectionID ¶
func (o *GetLibraryHubsRequest) GetSectionID() float64
type GetLibraryHubsResponse ¶
type GetLibraryHubsResponse struct {
// HTTP response content type for this operation
ContentType string
// HTTP response status code for this operation
StatusCode int
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response
}
func (*GetLibraryHubsResponse) GetContentType ¶
func (o *GetLibraryHubsResponse) GetContentType() string
func (*GetLibraryHubsResponse) GetRawResponse ¶
func (o *GetLibraryHubsResponse) GetRawResponse() *http.Response
func (*GetLibraryHubsResponse) GetStatusCode ¶
func (o *GetLibraryHubsResponse) GetStatusCode() int
type GetLibraryItemsRequest ¶
type GetLibraryItemsRequest struct {
// the Id of the library to query
SectionID float64 `pathParam:"style=simple,explode=false,name=sectionId"`
// item type
Type *float64 `queryParam:"style=form,explode=true,name=type"`
// the filter parameter
Filter *string `queryParam:"style=form,explode=true,name=filter"`
}
func (*GetLibraryItemsRequest) GetFilter ¶
func (o *GetLibraryItemsRequest) GetFilter() *string
func (*GetLibraryItemsRequest) GetSectionID ¶
func (o *GetLibraryItemsRequest) GetSectionID() float64
func (*GetLibraryItemsRequest) GetType ¶
func (o *GetLibraryItemsRequest) GetType() *float64
type GetLibraryItemsResponse ¶
type GetLibraryItemsResponse struct {
// HTTP response content type for this operation
ContentType string
// HTTP response status code for this operation
StatusCode int
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response
}
func (*GetLibraryItemsResponse) GetContentType ¶
func (o *GetLibraryItemsResponse) GetContentType() string
func (*GetLibraryItemsResponse) GetRawResponse ¶
func (o *GetLibraryItemsResponse) GetRawResponse() *http.Response
func (*GetLibraryItemsResponse) GetStatusCode ¶
func (o *GetLibraryItemsResponse) GetStatusCode() int
type GetLibraryRequest ¶
type GetLibraryRequest struct {
// the Id of the library to query
SectionID float64 `pathParam:"style=simple,explode=false,name=sectionId"`
// 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 *IncludeDetails `default:"0" queryParam:"style=form,explode=true,name=includeDetails"`
}
func (*GetLibraryRequest) GetIncludeDetails ¶
func (o *GetLibraryRequest) GetIncludeDetails() *IncludeDetails
func (*GetLibraryRequest) GetSectionID ¶
func (o *GetLibraryRequest) GetSectionID() float64
func (GetLibraryRequest) MarshalJSON ¶
func (g GetLibraryRequest) MarshalJSON() ([]byte, error)
func (*GetLibraryRequest) UnmarshalJSON ¶
func (g *GetLibraryRequest) UnmarshalJSON(data []byte) error
type GetLibraryResponse ¶
type GetLibraryResponse struct {
// HTTP response content type for this operation
ContentType string
// HTTP response status code for this operation
StatusCode int
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response
}
func (*GetLibraryResponse) GetContentType ¶
func (o *GetLibraryResponse) GetContentType() string
func (*GetLibraryResponse) GetRawResponse ¶
func (o *GetLibraryResponse) GetRawResponse() *http.Response
func (*GetLibraryResponse) GetStatusCode ¶
func (o *GetLibraryResponse) GetStatusCode() int
type GetMetadataChildrenRequest ¶
type GetMetadataChildrenRequest struct {
// the id of the library item to return the children of.
RatingKey float64 `pathParam:"style=simple,explode=false,name=ratingKey"`
}
func (*GetMetadataChildrenRequest) GetRatingKey ¶
func (o *GetMetadataChildrenRequest) GetRatingKey() float64
type GetMetadataChildrenResponse ¶
type GetMetadataChildrenResponse struct {
// HTTP response content type for this operation
ContentType string
// HTTP response status code for this operation
StatusCode int
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response
}
func (*GetMetadataChildrenResponse) GetContentType ¶
func (o *GetMetadataChildrenResponse) GetContentType() string
func (*GetMetadataChildrenResponse) GetRawResponse ¶
func (o *GetMetadataChildrenResponse) GetRawResponse() *http.Response
func (*GetMetadataChildrenResponse) GetStatusCode ¶
func (o *GetMetadataChildrenResponse) GetStatusCode() int
type GetMetadataRequest ¶
type GetMetadataRequest struct {
// the id of the library item to return the children of.
RatingKey float64 `pathParam:"style=simple,explode=false,name=ratingKey"`
}
func (*GetMetadataRequest) GetRatingKey ¶
func (o *GetMetadataRequest) GetRatingKey() float64
type GetMetadataResponse ¶
type GetMetadataResponse struct {
// HTTP response content type for this operation
ContentType string
// HTTP response status code for this operation
StatusCode int
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response
}
func (*GetMetadataResponse) GetContentType ¶
func (o *GetMetadataResponse) GetContentType() string
func (*GetMetadataResponse) GetRawResponse ¶
func (o *GetMetadataResponse) GetRawResponse() *http.Response
func (*GetMetadataResponse) GetStatusCode ¶
func (o *GetMetadataResponse) GetStatusCode() int
type GetMyPlexAccountResponse ¶
type GetMyPlexAccountResponse struct {
// HTTP response content type for this operation
ContentType string
// HTTP response status code for this operation
StatusCode int
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response
// MyPlex Account
Object *GetMyPlexAccountResponseBody
}
func (*GetMyPlexAccountResponse) GetContentType ¶
func (o *GetMyPlexAccountResponse) GetContentType() string
func (*GetMyPlexAccountResponse) GetObject ¶
func (o *GetMyPlexAccountResponse) GetObject() *GetMyPlexAccountResponseBody
func (*GetMyPlexAccountResponse) GetRawResponse ¶
func (o *GetMyPlexAccountResponse) GetRawResponse() *http.Response
func (*GetMyPlexAccountResponse) GetStatusCode ¶
func (o *GetMyPlexAccountResponse) GetStatusCode() int
type GetMyPlexAccountResponseBody ¶
type GetMyPlexAccountResponseBody struct {
MyPlex *MyPlex `json:"MyPlex,omitempty"`
}
GetMyPlexAccountResponseBody - MyPlex Account
func (*GetMyPlexAccountResponseBody) GetMyPlex ¶
func (o *GetMyPlexAccountResponseBody) GetMyPlex() *MyPlex
type GetOnDeckMedia ¶
type GetOnDeckMedia struct {
ID *float64 `json:"id,omitempty"`
Duration *float64 `json:"duration,omitempty"`
Bitrate *float64 `json:"bitrate,omitempty"`
Width *float64 `json:"width,omitempty"`
Height *float64 `json:"height,omitempty"`
AspectRatio *float64 `json:"aspectRatio,omitempty"`
AudioChannels *float64 `json:"audioChannels,omitempty"`
AudioCodec *string `json:"audioCodec,omitempty"`
VideoCodec *string `json:"videoCodec,omitempty"`
VideoResolution *string `json:"videoResolution,omitempty"`
Container *string `json:"container,omitempty"`
VideoFrameRate *string `json:"videoFrameRate,omitempty"`
AudioProfile *string `json:"audioProfile,omitempty"`
VideoProfile *string `json:"videoProfile,omitempty"`
Part []GetOnDeckPart `json:"Part,omitempty"`
}
func (*GetOnDeckMedia) GetAspectRatio ¶
func (o *GetOnDeckMedia) GetAspectRatio() *float64
func (*GetOnDeckMedia) GetAudioChannels ¶
func (o *GetOnDeckMedia) GetAudioChannels() *float64
func (*GetOnDeckMedia) GetAudioCodec ¶
func (o *GetOnDeckMedia) GetAudioCodec() *string
func (*GetOnDeckMedia) GetAudioProfile ¶
func (o *GetOnDeckMedia) GetAudioProfile() *string
func (*GetOnDeckMedia) GetBitrate ¶
func (o *GetOnDeckMedia) GetBitrate() *float64
func (*GetOnDeckMedia) GetContainer ¶
func (o *GetOnDeckMedia) GetContainer() *string
func (*GetOnDeckMedia) GetDuration ¶
func (o *GetOnDeckMedia) GetDuration() *float64
func (*GetOnDeckMedia) GetHeight ¶
func (o *GetOnDeckMedia) GetHeight() *float64
func (*GetOnDeckMedia) GetID ¶
func (o *GetOnDeckMedia) GetID() *float64
func (*GetOnDeckMedia) GetPart ¶
func (o *GetOnDeckMedia) GetPart() []GetOnDeckPart
func (*GetOnDeckMedia) GetVideoCodec ¶
func (o *GetOnDeckMedia) GetVideoCodec() *string
func (*GetOnDeckMedia) GetVideoFrameRate ¶
func (o *GetOnDeckMedia) GetVideoFrameRate() *string
func (*GetOnDeckMedia) GetVideoProfile ¶
func (o *GetOnDeckMedia) GetVideoProfile() *string
func (*GetOnDeckMedia) GetVideoResolution ¶
func (o *GetOnDeckMedia) GetVideoResolution() *string
func (*GetOnDeckMedia) GetWidth ¶
func (o *GetOnDeckMedia) GetWidth() *float64
type GetOnDeckMediaContainer ¶
type GetOnDeckMediaContainer struct {
Size *float64 `json:"size,omitempty"`
AllowSync *bool `json:"allowSync,omitempty"`
Identifier *string `json:"identifier,omitempty"`
MediaTagPrefix *string `json:"mediaTagPrefix,omitempty"`
MediaTagVersion *float64 `json:"mediaTagVersion,omitempty"`
MixedParents *bool `json:"mixedParents,omitempty"`
Metadata []GetOnDeckMetadata `json:"Metadata,omitempty"`
}
func (*GetOnDeckMediaContainer) GetAllowSync ¶
func (o *GetOnDeckMediaContainer) GetAllowSync() *bool
func (*GetOnDeckMediaContainer) GetIdentifier ¶
func (o *GetOnDeckMediaContainer) GetIdentifier() *string
func (*GetOnDeckMediaContainer) GetMediaTagPrefix ¶
func (o *GetOnDeckMediaContainer) GetMediaTagPrefix() *string
func (*GetOnDeckMediaContainer) GetMediaTagVersion ¶
func (o *GetOnDeckMediaContainer) GetMediaTagVersion() *float64
func (*GetOnDeckMediaContainer) GetMetadata ¶
func (o *GetOnDeckMediaContainer) GetMetadata() []GetOnDeckMetadata
func (*GetOnDeckMediaContainer) GetMixedParents ¶
func (o *GetOnDeckMediaContainer) GetMixedParents() *bool
func (*GetOnDeckMediaContainer) GetSize ¶
func (o *GetOnDeckMediaContainer) GetSize() *float64
type GetOnDeckMetadata ¶
type GetOnDeckMetadata struct {
AllowSync *bool `json:"allowSync,omitempty"`
LibrarySectionID *float64 `json:"librarySectionID,omitempty"`
LibrarySectionTitle *string `json:"librarySectionTitle,omitempty"`
LibrarySectionUUID *string `json:"librarySectionUUID,omitempty"`
RatingKey *float64 `json:"ratingKey,omitempty"`
Key *string `json:"key,omitempty"`
ParentRatingKey *float64 `json:"parentRatingKey,omitempty"`
GrandparentRatingKey *float64 `json:"grandparentRatingKey,omitempty"`
GUID *string `json:"guid,omitempty"`
ParentGUID *string `json:"parentGuid,omitempty"`
GrandparentGUID *string `json:"grandparentGuid,omitempty"`
Type *string `json:"type,omitempty"`
Title *string `json:"title,omitempty"`
GrandparentKey *string `json:"grandparentKey,omitempty"`
ParentKey *string `json:"parentKey,omitempty"`
LibrarySectionKey *string `json:"librarySectionKey,omitempty"`
GrandparentTitle *string `json:"grandparentTitle,omitempty"`
ParentTitle *string `json:"parentTitle,omitempty"`
ContentRating *string `json:"contentRating,omitempty"`
Summary *string `json:"summary,omitempty"`
Index *float64 `json:"index,omitempty"`
ParentIndex *float64 `json:"parentIndex,omitempty"`
LastViewedAt *float64 `json:"lastViewedAt,omitempty"`
Year *float64 `json:"year,omitempty"`
Thumb *string `json:"thumb,omitempty"`
Art *string `json:"art,omitempty"`
ParentThumb *string `json:"parentThumb,omitempty"`
GrandparentThumb *string `json:"grandparentThumb,omitempty"`
GrandparentArt *string `json:"grandparentArt,omitempty"`
GrandparentTheme *string `json:"grandparentTheme,omitempty"`
Duration *float64 `json:"duration,omitempty"`
OriginallyAvailableAt *time.Time `json:"originallyAvailableAt,omitempty"`
AddedAt *float64 `json:"addedAt,omitempty"`
UpdatedAt *float64 `json:"updatedAt,omitempty"`
Media []GetOnDeckMedia `json:"Media,omitempty"`
Guids []Guids `json:"Guid,omitempty"`
}
func (*GetOnDeckMetadata) GetAddedAt ¶
func (o *GetOnDeckMetadata) GetAddedAt() *float64
func (*GetOnDeckMetadata) GetAllowSync ¶
func (o *GetOnDeckMetadata) GetAllowSync() *bool
func (*GetOnDeckMetadata) GetArt ¶
func (o *GetOnDeckMetadata) GetArt() *string
func (*GetOnDeckMetadata) GetContentRating ¶
func (o *GetOnDeckMetadata) GetContentRating() *string
func (*GetOnDeckMetadata) GetDuration ¶
func (o *GetOnDeckMetadata) GetDuration() *float64
func (*GetOnDeckMetadata) GetGUID ¶
func (o *GetOnDeckMetadata) GetGUID() *string
func (*GetOnDeckMetadata) GetGrandparentArt ¶
func (o *GetOnDeckMetadata) GetGrandparentArt() *string
func (*GetOnDeckMetadata) GetGrandparentGUID ¶
func (o *GetOnDeckMetadata) GetGrandparentGUID() *string
func (*GetOnDeckMetadata) GetGrandparentKey ¶
func (o *GetOnDeckMetadata) GetGrandparentKey() *string
func (*GetOnDeckMetadata) GetGrandparentRatingKey ¶
func (o *GetOnDeckMetadata) GetGrandparentRatingKey() *float64
func (*GetOnDeckMetadata) GetGrandparentTheme ¶
func (o *GetOnDeckMetadata) GetGrandparentTheme() *string
func (*GetOnDeckMetadata) GetGrandparentThumb ¶
func (o *GetOnDeckMetadata) GetGrandparentThumb() *string
func (*GetOnDeckMetadata) GetGrandparentTitle ¶
func (o *GetOnDeckMetadata) GetGrandparentTitle() *string
func (*GetOnDeckMetadata) GetGuids ¶
func (o *GetOnDeckMetadata) GetGuids() []Guids
func (*GetOnDeckMetadata) GetIndex ¶
func (o *GetOnDeckMetadata) GetIndex() *float64
func (*GetOnDeckMetadata) GetKey ¶
func (o *GetOnDeckMetadata) GetKey() *string
func (*GetOnDeckMetadata) GetLastViewedAt ¶
func (o *GetOnDeckMetadata) GetLastViewedAt() *float64
func (*GetOnDeckMetadata) GetLibrarySectionID ¶
func (o *GetOnDeckMetadata) GetLibrarySectionID() *float64
func (*GetOnDeckMetadata) GetLibrarySectionKey ¶
func (o *GetOnDeckMetadata) GetLibrarySectionKey() *string
func (*GetOnDeckMetadata) GetLibrarySectionTitle ¶
func (o *GetOnDeckMetadata) GetLibrarySectionTitle() *string
func (*GetOnDeckMetadata) GetLibrarySectionUUID ¶
func (o *GetOnDeckMetadata) GetLibrarySectionUUID() *string
func (*GetOnDeckMetadata) GetMedia ¶
func (o *GetOnDeckMetadata) GetMedia() []GetOnDeckMedia
func (*GetOnDeckMetadata) GetOriginallyAvailableAt ¶
func (o *GetOnDeckMetadata) GetOriginallyAvailableAt() *time.Time
func (*GetOnDeckMetadata) GetParentGUID ¶
func (o *GetOnDeckMetadata) GetParentGUID() *string
func (*GetOnDeckMetadata) GetParentIndex ¶
func (o *GetOnDeckMetadata) GetParentIndex() *float64
func (*GetOnDeckMetadata) GetParentKey ¶
func (o *GetOnDeckMetadata) GetParentKey() *string
func (*GetOnDeckMetadata) GetParentRatingKey ¶
func (o *GetOnDeckMetadata) GetParentRatingKey() *float64
func (*GetOnDeckMetadata) GetParentThumb ¶
func (o *GetOnDeckMetadata) GetParentThumb() *string
func (*GetOnDeckMetadata) GetParentTitle ¶
func (o *GetOnDeckMetadata) GetParentTitle() *string
func (*GetOnDeckMetadata) GetRatingKey ¶
func (o *GetOnDeckMetadata) GetRatingKey() *float64
func (*GetOnDeckMetadata) GetSummary ¶
func (o *GetOnDeckMetadata) GetSummary() *string
func (*GetOnDeckMetadata) GetThumb ¶
func (o *GetOnDeckMetadata) GetThumb() *string
func (*GetOnDeckMetadata) GetTitle ¶
func (o *GetOnDeckMetadata) GetTitle() *string
func (*GetOnDeckMetadata) GetType ¶
func (o *GetOnDeckMetadata) GetType() *string
func (*GetOnDeckMetadata) GetUpdatedAt ¶
func (o *GetOnDeckMetadata) GetUpdatedAt() *float64
func (*GetOnDeckMetadata) GetYear ¶
func (o *GetOnDeckMetadata) GetYear() *float64
func (GetOnDeckMetadata) MarshalJSON ¶
func (g GetOnDeckMetadata) MarshalJSON() ([]byte, error)
func (*GetOnDeckMetadata) UnmarshalJSON ¶
func (g *GetOnDeckMetadata) UnmarshalJSON(data []byte) error
type GetOnDeckPart ¶
type GetOnDeckPart struct {
ID *float64 `json:"id,omitempty"`
Key *string `json:"key,omitempty"`
Duration *float64 `json:"duration,omitempty"`
File *string `json:"file,omitempty"`
Size *float64 `json:"size,omitempty"`
AudioProfile *string `json:"audioProfile,omitempty"`
Container *string `json:"container,omitempty"`
VideoProfile *string `json:"videoProfile,omitempty"`
Stream []Stream `json:"Stream,omitempty"`
}
func (*GetOnDeckPart) GetAudioProfile ¶
func (o *GetOnDeckPart) GetAudioProfile() *string
func (*GetOnDeckPart) GetContainer ¶
func (o *GetOnDeckPart) GetContainer() *string
func (*GetOnDeckPart) GetDuration ¶
func (o *GetOnDeckPart) GetDuration() *float64
func (*GetOnDeckPart) GetFile ¶
func (o *GetOnDeckPart) GetFile() *string
func (*GetOnDeckPart) GetID ¶
func (o *GetOnDeckPart) GetID() *float64
func (*GetOnDeckPart) GetKey ¶
func (o *GetOnDeckPart) GetKey() *string
func (*GetOnDeckPart) GetSize ¶
func (o *GetOnDeckPart) GetSize() *float64
func (*GetOnDeckPart) GetStream ¶
func (o *GetOnDeckPart) GetStream() []Stream
func (*GetOnDeckPart) GetVideoProfile ¶
func (o *GetOnDeckPart) GetVideoProfile() *string
type GetOnDeckResponse ¶
type GetOnDeckResponse struct {
// HTTP response content type for this operation
ContentType string
// HTTP response status code for this operation
StatusCode int
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response
// The on Deck content
Object *GetOnDeckResponseBody
}
func (*GetOnDeckResponse) GetContentType ¶
func (o *GetOnDeckResponse) GetContentType() string
func (*GetOnDeckResponse) GetObject ¶
func (o *GetOnDeckResponse) GetObject() *GetOnDeckResponseBody
func (*GetOnDeckResponse) GetRawResponse ¶
func (o *GetOnDeckResponse) GetRawResponse() *http.Response
func (*GetOnDeckResponse) GetStatusCode ¶
func (o *GetOnDeckResponse) GetStatusCode() int
type GetOnDeckResponseBody ¶
type GetOnDeckResponseBody struct {
MediaContainer *GetOnDeckMediaContainer `json:"MediaContainer,omitempty"`
}
GetOnDeckResponseBody - The on Deck content
func (*GetOnDeckResponseBody) GetMediaContainer ¶
func (o *GetOnDeckResponseBody) GetMediaContainer() *GetOnDeckMediaContainer
type GetPlaylistContentsRequest ¶
type GetPlaylistContentsRequest struct {
// the ID of the playlist
PlaylistID float64 `pathParam:"style=simple,explode=false,name=playlistID"`
// the metadata type of the item to return
Type float64 `queryParam:"style=form,explode=true,name=type"`
}
func (*GetPlaylistContentsRequest) GetPlaylistID ¶
func (o *GetPlaylistContentsRequest) GetPlaylistID() float64
func (*GetPlaylistContentsRequest) GetType ¶
func (o *GetPlaylistContentsRequest) GetType() float64
type GetPlaylistContentsResponse ¶
type GetPlaylistContentsResponse struct {
// HTTP response content type for this operation
ContentType string
// HTTP response status code for this operation
StatusCode int
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response
}
func (*GetPlaylistContentsResponse) GetContentType ¶
func (o *GetPlaylistContentsResponse) GetContentType() string
func (*GetPlaylistContentsResponse) GetRawResponse ¶
func (o *GetPlaylistContentsResponse) GetRawResponse() *http.Response
func (*GetPlaylistContentsResponse) GetStatusCode ¶
func (o *GetPlaylistContentsResponse) GetStatusCode() int
type GetPlaylistRequest ¶
type GetPlaylistRequest struct {
// the ID of the playlist
PlaylistID float64 `pathParam:"style=simple,explode=false,name=playlistID"`
}
func (*GetPlaylistRequest) GetPlaylistID ¶
func (o *GetPlaylistRequest) GetPlaylistID() float64
type GetPlaylistResponse ¶
type GetPlaylistResponse struct {
// HTTP response content type for this operation
ContentType string
// HTTP response status code for this operation
StatusCode int
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response
}
func (*GetPlaylistResponse) GetContentType ¶
func (o *GetPlaylistResponse) GetContentType() string
func (*GetPlaylistResponse) GetRawResponse ¶
func (o *GetPlaylistResponse) GetRawResponse() *http.Response
func (*GetPlaylistResponse) GetStatusCode ¶
func (o *GetPlaylistResponse) GetStatusCode() int
type GetPlaylistsRequest ¶
type GetPlaylistsRequest struct {
// limit to a type of playlist.
PlaylistType *PlaylistType `queryParam:"style=form,explode=true,name=playlistType"`
// type of playlists to return (default is all).
Smart *QueryParamSmart `queryParam:"style=form,explode=true,name=smart"`
}
func (*GetPlaylistsRequest) GetPlaylistType ¶
func (o *GetPlaylistsRequest) GetPlaylistType() *PlaylistType
func (*GetPlaylistsRequest) GetSmart ¶
func (o *GetPlaylistsRequest) GetSmart() *QueryParamSmart
type GetPlaylistsResponse ¶
type GetPlaylistsResponse struct {
// HTTP response content type for this operation
ContentType string
// HTTP response status code for this operation
StatusCode int
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response
}
func (*GetPlaylistsResponse) GetContentType ¶
func (o *GetPlaylistsResponse) GetContentType() string
func (*GetPlaylistsResponse) GetRawResponse ¶
func (o *GetPlaylistsResponse) GetRawResponse() *http.Response
func (*GetPlaylistsResponse) GetStatusCode ¶
func (o *GetPlaylistsResponse) GetStatusCode() int
type GetRecentlyAddedMediaContainer ¶
type GetRecentlyAddedMediaContainer struct {
Size *float64 `json:"size,omitempty"`
AllowSync *bool `json:"allowSync,omitempty"`
Identifier *string `json:"identifier,omitempty"`
MediaTagPrefix *string `json:"mediaTagPrefix,omitempty"`
MediaTagVersion *float64 `json:"mediaTagVersion,omitempty"`
MixedParents *bool `json:"mixedParents,omitempty"`
Metadata []Metadata `json:"Metadata,omitempty"`
}
func (*GetRecentlyAddedMediaContainer) GetAllowSync ¶
func (o *GetRecentlyAddedMediaContainer) GetAllowSync() *bool
func (*GetRecentlyAddedMediaContainer) GetIdentifier ¶
func (o *GetRecentlyAddedMediaContainer) GetIdentifier() *string
func (*GetRecentlyAddedMediaContainer) GetMediaTagPrefix ¶
func (o *GetRecentlyAddedMediaContainer) GetMediaTagPrefix() *string
func (*GetRecentlyAddedMediaContainer) GetMediaTagVersion ¶
func (o *GetRecentlyAddedMediaContainer) GetMediaTagVersion() *float64
func (*GetRecentlyAddedMediaContainer) GetMetadata ¶
func (o *GetRecentlyAddedMediaContainer) GetMetadata() []Metadata
func (*GetRecentlyAddedMediaContainer) GetMixedParents ¶
func (o *GetRecentlyAddedMediaContainer) GetMixedParents() *bool
func (*GetRecentlyAddedMediaContainer) GetSize ¶
func (o *GetRecentlyAddedMediaContainer) GetSize() *float64
type GetRecentlyAddedResponse ¶
type GetRecentlyAddedResponse struct {
// HTTP response content type for this operation
ContentType string
// HTTP response status code for this operation
StatusCode int
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response
// The recently added content
Object *GetRecentlyAddedResponseBody
}
func (*GetRecentlyAddedResponse) GetContentType ¶
func (o *GetRecentlyAddedResponse) GetContentType() string
func (*GetRecentlyAddedResponse) GetObject ¶
func (o *GetRecentlyAddedResponse) GetObject() *GetRecentlyAddedResponseBody
func (*GetRecentlyAddedResponse) GetRawResponse ¶
func (o *GetRecentlyAddedResponse) GetRawResponse() *http.Response
func (*GetRecentlyAddedResponse) GetStatusCode ¶
func (o *GetRecentlyAddedResponse) GetStatusCode() int
type GetRecentlyAddedResponseBody ¶
type GetRecentlyAddedResponseBody struct {
MediaContainer *GetRecentlyAddedMediaContainer `json:"MediaContainer,omitempty"`
}
GetRecentlyAddedResponseBody - The recently added content
func (*GetRecentlyAddedResponseBody) GetMediaContainer ¶
func (o *GetRecentlyAddedResponseBody) GetMediaContainer() *GetRecentlyAddedMediaContainer
type GetResizedPhotoRequest ¶
type GetResizedPhotoRequest struct {
// The width for the resized photo
Width float64 `queryParam:"style=form,explode=true,name=width"`
// The height for the resized photo
Height float64 `queryParam:"style=form,explode=true,name=height"`
// The opacity for the resized photo
Opacity int64 `default:"100" queryParam:"style=form,explode=true,name=opacity"`
// The width for the resized photo
Blur float64 `queryParam:"style=form,explode=true,name=blur"`
// images are always scaled proportionally. A value of '1' in minSize will make the smaller native dimension the dimension resized against.
MinSize MinSize `queryParam:"style=form,explode=true,name=minSize"`
// allow images to be resized beyond native dimensions.
Upscale Upscale `queryParam:"style=form,explode=true,name=upscale"`
// path to image within Plex
URL string `queryParam:"style=form,explode=true,name=url"`
}
func (*GetResizedPhotoRequest) GetBlur ¶
func (o *GetResizedPhotoRequest) GetBlur() float64
func (*GetResizedPhotoRequest) GetHeight ¶
func (o *GetResizedPhotoRequest) GetHeight() float64
func (*GetResizedPhotoRequest) GetMinSize ¶
func (o *GetResizedPhotoRequest) GetMinSize() MinSize
func (*GetResizedPhotoRequest) GetOpacity ¶
func (o *GetResizedPhotoRequest) GetOpacity() int64
func (*GetResizedPhotoRequest) GetURL ¶
func (o *GetResizedPhotoRequest) GetURL() string
func (*GetResizedPhotoRequest) GetUpscale ¶
func (o *GetResizedPhotoRequest) GetUpscale() Upscale
func (*GetResizedPhotoRequest) GetWidth ¶
func (o *GetResizedPhotoRequest) GetWidth() float64
func (GetResizedPhotoRequest) MarshalJSON ¶
func (g GetResizedPhotoRequest) MarshalJSON() ([]byte, error)
func (*GetResizedPhotoRequest) UnmarshalJSON ¶
func (g *GetResizedPhotoRequest) UnmarshalJSON(data []byte) error
type GetResizedPhotoResponse ¶
type GetResizedPhotoResponse struct {
// HTTP response content type for this operation
ContentType string
// HTTP response status code for this operation
StatusCode int
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response
}
func (*GetResizedPhotoResponse) GetContentType ¶
func (o *GetResizedPhotoResponse) GetContentType() string
func (*GetResizedPhotoResponse) GetRawResponse ¶
func (o *GetResizedPhotoResponse) GetRawResponse() *http.Response
func (*GetResizedPhotoResponse) GetStatusCode ¶
func (o *GetResizedPhotoResponse) GetStatusCode() int
type GetSearchResultsCountry ¶
type GetSearchResultsCountry struct {
Tag *string `json:"tag,omitempty"`
}
func (*GetSearchResultsCountry) GetTag ¶
func (o *GetSearchResultsCountry) GetTag() *string
type GetSearchResultsDirector ¶
type GetSearchResultsDirector struct {
Tag *string `json:"tag,omitempty"`
}
func (*GetSearchResultsDirector) GetTag ¶
func (o *GetSearchResultsDirector) GetTag() *string
type GetSearchResultsGenre ¶
type GetSearchResultsGenre struct {
Tag *string `json:"tag,omitempty"`
}
func (*GetSearchResultsGenre) GetTag ¶
func (o *GetSearchResultsGenre) GetTag() *string
type GetSearchResultsMedia ¶
type GetSearchResultsMedia struct {
ID *float64 `json:"id,omitempty"`
Duration *float64 `json:"duration,omitempty"`
Bitrate *float64 `json:"bitrate,omitempty"`
Width *float64 `json:"width,omitempty"`
Height *float64 `json:"height,omitempty"`
AspectRatio *float64 `json:"aspectRatio,omitempty"`
AudioChannels *float64 `json:"audioChannels,omitempty"`
AudioCodec *string `json:"audioCodec,omitempty"`
VideoCodec *string `json:"videoCodec,omitempty"`
VideoResolution *float64 `json:"videoResolution,omitempty"`
Container *string `json:"container,omitempty"`
VideoFrameRate *string `json:"videoFrameRate,omitempty"`
AudioProfile *string `json:"audioProfile,omitempty"`
VideoProfile *string `json:"videoProfile,omitempty"`
Part []GetSearchResultsPart `json:"Part,omitempty"`
}
func (*GetSearchResultsMedia) GetAspectRatio ¶
func (o *GetSearchResultsMedia) GetAspectRatio() *float64
func (*GetSearchResultsMedia) GetAudioChannels ¶
func (o *GetSearchResultsMedia) GetAudioChannels() *float64
func (*GetSearchResultsMedia) GetAudioCodec ¶
func (o *GetSearchResultsMedia) GetAudioCodec() *string
func (*GetSearchResultsMedia) GetAudioProfile ¶
func (o *GetSearchResultsMedia) GetAudioProfile() *string
func (*GetSearchResultsMedia) GetBitrate ¶
func (o *GetSearchResultsMedia) GetBitrate() *float64
func (*GetSearchResultsMedia) GetContainer ¶
func (o *GetSearchResultsMedia) GetContainer() *string
func (*GetSearchResultsMedia) GetDuration ¶
func (o *GetSearchResultsMedia) GetDuration() *float64
func (*GetSearchResultsMedia) GetHeight ¶
func (o *GetSearchResultsMedia) GetHeight() *float64
func (*GetSearchResultsMedia) GetID ¶
func (o *GetSearchResultsMedia) GetID() *float64
func (*GetSearchResultsMedia) GetPart ¶
func (o *GetSearchResultsMedia) GetPart() []GetSearchResultsPart
func (*GetSearchResultsMedia) GetVideoCodec ¶
func (o *GetSearchResultsMedia) GetVideoCodec() *string
func (*GetSearchResultsMedia) GetVideoFrameRate ¶
func (o *GetSearchResultsMedia) GetVideoFrameRate() *string
func (*GetSearchResultsMedia) GetVideoProfile ¶
func (o *GetSearchResultsMedia) GetVideoProfile() *string
func (*GetSearchResultsMedia) GetVideoResolution ¶
func (o *GetSearchResultsMedia) GetVideoResolution() *float64
func (*GetSearchResultsMedia) GetWidth ¶
func (o *GetSearchResultsMedia) GetWidth() *float64
type GetSearchResultsMediaContainer ¶
type GetSearchResultsMediaContainer struct {
Size *float64 `json:"size,omitempty"`
Identifier *string `json:"identifier,omitempty"`
MediaTagPrefix *string `json:"mediaTagPrefix,omitempty"`
MediaTagVersion *float64 `json:"mediaTagVersion,omitempty"`
Metadata []GetSearchResultsMetadata `json:"Metadata,omitempty"`
Provider []Provider `json:"Provider,omitempty"`
}
func (*GetSearchResultsMediaContainer) GetIdentifier ¶
func (o *GetSearchResultsMediaContainer) GetIdentifier() *string
func (*GetSearchResultsMediaContainer) GetMediaTagPrefix ¶
func (o *GetSearchResultsMediaContainer) GetMediaTagPrefix() *string
func (*GetSearchResultsMediaContainer) GetMediaTagVersion ¶
func (o *GetSearchResultsMediaContainer) GetMediaTagVersion() *float64
func (*GetSearchResultsMediaContainer) GetMetadata ¶
func (o *GetSearchResultsMediaContainer) GetMetadata() []GetSearchResultsMetadata
func (*GetSearchResultsMediaContainer) GetProvider ¶
func (o *GetSearchResultsMediaContainer) GetProvider() []Provider
func (*GetSearchResultsMediaContainer) GetSize ¶
func (o *GetSearchResultsMediaContainer) GetSize() *float64
type GetSearchResultsMetadata ¶
type GetSearchResultsMetadata struct {
AllowSync *bool `json:"allowSync,omitempty"`
LibrarySectionID *float64 `json:"librarySectionID,omitempty"`
LibrarySectionTitle *string `json:"librarySectionTitle,omitempty"`
LibrarySectionUUID *string `json:"librarySectionUUID,omitempty"`
Personal *bool `json:"personal,omitempty"`
SourceTitle *string `json:"sourceTitle,omitempty"`
RatingKey *float64 `json:"ratingKey,omitempty"`
Key *string `json:"key,omitempty"`
GUID *string `json:"guid,omitempty"`
Studio *string `json:"studio,omitempty"`
Type *string `json:"type,omitempty"`
Title *string `json:"title,omitempty"`
ContentRating *string `json:"contentRating,omitempty"`
Summary *string `json:"summary,omitempty"`
Rating *float64 `json:"rating,omitempty"`
AudienceRating *float64 `json:"audienceRating,omitempty"`
Year *float64 `json:"year,omitempty"`
Tagline *string `json:"tagline,omitempty"`
Thumb *string `json:"thumb,omitempty"`
Art *string `json:"art,omitempty"`
Duration *float64 `json:"duration,omitempty"`
OriginallyAvailableAt *time.Time `json:"originallyAvailableAt,omitempty"`
AddedAt *float64 `json:"addedAt,omitempty"`
UpdatedAt *float64 `json:"updatedAt,omitempty"`
AudienceRatingImage *string `json:"audienceRatingImage,omitempty"`
ChapterSource *string `json:"chapterSource,omitempty"`
PrimaryExtraKey *string `json:"primaryExtraKey,omitempty"`
RatingImage *string `json:"ratingImage,omitempty"`
Media []GetSearchResultsMedia `json:"Media,omitempty"`
Genre []GetSearchResultsGenre `json:"Genre,omitempty"`
Director []GetSearchResultsDirector `json:"Director,omitempty"`
Writer []GetSearchResultsWriter `json:"Writer,omitempty"`
Country []GetSearchResultsCountry `json:"Country,omitempty"`
Role []GetSearchResultsRole `json:"Role,omitempty"`
}
func (*GetSearchResultsMetadata) GetAddedAt ¶
func (o *GetSearchResultsMetadata) GetAddedAt() *float64
func (*GetSearchResultsMetadata) GetAllowSync ¶
func (o *GetSearchResultsMetadata) GetAllowSync() *bool
func (*GetSearchResultsMetadata) GetArt ¶
func (o *GetSearchResultsMetadata) GetArt() *string
func (*GetSearchResultsMetadata) GetAudienceRating ¶
func (o *GetSearchResultsMetadata) GetAudienceRating() *float64
func (*GetSearchResultsMetadata) GetAudienceRatingImage ¶
func (o *GetSearchResultsMetadata) GetAudienceRatingImage() *string
func (*GetSearchResultsMetadata) GetChapterSource ¶
func (o *GetSearchResultsMetadata) GetChapterSource() *string
func (*GetSearchResultsMetadata) GetContentRating ¶
func (o *GetSearchResultsMetadata) GetContentRating() *string
func (*GetSearchResultsMetadata) GetCountry ¶
func (o *GetSearchResultsMetadata) GetCountry() []GetSearchResultsCountry
func (*GetSearchResultsMetadata) GetDirector ¶
func (o *GetSearchResultsMetadata) GetDirector() []GetSearchResultsDirector
func (*GetSearchResultsMetadata) GetDuration ¶
func (o *GetSearchResultsMetadata) GetDuration() *float64
func (*GetSearchResultsMetadata) GetGUID ¶
func (o *GetSearchResultsMetadata) GetGUID() *string
func (*GetSearchResultsMetadata) GetGenre ¶
func (o *GetSearchResultsMetadata) GetGenre() []GetSearchResultsGenre
func (*GetSearchResultsMetadata) GetKey ¶
func (o *GetSearchResultsMetadata) GetKey() *string
func (*GetSearchResultsMetadata) GetLibrarySectionID ¶
func (o *GetSearchResultsMetadata) GetLibrarySectionID() *float64
func (*GetSearchResultsMetadata) GetLibrarySectionTitle ¶
func (o *GetSearchResultsMetadata) GetLibrarySectionTitle() *string
func (*GetSearchResultsMetadata) GetLibrarySectionUUID ¶
func (o *GetSearchResultsMetadata) GetLibrarySectionUUID() *string
func (*GetSearchResultsMetadata) GetMedia ¶
func (o *GetSearchResultsMetadata) GetMedia() []GetSearchResultsMedia
func (*GetSearchResultsMetadata) GetOriginallyAvailableAt ¶
func (o *GetSearchResultsMetadata) GetOriginallyAvailableAt() *time.Time
func (*GetSearchResultsMetadata) GetPersonal ¶
func (o *GetSearchResultsMetadata) GetPersonal() *bool
func (*GetSearchResultsMetadata) GetPrimaryExtraKey ¶
func (o *GetSearchResultsMetadata) GetPrimaryExtraKey() *string
func (*GetSearchResultsMetadata) GetRating ¶
func (o *GetSearchResultsMetadata) GetRating() *float64
func (*GetSearchResultsMetadata) GetRatingImage ¶
func (o *GetSearchResultsMetadata) GetRatingImage() *string
func (*GetSearchResultsMetadata) GetRatingKey ¶
func (o *GetSearchResultsMetadata) GetRatingKey() *float64
func (*GetSearchResultsMetadata) GetRole ¶
func (o *GetSearchResultsMetadata) GetRole() []GetSearchResultsRole
func (*GetSearchResultsMetadata) GetSourceTitle ¶
func (o *GetSearchResultsMetadata) GetSourceTitle() *string
func (*GetSearchResultsMetadata) GetStudio ¶
func (o *GetSearchResultsMetadata) GetStudio() *string
func (*GetSearchResultsMetadata) GetSummary ¶
func (o *GetSearchResultsMetadata) GetSummary() *string
func (*GetSearchResultsMetadata) GetTagline ¶
func (o *GetSearchResultsMetadata) GetTagline() *string
func (*GetSearchResultsMetadata) GetThumb ¶
func (o *GetSearchResultsMetadata) GetThumb() *string
func (*GetSearchResultsMetadata) GetTitle ¶
func (o *GetSearchResultsMetadata) GetTitle() *string
func (*GetSearchResultsMetadata) GetType ¶
func (o *GetSearchResultsMetadata) GetType() *string
func (*GetSearchResultsMetadata) GetUpdatedAt ¶
func (o *GetSearchResultsMetadata) GetUpdatedAt() *float64
func (*GetSearchResultsMetadata) GetWriter ¶
func (o *GetSearchResultsMetadata) GetWriter() []GetSearchResultsWriter
func (*GetSearchResultsMetadata) GetYear ¶
func (o *GetSearchResultsMetadata) GetYear() *float64
func (GetSearchResultsMetadata) MarshalJSON ¶
func (g GetSearchResultsMetadata) MarshalJSON() ([]byte, error)
func (*GetSearchResultsMetadata) UnmarshalJSON ¶
func (g *GetSearchResultsMetadata) UnmarshalJSON(data []byte) error
type GetSearchResultsPart ¶
type GetSearchResultsPart struct {
ID *float64 `json:"id,omitempty"`
Key *string `json:"key,omitempty"`
Duration *float64 `json:"duration,omitempty"`
File *string `json:"file,omitempty"`
Size *float64 `json:"size,omitempty"`
AudioProfile *string `json:"audioProfile,omitempty"`
Container *string `json:"container,omitempty"`
VideoProfile *string `json:"videoProfile,omitempty"`
}
func (*GetSearchResultsPart) GetAudioProfile ¶
func (o *GetSearchResultsPart) GetAudioProfile() *string
func (*GetSearchResultsPart) GetContainer ¶
func (o *GetSearchResultsPart) GetContainer() *string
func (*GetSearchResultsPart) GetDuration ¶
func (o *GetSearchResultsPart) GetDuration() *float64
func (*GetSearchResultsPart) GetFile ¶
func (o *GetSearchResultsPart) GetFile() *string
func (*GetSearchResultsPart) GetID ¶
func (o *GetSearchResultsPart) GetID() *float64
func (*GetSearchResultsPart) GetKey ¶
func (o *GetSearchResultsPart) GetKey() *string
func (*GetSearchResultsPart) GetSize ¶
func (o *GetSearchResultsPart) GetSize() *float64
func (*GetSearchResultsPart) GetVideoProfile ¶
func (o *GetSearchResultsPart) GetVideoProfile() *string
type GetSearchResultsRequest ¶
type GetSearchResultsRequest struct {
// The search query string to use
Query string `queryParam:"style=form,explode=true,name=query"`
}
func (*GetSearchResultsRequest) GetQuery ¶
func (o *GetSearchResultsRequest) GetQuery() string
type GetSearchResultsResponse ¶
type GetSearchResultsResponse struct {
// HTTP response content type for this operation
ContentType string
// HTTP response status code for this operation
StatusCode int
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response
// Search Results
Object *GetSearchResultsResponseBody
}
func (*GetSearchResultsResponse) GetContentType ¶
func (o *GetSearchResultsResponse) GetContentType() string
func (*GetSearchResultsResponse) GetObject ¶
func (o *GetSearchResultsResponse) GetObject() *GetSearchResultsResponseBody
func (*GetSearchResultsResponse) GetRawResponse ¶
func (o *GetSearchResultsResponse) GetRawResponse() *http.Response
func (*GetSearchResultsResponse) GetStatusCode ¶
func (o *GetSearchResultsResponse) GetStatusCode() int
type GetSearchResultsResponseBody ¶
type GetSearchResultsResponseBody struct {
MediaContainer *GetSearchResultsMediaContainer `json:"MediaContainer,omitempty"`
}
GetSearchResultsResponseBody - Search Results
func (*GetSearchResultsResponseBody) GetMediaContainer ¶
func (o *GetSearchResultsResponseBody) GetMediaContainer() *GetSearchResultsMediaContainer
type GetSearchResultsRole ¶
type GetSearchResultsRole struct {
Tag *string `json:"tag,omitempty"`
}
func (*GetSearchResultsRole) GetTag ¶
func (o *GetSearchResultsRole) GetTag() *string
type GetSearchResultsWriter ¶
type GetSearchResultsWriter struct {
Tag *string `json:"tag,omitempty"`
}
func (*GetSearchResultsWriter) GetTag ¶
func (o *GetSearchResultsWriter) GetTag() *string
type GetServerActivitiesMediaContainer ¶
type GetServerActivitiesMediaContainer struct {
Size *float64 `json:"size,omitempty"`
Activity []Activity `json:"Activity,omitempty"`
}
func (*GetServerActivitiesMediaContainer) GetActivity ¶
func (o *GetServerActivitiesMediaContainer) GetActivity() []Activity
func (*GetServerActivitiesMediaContainer) GetSize ¶
func (o *GetServerActivitiesMediaContainer) GetSize() *float64
type GetServerActivitiesResponse ¶
type GetServerActivitiesResponse struct {
// HTTP response content type for this operation
ContentType string
// HTTP response status code for this operation
StatusCode int
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response
// The Server Activities
Object *GetServerActivitiesResponseBody
}
func (*GetServerActivitiesResponse) GetContentType ¶
func (o *GetServerActivitiesResponse) GetContentType() string
func (*GetServerActivitiesResponse) GetObject ¶
func (o *GetServerActivitiesResponse) GetObject() *GetServerActivitiesResponseBody
func (*GetServerActivitiesResponse) GetRawResponse ¶
func (o *GetServerActivitiesResponse) GetRawResponse() *http.Response
func (*GetServerActivitiesResponse) GetStatusCode ¶
func (o *GetServerActivitiesResponse) GetStatusCode() int
type GetServerActivitiesResponseBody ¶
type GetServerActivitiesResponseBody struct {
MediaContainer *GetServerActivitiesMediaContainer `json:"MediaContainer,omitempty"`
}
GetServerActivitiesResponseBody - The Server Activities
func (*GetServerActivitiesResponseBody) GetMediaContainer ¶
func (o *GetServerActivitiesResponseBody) GetMediaContainer() *GetServerActivitiesMediaContainer
type GetServerCapabilitiesResponse ¶
type GetServerCapabilitiesResponse struct {
// HTTP response content type for this operation
ContentType string
// HTTP response status code for this operation
StatusCode int
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response
// The Server Capabilities
Object *GetServerCapabilitiesResponseBody
}
func (*GetServerCapabilitiesResponse) GetContentType ¶
func (o *GetServerCapabilitiesResponse) GetContentType() string
func (*GetServerCapabilitiesResponse) GetObject ¶
func (o *GetServerCapabilitiesResponse) GetObject() *GetServerCapabilitiesResponseBody
func (*GetServerCapabilitiesResponse) GetRawResponse ¶
func (o *GetServerCapabilitiesResponse) GetRawResponse() *http.Response
func (*GetServerCapabilitiesResponse) GetStatusCode ¶
func (o *GetServerCapabilitiesResponse) GetStatusCode() int
type GetServerCapabilitiesResponseBody ¶
type GetServerCapabilitiesResponseBody struct {
MediaContainer *MediaContainer `json:"MediaContainer,omitempty"`
}
GetServerCapabilitiesResponseBody - The Server Capabilities
func (*GetServerCapabilitiesResponseBody) GetMediaContainer ¶
func (o *GetServerCapabilitiesResponseBody) GetMediaContainer() *MediaContainer
type GetServerIdentityMediaContainer ¶
type GetServerIdentityMediaContainer struct {
Size *float64 `json:"size,omitempty"`
Claimed *bool `json:"claimed,omitempty"`
MachineIdentifier *string `json:"machineIdentifier,omitempty"`
Version *string `json:"version,omitempty"`
}
func (*GetServerIdentityMediaContainer) GetClaimed ¶
func (o *GetServerIdentityMediaContainer) GetClaimed() *bool
func (*GetServerIdentityMediaContainer) GetMachineIdentifier ¶
func (o *GetServerIdentityMediaContainer) GetMachineIdentifier() *string
func (*GetServerIdentityMediaContainer) GetSize ¶
func (o *GetServerIdentityMediaContainer) GetSize() *float64
func (*GetServerIdentityMediaContainer) GetVersion ¶
func (o *GetServerIdentityMediaContainer) GetVersion() *string
type GetServerIdentityResponse ¶
type GetServerIdentityResponse struct {
// HTTP response content type for this operation
ContentType string
// HTTP response status code for this operation
StatusCode int
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response
// The Transcode Sessions
Object *GetServerIdentityResponseBody
}
func (*GetServerIdentityResponse) GetContentType ¶
func (o *GetServerIdentityResponse) GetContentType() string
func (*GetServerIdentityResponse) GetObject ¶
func (o *GetServerIdentityResponse) GetObject() *GetServerIdentityResponseBody
func (*GetServerIdentityResponse) GetRawResponse ¶
func (o *GetServerIdentityResponse) GetRawResponse() *http.Response
func (*GetServerIdentityResponse) GetStatusCode ¶
func (o *GetServerIdentityResponse) GetStatusCode() int
type GetServerIdentityResponseBody ¶
type GetServerIdentityResponseBody struct {
MediaContainer *GetServerIdentityMediaContainer `json:"MediaContainer,omitempty"`
}
GetServerIdentityResponseBody - The Transcode Sessions
func (*GetServerIdentityResponseBody) GetMediaContainer ¶
func (o *GetServerIdentityResponseBody) GetMediaContainer() *GetServerIdentityMediaContainer
type GetServerListMediaContainer ¶
type GetServerListMediaContainer struct {
Size *float64 `json:"size,omitempty"`
Server []GetServerListServer `json:"Server,omitempty"`
}
func (*GetServerListMediaContainer) GetServer ¶
func (o *GetServerListMediaContainer) GetServer() []GetServerListServer
func (*GetServerListMediaContainer) GetSize ¶
func (o *GetServerListMediaContainer) GetSize() *float64
type GetServerListResponse ¶
type GetServerListResponse struct {
// HTTP response content type for this operation
ContentType string
// HTTP response status code for this operation
StatusCode int
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response
// List of Servers
Object *GetServerListResponseBody
}
func (*GetServerListResponse) GetContentType ¶
func (o *GetServerListResponse) GetContentType() string
func (*GetServerListResponse) GetObject ¶
func (o *GetServerListResponse) GetObject() *GetServerListResponseBody
func (*GetServerListResponse) GetRawResponse ¶
func (o *GetServerListResponse) GetRawResponse() *http.Response
func (*GetServerListResponse) GetStatusCode ¶
func (o *GetServerListResponse) GetStatusCode() int
type GetServerListResponseBody ¶
type GetServerListResponseBody struct {
MediaContainer *GetServerListMediaContainer `json:"MediaContainer,omitempty"`
}
GetServerListResponseBody - List of Servers
func (*GetServerListResponseBody) GetMediaContainer ¶
func (o *GetServerListResponseBody) GetMediaContainer() *GetServerListMediaContainer
type GetServerListServer ¶
type GetServerListServer struct {
Name *string `json:"name,omitempty"`
Host *string `json:"host,omitempty"`
Address *string `json:"address,omitempty"`
Port *float64 `json:"port,omitempty"`
MachineIdentifier *string `json:"machineIdentifier,omitempty"`
Version *string `json:"version,omitempty"`
}
func (*GetServerListServer) GetAddress ¶
func (o *GetServerListServer) GetAddress() *string
func (*GetServerListServer) GetHost ¶
func (o *GetServerListServer) GetHost() *string
func (*GetServerListServer) GetMachineIdentifier ¶
func (o *GetServerListServer) GetMachineIdentifier() *string
func (*GetServerListServer) GetName ¶
func (o *GetServerListServer) GetName() *string
func (*GetServerListServer) GetPort ¶
func (o *GetServerListServer) GetPort() *float64
func (*GetServerListServer) GetVersion ¶
func (o *GetServerListServer) GetVersion() *string
type GetServerPreferencesResponse ¶
type GetServerPreferencesResponse struct {
// HTTP response content type for this operation
ContentType string
// HTTP response status code for this operation
StatusCode int
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response
}
func (*GetServerPreferencesResponse) GetContentType ¶
func (o *GetServerPreferencesResponse) GetContentType() string
func (*GetServerPreferencesResponse) GetRawResponse ¶
func (o *GetServerPreferencesResponse) GetRawResponse() *http.Response
func (*GetServerPreferencesResponse) GetStatusCode ¶
func (o *GetServerPreferencesResponse) GetStatusCode() int
type GetSessionHistoryResponse ¶
type GetSessionHistoryResponse struct {
// HTTP response content type for this operation
ContentType string
// HTTP response status code for this operation
StatusCode int
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response
}
func (*GetSessionHistoryResponse) GetContentType ¶
func (o *GetSessionHistoryResponse) GetContentType() string
func (*GetSessionHistoryResponse) GetRawResponse ¶
func (o *GetSessionHistoryResponse) GetRawResponse() *http.Response
func (*GetSessionHistoryResponse) GetStatusCode ¶
func (o *GetSessionHistoryResponse) GetStatusCode() int
type GetSessionsResponse ¶
type GetSessionsResponse struct {
// HTTP response content type for this operation
ContentType string
// HTTP response status code for this operation
StatusCode int
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response
}
func (*GetSessionsResponse) GetContentType ¶
func (o *GetSessionsResponse) GetContentType() string
func (*GetSessionsResponse) GetRawResponse ¶
func (o *GetSessionsResponse) GetRawResponse() *http.Response
func (*GetSessionsResponse) GetStatusCode ¶
func (o *GetSessionsResponse) GetStatusCode() int
type GetSourceConnectionInformationRequest ¶
type GetSourceConnectionInformationRequest struct {
// The source identifier with an included prefix.
Source string `queryParam:"style=form,explode=true,name=source"`
}
func (*GetSourceConnectionInformationRequest) GetSource ¶
func (o *GetSourceConnectionInformationRequest) GetSource() string
type GetSourceConnectionInformationResponse ¶
type GetSourceConnectionInformationResponse struct {
// HTTP response content type for this operation
ContentType string
// HTTP response status code for this operation
StatusCode int
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response
}
func (*GetSourceConnectionInformationResponse) GetContentType ¶
func (o *GetSourceConnectionInformationResponse) GetContentType() string
func (*GetSourceConnectionInformationResponse) GetRawResponse ¶
func (o *GetSourceConnectionInformationResponse) GetRawResponse() *http.Response
func (*GetSourceConnectionInformationResponse) GetStatusCode ¶
func (o *GetSourceConnectionInformationResponse) GetStatusCode() int
type GetTimelineRequest ¶
type GetTimelineRequest struct {
// The rating key of the media item
RatingKey float64 `queryParam:"style=form,explode=true,name=ratingKey"`
// The key of the media item to get the timeline for
Key string `queryParam:"style=form,explode=true,name=key"`
// The state of the media item
State State `queryParam:"style=form,explode=true,name=state"`
// Whether the media item has MDE
HasMDE float64 `queryParam:"style=form,explode=true,name=hasMDE"`
// The time of the media item
Time float64 `queryParam:"style=form,explode=true,name=time"`
// The duration of the media item
Duration float64 `queryParam:"style=form,explode=true,name=duration"`
// The context of the media item
Context string `queryParam:"style=form,explode=true,name=context"`
// The play queue item ID of the media item
PlayQueueItemID float64 `queryParam:"style=form,explode=true,name=playQueueItemID"`
// The playback time of the media item
PlayBackTime float64 `queryParam:"style=form,explode=true,name=playBackTime"`
// The row of the media item
Row float64 `queryParam:"style=form,explode=true,name=row"`
}
func (*GetTimelineRequest) GetContext ¶
func (o *GetTimelineRequest) GetContext() string
func (*GetTimelineRequest) GetDuration ¶
func (o *GetTimelineRequest) GetDuration() float64
func (*GetTimelineRequest) GetHasMDE ¶
func (o *GetTimelineRequest) GetHasMDE() float64
func (*GetTimelineRequest) GetKey ¶
func (o *GetTimelineRequest) GetKey() string
func (*GetTimelineRequest) GetPlayBackTime ¶
func (o *GetTimelineRequest) GetPlayBackTime() float64
func (*GetTimelineRequest) GetPlayQueueItemID ¶
func (o *GetTimelineRequest) GetPlayQueueItemID() float64
func (*GetTimelineRequest) GetRatingKey ¶
func (o *GetTimelineRequest) GetRatingKey() float64
func (*GetTimelineRequest) GetRow ¶
func (o *GetTimelineRequest) GetRow() float64
func (*GetTimelineRequest) GetState ¶
func (o *GetTimelineRequest) GetState() State
func (*GetTimelineRequest) GetTime ¶
func (o *GetTimelineRequest) GetTime() float64
type GetTimelineResponse ¶
type GetTimelineResponse struct {
// HTTP response content type for this operation
ContentType string
// HTTP response status code for this operation
StatusCode int
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response
}
func (*GetTimelineResponse) GetContentType ¶
func (o *GetTimelineResponse) GetContentType() string
func (*GetTimelineResponse) GetRawResponse ¶
func (o *GetTimelineResponse) GetRawResponse() *http.Response
func (*GetTimelineResponse) GetStatusCode ¶
func (o *GetTimelineResponse) GetStatusCode() int
type GetTranscodeSessionsMediaContainer ¶
type GetTranscodeSessionsMediaContainer struct {
Size *float64 `json:"size,omitempty"`
TranscodeSession []TranscodeSession `json:"TranscodeSession,omitempty"`
}
func (*GetTranscodeSessionsMediaContainer) GetSize ¶
func (o *GetTranscodeSessionsMediaContainer) GetSize() *float64
func (*GetTranscodeSessionsMediaContainer) GetTranscodeSession ¶
func (o *GetTranscodeSessionsMediaContainer) GetTranscodeSession() []TranscodeSession
type GetTranscodeSessionsResponse ¶
type GetTranscodeSessionsResponse struct {
// HTTP response content type for this operation
ContentType string
// HTTP response status code for this operation
StatusCode int
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response
// The Transcode Sessions
Object *GetTranscodeSessionsResponseBody
}
func (*GetTranscodeSessionsResponse) GetContentType ¶
func (o *GetTranscodeSessionsResponse) GetContentType() string
func (*GetTranscodeSessionsResponse) GetObject ¶
func (o *GetTranscodeSessionsResponse) GetObject() *GetTranscodeSessionsResponseBody
func (*GetTranscodeSessionsResponse) GetRawResponse ¶
func (o *GetTranscodeSessionsResponse) GetRawResponse() *http.Response
func (*GetTranscodeSessionsResponse) GetStatusCode ¶
func (o *GetTranscodeSessionsResponse) GetStatusCode() int
type GetTranscodeSessionsResponseBody ¶
type GetTranscodeSessionsResponseBody struct {
MediaContainer *GetTranscodeSessionsMediaContainer `json:"MediaContainer,omitempty"`
}
GetTranscodeSessionsResponseBody - The Transcode Sessions
func (*GetTranscodeSessionsResponseBody) GetMediaContainer ¶
func (o *GetTranscodeSessionsResponseBody) GetMediaContainer() *GetTranscodeSessionsMediaContainer
type GetTransientTokenRequest ¶
type GetTransientTokenRequest struct {
// `delegation` - This is the only supported `type` parameter.
Type QueryParamType `queryParam:"style=form,explode=true,name=type"`
// `all` - This is the only supported `scope` parameter.
Scope Scope `queryParam:"style=form,explode=true,name=scope"`
}
func (*GetTransientTokenRequest) GetScope ¶
func (o *GetTransientTokenRequest) GetScope() Scope
func (*GetTransientTokenRequest) GetType ¶
func (o *GetTransientTokenRequest) GetType() QueryParamType
type GetTransientTokenResponse ¶
type GetTransientTokenResponse struct {
// HTTP response content type for this operation
ContentType string
// HTTP response status code for this operation
StatusCode int
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response
}
func (*GetTransientTokenResponse) GetContentType ¶
func (o *GetTransientTokenResponse) GetContentType() string
func (*GetTransientTokenResponse) GetRawResponse ¶
func (o *GetTransientTokenResponse) GetRawResponse() *http.Response
func (*GetTransientTokenResponse) GetStatusCode ¶
func (o *GetTransientTokenResponse) GetStatusCode() int
type GetUpdateStatusResponse ¶
type GetUpdateStatusResponse struct {
// HTTP response content type for this operation
ContentType string
// HTTP response status code for this operation
StatusCode int
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response
}
func (*GetUpdateStatusResponse) GetContentType ¶
func (o *GetUpdateStatusResponse) GetContentType() string
func (*GetUpdateStatusResponse) GetRawResponse ¶
func (o *GetUpdateStatusResponse) GetRawResponse() *http.Response
func (*GetUpdateStatusResponse) GetStatusCode ¶
func (o *GetUpdateStatusResponse) GetStatusCode() int
type IncludeDetails ¶
type IncludeDetails int64
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.
const ( IncludeDetailsZero IncludeDetails = 0 IncludeDetailsOne IncludeDetails = 1 )
func (IncludeDetails) ToPointer ¶
func (e IncludeDetails) ToPointer() *IncludeDetails
func (*IncludeDetails) UnmarshalJSON ¶
func (e *IncludeDetails) UnmarshalJSON(data []byte) error
type Level ¶
type Level int64
Level - An integer log level to write to the PMS log with. 0: Error 1: Warning 2: Info 3: Debug 4: Verbose
func (*Level) UnmarshalJSON ¶
type LogLineRequest ¶
type LogLineRequest struct {
// An integer log level to write to the PMS log with.
// 0: Error
// 1: Warning
// 2: Info
// 3: Debug
// 4: Verbose
//
Level Level `queryParam:"style=form,explode=true,name=level"`
// The text of the message to write to the log.
Message string `queryParam:"style=form,explode=true,name=message"`
// a string indicating the source of the message.
Source string `queryParam:"style=form,explode=true,name=source"`
}
func (*LogLineRequest) GetLevel ¶
func (o *LogLineRequest) GetLevel() Level
func (*LogLineRequest) GetMessage ¶
func (o *LogLineRequest) GetMessage() string
func (*LogLineRequest) GetSource ¶
func (o *LogLineRequest) GetSource() string
type LogLineResponse ¶
type LogLineResponse struct {
// HTTP response content type for this operation
ContentType string
// HTTP response status code for this operation
StatusCode int
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response
}
func (*LogLineResponse) GetContentType ¶
func (o *LogLineResponse) GetContentType() string
func (*LogLineResponse) GetRawResponse ¶
func (o *LogLineResponse) GetRawResponse() *http.Response
func (*LogLineResponse) GetStatusCode ¶
func (o *LogLineResponse) GetStatusCode() int
type LogMultiLineResponse ¶
type LogMultiLineResponse struct {
// HTTP response content type for this operation
ContentType string
// HTTP response status code for this operation
StatusCode int
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response
}
func (*LogMultiLineResponse) GetContentType ¶
func (o *LogMultiLineResponse) GetContentType() string
func (*LogMultiLineResponse) GetRawResponse ¶
func (o *LogMultiLineResponse) GetRawResponse() *http.Response
func (*LogMultiLineResponse) GetStatusCode ¶
func (o *LogMultiLineResponse) GetStatusCode() int
type MarkPlayedRequest ¶
type MarkPlayedRequest struct {
// The media key to mark as played
Key float64 `queryParam:"style=form,explode=true,name=key"`
}
func (*MarkPlayedRequest) GetKey ¶
func (o *MarkPlayedRequest) GetKey() float64
type MarkPlayedResponse ¶
type MarkPlayedResponse struct {
// HTTP response content type for this operation
ContentType string
// HTTP response status code for this operation
StatusCode int
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response
}
func (*MarkPlayedResponse) GetContentType ¶
func (o *MarkPlayedResponse) GetContentType() string
func (*MarkPlayedResponse) GetRawResponse ¶
func (o *MarkPlayedResponse) GetRawResponse() *http.Response
func (*MarkPlayedResponse) GetStatusCode ¶
func (o *MarkPlayedResponse) GetStatusCode() int
type MarkUnplayedRequest ¶
type MarkUnplayedRequest struct {
// The media key to mark as Unplayed
Key float64 `queryParam:"style=form,explode=true,name=key"`
}
func (*MarkUnplayedRequest) GetKey ¶
func (o *MarkUnplayedRequest) GetKey() float64
type MarkUnplayedResponse ¶
type MarkUnplayedResponse struct {
// HTTP response content type for this operation
ContentType string
// HTTP response status code for this operation
StatusCode int
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response
}
func (*MarkUnplayedResponse) GetContentType ¶
func (o *MarkUnplayedResponse) GetContentType() string
func (*MarkUnplayedResponse) GetRawResponse ¶
func (o *MarkUnplayedResponse) GetRawResponse() *http.Response
func (*MarkUnplayedResponse) GetStatusCode ¶
func (o *MarkUnplayedResponse) GetStatusCode() int
type Media ¶
type Media struct {
ID *float64 `json:"id,omitempty"`
Duration *float64 `json:"duration,omitempty"`
Bitrate *float64 `json:"bitrate,omitempty"`
Width *float64 `json:"width,omitempty"`
Height *float64 `json:"height,omitempty"`
AspectRatio *float64 `json:"aspectRatio,omitempty"`
AudioChannels *float64 `json:"audioChannels,omitempty"`
AudioCodec *string `json:"audioCodec,omitempty"`
VideoCodec *string `json:"videoCodec,omitempty"`
VideoResolution *float64 `json:"videoResolution,omitempty"`
Container *string `json:"container,omitempty"`
VideoFrameRate *string `json:"videoFrameRate,omitempty"`
OptimizedForStreaming *float64 `json:"optimizedForStreaming,omitempty"`
Has64bitOffsets *bool `json:"has64bitOffsets,omitempty"`
VideoProfile *string `json:"videoProfile,omitempty"`
Part []Part `json:"Part,omitempty"`
}
func (*Media) GetAspectRatio ¶
func (*Media) GetAudioChannels ¶
func (*Media) GetAudioCodec ¶
func (*Media) GetBitrate ¶
func (*Media) GetContainer ¶
func (*Media) GetDuration ¶
func (*Media) GetHas64bitOffsets ¶
func (*Media) GetOptimizedForStreaming ¶
func (*Media) GetVideoCodec ¶
func (*Media) GetVideoFrameRate ¶
func (*Media) GetVideoProfile ¶
func (*Media) GetVideoResolution ¶
type MediaContainer ¶
type MediaContainer struct {
Size *float64 `json:"size,omitempty"`
AllowCameraUpload *bool `json:"allowCameraUpload,omitempty"`
AllowChannelAccess *bool `json:"allowChannelAccess,omitempty"`
AllowMediaDeletion *bool `json:"allowMediaDeletion,omitempty"`
AllowSharing *bool `json:"allowSharing,omitempty"`
AllowSync *bool `json:"allowSync,omitempty"`
AllowTuners *bool `json:"allowTuners,omitempty"`
BackgroundProcessing *bool `json:"backgroundProcessing,omitempty"`
Certificate *bool `json:"certificate,omitempty"`
CompanionProxy *bool `json:"companionProxy,omitempty"`
CountryCode *string `json:"countryCode,omitempty"`
Diagnostics *string `json:"diagnostics,omitempty"`
EventStream *bool `json:"eventStream,omitempty"`
FriendlyName *string `json:"friendlyName,omitempty"`
HubSearch *bool `json:"hubSearch,omitempty"`
ItemClusters *bool `json:"itemClusters,omitempty"`
Livetv *float64 `json:"livetv,omitempty"`
MachineIdentifier *string `json:"machineIdentifier,omitempty"`
MediaProviders *bool `json:"mediaProviders,omitempty"`
Multiuser *bool `json:"multiuser,omitempty"`
MusicAnalysis *float64 `json:"musicAnalysis,omitempty"`
MyPlex *bool `json:"myPlex,omitempty"`
MyPlexMappingState *string `json:"myPlexMappingState,omitempty"`
MyPlexSigninState *string `json:"myPlexSigninState,omitempty"`
MyPlexSubscription *bool `json:"myPlexSubscription,omitempty"`
MyPlexUsername *string `json:"myPlexUsername,omitempty"`
OfflineTranscode *float64 `json:"offlineTranscode,omitempty"`
OwnerFeatures *string `json:"ownerFeatures,omitempty"`
PhotoAutoTag *bool `json:"photoAutoTag,omitempty"`
Platform *string `json:"platform,omitempty"`
PlatformVersion *string `json:"platformVersion,omitempty"`
PluginHost *bool `json:"pluginHost,omitempty"`
PushNotifications *bool `json:"pushNotifications,omitempty"`
ReadOnlyLibraries *bool `json:"readOnlyLibraries,omitempty"`
StreamingBrainABRVersion *float64 `json:"streamingBrainABRVersion,omitempty"`
StreamingBrainVersion *float64 `json:"streamingBrainVersion,omitempty"`
Sync *bool `json:"sync,omitempty"`
TranscoderActiveVideoSessions *float64 `json:"transcoderActiveVideoSessions,omitempty"`
TranscoderAudio *bool `json:"transcoderAudio,omitempty"`
TranscoderLyrics *bool `json:"transcoderLyrics,omitempty"`
TranscoderPhoto *bool `json:"transcoderPhoto,omitempty"`
TranscoderSubtitles *bool `json:"transcoderSubtitles,omitempty"`
TranscoderVideo *bool `json:"transcoderVideo,omitempty"`
TranscoderVideoBitrates *string `json:"transcoderVideoBitrates,omitempty"`
TranscoderVideoQualities *string `json:"transcoderVideoQualities,omitempty"`
TranscoderVideoResolutions *string `json:"transcoderVideoResolutions,omitempty"`
UpdatedAt *float64 `json:"updatedAt,omitempty"`
Updater *bool `json:"updater,omitempty"`
Version *string `json:"version,omitempty"`
VoiceSearch *bool `json:"voiceSearch,omitempty"`
Directory []Directory `json:"Directory,omitempty"`
}
func (*MediaContainer) GetAllowCameraUpload ¶
func (o *MediaContainer) GetAllowCameraUpload() *bool
func (*MediaContainer) GetAllowChannelAccess ¶
func (o *MediaContainer) GetAllowChannelAccess() *bool
func (*MediaContainer) GetAllowMediaDeletion ¶
func (o *MediaContainer) GetAllowMediaDeletion() *bool
func (*MediaContainer) GetAllowSharing ¶
func (o *MediaContainer) GetAllowSharing() *bool
func (*MediaContainer) GetAllowSync ¶
func (o *MediaContainer) GetAllowSync() *bool
func (*MediaContainer) GetAllowTuners ¶
func (o *MediaContainer) GetAllowTuners() *bool
func (*MediaContainer) GetBackgroundProcessing ¶
func (o *MediaContainer) GetBackgroundProcessing() *bool
func (*MediaContainer) GetCertificate ¶
func (o *MediaContainer) GetCertificate() *bool
func (*MediaContainer) GetCompanionProxy ¶
func (o *MediaContainer) GetCompanionProxy() *bool
func (*MediaContainer) GetCountryCode ¶
func (o *MediaContainer) GetCountryCode() *string
func (*MediaContainer) GetDiagnostics ¶
func (o *MediaContainer) GetDiagnostics() *string
func (*MediaContainer) GetDirectory ¶
func (o *MediaContainer) GetDirectory() []Directory
func (*MediaContainer) GetEventStream ¶
func (o *MediaContainer) GetEventStream() *bool
func (*MediaContainer) GetFriendlyName ¶
func (o *MediaContainer) GetFriendlyName() *string
func (*MediaContainer) GetHubSearch ¶
func (o *MediaContainer) GetHubSearch() *bool
func (*MediaContainer) GetItemClusters ¶
func (o *MediaContainer) GetItemClusters() *bool
func (*MediaContainer) GetLivetv ¶
func (o *MediaContainer) GetLivetv() *float64
func (*MediaContainer) GetMachineIdentifier ¶
func (o *MediaContainer) GetMachineIdentifier() *string
func (*MediaContainer) GetMediaProviders ¶
func (o *MediaContainer) GetMediaProviders() *bool
func (*MediaContainer) GetMultiuser ¶
func (o *MediaContainer) GetMultiuser() *bool
func (*MediaContainer) GetMusicAnalysis ¶
func (o *MediaContainer) GetMusicAnalysis() *float64
func (*MediaContainer) GetMyPlex ¶
func (o *MediaContainer) GetMyPlex() *bool
func (*MediaContainer) GetMyPlexMappingState ¶
func (o *MediaContainer) GetMyPlexMappingState() *string
func (*MediaContainer) GetMyPlexSigninState ¶
func (o *MediaContainer) GetMyPlexSigninState() *string
func (*MediaContainer) GetMyPlexSubscription ¶
func (o *MediaContainer) GetMyPlexSubscription() *bool
func (*MediaContainer) GetMyPlexUsername ¶
func (o *MediaContainer) GetMyPlexUsername() *string
func (*MediaContainer) GetOfflineTranscode ¶
func (o *MediaContainer) GetOfflineTranscode() *float64
func (*MediaContainer) GetOwnerFeatures ¶
func (o *MediaContainer) GetOwnerFeatures() *string
func (*MediaContainer) GetPhotoAutoTag ¶
func (o *MediaContainer) GetPhotoAutoTag() *bool
func (*MediaContainer) GetPlatform ¶
func (o *MediaContainer) GetPlatform() *string
func (*MediaContainer) GetPlatformVersion ¶
func (o *MediaContainer) GetPlatformVersion() *string
func (*MediaContainer) GetPluginHost ¶
func (o *MediaContainer) GetPluginHost() *bool
func (*MediaContainer) GetPushNotifications ¶
func (o *MediaContainer) GetPushNotifications() *bool
func (*MediaContainer) GetReadOnlyLibraries ¶
func (o *MediaContainer) GetReadOnlyLibraries() *bool
func (*MediaContainer) GetSize ¶
func (o *MediaContainer) GetSize() *float64
func (*MediaContainer) GetStreamingBrainABRVersion ¶
func (o *MediaContainer) GetStreamingBrainABRVersion() *float64
func (*MediaContainer) GetStreamingBrainVersion ¶
func (o *MediaContainer) GetStreamingBrainVersion() *float64
func (*MediaContainer) GetSync ¶
func (o *MediaContainer) GetSync() *bool
func (*MediaContainer) GetTranscoderActiveVideoSessions ¶
func (o *MediaContainer) GetTranscoderActiveVideoSessions() *float64
func (*MediaContainer) GetTranscoderAudio ¶
func (o *MediaContainer) GetTranscoderAudio() *bool
func (*MediaContainer) GetTranscoderLyrics ¶
func (o *MediaContainer) GetTranscoderLyrics() *bool
func (*MediaContainer) GetTranscoderPhoto ¶
func (o *MediaContainer) GetTranscoderPhoto() *bool
func (*MediaContainer) GetTranscoderSubtitles ¶
func (o *MediaContainer) GetTranscoderSubtitles() *bool
func (*MediaContainer) GetTranscoderVideo ¶
func (o *MediaContainer) GetTranscoderVideo() *bool
func (*MediaContainer) GetTranscoderVideoBitrates ¶
func (o *MediaContainer) GetTranscoderVideoBitrates() *string
func (*MediaContainer) GetTranscoderVideoQualities ¶
func (o *MediaContainer) GetTranscoderVideoQualities() *string
func (*MediaContainer) GetTranscoderVideoResolutions ¶
func (o *MediaContainer) GetTranscoderVideoResolutions() *string
func (*MediaContainer) GetUpdatedAt ¶
func (o *MediaContainer) GetUpdatedAt() *float64
func (*MediaContainer) GetUpdater ¶
func (o *MediaContainer) GetUpdater() *bool
func (*MediaContainer) GetVersion ¶
func (o *MediaContainer) GetVersion() *string
func (*MediaContainer) GetVoiceSearch ¶
func (o *MediaContainer) GetVoiceSearch() *bool
type Metadata ¶
type Metadata struct {
AllowSync *bool `json:"allowSync,omitempty"`
LibrarySectionID *float64 `json:"librarySectionID,omitempty"`
LibrarySectionTitle *string `json:"librarySectionTitle,omitempty"`
LibrarySectionUUID *string `json:"librarySectionUUID,omitempty"`
RatingKey *float64 `json:"ratingKey,omitempty"`
Key *string `json:"key,omitempty"`
GUID *string `json:"guid,omitempty"`
Studio *string `json:"studio,omitempty"`
Type *string `json:"type,omitempty"`
Title *string `json:"title,omitempty"`
ContentRating *string `json:"contentRating,omitempty"`
Summary *string `json:"summary,omitempty"`
Rating *float64 `json:"rating,omitempty"`
AudienceRating *float64 `json:"audienceRating,omitempty"`
Year *float64 `json:"year,omitempty"`
Tagline *string `json:"tagline,omitempty"`
Thumb *string `json:"thumb,omitempty"`
Art *string `json:"art,omitempty"`
Duration *float64 `json:"duration,omitempty"`
OriginallyAvailableAt *time.Time `json:"originallyAvailableAt,omitempty"`
AddedAt *float64 `json:"addedAt,omitempty"`
UpdatedAt *float64 `json:"updatedAt,omitempty"`
AudienceRatingImage *string `json:"audienceRatingImage,omitempty"`
ChapterSource *string `json:"chapterSource,omitempty"`
PrimaryExtraKey *string `json:"primaryExtraKey,omitempty"`
RatingImage *string `json:"ratingImage,omitempty"`
Media []Media `json:"Media,omitempty"`
Genre []Genre `json:"Genre,omitempty"`
Director []Director `json:"Director,omitempty"`
Writer []Writer `json:"Writer,omitempty"`
Country []Country `json:"Country,omitempty"`
Role []Role `json:"Role,omitempty"`
}
func (*Metadata) GetAddedAt ¶
func (*Metadata) GetAllowSync ¶
func (*Metadata) GetAudienceRating ¶
func (*Metadata) GetAudienceRatingImage ¶
func (*Metadata) GetChapterSource ¶
func (*Metadata) GetContentRating ¶
func (*Metadata) GetCountry ¶
func (*Metadata) GetDirector ¶
func (*Metadata) GetDuration ¶
func (*Metadata) GetLibrarySectionID ¶
func (*Metadata) GetLibrarySectionTitle ¶
func (*Metadata) GetLibrarySectionUUID ¶
func (*Metadata) GetOriginallyAvailableAt ¶
func (*Metadata) GetPrimaryExtraKey ¶
func (*Metadata) GetRatingImage ¶
func (*Metadata) GetRatingKey ¶
func (*Metadata) GetSummary ¶
func (*Metadata) GetTagline ¶
func (*Metadata) GetUpdatedAt ¶
func (Metadata) MarshalJSON ¶
func (*Metadata) UnmarshalJSON ¶
type MinSize ¶
type MinSize int64
MinSize - images are always scaled proportionally. A value of '1' in minSize will make the smaller native dimension the dimension resized against.
func (*MinSize) UnmarshalJSON ¶
type MyPlex ¶
type MyPlex struct {
AuthToken *string `json:"authToken,omitempty"`
Username *string `json:"username,omitempty"`
MappingState *string `json:"mappingState,omitempty"`
MappingError *string `json:"mappingError,omitempty"`
SignInState *string `json:"signInState,omitempty"`
PublicAddress *string `json:"publicAddress,omitempty"`
PublicPort *float64 `json:"publicPort,omitempty"`
PrivateAddress *string `json:"privateAddress,omitempty"`
PrivatePort *float64 `json:"privatePort,omitempty"`
SubscriptionFeatures *string `json:"subscriptionFeatures,omitempty"`
SubscriptionActive *bool `json:"subscriptionActive,omitempty"`
SubscriptionState *string `json:"subscriptionState,omitempty"`
}
func (*MyPlex) GetAuthToken ¶
func (*MyPlex) GetMappingError ¶
func (*MyPlex) GetMappingState ¶
func (*MyPlex) GetPrivateAddress ¶
func (*MyPlex) GetPrivatePort ¶
func (*MyPlex) GetPublicAddress ¶
func (*MyPlex) GetPublicPort ¶
func (*MyPlex) GetSignInState ¶
func (*MyPlex) GetSubscriptionActive ¶
func (*MyPlex) GetSubscriptionFeatures ¶
func (*MyPlex) GetSubscriptionState ¶
func (*MyPlex) GetUsername ¶
type OnlyTransient ¶
type OnlyTransient int64
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).
const ( OnlyTransientZero OnlyTransient = 0 OnlyTransientOne OnlyTransient = 1 )
func (OnlyTransient) ToPointer ¶
func (e OnlyTransient) ToPointer() *OnlyTransient
func (*OnlyTransient) UnmarshalJSON ¶
func (e *OnlyTransient) UnmarshalJSON(data []byte) error
type Part ¶
type Part struct {
ID *float64 `json:"id,omitempty"`
Key *string `json:"key,omitempty"`
Duration *float64 `json:"duration,omitempty"`
File *string `json:"file,omitempty"`
Size *float64 `json:"size,omitempty"`
Container *string `json:"container,omitempty"`
Has64bitOffsets *bool `json:"has64bitOffsets,omitempty"`
HasThumbnail *float64 `json:"hasThumbnail,omitempty"`
OptimizedForStreaming *bool `json:"optimizedForStreaming,omitempty"`
VideoProfile *string `json:"videoProfile,omitempty"`
}
func (*Part) GetContainer ¶
func (*Part) GetDuration ¶
func (*Part) GetHas64bitOffsets ¶
func (*Part) GetHasThumbnail ¶
func (*Part) GetOptimizedForStreaming ¶
func (*Part) GetVideoProfile ¶
type PathParamTaskName ¶
type PathParamTaskName string
PathParamTaskName - The name of the task to be started.
const ( PathParamTaskNameBackupDatabase PathParamTaskName = "BackupDatabase" PathParamTaskNameBuildGracenoteCollections PathParamTaskName = "BuildGracenoteCollections" PathParamTaskNameCheckForUpdates PathParamTaskName = "CheckForUpdates" PathParamTaskNameCleanOldBundles PathParamTaskName = "CleanOldBundles" PathParamTaskNameCleanOldCacheFiles PathParamTaskName = "CleanOldCacheFiles" PathParamTaskNameDeepMediaAnalysis PathParamTaskName = "DeepMediaAnalysis" PathParamTaskNameGenerateAutoTags PathParamTaskName = "GenerateAutoTags" PathParamTaskNameGenerateChapterThumbs PathParamTaskName = "GenerateChapterThumbs" PathParamTaskNameGenerateMediaIndexFiles PathParamTaskName = "GenerateMediaIndexFiles" PathParamTaskNameOptimizeDatabase PathParamTaskName = "OptimizeDatabase" PathParamTaskNameRefreshLibraries PathParamTaskName = "RefreshLibraries" PathParamTaskNameRefreshLocalMedia PathParamTaskName = "RefreshLocalMedia" PathParamTaskNameRefreshPeriodicMetadata PathParamTaskName = "RefreshPeriodicMetadata" PathParamTaskNameUpgradeMediaAnalysis PathParamTaskName = "UpgradeMediaAnalysis" )
func (PathParamTaskName) ToPointer ¶
func (e PathParamTaskName) ToPointer() *PathParamTaskName
func (*PathParamTaskName) UnmarshalJSON ¶
func (e *PathParamTaskName) UnmarshalJSON(data []byte) error
type PerformSearchRequest ¶
type PerformSearchRequest struct {
// The query term
Query string `queryParam:"style=form,explode=true,name=query"`
// This gives context to the search, and can result in re-ordering of search result hubs
SectionID *float64 `queryParam:"style=form,explode=true,name=sectionId"`
// The number of items to return per hub
Limit *float64 `default:"3" queryParam:"style=form,explode=true,name=limit"`
}
func (*PerformSearchRequest) GetLimit ¶
func (o *PerformSearchRequest) GetLimit() *float64
func (*PerformSearchRequest) GetQuery ¶
func (o *PerformSearchRequest) GetQuery() string
func (*PerformSearchRequest) GetSectionID ¶
func (o *PerformSearchRequest) GetSectionID() *float64
func (PerformSearchRequest) MarshalJSON ¶
func (p PerformSearchRequest) MarshalJSON() ([]byte, error)
func (*PerformSearchRequest) UnmarshalJSON ¶
func (p *PerformSearchRequest) UnmarshalJSON(data []byte) error
type PerformSearchResponse ¶
type PerformSearchResponse struct {
// HTTP response content type for this operation
ContentType string
// HTTP response status code for this operation
StatusCode int
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response
}
func (*PerformSearchResponse) GetContentType ¶
func (o *PerformSearchResponse) GetContentType() string
func (*PerformSearchResponse) GetRawResponse ¶
func (o *PerformSearchResponse) GetRawResponse() *http.Response
func (*PerformSearchResponse) GetStatusCode ¶
func (o *PerformSearchResponse) GetStatusCode() int
type PerformVoiceSearchRequest ¶
type PerformVoiceSearchRequest struct {
// The query term
Query string `queryParam:"style=form,explode=true,name=query"`
// This gives context to the search, and can result in re-ordering of search result hubs
SectionID *float64 `queryParam:"style=form,explode=true,name=sectionId"`
// The number of items to return per hub
Limit *float64 `default:"3" queryParam:"style=form,explode=true,name=limit"`
}
func (*PerformVoiceSearchRequest) GetLimit ¶
func (o *PerformVoiceSearchRequest) GetLimit() *float64
func (*PerformVoiceSearchRequest) GetQuery ¶
func (o *PerformVoiceSearchRequest) GetQuery() string
func (*PerformVoiceSearchRequest) GetSectionID ¶
func (o *PerformVoiceSearchRequest) GetSectionID() *float64
func (PerformVoiceSearchRequest) MarshalJSON ¶
func (p PerformVoiceSearchRequest) MarshalJSON() ([]byte, error)
func (*PerformVoiceSearchRequest) UnmarshalJSON ¶
func (p *PerformVoiceSearchRequest) UnmarshalJSON(data []byte) error
type PerformVoiceSearchResponse ¶
type PerformVoiceSearchResponse struct {
// HTTP response content type for this operation
ContentType string
// HTTP response status code for this operation
StatusCode int
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response
}
func (*PerformVoiceSearchResponse) GetContentType ¶
func (o *PerformVoiceSearchResponse) GetContentType() string
func (*PerformVoiceSearchResponse) GetRawResponse ¶
func (o *PerformVoiceSearchResponse) GetRawResponse() *http.Response
func (*PerformVoiceSearchResponse) GetStatusCode ¶
func (o *PerformVoiceSearchResponse) GetStatusCode() int
type PlaylistType ¶
type PlaylistType string
PlaylistType - limit to a type of playlist.
const ( PlaylistTypeAudio PlaylistType = "audio" PlaylistTypeVideo PlaylistType = "video" PlaylistTypePhoto PlaylistType = "photo" )
func (PlaylistType) ToPointer ¶
func (e PlaylistType) ToPointer() *PlaylistType
func (*PlaylistType) UnmarshalJSON ¶
func (e *PlaylistType) UnmarshalJSON(data []byte) error
type Provider ¶
type QueryParamOnlyTransient ¶
type QueryParamOnlyTransient int64
QueryParamOnlyTransient - 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).
const ( QueryParamOnlyTransientZero QueryParamOnlyTransient = 0 QueryParamOnlyTransientOne QueryParamOnlyTransient = 1 )
func (QueryParamOnlyTransient) ToPointer ¶
func (e QueryParamOnlyTransient) ToPointer() *QueryParamOnlyTransient
func (*QueryParamOnlyTransient) UnmarshalJSON ¶
func (e *QueryParamOnlyTransient) UnmarshalJSON(data []byte) error
type QueryParamSmart ¶
type QueryParamSmart int64
QueryParamSmart - type of playlists to return (default is all).
const ( QueryParamSmartZero QueryParamSmart = 0 QueryParamSmartOne QueryParamSmart = 1 )
func (QueryParamSmart) ToPointer ¶
func (e QueryParamSmart) ToPointer() *QueryParamSmart
func (*QueryParamSmart) UnmarshalJSON ¶
func (e *QueryParamSmart) UnmarshalJSON(data []byte) error
type QueryParamType ¶
type QueryParamType string
QueryParamType - `delegation` - This is the only supported `type` parameter.
const (
QueryParamTypeDelegation QueryParamType = "delegation"
)
func (QueryParamType) ToPointer ¶
func (e QueryParamType) ToPointer() *QueryParamType
func (*QueryParamType) UnmarshalJSON ¶
func (e *QueryParamType) UnmarshalJSON(data []byte) error
type RefreshLibraryRequest ¶
type RefreshLibraryRequest struct {
// the Id of the library to refresh
SectionID float64 `pathParam:"style=simple,explode=false,name=sectionId"`
}
func (*RefreshLibraryRequest) GetSectionID ¶
func (o *RefreshLibraryRequest) GetSectionID() float64
type RefreshLibraryResponse ¶
type RefreshLibraryResponse struct {
// HTTP response content type for this operation
ContentType string
// HTTP response status code for this operation
StatusCode int
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response
}
func (*RefreshLibraryResponse) GetContentType ¶
func (o *RefreshLibraryResponse) GetContentType() string
func (*RefreshLibraryResponse) GetRawResponse ¶
func (o *RefreshLibraryResponse) GetRawResponse() *http.Response
func (*RefreshLibraryResponse) GetStatusCode ¶
func (o *RefreshLibraryResponse) GetStatusCode() int
type ResponseBody ¶
type ResponseBody struct {
MediaContainer *GetAvailableClientsMediaContainer `json:"MediaContainer,omitempty"`
}
func (*ResponseBody) GetMediaContainer ¶
func (o *ResponseBody) GetMediaContainer() *GetAvailableClientsMediaContainer
type Scope ¶
type Scope string
Scope - `all` - This is the only supported `scope` parameter.
const (
ScopeAll Scope = "all"
)
func (*Scope) UnmarshalJSON ¶
type Server ¶
type Server struct {
Name *string `json:"name,omitempty"`
Host *string `json:"host,omitempty"`
Address *string `json:"address,omitempty"`
Port *float64 `json:"port,omitempty"`
MachineIdentifier *string `json:"machineIdentifier,omitempty"`
Version *string `json:"version,omitempty"`
Protocol *string `json:"protocol,omitempty"`
Product *string `json:"product,omitempty"`
DeviceClass *string `json:"deviceClass,omitempty"`
ProtocolVersion *float64 `json:"protocolVersion,omitempty"`
ProtocolCapabilities *string `json:"protocolCapabilities,omitempty"`
}
func (*Server) GetAddress ¶
func (*Server) GetDeviceClass ¶
func (*Server) GetMachineIdentifier ¶
func (*Server) GetProduct ¶
func (*Server) GetProtocol ¶
func (*Server) GetProtocolCapabilities ¶
func (*Server) GetProtocolVersion ¶
func (*Server) GetVersion ¶
type Skip ¶
type Skip int64
Skip - Indicate that the latest version should be marked as skipped. The <Release> entry for this version will have the `state` set to `skipped`.
func (*Skip) UnmarshalJSON ¶
type Smart ¶
type Smart int64
Smart - whether the playlist is smart or not
func (*Smart) UnmarshalJSON ¶
type StartAllTasksResponse ¶
type StartAllTasksResponse struct {
// HTTP response content type for this operation
ContentType string
// HTTP response status code for this operation
StatusCode int
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response
}
func (*StartAllTasksResponse) GetContentType ¶
func (o *StartAllTasksResponse) GetContentType() string
func (*StartAllTasksResponse) GetRawResponse ¶
func (o *StartAllTasksResponse) GetRawResponse() *http.Response
func (*StartAllTasksResponse) GetStatusCode ¶
func (o *StartAllTasksResponse) GetStatusCode() int
type StartTaskRequest ¶
type StartTaskRequest struct {
// the name of the task to be started.
TaskName TaskName `pathParam:"style=simple,explode=false,name=taskName"`
}
func (*StartTaskRequest) GetTaskName ¶
func (o *StartTaskRequest) GetTaskName() TaskName
type StartTaskResponse ¶
type StartTaskResponse struct {
// HTTP response content type for this operation
ContentType string
// HTTP response status code for this operation
StatusCode int
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response
}
func (*StartTaskResponse) GetContentType ¶
func (o *StartTaskResponse) GetContentType() string
func (*StartTaskResponse) GetRawResponse ¶
func (o *StartTaskResponse) GetRawResponse() *http.Response
func (*StartTaskResponse) GetStatusCode ¶
func (o *StartTaskResponse) GetStatusCode() int
type StartUniversalTranscodeRequest ¶
type StartUniversalTranscodeRequest struct {
// Whether the media item has MDE
HasMDE float64 `queryParam:"style=form,explode=true,name=hasMDE"`
// The path to the media item to transcode
Path string `queryParam:"style=form,explode=true,name=path"`
// The index of the media item to transcode
MediaIndex float64 `queryParam:"style=form,explode=true,name=mediaIndex"`
// The index of the part to transcode
PartIndex float64 `queryParam:"style=form,explode=true,name=partIndex"`
// The protocol to use for the transcode session
Protocol string `queryParam:"style=form,explode=true,name=protocol"`
// Whether to use fast seek or not
FastSeek *float64 `queryParam:"style=form,explode=true,name=fastSeek"`
// Whether to use direct play or not
DirectPlay *float64 `queryParam:"style=form,explode=true,name=directPlay"`
// Whether to use direct stream or not
DirectStream *float64 `queryParam:"style=form,explode=true,name=directStream"`
// The size of the subtitles
SubtitleSize *float64 `queryParam:"style=form,explode=true,name=subtitleSize"`
// The subtitles
Subtites *string `queryParam:"style=form,explode=true,name=subtites"`
// The audio boost
AudioBoost *float64 `queryParam:"style=form,explode=true,name=audioBoost"`
// The location of the transcode session
Location *string `queryParam:"style=form,explode=true,name=location"`
// The size of the media buffer
MediaBufferSize *float64 `queryParam:"style=form,explode=true,name=mediaBufferSize"`
// The session ID
Session *string `queryParam:"style=form,explode=true,name=session"`
// Whether to add a debug overlay or not
AddDebugOverlay *float64 `queryParam:"style=form,explode=true,name=addDebugOverlay"`
// Whether to auto adjust quality or not
AutoAdjustQuality *float64 `queryParam:"style=form,explode=true,name=autoAdjustQuality"`
}
func (*StartUniversalTranscodeRequest) GetAddDebugOverlay ¶
func (o *StartUniversalTranscodeRequest) GetAddDebugOverlay() *float64
func (*StartUniversalTranscodeRequest) GetAudioBoost ¶
func (o *StartUniversalTranscodeRequest) GetAudioBoost() *float64
func (*StartUniversalTranscodeRequest) GetAutoAdjustQuality ¶
func (o *StartUniversalTranscodeRequest) GetAutoAdjustQuality() *float64
func (*StartUniversalTranscodeRequest) GetDirectPlay ¶
func (o *StartUniversalTranscodeRequest) GetDirectPlay() *float64
func (*StartUniversalTranscodeRequest) GetDirectStream ¶
func (o *StartUniversalTranscodeRequest) GetDirectStream() *float64
func (*StartUniversalTranscodeRequest) GetFastSeek ¶
func (o *StartUniversalTranscodeRequest) GetFastSeek() *float64
func (*StartUniversalTranscodeRequest) GetHasMDE ¶
func (o *StartUniversalTranscodeRequest) GetHasMDE() float64
func (*StartUniversalTranscodeRequest) GetLocation ¶
func (o *StartUniversalTranscodeRequest) GetLocation() *string
func (*StartUniversalTranscodeRequest) GetMediaBufferSize ¶
func (o *StartUniversalTranscodeRequest) GetMediaBufferSize() *float64
func (*StartUniversalTranscodeRequest) GetMediaIndex ¶
func (o *StartUniversalTranscodeRequest) GetMediaIndex() float64
func (*StartUniversalTranscodeRequest) GetPartIndex ¶
func (o *StartUniversalTranscodeRequest) GetPartIndex() float64
func (*StartUniversalTranscodeRequest) GetPath ¶
func (o *StartUniversalTranscodeRequest) GetPath() string
func (*StartUniversalTranscodeRequest) GetProtocol ¶
func (o *StartUniversalTranscodeRequest) GetProtocol() string
func (*StartUniversalTranscodeRequest) GetSession ¶
func (o *StartUniversalTranscodeRequest) GetSession() *string
func (*StartUniversalTranscodeRequest) GetSubtites ¶
func (o *StartUniversalTranscodeRequest) GetSubtites() *string
func (*StartUniversalTranscodeRequest) GetSubtitleSize ¶
func (o *StartUniversalTranscodeRequest) GetSubtitleSize() *float64
type StartUniversalTranscodeResponse ¶
type StartUniversalTranscodeResponse struct {
// HTTP response content type for this operation
ContentType string
// HTTP response status code for this operation
StatusCode int
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response
}
func (*StartUniversalTranscodeResponse) GetContentType ¶
func (o *StartUniversalTranscodeResponse) GetContentType() string
func (*StartUniversalTranscodeResponse) GetRawResponse ¶
func (o *StartUniversalTranscodeResponse) GetRawResponse() *http.Response
func (*StartUniversalTranscodeResponse) GetStatusCode ¶
func (o *StartUniversalTranscodeResponse) GetStatusCode() int
type StopAllTasksResponse ¶
type StopAllTasksResponse struct {
// HTTP response content type for this operation
ContentType string
// HTTP response status code for this operation
StatusCode int
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response
}
func (*StopAllTasksResponse) GetContentType ¶
func (o *StopAllTasksResponse) GetContentType() string
func (*StopAllTasksResponse) GetRawResponse ¶
func (o *StopAllTasksResponse) GetRawResponse() *http.Response
func (*StopAllTasksResponse) GetStatusCode ¶
func (o *StopAllTasksResponse) GetStatusCode() int
type StopTaskRequest ¶
type StopTaskRequest struct {
// The name of the task to be started.
TaskName PathParamTaskName `pathParam:"style=simple,explode=false,name=taskName"`
}
func (*StopTaskRequest) GetTaskName ¶
func (o *StopTaskRequest) GetTaskName() PathParamTaskName
type StopTaskResponse ¶
type StopTaskResponse struct {
// HTTP response content type for this operation
ContentType string
// HTTP response status code for this operation
StatusCode int
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response
}
func (*StopTaskResponse) GetContentType ¶
func (o *StopTaskResponse) GetContentType() string
func (*StopTaskResponse) GetRawResponse ¶
func (o *StopTaskResponse) GetRawResponse() *http.Response
func (*StopTaskResponse) GetStatusCode ¶
func (o *StopTaskResponse) GetStatusCode() int
type StopTranscodeSessionRequest ¶
type StopTranscodeSessionRequest struct {
// the Key of the transcode session to stop
SessionKey string `pathParam:"style=simple,explode=false,name=sessionKey"`
}
func (*StopTranscodeSessionRequest) GetSessionKey ¶
func (o *StopTranscodeSessionRequest) GetSessionKey() string
type StopTranscodeSessionResponse ¶
type StopTranscodeSessionResponse struct {
// HTTP response content type for this operation
ContentType string
// HTTP response status code for this operation
StatusCode int
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response
}
func (*StopTranscodeSessionResponse) GetContentType ¶
func (o *StopTranscodeSessionResponse) GetContentType() string
func (*StopTranscodeSessionResponse) GetRawResponse ¶
func (o *StopTranscodeSessionResponse) GetRawResponse() *http.Response
func (*StopTranscodeSessionResponse) GetStatusCode ¶
func (o *StopTranscodeSessionResponse) GetStatusCode() int
type Stream ¶
type Stream struct {
ID *float64 `json:"id,omitempty"`
StreamType *float64 `json:"streamType,omitempty"`
Default *bool `json:"default,omitempty"`
Codec *string `json:"codec,omitempty"`
Index *float64 `json:"index,omitempty"`
Bitrate *float64 `json:"bitrate,omitempty"`
Language *string `json:"language,omitempty"`
LanguageTag *string `json:"languageTag,omitempty"`
LanguageCode *string `json:"languageCode,omitempty"`
BitDepth *float64 `json:"bitDepth,omitempty"`
ChromaLocation *string `json:"chromaLocation,omitempty"`
ChromaSubsampling *string `json:"chromaSubsampling,omitempty"`
CodedHeight *float64 `json:"codedHeight,omitempty"`
CodedWidth *float64 `json:"codedWidth,omitempty"`
ColorRange *string `json:"colorRange,omitempty"`
FrameRate *float64 `json:"frameRate,omitempty"`
Height *float64 `json:"height,omitempty"`
Level *float64 `json:"level,omitempty"`
Profile *string `json:"profile,omitempty"`
RefFrames *float64 `json:"refFrames,omitempty"`
Width *float64 `json:"width,omitempty"`
DisplayTitle *string `json:"displayTitle,omitempty"`
ExtendedDisplayTitle *string `json:"extendedDisplayTitle,omitempty"`
}
func (*Stream) GetBitDepth ¶
func (*Stream) GetBitrate ¶
func (*Stream) GetChromaLocation ¶
func (*Stream) GetChromaSubsampling ¶
func (*Stream) GetCodedHeight ¶
func (*Stream) GetCodedWidth ¶
func (*Stream) GetColorRange ¶
func (*Stream) GetDefault ¶
func (*Stream) GetDisplayTitle ¶
func (*Stream) GetExtendedDisplayTitle ¶
func (*Stream) GetFrameRate ¶
func (*Stream) GetLanguage ¶
func (*Stream) GetLanguageCode ¶
func (*Stream) GetLanguageTag ¶
func (*Stream) GetProfile ¶
func (*Stream) GetRefFrames ¶
func (*Stream) GetStreamType ¶
type TaskName ¶
type TaskName string
TaskName - the name of the task to be started.
const ( TaskNameBackupDatabase TaskName = "BackupDatabase" TaskNameBuildGracenoteCollections TaskName = "BuildGracenoteCollections" TaskNameCheckForUpdates TaskName = "CheckForUpdates" TaskNameCleanOldBundles TaskName = "CleanOldBundles" TaskNameCleanOldCacheFiles TaskName = "CleanOldCacheFiles" TaskNameDeepMediaAnalysis TaskName = "DeepMediaAnalysis" TaskNameGenerateAutoTags TaskName = "GenerateAutoTags" TaskNameGenerateChapterThumbs TaskName = "GenerateChapterThumbs" TaskNameGenerateMediaIndexFiles TaskName = "GenerateMediaIndexFiles" TaskNameOptimizeDatabase TaskName = "OptimizeDatabase" TaskNameRefreshLibraries TaskName = "RefreshLibraries" TaskNameRefreshLocalMedia TaskName = "RefreshLocalMedia" TaskNameRefreshPeriodicMetadata TaskName = "RefreshPeriodicMetadata" TaskNameUpgradeMediaAnalysis TaskName = "UpgradeMediaAnalysis" )
func (*TaskName) UnmarshalJSON ¶
type Tonight ¶
type Tonight int64
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
func (*Tonight) UnmarshalJSON ¶
type TranscodeSession ¶
type TranscodeSession struct {
Key *string `json:"key,omitempty"`
Throttled *bool `json:"throttled,omitempty"`
Complete *bool `json:"complete,omitempty"`
Progress *float64 `json:"progress,omitempty"`
Size *float64 `json:"size,omitempty"`
Speed *float64 `json:"speed,omitempty"`
Error *bool `json:"error,omitempty"`
Duration *float64 `json:"duration,omitempty"`
Context *string `json:"context,omitempty"`
SourceVideoCodec *string `json:"sourceVideoCodec,omitempty"`
SourceAudioCodec *string `json:"sourceAudioCodec,omitempty"`
VideoDecision *string `json:"videoDecision,omitempty"`
AudioDecision *string `json:"audioDecision,omitempty"`
Protocol *string `json:"protocol,omitempty"`
Container *string `json:"container,omitempty"`
VideoCodec *string `json:"videoCodec,omitempty"`
AudioCodec *string `json:"audioCodec,omitempty"`
AudioChannels *float64 `json:"audioChannels,omitempty"`
TranscodeHwRequested *bool `json:"transcodeHwRequested,omitempty"`
TimeStamp *float64 `json:"timeStamp,omitempty"`
MaxOffsetAvailable *float64 `json:"maxOffsetAvailable,omitempty"`
MinOffsetAvailable *float64 `json:"minOffsetAvailable,omitempty"`
}
func (*TranscodeSession) GetAudioChannels ¶
func (o *TranscodeSession) GetAudioChannels() *float64
func (*TranscodeSession) GetAudioCodec ¶
func (o *TranscodeSession) GetAudioCodec() *string
func (*TranscodeSession) GetAudioDecision ¶
func (o *TranscodeSession) GetAudioDecision() *string
func (*TranscodeSession) GetComplete ¶
func (o *TranscodeSession) GetComplete() *bool
func (*TranscodeSession) GetContainer ¶
func (o *TranscodeSession) GetContainer() *string
func (*TranscodeSession) GetContext ¶
func (o *TranscodeSession) GetContext() *string
func (*TranscodeSession) GetDuration ¶
func (o *TranscodeSession) GetDuration() *float64
func (*TranscodeSession) GetError ¶
func (o *TranscodeSession) GetError() *bool
func (*TranscodeSession) GetKey ¶
func (o *TranscodeSession) GetKey() *string
func (*TranscodeSession) GetMaxOffsetAvailable ¶
func (o *TranscodeSession) GetMaxOffsetAvailable() *float64
func (*TranscodeSession) GetMinOffsetAvailable ¶
func (o *TranscodeSession) GetMinOffsetAvailable() *float64
func (*TranscodeSession) GetProgress ¶
func (o *TranscodeSession) GetProgress() *float64
func (*TranscodeSession) GetProtocol ¶
func (o *TranscodeSession) GetProtocol() *string
func (*TranscodeSession) GetSize ¶
func (o *TranscodeSession) GetSize() *float64
func (*TranscodeSession) GetSourceAudioCodec ¶
func (o *TranscodeSession) GetSourceAudioCodec() *string
func (*TranscodeSession) GetSourceVideoCodec ¶
func (o *TranscodeSession) GetSourceVideoCodec() *string
func (*TranscodeSession) GetSpeed ¶
func (o *TranscodeSession) GetSpeed() *float64
func (*TranscodeSession) GetThrottled ¶
func (o *TranscodeSession) GetThrottled() *bool
func (*TranscodeSession) GetTimeStamp ¶
func (o *TranscodeSession) GetTimeStamp() *float64
func (*TranscodeSession) GetTranscodeHwRequested ¶
func (o *TranscodeSession) GetTranscodeHwRequested() *bool
func (*TranscodeSession) GetVideoCodec ¶
func (o *TranscodeSession) GetVideoCodec() *string
func (*TranscodeSession) GetVideoDecision ¶
func (o *TranscodeSession) GetVideoDecision() *string
type UpdatePlayProgressRequest ¶
type UpdatePlayProgressRequest struct {
// the media key
Key string `queryParam:"style=form,explode=true,name=key"`
// The time, in milliseconds, used to set the media playback progress.
Time float64 `queryParam:"style=form,explode=true,name=time"`
// The playback state of the media item.
State string `queryParam:"style=form,explode=true,name=state"`
}
func (*UpdatePlayProgressRequest) GetKey ¶
func (o *UpdatePlayProgressRequest) GetKey() string
func (*UpdatePlayProgressRequest) GetState ¶
func (o *UpdatePlayProgressRequest) GetState() string
func (*UpdatePlayProgressRequest) GetTime ¶
func (o *UpdatePlayProgressRequest) GetTime() float64
type UpdatePlayProgressResponse ¶
type UpdatePlayProgressResponse struct {
// HTTP response content type for this operation
ContentType string
// HTTP response status code for this operation
StatusCode int
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response
}
func (*UpdatePlayProgressResponse) GetContentType ¶
func (o *UpdatePlayProgressResponse) GetContentType() string
func (*UpdatePlayProgressResponse) GetRawResponse ¶
func (o *UpdatePlayProgressResponse) GetRawResponse() *http.Response
func (*UpdatePlayProgressResponse) GetStatusCode ¶
func (o *UpdatePlayProgressResponse) GetStatusCode() int
type UpdatePlaylistRequest ¶
type UpdatePlaylistRequest struct {
// the ID of the playlist
PlaylistID float64 `pathParam:"style=simple,explode=false,name=playlistID"`
}
func (*UpdatePlaylistRequest) GetPlaylistID ¶
func (o *UpdatePlaylistRequest) GetPlaylistID() float64
type UpdatePlaylistResponse ¶
type UpdatePlaylistResponse struct {
// HTTP response content type for this operation
ContentType string
// HTTP response status code for this operation
StatusCode int
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response
}
func (*UpdatePlaylistResponse) GetContentType ¶
func (o *UpdatePlaylistResponse) GetContentType() string
func (*UpdatePlaylistResponse) GetRawResponse ¶
func (o *UpdatePlaylistResponse) GetRawResponse() *http.Response
func (*UpdatePlaylistResponse) GetStatusCode ¶
func (o *UpdatePlaylistResponse) GetStatusCode() int
type UploadPlaylistRequest ¶
type UploadPlaylistRequest struct {
// 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 `queryParam:"style=form,explode=true,name=path"`
// 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 Force `queryParam:"style=form,explode=true,name=force"`
}
func (*UploadPlaylistRequest) GetForce ¶
func (o *UploadPlaylistRequest) GetForce() Force
func (*UploadPlaylistRequest) GetPath ¶
func (o *UploadPlaylistRequest) GetPath() string
type UploadPlaylistResponse ¶
type UploadPlaylistResponse struct {
// HTTP response content type for this operation
ContentType string
// HTTP response status code for this operation
StatusCode int
// Raw HTTP response; suitable for custom response parsing
RawResponse *http.Response
}
func (*UploadPlaylistResponse) GetContentType ¶
func (o *UploadPlaylistResponse) GetContentType() string
func (*UploadPlaylistResponse) GetRawResponse ¶
func (o *UploadPlaylistResponse) GetRawResponse() *http.Response
func (*UploadPlaylistResponse) GetStatusCode ¶
func (o *UploadPlaylistResponse) GetStatusCode() int
type Upscale ¶
type Upscale int64
Upscale - allow images to be resized beyond native dimensions.
func (*Upscale) UnmarshalJSON ¶
Source Files
¶
- addplaylistcontents.go
- applyupdates.go
- cancelserveractivities.go
- checkforupdates.go
- clearplaylistcontents.go
- createplaylist.go
- deletelibrary.go
- deleteplaylist.go
- enablepapertrail.go
- getavailableclients.go
- getbutlertasks.go
- getcommonlibraryitems.go
- getdevices.go
- getfilehash.go
- getglobalhubs.go
- getlatestlibraryitems.go
- getlibraries.go
- getlibrary.go
- getlibraryhubs.go
- getlibraryitems.go
- getmetadata.go
- getmetadatachildren.go
- getmyplexaccount.go
- getondeck.go
- getplaylist.go
- getplaylistcontents.go
- getplaylists.go
- getrecentlyadded.go
- getresizedphoto.go
- getsearchresults.go
- getserveractivities.go
- getservercapabilities.go
- getserveridentity.go
- getserverlist.go
- getserverpreferences.go
- getsessionhistory.go
- getsessions.go
- getsourceconnectioninformation.go
- gettimeline.go
- gettranscodesessions.go
- gettransienttoken.go
- getupdatestatus.go
- logline.go
- logmultiline.go
- markplayed.go
- markunplayed.go
- performsearch.go
- performvoicesearch.go
- refreshlibrary.go
- startalltasks.go
- starttask.go
- startuniversaltranscode.go
- stopalltasks.go
- stoptask.go
- stoptranscodesession.go
- updateplaylist.go
- updateplayprogress.go
- uploadplaylist.go