Documentation
¶
Index ¶
- Constants
- Variables
- 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 AddPlaylistContentsMediaContainer
- type AddPlaylistContentsMetadata
- func (o *AddPlaylistContentsMetadata) GetAddedAt() *int
- func (o *AddPlaylistContentsMetadata) GetComposite() *string
- func (o *AddPlaylistContentsMetadata) GetDuration() *int
- func (o *AddPlaylistContentsMetadata) GetGUID() *string
- func (o *AddPlaylistContentsMetadata) GetKey() *string
- func (o *AddPlaylistContentsMetadata) GetLeafCount() *int
- func (o *AddPlaylistContentsMetadata) GetPlaylistType() *string
- func (o *AddPlaylistContentsMetadata) GetRatingKey() *string
- func (o *AddPlaylistContentsMetadata) GetSmart() *bool
- func (o *AddPlaylistContentsMetadata) GetSummary() *string
- func (o *AddPlaylistContentsMetadata) GetTitle() *string
- func (o *AddPlaylistContentsMetadata) GetType() *string
- func (o *AddPlaylistContentsMetadata) GetUpdatedAt() *int
- type AddPlaylistContentsRequest
- type AddPlaylistContentsResponse
- type AddPlaylistContentsResponseBody
- 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 CreatePlaylistMediaContainer
- type CreatePlaylistMetadata
- func (o *CreatePlaylistMetadata) GetAddedAt() *int
- func (o *CreatePlaylistMetadata) GetComposite() *string
- func (o *CreatePlaylistMetadata) GetDuration() *int
- func (o *CreatePlaylistMetadata) GetGUID() *string
- func (o *CreatePlaylistMetadata) GetIcon() *string
- func (o *CreatePlaylistMetadata) GetKey() *string
- func (o *CreatePlaylistMetadata) GetLastViewedAt() *int
- func (o *CreatePlaylistMetadata) GetLeafCount() *int
- func (o *CreatePlaylistMetadata) GetPlaylistType() *string
- func (o *CreatePlaylistMetadata) GetRatingKey() *string
- func (o *CreatePlaylistMetadata) GetSmart() *bool
- func (o *CreatePlaylistMetadata) GetSummary() *string
- func (o *CreatePlaylistMetadata) GetTitle() *string
- func (o *CreatePlaylistMetadata) GetType() *string
- func (o *CreatePlaylistMetadata) GetUpdatedAt() *int
- func (o *CreatePlaylistMetadata) GetViewCount() *int
- type CreatePlaylistRequest
- type CreatePlaylistResponse
- type CreatePlaylistResponseBody
- type DeleteLibraryRequest
- type DeleteLibraryResponse
- type DeletePlaylistRequest
- type DeletePlaylistResponse
- type Device
- type Director
- type Directory
- type Download
- type EnablePaperTrailResponse
- type Field
- type FieldType
- type Filter
- type Force
- type Genre
- type GetAvailableClientsMediaContainer
- type GetAvailableClientsResponse
- type GetAvailableClientsResponseBody
- type GetButlerTasksResponse
- type GetButlerTasksResponseBody
- type GetDevicesMediaContainer
- type GetDevicesResponse
- type GetDevicesResponseBody
- type GetFileHashRequest
- type GetFileHashResponse
- type GetGlobalHubsMediaContainer
- type GetGlobalHubsMetadata
- func (o *GetGlobalHubsMetadata) GetAddedAt() *int
- func (o *GetGlobalHubsMetadata) GetComposite() *string
- func (o *GetGlobalHubsMetadata) GetDuration() *int
- func (o *GetGlobalHubsMetadata) GetGUID() *string
- func (o *GetGlobalHubsMetadata) GetIcon() *string
- func (o *GetGlobalHubsMetadata) GetKey() *string
- func (o *GetGlobalHubsMetadata) GetLastViewedAt() *int
- func (o *GetGlobalHubsMetadata) GetLeafCount() *int
- func (o *GetGlobalHubsMetadata) GetPlaylistType() *string
- func (o *GetGlobalHubsMetadata) GetRatingKey() *string
- func (o *GetGlobalHubsMetadata) GetSmart() *bool
- func (o *GetGlobalHubsMetadata) GetSummary() *string
- func (o *GetGlobalHubsMetadata) GetTitle() *string
- func (o *GetGlobalHubsMetadata) GetTitleSort() *string
- func (o *GetGlobalHubsMetadata) GetType() *string
- func (o *GetGlobalHubsMetadata) GetUpdatedAt() *int
- func (o *GetGlobalHubsMetadata) GetViewCount() *int
- type GetGlobalHubsRequest
- type GetGlobalHubsResponse
- type GetGlobalHubsResponseBody
- 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() []GetLibrariesLocation
- 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 GetLibrariesLocation
- type GetLibrariesMediaContainer
- type GetLibrariesResponse
- type GetLibrariesResponseBody
- type GetLibraryDirectory
- type GetLibraryHubsCountry
- type GetLibraryHubsDirector
- type GetLibraryHubsGenre
- type GetLibraryHubsHub
- func (o *GetLibraryHubsHub) GetContext() *string
- func (o *GetLibraryHubsHub) GetHubIdentifier() *string
- func (o *GetLibraryHubsHub) GetHubKey() *string
- func (o *GetLibraryHubsHub) GetKey() *string
- func (o *GetLibraryHubsHub) GetMetadata() []GetLibraryHubsMetadata
- func (o *GetLibraryHubsHub) GetMore() *bool
- func (o *GetLibraryHubsHub) GetPromoted() *bool
- func (o *GetLibraryHubsHub) GetRandom() *bool
- func (o *GetLibraryHubsHub) GetSize() *int
- func (o *GetLibraryHubsHub) GetStyle() *string
- func (o *GetLibraryHubsHub) GetTitle() *string
- func (o *GetLibraryHubsHub) GetType() *string
- type GetLibraryHubsMedia
- func (o *GetLibraryHubsMedia) GetAspectRatio() *float64
- func (o *GetLibraryHubsMedia) GetAudioChannels() *int
- func (o *GetLibraryHubsMedia) GetAudioCodec() *string
- func (o *GetLibraryHubsMedia) GetAudioProfile() *string
- func (o *GetLibraryHubsMedia) GetBitrate() *int
- func (o *GetLibraryHubsMedia) GetContainer() *string
- func (o *GetLibraryHubsMedia) GetDuration() *int
- func (o *GetLibraryHubsMedia) GetHas64bitOffsets() *bool
- func (o *GetLibraryHubsMedia) GetHeight() *int
- func (o *GetLibraryHubsMedia) GetID() *int
- func (o *GetLibraryHubsMedia) GetOptimizedForStreaming() *int
- func (o *GetLibraryHubsMedia) GetPart() []GetLibraryHubsPart
- func (o *GetLibraryHubsMedia) GetVideoCodec() *string
- func (o *GetLibraryHubsMedia) GetVideoFrameRate() *string
- func (o *GetLibraryHubsMedia) GetVideoProfile() *string
- func (o *GetLibraryHubsMedia) GetVideoResolution() *string
- func (o *GetLibraryHubsMedia) GetWidth() *int
- type GetLibraryHubsMediaContainer
- func (o *GetLibraryHubsMediaContainer) GetAllowSync() *bool
- func (o *GetLibraryHubsMediaContainer) GetHub() []GetLibraryHubsHub
- func (o *GetLibraryHubsMediaContainer) GetIdentifier() *string
- func (o *GetLibraryHubsMediaContainer) GetLibrarySectionID() *int
- func (o *GetLibraryHubsMediaContainer) GetLibrarySectionTitle() *string
- func (o *GetLibraryHubsMediaContainer) GetLibrarySectionUUID() *string
- func (o *GetLibraryHubsMediaContainer) GetSize() *int
- type GetLibraryHubsMetadata
- func (o *GetLibraryHubsMetadata) GetAddedAt() *int
- func (o *GetLibraryHubsMetadata) GetArt() *string
- func (o *GetLibraryHubsMetadata) GetAudienceRating() *float64
- func (o *GetLibraryHubsMetadata) GetAudienceRatingImage() *string
- func (o *GetLibraryHubsMetadata) GetChapterSource() *string
- func (o *GetLibraryHubsMetadata) GetContentRating() *string
- func (o *GetLibraryHubsMetadata) GetCountry() []GetLibraryHubsCountry
- func (o *GetLibraryHubsMetadata) GetDirector() []GetLibraryHubsDirector
- func (o *GetLibraryHubsMetadata) GetDuration() *int
- func (o *GetLibraryHubsMetadata) GetGUID() *string
- func (o *GetLibraryHubsMetadata) GetGenre() []GetLibraryHubsGenre
- func (o *GetLibraryHubsMetadata) GetKey() *string
- func (o *GetLibraryHubsMetadata) GetLastViewedAt() *int
- func (o *GetLibraryHubsMetadata) GetLibrarySectionID() *int
- func (o *GetLibraryHubsMetadata) GetLibrarySectionKey() *string
- func (o *GetLibraryHubsMetadata) GetLibrarySectionTitle() *string
- func (o *GetLibraryHubsMetadata) GetMedia() []GetLibraryHubsMedia
- func (o *GetLibraryHubsMetadata) GetOriginallyAvailableAt() *types.Date
- func (o *GetLibraryHubsMetadata) GetPrimaryExtraKey() *string
- func (o *GetLibraryHubsMetadata) GetRating() *float64
- func (o *GetLibraryHubsMetadata) GetRatingImage() *string
- func (o *GetLibraryHubsMetadata) GetRatingKey() *string
- func (o *GetLibraryHubsMetadata) GetRole() []GetLibraryHubsRole
- func (o *GetLibraryHubsMetadata) GetSkipCount() *int
- func (o *GetLibraryHubsMetadata) GetStudio() *string
- func (o *GetLibraryHubsMetadata) GetSummary() *string
- func (o *GetLibraryHubsMetadata) GetTagline() *string
- func (o *GetLibraryHubsMetadata) GetThumb() *string
- func (o *GetLibraryHubsMetadata) GetTitle() *string
- func (o *GetLibraryHubsMetadata) GetType() *string
- func (o *GetLibraryHubsMetadata) GetUpdatedAt() *int
- func (o *GetLibraryHubsMetadata) GetViewCount() *int
- func (o *GetLibraryHubsMetadata) GetWriter() []GetLibraryHubsWriter
- func (o *GetLibraryHubsMetadata) GetYear() *int
- func (g GetLibraryHubsMetadata) MarshalJSON() ([]byte, error)
- func (g *GetLibraryHubsMetadata) UnmarshalJSON(data []byte) error
- type GetLibraryHubsPart
- func (o *GetLibraryHubsPart) GetAudioProfile() *string
- func (o *GetLibraryHubsPart) GetContainer() *string
- func (o *GetLibraryHubsPart) GetDuration() *int
- func (o *GetLibraryHubsPart) GetFile() *string
- func (o *GetLibraryHubsPart) GetHas64bitOffsets() *bool
- func (o *GetLibraryHubsPart) GetID() *int
- func (o *GetLibraryHubsPart) GetKey() *string
- func (o *GetLibraryHubsPart) GetOptimizedForStreaming() *bool
- func (o *GetLibraryHubsPart) GetSize() *int
- func (o *GetLibraryHubsPart) GetVideoProfile() *string
- type GetLibraryHubsRequest
- type GetLibraryHubsResponse
- type GetLibraryHubsResponseBody
- type GetLibraryHubsRole
- type GetLibraryHubsWriter
- type GetLibraryItemsCountry
- type GetLibraryItemsDirector
- type GetLibraryItemsGenre
- type GetLibraryItemsMedia
- func (o *GetLibraryItemsMedia) GetAspectRatio() *float64
- func (o *GetLibraryItemsMedia) GetAudioChannels() *int
- func (o *GetLibraryItemsMedia) GetAudioCodec() *string
- func (o *GetLibraryItemsMedia) GetBitrate() *int
- func (o *GetLibraryItemsMedia) GetContainer() *string
- func (o *GetLibraryItemsMedia) GetDuration() *int
- func (o *GetLibraryItemsMedia) GetHeight() *int
- func (o *GetLibraryItemsMedia) GetID() *int
- func (o *GetLibraryItemsMedia) GetPart() []GetLibraryItemsPart
- func (o *GetLibraryItemsMedia) GetVideoCodec() *string
- func (o *GetLibraryItemsMedia) GetVideoFrameRate() *string
- func (o *GetLibraryItemsMedia) GetVideoProfile() *string
- func (o *GetLibraryItemsMedia) GetVideoResolution() *string
- func (o *GetLibraryItemsMedia) GetWidth() *int
- type GetLibraryItemsMediaContainer
- func (o *GetLibraryItemsMediaContainer) GetAllowSync() *bool
- func (o *GetLibraryItemsMediaContainer) GetArt() *string
- func (o *GetLibraryItemsMediaContainer) GetIdentifier() *string
- func (o *GetLibraryItemsMediaContainer) GetLibrarySectionID() *int
- func (o *GetLibraryItemsMediaContainer) GetLibrarySectionTitle() *string
- func (o *GetLibraryItemsMediaContainer) GetLibrarySectionUUID() *string
- func (o *GetLibraryItemsMediaContainer) GetMediaTagPrefix() *string
- func (o *GetLibraryItemsMediaContainer) GetMediaTagVersion() *int
- func (o *GetLibraryItemsMediaContainer) GetMetadata() []GetLibraryItemsMetadata
- func (o *GetLibraryItemsMediaContainer) GetMixedParents() *bool
- func (o *GetLibraryItemsMediaContainer) GetSize() *int
- func (o *GetLibraryItemsMediaContainer) GetThumb() *string
- func (o *GetLibraryItemsMediaContainer) GetTitle1() *string
- func (o *GetLibraryItemsMediaContainer) GetTitle2() *string
- func (o *GetLibraryItemsMediaContainer) GetViewGroup() *string
- func (o *GetLibraryItemsMediaContainer) GetViewMode() *int
- type GetLibraryItemsMetadata
- func (o *GetLibraryItemsMetadata) GetAddedAt() *int
- func (o *GetLibraryItemsMetadata) GetArt() *string
- func (o *GetLibraryItemsMetadata) GetAudienceRating() *float64
- func (o *GetLibraryItemsMetadata) GetAudienceRatingImage() *string
- func (o *GetLibraryItemsMetadata) GetChapterSource() *string
- func (o *GetLibraryItemsMetadata) GetChildCount() *int
- func (o *GetLibraryItemsMetadata) GetContentRating() *string
- func (o *GetLibraryItemsMetadata) GetCountry() []GetLibraryItemsCountry
- func (o *GetLibraryItemsMetadata) GetDirector() []GetLibraryItemsDirector
- func (o *GetLibraryItemsMetadata) GetDuration() *int
- func (o *GetLibraryItemsMetadata) GetGUID() *string
- func (o *GetLibraryItemsMetadata) GetGenre() []GetLibraryItemsGenre
- func (o *GetLibraryItemsMetadata) GetGrandparentArt() *string
- func (o *GetLibraryItemsMetadata) GetGrandparentGUID() *string
- func (o *GetLibraryItemsMetadata) GetGrandparentKey() *string
- func (o *GetLibraryItemsMetadata) GetGrandparentRatingKey() *string
- func (o *GetLibraryItemsMetadata) GetGrandparentTheme() *string
- func (o *GetLibraryItemsMetadata) GetGrandparentThumb() *string
- func (o *GetLibraryItemsMetadata) GetGrandparentTitle() *string
- func (o *GetLibraryItemsMetadata) GetHasPremiumExtras() *string
- func (o *GetLibraryItemsMetadata) GetHasPremiumPrimaryExtra() *string
- func (o *GetLibraryItemsMetadata) GetIndex() *int
- func (o *GetLibraryItemsMetadata) GetKey() *string
- func (o *GetLibraryItemsMetadata) GetLastViewedAt() *int
- func (o *GetLibraryItemsMetadata) GetLeafCount() *int
- func (o *GetLibraryItemsMetadata) GetMedia() []GetLibraryItemsMedia
- func (o *GetLibraryItemsMetadata) GetOriginalTitle() *string
- func (o *GetLibraryItemsMetadata) GetOriginallyAvailableAt() *types.Date
- func (o *GetLibraryItemsMetadata) GetParentGUID() *string
- func (o *GetLibraryItemsMetadata) GetParentIndex() *int
- func (o *GetLibraryItemsMetadata) GetParentKey() *string
- func (o *GetLibraryItemsMetadata) GetParentRatingKey() *string
- func (o *GetLibraryItemsMetadata) GetParentStudio() *string
- func (o *GetLibraryItemsMetadata) GetParentTheme() *string
- func (o *GetLibraryItemsMetadata) GetParentThumb() *string
- func (o *GetLibraryItemsMetadata) GetParentTitle() *string
- func (o *GetLibraryItemsMetadata) GetParentYear() *int
- func (o *GetLibraryItemsMetadata) GetPrimaryExtraKey() *string
- func (o *GetLibraryItemsMetadata) GetRating() *float64
- func (o *GetLibraryItemsMetadata) GetRatingImage() *string
- func (o *GetLibraryItemsMetadata) GetRatingKey() *string
- func (o *GetLibraryItemsMetadata) GetRole() []GetLibraryItemsRole
- func (o *GetLibraryItemsMetadata) GetSkipCount() *int
- func (o *GetLibraryItemsMetadata) GetStudio() *string
- func (o *GetLibraryItemsMetadata) GetSummary() *string
- func (o *GetLibraryItemsMetadata) GetTagline() *string
- func (o *GetLibraryItemsMetadata) GetTheme() *string
- func (o *GetLibraryItemsMetadata) GetThumb() *string
- func (o *GetLibraryItemsMetadata) GetTitle() *string
- func (o *GetLibraryItemsMetadata) GetTitleSort() *string
- func (o *GetLibraryItemsMetadata) GetType() *string
- func (o *GetLibraryItemsMetadata) GetUpdatedAt() *int
- func (o *GetLibraryItemsMetadata) GetViewCount() *int
- func (o *GetLibraryItemsMetadata) GetViewOffset() *int
- func (o *GetLibraryItemsMetadata) GetViewedLeafCount() *int
- func (o *GetLibraryItemsMetadata) GetWriter() []GetLibraryItemsWriter
- func (o *GetLibraryItemsMetadata) GetYear() *int
- func (g GetLibraryItemsMetadata) MarshalJSON() ([]byte, error)
- func (g *GetLibraryItemsMetadata) UnmarshalJSON(data []byte) error
- type GetLibraryItemsPart
- func (o *GetLibraryItemsPart) GetContainer() *string
- func (o *GetLibraryItemsPart) GetDuration() *int
- func (o *GetLibraryItemsPart) GetFile() *string
- func (o *GetLibraryItemsPart) GetID() *int
- func (o *GetLibraryItemsPart) GetKey() *string
- func (o *GetLibraryItemsPart) GetSize() *int64
- func (o *GetLibraryItemsPart) GetVideoProfile() *string
- type GetLibraryItemsRequest
- type GetLibraryItemsResponse
- type GetLibraryItemsResponseBody
- type GetLibraryItemsRole
- type GetLibraryItemsWriter
- type GetLibraryMediaContainer
- func (o *GetLibraryMediaContainer) GetAllowSync() *bool
- func (o *GetLibraryMediaContainer) GetArt() *string
- func (o *GetLibraryMediaContainer) GetContent() *string
- func (o *GetLibraryMediaContainer) GetDirectory() []GetLibraryDirectory
- func (o *GetLibraryMediaContainer) GetFieldType() []FieldType
- func (o *GetLibraryMediaContainer) GetIdentifier() *string
- func (o *GetLibraryMediaContainer) GetLibrarySectionID() *int
- func (o *GetLibraryMediaContainer) GetMediaTagPrefix() *string
- func (o *GetLibraryMediaContainer) GetMediaTagVersion() *int
- func (o *GetLibraryMediaContainer) GetSize() *int
- func (o *GetLibraryMediaContainer) GetThumb() *string
- func (o *GetLibraryMediaContainer) GetTitle1() *string
- func (o *GetLibraryMediaContainer) GetType() []GetLibraryType
- func (o *GetLibraryMediaContainer) GetViewGroup() *string
- func (o *GetLibraryMediaContainer) GetViewMode() *int
- type GetLibraryRequest
- type GetLibraryResponse
- type GetLibraryResponseBody
- type GetLibraryType
- func (o *GetLibraryType) GetActive() *bool
- func (o *GetLibraryType) GetField() []Field
- func (o *GetLibraryType) GetFilter() []Filter
- func (o *GetLibraryType) GetKey() *string
- func (o *GetLibraryType) GetSort() []Sort
- func (o *GetLibraryType) GetTitle() *string
- func (o *GetLibraryType) GetType() *string
- type GetMetadataChildrenDirectory
- type GetMetadataChildrenMediaContainer
- func (o *GetMetadataChildrenMediaContainer) GetAllowSync() *bool
- func (o *GetMetadataChildrenMediaContainer) GetArt() *string
- func (o *GetMetadataChildrenMediaContainer) GetDirectory() []GetMetadataChildrenDirectory
- func (o *GetMetadataChildrenMediaContainer) GetIdentifier() *string
- func (o *GetMetadataChildrenMediaContainer) GetKey() *string
- func (o *GetMetadataChildrenMediaContainer) GetLibrarySectionID() *int
- func (o *GetMetadataChildrenMediaContainer) GetLibrarySectionTitle() *string
- func (o *GetMetadataChildrenMediaContainer) GetLibrarySectionUUID() *string
- func (o *GetMetadataChildrenMediaContainer) GetMediaTagPrefix() *string
- func (o *GetMetadataChildrenMediaContainer) GetMediaTagVersion() *int
- func (o *GetMetadataChildrenMediaContainer) GetMetadata() []GetMetadataChildrenMetadata
- func (o *GetMetadataChildrenMediaContainer) GetNocache() *bool
- func (o *GetMetadataChildrenMediaContainer) GetParentIndex() *int
- func (o *GetMetadataChildrenMediaContainer) GetParentTitle() *string
- func (o *GetMetadataChildrenMediaContainer) GetParentYear() *int
- func (o *GetMetadataChildrenMediaContainer) GetSize() *int
- func (o *GetMetadataChildrenMediaContainer) GetSummary() *string
- func (o *GetMetadataChildrenMediaContainer) GetTheme() *string
- func (o *GetMetadataChildrenMediaContainer) GetThumb() *string
- func (o *GetMetadataChildrenMediaContainer) GetTitle1() *string
- func (o *GetMetadataChildrenMediaContainer) GetTitle2() *string
- func (o *GetMetadataChildrenMediaContainer) GetViewGroup() *string
- func (o *GetMetadataChildrenMediaContainer) GetViewMode() *int
- type GetMetadataChildrenMetadata
- func (o *GetMetadataChildrenMetadata) GetAddedAt() *int
- func (o *GetMetadataChildrenMetadata) GetArt() *string
- func (o *GetMetadataChildrenMetadata) GetGUID() *string
- func (o *GetMetadataChildrenMetadata) GetIndex() *int
- func (o *GetMetadataChildrenMetadata) GetKey() *string
- func (o *GetMetadataChildrenMetadata) GetLastRatedAt() *int
- func (o *GetMetadataChildrenMetadata) GetLastViewedAt() *int
- func (o *GetMetadataChildrenMetadata) GetLeafCount() *int
- func (o *GetMetadataChildrenMetadata) GetParentGUID() *string
- func (o *GetMetadataChildrenMetadata) GetParentIndex() *int
- func (o *GetMetadataChildrenMetadata) GetParentKey() *string
- func (o *GetMetadataChildrenMetadata) GetParentRatingKey() *string
- func (o *GetMetadataChildrenMetadata) GetParentStudio() *string
- func (o *GetMetadataChildrenMetadata) GetParentTheme() *string
- func (o *GetMetadataChildrenMetadata) GetParentThumb() *string
- func (o *GetMetadataChildrenMetadata) GetParentTitle() *string
- func (o *GetMetadataChildrenMetadata) GetParentYear() *int
- func (o *GetMetadataChildrenMetadata) GetRatingKey() *string
- func (o *GetMetadataChildrenMetadata) GetSkipCount() *int
- func (o *GetMetadataChildrenMetadata) GetSummary() *string
- func (o *GetMetadataChildrenMetadata) GetThumb() *string
- func (o *GetMetadataChildrenMetadata) GetTitle() *string
- func (o *GetMetadataChildrenMetadata) GetType() *string
- func (o *GetMetadataChildrenMetadata) GetUpdatedAt() *int
- func (o *GetMetadataChildrenMetadata) GetUserRating() *int
- func (o *GetMetadataChildrenMetadata) GetViewCount() *int
- func (o *GetMetadataChildrenMetadata) GetViewedLeafCount() *int
- type GetMetadataChildrenRequest
- type GetMetadataChildrenResponse
- type GetMetadataChildrenResponseBody
- type GetMetadataCountry
- type GetMetadataDirector
- type GetMetadataGenre
- type GetMetadataMedia
- func (o *GetMetadataMedia) GetAspectRatio() *float64
- func (o *GetMetadataMedia) GetAudioChannels() *int
- func (o *GetMetadataMedia) GetAudioCodec() *string
- func (o *GetMetadataMedia) GetAudioProfile() *string
- func (o *GetMetadataMedia) GetBitrate() *int
- func (o *GetMetadataMedia) GetContainer() *string
- func (o *GetMetadataMedia) GetDuration() *int
- func (o *GetMetadataMedia) GetHas64bitOffsets() *bool
- func (o *GetMetadataMedia) GetHeight() *int
- func (o *GetMetadataMedia) GetID() *int
- func (o *GetMetadataMedia) GetOptimizedForStreaming() *int
- func (o *GetMetadataMedia) GetPart() []GetMetadataPart
- func (o *GetMetadataMedia) GetVideoCodec() *string
- func (o *GetMetadataMedia) GetVideoFrameRate() *string
- func (o *GetMetadataMedia) GetVideoProfile() *string
- func (o *GetMetadataMedia) GetVideoResolution() *string
- func (o *GetMetadataMedia) GetWidth() *int
- type GetMetadataMediaContainer
- func (o *GetMetadataMediaContainer) GetAllowSync() *bool
- func (o *GetMetadataMediaContainer) GetIdentifier() *string
- func (o *GetMetadataMediaContainer) GetLibrarySectionID() *int
- func (o *GetMetadataMediaContainer) GetLibrarySectionTitle() *string
- func (o *GetMetadataMediaContainer) GetLibrarySectionUUID() *string
- func (o *GetMetadataMediaContainer) GetMediaTagPrefix() *string
- func (o *GetMetadataMediaContainer) GetMediaTagVersion() *int
- func (o *GetMetadataMediaContainer) GetMetadata() []GetMetadataMetadata
- func (o *GetMetadataMediaContainer) GetSize() *int
- type GetMetadataMetadata
- func (o *GetMetadataMetadata) GetAddedAt() *int
- func (o *GetMetadataMetadata) GetArt() *string
- func (o *GetMetadataMetadata) GetAudienceRating() *float64
- func (o *GetMetadataMetadata) GetAudienceRatingImage() *string
- func (o *GetMetadataMetadata) GetContentRating() *string
- func (o *GetMetadataMetadata) GetCountry() []GetMetadataCountry
- func (o *GetMetadataMetadata) GetDirector() []GetMetadataDirector
- func (o *GetMetadataMetadata) GetDuration() *int
- func (o *GetMetadataMetadata) GetGUID() *string
- func (o *GetMetadataMetadata) GetGenre() []GetMetadataGenre
- func (o *GetMetadataMetadata) GetGuids() []Guids
- func (o *GetMetadataMetadata) GetHasPremiumPrimaryExtra() *string
- func (o *GetMetadataMetadata) GetKey() *string
- func (o *GetMetadataMetadata) GetLibrarySectionID() *int
- func (o *GetMetadataMetadata) GetLibrarySectionKey() *string
- func (o *GetMetadataMetadata) GetLibrarySectionTitle() *string
- func (o *GetMetadataMetadata) GetMedia() []GetMetadataMedia
- func (o *GetMetadataMetadata) GetOriginallyAvailableAt() *types.Date
- func (o *GetMetadataMetadata) GetProducer() []Producer
- func (o *GetMetadataMetadata) GetRating() *float64
- func (o *GetMetadataMetadata) GetRatingImage() *string
- func (o *GetMetadataMetadata) GetRatingKey() *string
- func (o *GetMetadataMetadata) GetRatings() []Ratings
- func (o *GetMetadataMetadata) GetRole() []GetMetadataRole
- func (o *GetMetadataMetadata) GetStudio() *string
- func (o *GetMetadataMetadata) GetSummary() *string
- func (o *GetMetadataMetadata) GetTagline() *string
- func (o *GetMetadataMetadata) GetThumb() *string
- func (o *GetMetadataMetadata) GetTitle() *string
- func (o *GetMetadataMetadata) GetType() *string
- func (o *GetMetadataMetadata) GetUpdatedAt() *int
- func (o *GetMetadataMetadata) GetWriter() []GetMetadataWriter
- func (o *GetMetadataMetadata) GetYear() *int
- func (g GetMetadataMetadata) MarshalJSON() ([]byte, error)
- func (g *GetMetadataMetadata) UnmarshalJSON(data []byte) error
- type GetMetadataPart
- func (o *GetMetadataPart) GetAudioProfile() *string
- func (o *GetMetadataPart) GetContainer() *string
- func (o *GetMetadataPart) GetDuration() *int
- func (o *GetMetadataPart) GetFile() *string
- func (o *GetMetadataPart) GetHas64bitOffsets() *bool
- func (o *GetMetadataPart) GetID() *int
- func (o *GetMetadataPart) GetKey() *string
- func (o *GetMetadataPart) GetOptimizedForStreaming() *bool
- func (o *GetMetadataPart) GetSize() *int
- func (o *GetMetadataPart) GetStream() []Stream
- func (o *GetMetadataPart) GetVideoProfile() *string
- type GetMetadataRequest
- type GetMetadataResponse
- type GetMetadataResponseBody
- type GetMetadataRole
- type GetMetadataWriter
- type GetMyPlexAccountResponse
- type GetMyPlexAccountResponseBody
- type GetOnDeckGuids
- 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() []GetOnDeckGuids
- 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() []GetOnDeckStream
- func (o *GetOnDeckPart) GetVideoProfile() *string
- type GetOnDeckResponse
- type GetOnDeckResponseBody
- type GetOnDeckStream
- func (o *GetOnDeckStream) GetBitDepth() *float64
- func (o *GetOnDeckStream) GetBitrate() *float64
- func (o *GetOnDeckStream) GetChromaLocation() *string
- func (o *GetOnDeckStream) GetChromaSubsampling() *string
- func (o *GetOnDeckStream) GetCodec() *string
- func (o *GetOnDeckStream) GetCodedHeight() *float64
- func (o *GetOnDeckStream) GetCodedWidth() *float64
- func (o *GetOnDeckStream) GetColorRange() *string
- func (o *GetOnDeckStream) GetDefault() *bool
- func (o *GetOnDeckStream) GetDisplayTitle() *string
- func (o *GetOnDeckStream) GetExtendedDisplayTitle() *string
- func (o *GetOnDeckStream) GetFrameRate() *float64
- func (o *GetOnDeckStream) GetHeight() *float64
- func (o *GetOnDeckStream) GetID() *float64
- func (o *GetOnDeckStream) GetIndex() *float64
- func (o *GetOnDeckStream) GetLanguage() *string
- func (o *GetOnDeckStream) GetLanguageCode() *string
- func (o *GetOnDeckStream) GetLanguageTag() *string
- func (o *GetOnDeckStream) GetLevel() *float64
- func (o *GetOnDeckStream) GetProfile() *string
- func (o *GetOnDeckStream) GetRefFrames() *float64
- func (o *GetOnDeckStream) GetStreamType() *float64
- func (o *GetOnDeckStream) GetWidth() *float64
- type GetPinRequest
- type GetPinResponse
- type GetPinResponseBody
- func (o *GetPinResponseBody) GetAuthToken() *string
- func (o *GetPinResponseBody) GetClientIdentifier() *string
- func (o *GetPinResponseBody) GetCode() *string
- func (o *GetPinResponseBody) GetCreatedAt() *time.Time
- func (o *GetPinResponseBody) GetExpiresAt() *time.Time
- func (o *GetPinResponseBody) GetExpiresIn() *float64
- func (o *GetPinResponseBody) GetID() *float64
- func (o *GetPinResponseBody) GetLocation() *Location
- func (o *GetPinResponseBody) GetNewRegistration() *string
- func (o *GetPinResponseBody) GetProduct() *string
- func (o *GetPinResponseBody) GetQr() *string
- func (o *GetPinResponseBody) GetTrusted() *bool
- func (g GetPinResponseBody) MarshalJSON() ([]byte, error)
- func (g *GetPinResponseBody) UnmarshalJSON(data []byte) error
- type GetPlaylistContentsCountry
- type GetPlaylistContentsDirector
- type GetPlaylistContentsGenre
- type GetPlaylistContentsMedia
- func (o *GetPlaylistContentsMedia) GetAspectRatio() *float64
- func (o *GetPlaylistContentsMedia) GetAudioChannels() *int
- func (o *GetPlaylistContentsMedia) GetAudioCodec() *string
- func (o *GetPlaylistContentsMedia) GetAudioProfile() *string
- func (o *GetPlaylistContentsMedia) GetBitrate() *int
- func (o *GetPlaylistContentsMedia) GetContainer() *string
- func (o *GetPlaylistContentsMedia) GetDuration() *int
- func (o *GetPlaylistContentsMedia) GetHas64bitOffsets() *bool
- func (o *GetPlaylistContentsMedia) GetHeight() *int
- func (o *GetPlaylistContentsMedia) GetID() *int
- func (o *GetPlaylistContentsMedia) GetOptimizedForStreaming() *int
- func (o *GetPlaylistContentsMedia) GetPart() []GetPlaylistContentsPart
- func (o *GetPlaylistContentsMedia) GetVideoCodec() *string
- func (o *GetPlaylistContentsMedia) GetVideoFrameRate() *string
- func (o *GetPlaylistContentsMedia) GetVideoProfile() *string
- func (o *GetPlaylistContentsMedia) GetVideoResolution() *string
- func (o *GetPlaylistContentsMedia) GetWidth() *int
- type GetPlaylistContentsMediaContainer
- func (o *GetPlaylistContentsMediaContainer) GetComposite() *string
- func (o *GetPlaylistContentsMediaContainer) GetDuration() *int
- func (o *GetPlaylistContentsMediaContainer) GetLeafCount() *int
- func (o *GetPlaylistContentsMediaContainer) GetMetadata() []GetPlaylistContentsMetadata
- func (o *GetPlaylistContentsMediaContainer) GetPlaylistType() *string
- func (o *GetPlaylistContentsMediaContainer) GetRatingKey() *string
- func (o *GetPlaylistContentsMediaContainer) GetSize() *int
- func (o *GetPlaylistContentsMediaContainer) GetSmart() *bool
- func (o *GetPlaylistContentsMediaContainer) GetTitle() *string
- type GetPlaylistContentsMetadata
- func (o *GetPlaylistContentsMetadata) GetAddedAt() *int
- func (o *GetPlaylistContentsMetadata) GetArt() *string
- func (o *GetPlaylistContentsMetadata) GetAudienceRating() *float64
- func (o *GetPlaylistContentsMetadata) GetAudienceRatingImage() *string
- func (o *GetPlaylistContentsMetadata) GetContentRating() *string
- func (o *GetPlaylistContentsMetadata) GetCountry() []GetPlaylistContentsCountry
- func (o *GetPlaylistContentsMetadata) GetDirector() []GetPlaylistContentsDirector
- func (o *GetPlaylistContentsMetadata) GetDuration() *int
- func (o *GetPlaylistContentsMetadata) GetGUID() *string
- func (o *GetPlaylistContentsMetadata) GetGenre() []GetPlaylistContentsGenre
- func (o *GetPlaylistContentsMetadata) GetHasPremiumExtras() *string
- func (o *GetPlaylistContentsMetadata) GetHasPremiumPrimaryExtra() *string
- func (o *GetPlaylistContentsMetadata) GetKey() *string
- func (o *GetPlaylistContentsMetadata) GetLibrarySectionID() *int
- func (o *GetPlaylistContentsMetadata) GetLibrarySectionKey() *string
- func (o *GetPlaylistContentsMetadata) GetLibrarySectionTitle() *string
- func (o *GetPlaylistContentsMetadata) GetMedia() []GetPlaylistContentsMedia
- func (o *GetPlaylistContentsMetadata) GetOriginallyAvailableAt() *types.Date
- func (o *GetPlaylistContentsMetadata) GetRating() *float64
- func (o *GetPlaylistContentsMetadata) GetRatingImage() *string
- func (o *GetPlaylistContentsMetadata) GetRatingKey() *string
- func (o *GetPlaylistContentsMetadata) GetRole() []GetPlaylistContentsRole
- func (o *GetPlaylistContentsMetadata) GetStudio() *string
- func (o *GetPlaylistContentsMetadata) GetSummary() *string
- func (o *GetPlaylistContentsMetadata) GetTagline() *string
- func (o *GetPlaylistContentsMetadata) GetThumb() *string
- func (o *GetPlaylistContentsMetadata) GetTitle() *string
- func (o *GetPlaylistContentsMetadata) GetTitleSort() *string
- func (o *GetPlaylistContentsMetadata) GetType() *string
- func (o *GetPlaylistContentsMetadata) GetUpdatedAt() *int
- func (o *GetPlaylistContentsMetadata) GetWriter() []GetPlaylistContentsWriter
- func (o *GetPlaylistContentsMetadata) GetYear() *int
- func (g GetPlaylistContentsMetadata) MarshalJSON() ([]byte, error)
- func (g *GetPlaylistContentsMetadata) UnmarshalJSON(data []byte) error
- type GetPlaylistContentsPart
- func (o *GetPlaylistContentsPart) GetAudioProfile() *string
- func (o *GetPlaylistContentsPart) GetContainer() *string
- func (o *GetPlaylistContentsPart) GetDuration() *int
- func (o *GetPlaylistContentsPart) GetFile() *string
- func (o *GetPlaylistContentsPart) GetHas64bitOffsets() *bool
- func (o *GetPlaylistContentsPart) GetID() *int
- func (o *GetPlaylistContentsPart) GetKey() *string
- func (o *GetPlaylistContentsPart) GetOptimizedForStreaming() *bool
- func (o *GetPlaylistContentsPart) GetSize() *int
- func (o *GetPlaylistContentsPart) GetVideoProfile() *string
- type GetPlaylistContentsRequest
- type GetPlaylistContentsResponse
- type GetPlaylistContentsResponseBody
- type GetPlaylistContentsRole
- type GetPlaylistContentsWriter
- type GetPlaylistMediaContainer
- type GetPlaylistMetadata
- func (o *GetPlaylistMetadata) GetAddedAt() *int
- func (o *GetPlaylistMetadata) GetComposite() *string
- func (o *GetPlaylistMetadata) GetContent() *string
- func (o *GetPlaylistMetadata) GetDuration() *int
- func (o *GetPlaylistMetadata) GetGUID() *string
- func (o *GetPlaylistMetadata) GetIcon() *string
- func (o *GetPlaylistMetadata) GetKey() *string
- func (o *GetPlaylistMetadata) GetLeafCount() *int
- func (o *GetPlaylistMetadata) GetPlaylistType() *string
- func (o *GetPlaylistMetadata) GetRatingKey() *string
- func (o *GetPlaylistMetadata) GetSmart() *bool
- func (o *GetPlaylistMetadata) GetSummary() *string
- func (o *GetPlaylistMetadata) GetTitle() *string
- func (o *GetPlaylistMetadata) GetType() *string
- func (o *GetPlaylistMetadata) GetUpdatedAt() *int
- type GetPlaylistRequest
- type GetPlaylistResponse
- type GetPlaylistResponseBody
- type GetPlaylistsMediaContainer
- type GetPlaylistsMetadata
- func (o *GetPlaylistsMetadata) GetAddedAt() *int
- func (o *GetPlaylistsMetadata) GetComposite() *string
- func (o *GetPlaylistsMetadata) GetDuration() *int
- func (o *GetPlaylistsMetadata) GetGUID() *string
- func (o *GetPlaylistsMetadata) GetIcon() *string
- func (o *GetPlaylistsMetadata) GetKey() *string
- func (o *GetPlaylistsMetadata) GetLastViewedAt() *int
- func (o *GetPlaylistsMetadata) GetLeafCount() *int
- func (o *GetPlaylistsMetadata) GetPlaylistType() *string
- func (o *GetPlaylistsMetadata) GetRatingKey() *string
- func (o *GetPlaylistsMetadata) GetSmart() *bool
- func (o *GetPlaylistsMetadata) GetSummary() *string
- func (o *GetPlaylistsMetadata) GetTitle() *string
- func (o *GetPlaylistsMetadata) GetType() *string
- func (o *GetPlaylistsMetadata) GetUpdatedAt() *int
- func (o *GetPlaylistsMetadata) GetViewCount() *int
- type GetPlaylistsRequest
- type GetPlaylistsResponse
- type GetPlaylistsResponseBody
- 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 GetServerPreferencesMediaContainer
- type GetServerPreferencesResponse
- type GetServerPreferencesResponseBody
- type GetSessionHistoryMediaContainer
- type GetSessionHistoryMetadata
- func (o *GetSessionHistoryMetadata) GetAccountID() *int
- func (o *GetSessionHistoryMetadata) GetDeviceID() *int
- func (o *GetSessionHistoryMetadata) GetGrandparentArt() *string
- func (o *GetSessionHistoryMetadata) GetGrandparentKey() *string
- func (o *GetSessionHistoryMetadata) GetGrandparentThumb() *string
- func (o *GetSessionHistoryMetadata) GetGrandparentTitle() *string
- func (o *GetSessionHistoryMetadata) GetHistoryKey() *string
- func (o *GetSessionHistoryMetadata) GetIndex() *int
- func (o *GetSessionHistoryMetadata) GetKey() *string
- func (o *GetSessionHistoryMetadata) GetLibrarySectionID() *string
- func (o *GetSessionHistoryMetadata) GetOriginallyAvailableAt() *types.Date
- func (o *GetSessionHistoryMetadata) GetParentIndex() *int
- func (o *GetSessionHistoryMetadata) GetParentKey() *string
- func (o *GetSessionHistoryMetadata) GetParentThumb() *string
- func (o *GetSessionHistoryMetadata) GetRatingKey() *string
- func (o *GetSessionHistoryMetadata) GetThumb() *string
- func (o *GetSessionHistoryMetadata) GetTitle() *string
- func (o *GetSessionHistoryMetadata) GetType() *string
- func (o *GetSessionHistoryMetadata) GetViewedAt() *int
- func (g GetSessionHistoryMetadata) MarshalJSON() ([]byte, error)
- func (g *GetSessionHistoryMetadata) UnmarshalJSON(data []byte) error
- type GetSessionHistoryResponse
- type GetSessionHistoryResponseBody
- type GetSessionsMedia
- func (o *GetSessionsMedia) GetAudioChannels() *int
- func (o *GetSessionsMedia) GetAudioCodec() *string
- func (o *GetSessionsMedia) GetBitrate() *int
- func (o *GetSessionsMedia) GetContainer() *string
- func (o *GetSessionsMedia) GetDuration() *int
- func (o *GetSessionsMedia) GetID() *string
- func (o *GetSessionsMedia) GetPart() []GetSessionsPart
- func (o *GetSessionsMedia) GetSelected() *bool
- type GetSessionsMediaContainer
- type GetSessionsMetadata
- func (o *GetSessionsMetadata) GetAddedAt() *int
- func (o *GetSessionsMetadata) GetArt() *string
- func (o *GetSessionsMetadata) GetDuration() *int
- func (o *GetSessionsMetadata) GetGUID() *string
- func (o *GetSessionsMetadata) GetGrandparentArt() *string
- func (o *GetSessionsMetadata) GetGrandparentGUID() *string
- func (o *GetSessionsMetadata) GetGrandparentKey() *string
- func (o *GetSessionsMetadata) GetGrandparentRatingKey() *string
- func (o *GetSessionsMetadata) GetGrandparentThumb() *string
- func (o *GetSessionsMetadata) GetGrandparentTitle() *string
- func (o *GetSessionsMetadata) GetIndex() *int
- func (o *GetSessionsMetadata) GetKey() *string
- func (o *GetSessionsMetadata) GetLibrarySectionID() *string
- func (o *GetSessionsMetadata) GetLibrarySectionKey() *string
- func (o *GetSessionsMetadata) GetLibrarySectionTitle() *string
- func (o *GetSessionsMetadata) GetMedia() []GetSessionsMedia
- func (o *GetSessionsMetadata) GetMusicAnalysisVersion() *string
- func (o *GetSessionsMetadata) GetParentGUID() *string
- func (o *GetSessionsMetadata) GetParentIndex() *int
- func (o *GetSessionsMetadata) GetParentKey() *string
- func (o *GetSessionsMetadata) GetParentRatingKey() *string
- func (o *GetSessionsMetadata) GetParentStudio() *string
- func (o *GetSessionsMetadata) GetParentThumb() *string
- func (o *GetSessionsMetadata) GetParentTitle() *string
- func (o *GetSessionsMetadata) GetParentYear() *int
- func (o *GetSessionsMetadata) GetPlayer() *Player
- func (o *GetSessionsMetadata) GetRatingCount() *int
- func (o *GetSessionsMetadata) GetRatingKey() *string
- func (o *GetSessionsMetadata) GetSession() *Session
- func (o *GetSessionsMetadata) GetSessionKey() *string
- func (o *GetSessionsMetadata) GetThumb() *string
- func (o *GetSessionsMetadata) GetTitle() *string
- func (o *GetSessionsMetadata) GetTitleSort() *string
- func (o *GetSessionsMetadata) GetType() *string
- func (o *GetSessionsMetadata) GetUpdatedAt() *int
- func (o *GetSessionsMetadata) GetUser() *User
- func (o *GetSessionsMetadata) GetViewOffset() *int
- type GetSessionsPart
- func (o *GetSessionsPart) GetContainer() *string
- func (o *GetSessionsPart) GetDecision() *string
- func (o *GetSessionsPart) GetDuration() *int
- func (o *GetSessionsPart) GetFile() *string
- func (o *GetSessionsPart) GetHasThumbnail() *string
- func (o *GetSessionsPart) GetID() *string
- func (o *GetSessionsPart) GetKey() *string
- func (o *GetSessionsPart) GetSelected() *bool
- func (o *GetSessionsPart) GetSize() *int
- func (o *GetSessionsPart) GetStream() []GetSessionsStream
- type GetSessionsResponse
- type GetSessionsResponseBody
- type GetSessionsStream
- func (o *GetSessionsStream) GetAlbumGain() *string
- func (o *GetSessionsStream) GetAlbumPeak() *string
- func (o *GetSessionsStream) GetAlbumRange() *string
- func (o *GetSessionsStream) GetAudioChannelLayout() *string
- func (o *GetSessionsStream) GetBitDepth() *int
- func (o *GetSessionsStream) GetBitrate() *int
- func (o *GetSessionsStream) GetChannels() *int
- func (o *GetSessionsStream) GetCodec() *string
- func (o *GetSessionsStream) GetDisplayTitle() *string
- func (o *GetSessionsStream) GetExtendedDisplayTitle() *string
- func (o *GetSessionsStream) GetGain() *string
- func (o *GetSessionsStream) GetID() *string
- func (o *GetSessionsStream) GetIndex() *int
- func (o *GetSessionsStream) GetLocation() *string
- func (o *GetSessionsStream) GetLoudness() *string
- func (o *GetSessionsStream) GetLra() *string
- func (o *GetSessionsStream) GetPeak() *string
- func (o *GetSessionsStream) GetSamplingRate() *int
- func (o *GetSessionsStream) GetSelected() *bool
- func (o *GetSessionsStream) GetStreamType() *int
- 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 GetTokenRequest
- type GetTokenResponse
- type GetTranscodeSessionsMediaContainer
- type GetTranscodeSessionsResponse
- type GetTranscodeSessionsResponseBody
- type GetTransientTokenQueryParamType
- type GetTransientTokenRequest
- type GetTransientTokenResponse
- type GetUpdateStatusMediaContainer
- func (o *GetUpdateStatusMediaContainer) GetCanInstall() *bool
- func (o *GetUpdateStatusMediaContainer) GetCheckedAt() *int
- func (o *GetUpdateStatusMediaContainer) GetDownloadURL() *string
- func (o *GetUpdateStatusMediaContainer) GetRelease() []Release
- func (o *GetUpdateStatusMediaContainer) GetSize() *int
- func (o *GetUpdateStatusMediaContainer) GetStatus() *int
- type GetUpdateStatusResponse
- type GetUpdateStatusResponseBody
- type Guids
- type Hub
- func (o *Hub) GetContext() *string
- func (o *Hub) GetHubIdentifier() *string
- func (o *Hub) GetHubKey() *string
- func (o *Hub) GetKey() *string
- func (o *Hub) GetMetadata() []GetGlobalHubsMetadata
- func (o *Hub) GetMore() *bool
- func (o *Hub) GetPromoted() *bool
- func (o *Hub) GetSize() *int
- func (o *Hub) GetStyle() *string
- func (o *Hub) GetTitle() *string
- func (o *Hub) GetType() *string
- type IncludeDetails
- type Level
- type Location
- func (o *Location) GetCity() *string
- func (o *Location) GetCode() *string
- func (o *Location) GetContinentCode() *string
- func (o *Location) GetCoordinates() *string
- func (o *Location) GetCountry() *string
- func (o *Location) GetEuropeanUnionMember() *bool
- func (o *Location) GetInPrivacyRestrictedCountry() *bool
- func (o *Location) GetPostalCode() *float64
- func (o *Location) GetSubdivisions() *string
- func (o *Location) GetTimeZone() *string
- 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 One
- type OnlyTransient
- type Operator
- type Option
- type Options
- 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 Player
- func (o *Player) GetAddress() *string
- func (o *Player) GetLocal() *bool
- func (o *Player) GetMachineIdentifier() *string
- func (o *Player) GetModel() *string
- func (o *Player) GetPlatform() *string
- func (o *Player) GetPlatformVersion() *string
- func (o *Player) GetProduct() *string
- func (o *Player) GetProfile() *string
- func (o *Player) GetRelayed() *bool
- func (o *Player) GetRemotePublicAddress() *string
- func (o *Player) GetSecure() *bool
- func (o *Player) GetState() *string
- func (o *Player) GetTitle() *string
- func (o *Player) GetUserID() *int
- func (o *Player) GetVersion() *string
- type PlaylistType
- type Producer
- type Provider
- type QueryParamOnlyTransient
- type QueryParamSmart
- type QueryParamType
- type Ratings
- type RefreshLibraryRequest
- type RefreshLibraryResponse
- type Release
- type Role
- type Scope
- type SearchLibraryMediaContainer
- func (o *SearchLibraryMediaContainer) GetAllowSync() *bool
- func (o *SearchLibraryMediaContainer) GetArt() *string
- func (o *SearchLibraryMediaContainer) GetIdentifier() *string
- func (o *SearchLibraryMediaContainer) GetMediaTagPrefix() *string
- func (o *SearchLibraryMediaContainer) GetMediaTagVersion() *int
- func (o *SearchLibraryMediaContainer) GetMetadata() []SearchLibraryMetadata
- func (o *SearchLibraryMediaContainer) GetNocache() *bool
- func (o *SearchLibraryMediaContainer) GetSize() *int
- func (o *SearchLibraryMediaContainer) GetThumb() *string
- func (o *SearchLibraryMediaContainer) GetTitle1() *string
- func (o *SearchLibraryMediaContainer) GetTitle2() *string
- func (o *SearchLibraryMediaContainer) GetViewGroup() *string
- func (o *SearchLibraryMediaContainer) GetViewMode() *int
- type SearchLibraryMetadata
- func (o *SearchLibraryMetadata) GetAddedAt() *int
- func (o *SearchLibraryMetadata) GetArt() *string
- func (o *SearchLibraryMetadata) GetGUID() *string
- func (o *SearchLibraryMetadata) GetIndex() *int
- func (o *SearchLibraryMetadata) GetKey() *string
- func (o *SearchLibraryMetadata) GetParentGUID() *string
- func (o *SearchLibraryMetadata) GetParentIndex() *int
- func (o *SearchLibraryMetadata) GetParentKey() *string
- func (o *SearchLibraryMetadata) GetParentRatingKey() *string
- func (o *SearchLibraryMetadata) GetParentStudio() *string
- func (o *SearchLibraryMetadata) GetParentTheme() *string
- func (o *SearchLibraryMetadata) GetParentThumb() *string
- func (o *SearchLibraryMetadata) GetParentTitle() *string
- func (o *SearchLibraryMetadata) GetParentYear() *int
- func (o *SearchLibraryMetadata) GetRatingKey() *string
- func (o *SearchLibraryMetadata) GetSummary() *string
- func (o *SearchLibraryMetadata) GetThumb() *string
- func (o *SearchLibraryMetadata) GetTitle() *string
- func (o *SearchLibraryMetadata) GetType() *string
- func (o *SearchLibraryMetadata) GetUpdatedAt() *int
- type SearchLibraryRequest
- type SearchLibraryResponse
- type SearchLibraryResponseBody
- 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 Session
- type Setting
- type SettingType
- type Skip
- type Smart
- type Sort
- 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() *int
- func (o *Stream) GetBitrate() *int
- func (o *Stream) GetChannels() *int
- func (o *Stream) GetChromaLocation() *string
- func (o *Stream) GetChromaSubsampling() *string
- func (o *Stream) GetCodec() *string
- func (o *Stream) GetCodedHeight() *int
- func (o *Stream) GetCodedWidth() *int
- func (o *Stream) GetColorPrimaries() *string
- func (o *Stream) GetColorRange() *string
- func (o *Stream) GetColorSpace() *string
- func (o *Stream) GetColorTrc() *string
- func (o *Stream) GetDefault() *bool
- func (o *Stream) GetDisplayTitle() *string
- func (o *Stream) GetExtendedDisplayTitle() *string
- func (o *Stream) GetFrameRate() *int
- func (o *Stream) GetHasScalingMatrix() *bool
- func (o *Stream) GetHeight() *int
- func (o *Stream) GetID() *int
- func (o *Stream) GetIndex() *int
- func (o *Stream) GetLanguage() *string
- func (o *Stream) GetLanguageCode() *string
- func (o *Stream) GetLanguageTag() *string
- func (o *Stream) GetLevel() *int
- func (o *Stream) GetProfile() *string
- func (o *Stream) GetRefFrames() *int
- func (o *Stream) GetSamplingRate() *int
- func (o *Stream) GetScanType() *string
- func (o *Stream) GetSelected() *bool
- func (o *Stream) GetStreamIdentifier() *string
- func (o *Stream) GetStreamType() *int
- func (o *Stream) GetWidth() *int
- type Tag
- type TaskName
- type Tonight
- type TranscodeSession
- func (o *TranscodeSession) GetAudioChannels() *int
- 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() *int
- 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) GetRemaining() *int
- func (o *TranscodeSession) GetSize() *int
- func (o *TranscodeSession) GetSourceAudioCodec() *string
- func (o *TranscodeSession) GetSourceVideoCodec() *string
- func (o *TranscodeSession) GetSpeed() *float64
- func (o *TranscodeSession) GetSubtitleDecision() *string
- 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 Two
- func (o *Two) GetAdvanced() *bool
- func (o *Two) GetDefault() *int
- func (o *Two) GetEnumValues() *string
- func (o *Two) GetGroup() *string
- func (o *Two) GetHidden() *bool
- func (o *Two) GetID() *string
- func (o *Two) GetLabel() *string
- func (o *Two) GetSummary() *string
- func (o *Two) GetType() *string
- func (o *Two) GetValue() *int
- type Type
- type UpdatePlayProgressRequest
- type UpdatePlayProgressResponse
- type UpdatePlaylistRequest
- type UpdatePlaylistResponse
- type UploadPlaylistRequest
- type UploadPlaylistResponse
- type Upscale
- type User
- type Writer
Constants ¶
const ( SupportedOptionServerURL = "serverURL" SupportedOptionRetries = "retries" SupportedOptionAcceptHeaderOverride = "acceptHeaderOverride" )
Variables ¶
var ErrUnsupportedOption = errors.New("unsupported option")
var GetPinServerList = []string{
"https://plex.tv/api/v2",
}
var GetTokenServerList = []string{
"https://plex.tv/api/v2",
}
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 AddPlaylistContentsMediaContainer ¶ added in v0.1.1
type AddPlaylistContentsMediaContainer struct {
Size *int `json:"size,omitempty"`
LeafCountAdded *int `json:"leafCountAdded,omitempty"`
LeafCountRequested *int `json:"leafCountRequested,omitempty"`
Metadata []AddPlaylistContentsMetadata `json:"Metadata,omitempty"`
}
func (*AddPlaylistContentsMediaContainer) GetLeafCountAdded ¶ added in v0.1.1
func (o *AddPlaylistContentsMediaContainer) GetLeafCountAdded() *int
func (*AddPlaylistContentsMediaContainer) GetLeafCountRequested ¶ added in v0.1.1
func (o *AddPlaylistContentsMediaContainer) GetLeafCountRequested() *int
func (*AddPlaylistContentsMediaContainer) GetMetadata ¶ added in v0.1.1
func (o *AddPlaylistContentsMediaContainer) GetMetadata() []AddPlaylistContentsMetadata
func (*AddPlaylistContentsMediaContainer) GetSize ¶ added in v0.1.1
func (o *AddPlaylistContentsMediaContainer) GetSize() *int
type AddPlaylistContentsMetadata ¶ added in v0.1.1
type AddPlaylistContentsMetadata struct {
RatingKey *string `json:"ratingKey,omitempty"`
Key *string `json:"key,omitempty"`
GUID *string `json:"guid,omitempty"`
Type *string `json:"type,omitempty"`
Title *string `json:"title,omitempty"`
Summary *string `json:"summary,omitempty"`
Smart *bool `json:"smart,omitempty"`
PlaylistType *string `json:"playlistType,omitempty"`
Composite *string `json:"composite,omitempty"`
Duration *int `json:"duration,omitempty"`
LeafCount *int `json:"leafCount,omitempty"`
AddedAt *int `json:"addedAt,omitempty"`
UpdatedAt *int `json:"updatedAt,omitempty"`
}
func (*AddPlaylistContentsMetadata) GetAddedAt ¶ added in v0.1.1
func (o *AddPlaylistContentsMetadata) GetAddedAt() *int
func (*AddPlaylistContentsMetadata) GetComposite ¶ added in v0.1.1
func (o *AddPlaylistContentsMetadata) GetComposite() *string
func (*AddPlaylistContentsMetadata) GetDuration ¶ added in v0.1.1
func (o *AddPlaylistContentsMetadata) GetDuration() *int
func (*AddPlaylistContentsMetadata) GetGUID ¶ added in v0.1.1
func (o *AddPlaylistContentsMetadata) GetGUID() *string
func (*AddPlaylistContentsMetadata) GetKey ¶ added in v0.1.1
func (o *AddPlaylistContentsMetadata) GetKey() *string
func (*AddPlaylistContentsMetadata) GetLeafCount ¶ added in v0.1.1
func (o *AddPlaylistContentsMetadata) GetLeafCount() *int
func (*AddPlaylistContentsMetadata) GetPlaylistType ¶ added in v0.1.1
func (o *AddPlaylistContentsMetadata) GetPlaylistType() *string
func (*AddPlaylistContentsMetadata) GetRatingKey ¶ added in v0.1.1
func (o *AddPlaylistContentsMetadata) GetRatingKey() *string
func (*AddPlaylistContentsMetadata) GetSmart ¶ added in v0.1.1
func (o *AddPlaylistContentsMetadata) GetSmart() *bool
func (*AddPlaylistContentsMetadata) GetSummary ¶ added in v0.1.1
func (o *AddPlaylistContentsMetadata) GetSummary() *string
func (*AddPlaylistContentsMetadata) GetTitle ¶ added in v0.1.1
func (o *AddPlaylistContentsMetadata) GetTitle() *string
func (*AddPlaylistContentsMetadata) GetType ¶ added in v0.1.1
func (o *AddPlaylistContentsMetadata) GetType() *string
func (*AddPlaylistContentsMetadata) GetUpdatedAt ¶ added in v0.1.1
func (o *AddPlaylistContentsMetadata) GetUpdatedAt() *int
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
// Playlist Updated
Object *AddPlaylistContentsResponseBody
}
func (*AddPlaylistContentsResponse) GetContentType ¶
func (o *AddPlaylistContentsResponse) GetContentType() string
func (*AddPlaylistContentsResponse) GetObject ¶ added in v0.1.1
func (o *AddPlaylistContentsResponse) GetObject() *AddPlaylistContentsResponseBody
func (*AddPlaylistContentsResponse) GetRawResponse ¶
func (o *AddPlaylistContentsResponse) GetRawResponse() *http.Response
func (*AddPlaylistContentsResponse) GetStatusCode ¶
func (o *AddPlaylistContentsResponse) GetStatusCode() int
type AddPlaylistContentsResponseBody ¶ added in v0.1.1
type AddPlaylistContentsResponseBody struct {
MediaContainer *AddPlaylistContentsMediaContainer `json:"MediaContainer,omitempty"`
}
AddPlaylistContentsResponseBody - Playlist Updated
func (*AddPlaylistContentsResponseBody) GetMediaContainer ¶ added in v0.1.1
func (o *AddPlaylistContentsResponseBody) GetMediaContainer() *AddPlaylistContentsMediaContainer
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 CreatePlaylistMediaContainer ¶ added in v0.1.1
type CreatePlaylistMediaContainer struct {
Size *int `json:"size,omitempty"`
Metadata []CreatePlaylistMetadata `json:"Metadata,omitempty"`
}
func (*CreatePlaylistMediaContainer) GetMetadata ¶ added in v0.1.1
func (o *CreatePlaylistMediaContainer) GetMetadata() []CreatePlaylistMetadata
func (*CreatePlaylistMediaContainer) GetSize ¶ added in v0.1.1
func (o *CreatePlaylistMediaContainer) GetSize() *int
type CreatePlaylistMetadata ¶ added in v0.1.1
type CreatePlaylistMetadata struct {
RatingKey *string `json:"ratingKey,omitempty"`
Key *string `json:"key,omitempty"`
GUID *string `json:"guid,omitempty"`
Type *string `json:"type,omitempty"`
Title *string `json:"title,omitempty"`
Summary *string `json:"summary,omitempty"`
Smart *bool `json:"smart,omitempty"`
PlaylistType *string `json:"playlistType,omitempty"`
Icon *string `json:"icon,omitempty"`
ViewCount *int `json:"viewCount,omitempty"`
LastViewedAt *int `json:"lastViewedAt,omitempty"`
LeafCount *int `json:"leafCount,omitempty"`
AddedAt *int `json:"addedAt,omitempty"`
UpdatedAt *int `json:"updatedAt,omitempty"`
Composite *string `json:"composite,omitempty"`
Duration *int `json:"duration,omitempty"`
}
func (*CreatePlaylistMetadata) GetAddedAt ¶ added in v0.1.1
func (o *CreatePlaylistMetadata) GetAddedAt() *int
func (*CreatePlaylistMetadata) GetComposite ¶ added in v0.1.1
func (o *CreatePlaylistMetadata) GetComposite() *string
func (*CreatePlaylistMetadata) GetDuration ¶ added in v0.1.1
func (o *CreatePlaylistMetadata) GetDuration() *int
func (*CreatePlaylistMetadata) GetGUID ¶ added in v0.1.1
func (o *CreatePlaylistMetadata) GetGUID() *string
func (*CreatePlaylistMetadata) GetIcon ¶ added in v0.1.1
func (o *CreatePlaylistMetadata) GetIcon() *string
func (*CreatePlaylistMetadata) GetKey ¶ added in v0.1.1
func (o *CreatePlaylistMetadata) GetKey() *string
func (*CreatePlaylistMetadata) GetLastViewedAt ¶ added in v0.1.1
func (o *CreatePlaylistMetadata) GetLastViewedAt() *int
func (*CreatePlaylistMetadata) GetLeafCount ¶ added in v0.1.1
func (o *CreatePlaylistMetadata) GetLeafCount() *int
func (*CreatePlaylistMetadata) GetPlaylistType ¶ added in v0.1.1
func (o *CreatePlaylistMetadata) GetPlaylistType() *string
func (*CreatePlaylistMetadata) GetRatingKey ¶ added in v0.1.1
func (o *CreatePlaylistMetadata) GetRatingKey() *string
func (*CreatePlaylistMetadata) GetSmart ¶ added in v0.1.1
func (o *CreatePlaylistMetadata) GetSmart() *bool
func (*CreatePlaylistMetadata) GetSummary ¶ added in v0.1.1
func (o *CreatePlaylistMetadata) GetSummary() *string
func (*CreatePlaylistMetadata) GetTitle ¶ added in v0.1.1
func (o *CreatePlaylistMetadata) GetTitle() *string
func (*CreatePlaylistMetadata) GetType ¶ added in v0.1.1
func (o *CreatePlaylistMetadata) GetType() *string
func (*CreatePlaylistMetadata) GetUpdatedAt ¶ added in v0.1.1
func (o *CreatePlaylistMetadata) GetUpdatedAt() *int
func (*CreatePlaylistMetadata) GetViewCount ¶ added in v0.1.1
func (o *CreatePlaylistMetadata) GetViewCount() *int
type CreatePlaylistRequest ¶
type CreatePlaylistRequest struct {
// name of the playlist
Title string `queryParam:"style=form,explode=true,name=title"`
// type of playlist to create
Type QueryParamType `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() QueryParamType
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
// returns all playlists
Object *CreatePlaylistResponseBody
}
func (*CreatePlaylistResponse) GetContentType ¶
func (o *CreatePlaylistResponse) GetContentType() string
func (*CreatePlaylistResponse) GetObject ¶ added in v0.1.1
func (o *CreatePlaylistResponse) GetObject() *CreatePlaylistResponseBody
func (*CreatePlaylistResponse) GetRawResponse ¶
func (o *CreatePlaylistResponse) GetRawResponse() *http.Response
func (*CreatePlaylistResponse) GetStatusCode ¶
func (o *CreatePlaylistResponse) GetStatusCode() int
type CreatePlaylistResponseBody ¶ added in v0.1.1
type CreatePlaylistResponseBody struct {
MediaContainer *CreatePlaylistMediaContainer `json:"MediaContainer,omitempty"`
}
CreatePlaylistResponseBody - returns all playlists
func (*CreatePlaylistResponseBody) GetMediaContainer ¶ added in v0.1.1
func (o *CreatePlaylistResponseBody) GetMediaContainer() *CreatePlaylistMediaContainer
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 Field ¶ added in v0.1.0
type Field struct {
Key *string `json:"key,omitempty"`
Title *string `json:"title,omitempty"`
Type *string `json:"type,omitempty"`
SubType *string `json:"subType,omitempty"`
}
func (*Field) GetSubType ¶ added in v0.1.0
type FieldType ¶ added in v0.1.0
type FieldType struct {
Type *string `json:"type,omitempty"`
Operator []Operator `json:"Operator,omitempty"`
}
func (*FieldType) GetOperator ¶ added in v0.1.0
type Filter ¶ added in v0.1.0
type Filter struct {
Filter *string `json:"filter,omitempty"`
FilterType *string `json:"filterType,omitempty"`
Key *string `json:"key,omitempty"`
Title *string `json:"title,omitempty"`
Type *string `json:"type,omitempty"`
}
func (*Filter) GetFilterType ¶ added in v0.1.0
type Force ¶
type Force int64
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
Object *GetAvailableClientsResponseBody
}
func (*GetAvailableClientsResponse) GetContentType ¶
func (o *GetAvailableClientsResponse) GetContentType() string
func (*GetAvailableClientsResponse) GetObject ¶ added in v0.1.1
func (o *GetAvailableClientsResponse) GetObject() *GetAvailableClientsResponseBody
func (*GetAvailableClientsResponse) GetRawResponse ¶
func (o *GetAvailableClientsResponse) GetRawResponse() *http.Response
func (*GetAvailableClientsResponse) GetStatusCode ¶
func (o *GetAvailableClientsResponse) GetStatusCode() int
type GetAvailableClientsResponseBody ¶ added in v0.1.1
type GetAvailableClientsResponseBody struct {
MediaContainer *GetAvailableClientsMediaContainer `json:"MediaContainer,omitempty"`
}
GetAvailableClientsResponseBody - Available Clients
func (*GetAvailableClientsResponseBody) GetMediaContainer ¶ added in v0.1.1
func (o *GetAvailableClientsResponseBody) GetMediaContainer() *GetAvailableClientsMediaContainer
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 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 GetGlobalHubsMediaContainer ¶ added in v0.1.1
type GetGlobalHubsMediaContainer struct {
Size *int `json:"size,omitempty"`
AllowSync *bool `json:"allowSync,omitempty"`
Identifier *string `json:"identifier,omitempty"`
Hub []Hub `json:"Hub,omitempty"`
}
func (*GetGlobalHubsMediaContainer) GetAllowSync ¶ added in v0.1.1
func (o *GetGlobalHubsMediaContainer) GetAllowSync() *bool
func (*GetGlobalHubsMediaContainer) GetHub ¶ added in v0.1.1
func (o *GetGlobalHubsMediaContainer) GetHub() []Hub
func (*GetGlobalHubsMediaContainer) GetIdentifier ¶ added in v0.1.1
func (o *GetGlobalHubsMediaContainer) GetIdentifier() *string
func (*GetGlobalHubsMediaContainer) GetSize ¶ added in v0.1.1
func (o *GetGlobalHubsMediaContainer) GetSize() *int
type GetGlobalHubsMetadata ¶ added in v0.1.1
type GetGlobalHubsMetadata struct {
RatingKey *string `json:"ratingKey,omitempty"`
Key *string `json:"key,omitempty"`
GUID *string `json:"guid,omitempty"`
Type *string `json:"type,omitempty"`
Title *string `json:"title,omitempty"`
TitleSort *string `json:"titleSort,omitempty"`
Summary *string `json:"summary,omitempty"`
Smart *bool `json:"smart,omitempty"`
PlaylistType *string `json:"playlistType,omitempty"`
Composite *string `json:"composite,omitempty"`
Icon *string `json:"icon,omitempty"`
ViewCount *int `json:"viewCount,omitempty"`
LastViewedAt *int `json:"lastViewedAt,omitempty"`
Duration *int `json:"duration,omitempty"`
LeafCount *int `json:"leafCount,omitempty"`
AddedAt *int `json:"addedAt,omitempty"`
UpdatedAt *int `json:"updatedAt,omitempty"`
}
func (*GetGlobalHubsMetadata) GetAddedAt ¶ added in v0.1.1
func (o *GetGlobalHubsMetadata) GetAddedAt() *int
func (*GetGlobalHubsMetadata) GetComposite ¶ added in v0.1.1
func (o *GetGlobalHubsMetadata) GetComposite() *string
func (*GetGlobalHubsMetadata) GetDuration ¶ added in v0.1.1
func (o *GetGlobalHubsMetadata) GetDuration() *int
func (*GetGlobalHubsMetadata) GetGUID ¶ added in v0.1.1
func (o *GetGlobalHubsMetadata) GetGUID() *string
func (*GetGlobalHubsMetadata) GetIcon ¶ added in v0.1.1
func (o *GetGlobalHubsMetadata) GetIcon() *string
func (*GetGlobalHubsMetadata) GetKey ¶ added in v0.1.1
func (o *GetGlobalHubsMetadata) GetKey() *string
func (*GetGlobalHubsMetadata) GetLastViewedAt ¶ added in v0.1.1
func (o *GetGlobalHubsMetadata) GetLastViewedAt() *int
func (*GetGlobalHubsMetadata) GetLeafCount ¶ added in v0.1.1
func (o *GetGlobalHubsMetadata) GetLeafCount() *int
func (*GetGlobalHubsMetadata) GetPlaylistType ¶ added in v0.1.1
func (o *GetGlobalHubsMetadata) GetPlaylistType() *string
func (*GetGlobalHubsMetadata) GetRatingKey ¶ added in v0.1.1
func (o *GetGlobalHubsMetadata) GetRatingKey() *string
func (*GetGlobalHubsMetadata) GetSmart ¶ added in v0.1.1
func (o *GetGlobalHubsMetadata) GetSmart() *bool
func (*GetGlobalHubsMetadata) GetSummary ¶ added in v0.1.1
func (o *GetGlobalHubsMetadata) GetSummary() *string
func (*GetGlobalHubsMetadata) GetTitle ¶ added in v0.1.1
func (o *GetGlobalHubsMetadata) GetTitle() *string
func (*GetGlobalHubsMetadata) GetTitleSort ¶ added in v0.1.1
func (o *GetGlobalHubsMetadata) GetTitleSort() *string
func (*GetGlobalHubsMetadata) GetType ¶ added in v0.1.1
func (o *GetGlobalHubsMetadata) GetType() *string
func (*GetGlobalHubsMetadata) GetUpdatedAt ¶ added in v0.1.1
func (o *GetGlobalHubsMetadata) GetUpdatedAt() *int
func (*GetGlobalHubsMetadata) GetViewCount ¶ added in v0.1.1
func (o *GetGlobalHubsMetadata) GetViewCount() *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
// returns global hubs
Object *GetGlobalHubsResponseBody
}
func (*GetGlobalHubsResponse) GetContentType ¶
func (o *GetGlobalHubsResponse) GetContentType() string
func (*GetGlobalHubsResponse) GetObject ¶ added in v0.1.1
func (o *GetGlobalHubsResponse) GetObject() *GetGlobalHubsResponseBody
func (*GetGlobalHubsResponse) GetRawResponse ¶
func (o *GetGlobalHubsResponse) GetRawResponse() *http.Response
func (*GetGlobalHubsResponse) GetStatusCode ¶
func (o *GetGlobalHubsResponse) GetStatusCode() int
type GetGlobalHubsResponseBody ¶ added in v0.1.1
type GetGlobalHubsResponseBody struct {
MediaContainer *GetGlobalHubsMediaContainer `json:"MediaContainer,omitempty"`
}
GetGlobalHubsResponseBody - returns global hubs
func (*GetGlobalHubsResponseBody) GetMediaContainer ¶ added in v0.1.1
func (o *GetGlobalHubsResponseBody) GetMediaContainer() *GetGlobalHubsMediaContainer
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 []GetLibrariesLocation `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() []GetLibrariesLocation
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 GetLibrariesLocation ¶ added in v0.2.0
type GetLibrariesLocation struct {
ID *int `json:"id,omitempty"`
Path *string `json:"path,omitempty"`
}
func (*GetLibrariesLocation) GetID ¶ added in v0.2.0
func (o *GetLibrariesLocation) GetID() *int
func (*GetLibrariesLocation) GetPath ¶ added in v0.2.0
func (o *GetLibrariesLocation) GetPath() *string
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 GetLibraryDirectory ¶ added in v0.0.5
type GetLibraryDirectory struct {
Key *string `json:"key,omitempty"`
Title *string `json:"title,omitempty"`
Secondary *bool `json:"secondary,omitempty"`
Prompt *string `json:"prompt,omitempty"`
Search *bool `json:"search,omitempty"`
}
func (*GetLibraryDirectory) GetKey ¶ added in v0.0.5
func (o *GetLibraryDirectory) GetKey() *string
func (*GetLibraryDirectory) GetPrompt ¶ added in v0.0.5
func (o *GetLibraryDirectory) GetPrompt() *string
func (*GetLibraryDirectory) GetSearch ¶ added in v0.0.5
func (o *GetLibraryDirectory) GetSearch() *bool
func (*GetLibraryDirectory) GetSecondary ¶ added in v0.0.5
func (o *GetLibraryDirectory) GetSecondary() *bool
func (*GetLibraryDirectory) GetTitle ¶ added in v0.0.5
func (o *GetLibraryDirectory) GetTitle() *string
type GetLibraryHubsCountry ¶ added in v0.1.1
type GetLibraryHubsCountry struct {
Tag *string `json:"tag,omitempty"`
}
func (*GetLibraryHubsCountry) GetTag ¶ added in v0.1.1
func (o *GetLibraryHubsCountry) GetTag() *string
type GetLibraryHubsDirector ¶ added in v0.1.1
type GetLibraryHubsDirector struct {
Tag *string `json:"tag,omitempty"`
}
func (*GetLibraryHubsDirector) GetTag ¶ added in v0.1.1
func (o *GetLibraryHubsDirector) GetTag() *string
type GetLibraryHubsGenre ¶ added in v0.1.1
type GetLibraryHubsGenre struct {
Tag *string `json:"tag,omitempty"`
}
func (*GetLibraryHubsGenre) GetTag ¶ added in v0.1.1
func (o *GetLibraryHubsGenre) GetTag() *string
type GetLibraryHubsHub ¶ added in v0.1.1
type GetLibraryHubsHub struct {
Key *string `json:"key,omitempty"`
Title *string `json:"title,omitempty"`
Type *string `json:"type,omitempty"`
HubIdentifier *string `json:"hubIdentifier,omitempty"`
Context *string `json:"context,omitempty"`
Size *int `json:"size,omitempty"`
More *bool `json:"more,omitempty"`
Style *string `json:"style,omitempty"`
HubKey *string `json:"hubKey,omitempty"`
Metadata []GetLibraryHubsMetadata `json:"Metadata,omitempty"`
Promoted *bool `json:"promoted,omitempty"`
Random *bool `json:"random,omitempty"`
}
func (*GetLibraryHubsHub) GetContext ¶ added in v0.1.1
func (o *GetLibraryHubsHub) GetContext() *string
func (*GetLibraryHubsHub) GetHubIdentifier ¶ added in v0.1.1
func (o *GetLibraryHubsHub) GetHubIdentifier() *string
func (*GetLibraryHubsHub) GetHubKey ¶ added in v0.1.1
func (o *GetLibraryHubsHub) GetHubKey() *string
func (*GetLibraryHubsHub) GetKey ¶ added in v0.1.1
func (o *GetLibraryHubsHub) GetKey() *string
func (*GetLibraryHubsHub) GetMetadata ¶ added in v0.1.1
func (o *GetLibraryHubsHub) GetMetadata() []GetLibraryHubsMetadata
func (*GetLibraryHubsHub) GetMore ¶ added in v0.1.1
func (o *GetLibraryHubsHub) GetMore() *bool
func (*GetLibraryHubsHub) GetPromoted ¶ added in v0.1.1
func (o *GetLibraryHubsHub) GetPromoted() *bool
func (*GetLibraryHubsHub) GetRandom ¶ added in v0.1.1
func (o *GetLibraryHubsHub) GetRandom() *bool
func (*GetLibraryHubsHub) GetSize ¶ added in v0.1.1
func (o *GetLibraryHubsHub) GetSize() *int
func (*GetLibraryHubsHub) GetStyle ¶ added in v0.1.1
func (o *GetLibraryHubsHub) GetStyle() *string
func (*GetLibraryHubsHub) GetTitle ¶ added in v0.1.1
func (o *GetLibraryHubsHub) GetTitle() *string
func (*GetLibraryHubsHub) GetType ¶ added in v0.1.1
func (o *GetLibraryHubsHub) GetType() *string
type GetLibraryHubsMedia ¶ added in v0.1.1
type GetLibraryHubsMedia struct {
ID *int `json:"id,omitempty"`
Duration *int `json:"duration,omitempty"`
Bitrate *int `json:"bitrate,omitempty"`
Width *int `json:"width,omitempty"`
Height *int `json:"height,omitempty"`
AspectRatio *float64 `json:"aspectRatio,omitempty"`
AudioChannels *int `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"`
OptimizedForStreaming *int `json:"optimizedForStreaming,omitempty"`
AudioProfile *string `json:"audioProfile,omitempty"`
Has64bitOffsets *bool `json:"has64bitOffsets,omitempty"`
VideoProfile *string `json:"videoProfile,omitempty"`
Part []GetLibraryHubsPart `json:"Part,omitempty"`
}
func (*GetLibraryHubsMedia) GetAspectRatio ¶ added in v0.1.1
func (o *GetLibraryHubsMedia) GetAspectRatio() *float64
func (*GetLibraryHubsMedia) GetAudioChannels ¶ added in v0.1.1
func (o *GetLibraryHubsMedia) GetAudioChannels() *int
func (*GetLibraryHubsMedia) GetAudioCodec ¶ added in v0.1.1
func (o *GetLibraryHubsMedia) GetAudioCodec() *string
func (*GetLibraryHubsMedia) GetAudioProfile ¶ added in v0.1.1
func (o *GetLibraryHubsMedia) GetAudioProfile() *string
func (*GetLibraryHubsMedia) GetBitrate ¶ added in v0.1.1
func (o *GetLibraryHubsMedia) GetBitrate() *int
func (*GetLibraryHubsMedia) GetContainer ¶ added in v0.1.1
func (o *GetLibraryHubsMedia) GetContainer() *string
func (*GetLibraryHubsMedia) GetDuration ¶ added in v0.1.1
func (o *GetLibraryHubsMedia) GetDuration() *int
func (*GetLibraryHubsMedia) GetHas64bitOffsets ¶ added in v0.1.1
func (o *GetLibraryHubsMedia) GetHas64bitOffsets() *bool
func (*GetLibraryHubsMedia) GetHeight ¶ added in v0.1.1
func (o *GetLibraryHubsMedia) GetHeight() *int
func (*GetLibraryHubsMedia) GetID ¶ added in v0.1.1
func (o *GetLibraryHubsMedia) GetID() *int
func (*GetLibraryHubsMedia) GetOptimizedForStreaming ¶ added in v0.1.1
func (o *GetLibraryHubsMedia) GetOptimizedForStreaming() *int
func (*GetLibraryHubsMedia) GetPart ¶ added in v0.1.1
func (o *GetLibraryHubsMedia) GetPart() []GetLibraryHubsPart
func (*GetLibraryHubsMedia) GetVideoCodec ¶ added in v0.1.1
func (o *GetLibraryHubsMedia) GetVideoCodec() *string
func (*GetLibraryHubsMedia) GetVideoFrameRate ¶ added in v0.1.1
func (o *GetLibraryHubsMedia) GetVideoFrameRate() *string
func (*GetLibraryHubsMedia) GetVideoProfile ¶ added in v0.1.1
func (o *GetLibraryHubsMedia) GetVideoProfile() *string
func (*GetLibraryHubsMedia) GetVideoResolution ¶ added in v0.1.1
func (o *GetLibraryHubsMedia) GetVideoResolution() *string
func (*GetLibraryHubsMedia) GetWidth ¶ added in v0.1.1
func (o *GetLibraryHubsMedia) GetWidth() *int
type GetLibraryHubsMediaContainer ¶ added in v0.1.1
type GetLibraryHubsMediaContainer struct {
Size *int `json:"size,omitempty"`
AllowSync *bool `json:"allowSync,omitempty"`
Identifier *string `json:"identifier,omitempty"`
LibrarySectionID *int `json:"librarySectionID,omitempty"`
LibrarySectionTitle *string `json:"librarySectionTitle,omitempty"`
LibrarySectionUUID *string `json:"librarySectionUUID,omitempty"`
Hub []GetLibraryHubsHub `json:"Hub,omitempty"`
}
func (*GetLibraryHubsMediaContainer) GetAllowSync ¶ added in v0.1.1
func (o *GetLibraryHubsMediaContainer) GetAllowSync() *bool
func (*GetLibraryHubsMediaContainer) GetHub ¶ added in v0.1.1
func (o *GetLibraryHubsMediaContainer) GetHub() []GetLibraryHubsHub
func (*GetLibraryHubsMediaContainer) GetIdentifier ¶ added in v0.1.1
func (o *GetLibraryHubsMediaContainer) GetIdentifier() *string
func (*GetLibraryHubsMediaContainer) GetLibrarySectionID ¶ added in v0.1.1
func (o *GetLibraryHubsMediaContainer) GetLibrarySectionID() *int
func (*GetLibraryHubsMediaContainer) GetLibrarySectionTitle ¶ added in v0.1.1
func (o *GetLibraryHubsMediaContainer) GetLibrarySectionTitle() *string
func (*GetLibraryHubsMediaContainer) GetLibrarySectionUUID ¶ added in v0.1.1
func (o *GetLibraryHubsMediaContainer) GetLibrarySectionUUID() *string
func (*GetLibraryHubsMediaContainer) GetSize ¶ added in v0.1.1
func (o *GetLibraryHubsMediaContainer) GetSize() *int
type GetLibraryHubsMetadata ¶ added in v0.1.1
type GetLibraryHubsMetadata struct {
RatingKey *string `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"`
LibrarySectionTitle *string `json:"librarySectionTitle,omitempty"`
LibrarySectionID *int `json:"librarySectionID,omitempty"`
LibrarySectionKey *string `json:"librarySectionKey,omitempty"`
ContentRating *string `json:"contentRating,omitempty"`
Summary *string `json:"summary,omitempty"`
Rating *float64 `json:"rating,omitempty"`
AudienceRating *float64 `json:"audienceRating,omitempty"`
ViewCount *int `json:"viewCount,omitempty"`
LastViewedAt *int `json:"lastViewedAt,omitempty"`
Year *int `json:"year,omitempty"`
Tagline *string `json:"tagline,omitempty"`
Thumb *string `json:"thumb,omitempty"`
Art *string `json:"art,omitempty"`
Duration *int `json:"duration,omitempty"`
OriginallyAvailableAt *types.Date `json:"originallyAvailableAt,omitempty"`
AddedAt *int `json:"addedAt,omitempty"`
UpdatedAt *int `json:"updatedAt,omitempty"`
AudienceRatingImage *string `json:"audienceRatingImage,omitempty"`
PrimaryExtraKey *string `json:"primaryExtraKey,omitempty"`
RatingImage *string `json:"ratingImage,omitempty"`
Media []GetLibraryHubsMedia `json:"Media,omitempty"`
Genre []GetLibraryHubsGenre `json:"Genre,omitempty"`
Country []GetLibraryHubsCountry `json:"Country,omitempty"`
Director []GetLibraryHubsDirector `json:"Director,omitempty"`
Role []GetLibraryHubsRole `json:"Role,omitempty"`
Writer []GetLibraryHubsWriter `json:"Writer,omitempty"`
SkipCount *int `json:"skipCount,omitempty"`
ChapterSource *string `json:"chapterSource,omitempty"`
}
func (*GetLibraryHubsMetadata) GetAddedAt ¶ added in v0.1.1
func (o *GetLibraryHubsMetadata) GetAddedAt() *int
func (*GetLibraryHubsMetadata) GetArt ¶ added in v0.1.1
func (o *GetLibraryHubsMetadata) GetArt() *string
func (*GetLibraryHubsMetadata) GetAudienceRating ¶ added in v0.1.1
func (o *GetLibraryHubsMetadata) GetAudienceRating() *float64
func (*GetLibraryHubsMetadata) GetAudienceRatingImage ¶ added in v0.1.1
func (o *GetLibraryHubsMetadata) GetAudienceRatingImage() *string
func (*GetLibraryHubsMetadata) GetChapterSource ¶ added in v0.1.1
func (o *GetLibraryHubsMetadata) GetChapterSource() *string
func (*GetLibraryHubsMetadata) GetContentRating ¶ added in v0.1.1
func (o *GetLibraryHubsMetadata) GetContentRating() *string
func (*GetLibraryHubsMetadata) GetCountry ¶ added in v0.1.1
func (o *GetLibraryHubsMetadata) GetCountry() []GetLibraryHubsCountry
func (*GetLibraryHubsMetadata) GetDirector ¶ added in v0.1.1
func (o *GetLibraryHubsMetadata) GetDirector() []GetLibraryHubsDirector
func (*GetLibraryHubsMetadata) GetDuration ¶ added in v0.1.1
func (o *GetLibraryHubsMetadata) GetDuration() *int
func (*GetLibraryHubsMetadata) GetGUID ¶ added in v0.1.1
func (o *GetLibraryHubsMetadata) GetGUID() *string
func (*GetLibraryHubsMetadata) GetGenre ¶ added in v0.1.1
func (o *GetLibraryHubsMetadata) GetGenre() []GetLibraryHubsGenre
func (*GetLibraryHubsMetadata) GetKey ¶ added in v0.1.1
func (o *GetLibraryHubsMetadata) GetKey() *string
func (*GetLibraryHubsMetadata) GetLastViewedAt ¶ added in v0.1.1
func (o *GetLibraryHubsMetadata) GetLastViewedAt() *int
func (*GetLibraryHubsMetadata) GetLibrarySectionID ¶ added in v0.1.1
func (o *GetLibraryHubsMetadata) GetLibrarySectionID() *int
func (*GetLibraryHubsMetadata) GetLibrarySectionKey ¶ added in v0.1.1
func (o *GetLibraryHubsMetadata) GetLibrarySectionKey() *string
func (*GetLibraryHubsMetadata) GetLibrarySectionTitle ¶ added in v0.1.1
func (o *GetLibraryHubsMetadata) GetLibrarySectionTitle() *string
func (*GetLibraryHubsMetadata) GetMedia ¶ added in v0.1.1
func (o *GetLibraryHubsMetadata) GetMedia() []GetLibraryHubsMedia
func (*GetLibraryHubsMetadata) GetOriginallyAvailableAt ¶ added in v0.1.1
func (o *GetLibraryHubsMetadata) GetOriginallyAvailableAt() *types.Date
func (*GetLibraryHubsMetadata) GetPrimaryExtraKey ¶ added in v0.1.1
func (o *GetLibraryHubsMetadata) GetPrimaryExtraKey() *string
func (*GetLibraryHubsMetadata) GetRating ¶ added in v0.1.1
func (o *GetLibraryHubsMetadata) GetRating() *float64
func (*GetLibraryHubsMetadata) GetRatingImage ¶ added in v0.1.1
func (o *GetLibraryHubsMetadata) GetRatingImage() *string
func (*GetLibraryHubsMetadata) GetRatingKey ¶ added in v0.1.1
func (o *GetLibraryHubsMetadata) GetRatingKey() *string
func (*GetLibraryHubsMetadata) GetRole ¶ added in v0.1.1
func (o *GetLibraryHubsMetadata) GetRole() []GetLibraryHubsRole
func (*GetLibraryHubsMetadata) GetSkipCount ¶ added in v0.1.1
func (o *GetLibraryHubsMetadata) GetSkipCount() *int
func (*GetLibraryHubsMetadata) GetStudio ¶ added in v0.1.1
func (o *GetLibraryHubsMetadata) GetStudio() *string
func (*GetLibraryHubsMetadata) GetSummary ¶ added in v0.1.1
func (o *GetLibraryHubsMetadata) GetSummary() *string
func (*GetLibraryHubsMetadata) GetTagline ¶ added in v0.1.1
func (o *GetLibraryHubsMetadata) GetTagline() *string
func (*GetLibraryHubsMetadata) GetThumb ¶ added in v0.1.1
func (o *GetLibraryHubsMetadata) GetThumb() *string
func (*GetLibraryHubsMetadata) GetTitle ¶ added in v0.1.1
func (o *GetLibraryHubsMetadata) GetTitle() *string
func (*GetLibraryHubsMetadata) GetType ¶ added in v0.1.1
func (o *GetLibraryHubsMetadata) GetType() *string
func (*GetLibraryHubsMetadata) GetUpdatedAt ¶ added in v0.1.1
func (o *GetLibraryHubsMetadata) GetUpdatedAt() *int
func (*GetLibraryHubsMetadata) GetViewCount ¶ added in v0.1.1
func (o *GetLibraryHubsMetadata) GetViewCount() *int
func (*GetLibraryHubsMetadata) GetWriter ¶ added in v0.1.1
func (o *GetLibraryHubsMetadata) GetWriter() []GetLibraryHubsWriter
func (*GetLibraryHubsMetadata) GetYear ¶ added in v0.1.1
func (o *GetLibraryHubsMetadata) GetYear() *int
func (GetLibraryHubsMetadata) MarshalJSON ¶ added in v0.1.1
func (g GetLibraryHubsMetadata) MarshalJSON() ([]byte, error)
func (*GetLibraryHubsMetadata) UnmarshalJSON ¶ added in v0.1.1
func (g *GetLibraryHubsMetadata) UnmarshalJSON(data []byte) error
type GetLibraryHubsPart ¶ added in v0.1.1
type GetLibraryHubsPart struct {
ID *int `json:"id,omitempty"`
Key *string `json:"key,omitempty"`
Duration *int `json:"duration,omitempty"`
File *string `json:"file,omitempty"`
Size *int `json:"size,omitempty"`
AudioProfile *string `json:"audioProfile,omitempty"`
Container *string `json:"container,omitempty"`
Has64bitOffsets *bool `json:"has64bitOffsets,omitempty"`
OptimizedForStreaming *bool `json:"optimizedForStreaming,omitempty"`
VideoProfile *string `json:"videoProfile,omitempty"`
}
func (*GetLibraryHubsPart) GetAudioProfile ¶ added in v0.1.1
func (o *GetLibraryHubsPart) GetAudioProfile() *string
func (*GetLibraryHubsPart) GetContainer ¶ added in v0.1.1
func (o *GetLibraryHubsPart) GetContainer() *string
func (*GetLibraryHubsPart) GetDuration ¶ added in v0.1.1
func (o *GetLibraryHubsPart) GetDuration() *int
func (*GetLibraryHubsPart) GetFile ¶ added in v0.1.1
func (o *GetLibraryHubsPart) GetFile() *string
func (*GetLibraryHubsPart) GetHas64bitOffsets ¶ added in v0.1.1
func (o *GetLibraryHubsPart) GetHas64bitOffsets() *bool
func (*GetLibraryHubsPart) GetID ¶ added in v0.1.1
func (o *GetLibraryHubsPart) GetID() *int
func (*GetLibraryHubsPart) GetKey ¶ added in v0.1.1
func (o *GetLibraryHubsPart) GetKey() *string
func (*GetLibraryHubsPart) GetOptimizedForStreaming ¶ added in v0.1.1
func (o *GetLibraryHubsPart) GetOptimizedForStreaming() *bool
func (*GetLibraryHubsPart) GetSize ¶ added in v0.1.1
func (o *GetLibraryHubsPart) GetSize() *int
func (*GetLibraryHubsPart) GetVideoProfile ¶ added in v0.1.1
func (o *GetLibraryHubsPart) GetVideoProfile() *string
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
// The hubs specific to the library
Object *GetLibraryHubsResponseBody
}
func (*GetLibraryHubsResponse) GetContentType ¶
func (o *GetLibraryHubsResponse) GetContentType() string
func (*GetLibraryHubsResponse) GetObject ¶ added in v0.1.1
func (o *GetLibraryHubsResponse) GetObject() *GetLibraryHubsResponseBody
func (*GetLibraryHubsResponse) GetRawResponse ¶
func (o *GetLibraryHubsResponse) GetRawResponse() *http.Response
func (*GetLibraryHubsResponse) GetStatusCode ¶
func (o *GetLibraryHubsResponse) GetStatusCode() int
type GetLibraryHubsResponseBody ¶ added in v0.1.1
type GetLibraryHubsResponseBody struct {
MediaContainer *GetLibraryHubsMediaContainer `json:"MediaContainer,omitempty"`
}
GetLibraryHubsResponseBody - The hubs specific to the library
func (*GetLibraryHubsResponseBody) GetMediaContainer ¶ added in v0.1.1
func (o *GetLibraryHubsResponseBody) GetMediaContainer() *GetLibraryHubsMediaContainer
type GetLibraryHubsRole ¶ added in v0.1.1
type GetLibraryHubsRole struct {
Tag *string `json:"tag,omitempty"`
}
func (*GetLibraryHubsRole) GetTag ¶ added in v0.1.1
func (o *GetLibraryHubsRole) GetTag() *string
type GetLibraryHubsWriter ¶ added in v0.1.1
type GetLibraryHubsWriter struct {
Tag *string `json:"tag,omitempty"`
}
func (*GetLibraryHubsWriter) GetTag ¶ added in v0.1.1
func (o *GetLibraryHubsWriter) GetTag() *string
type GetLibraryItemsCountry ¶ added in v0.1.1
type GetLibraryItemsCountry struct {
Tag *string `json:"tag,omitempty"`
}
func (*GetLibraryItemsCountry) GetTag ¶ added in v0.1.1
func (o *GetLibraryItemsCountry) GetTag() *string
type GetLibraryItemsDirector ¶ added in v0.1.1
type GetLibraryItemsDirector struct {
Tag *string `json:"tag,omitempty"`
}
func (*GetLibraryItemsDirector) GetTag ¶ added in v0.1.1
func (o *GetLibraryItemsDirector) GetTag() *string
type GetLibraryItemsGenre ¶ added in v0.1.1
type GetLibraryItemsGenre struct {
Tag *string `json:"tag,omitempty"`
}
func (*GetLibraryItemsGenre) GetTag ¶ added in v0.1.1
func (o *GetLibraryItemsGenre) GetTag() *string
type GetLibraryItemsMedia ¶ added in v0.1.1
type GetLibraryItemsMedia struct {
ID *int `json:"id,omitempty"`
Duration *int `json:"duration,omitempty"`
Bitrate *int `json:"bitrate,omitempty"`
Width *int `json:"width,omitempty"`
Height *int `json:"height,omitempty"`
AspectRatio *float64 `json:"aspectRatio,omitempty"`
AudioChannels *int `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"`
VideoProfile *string `json:"videoProfile,omitempty"`
Part []GetLibraryItemsPart `json:"Part,omitempty"`
}
func (*GetLibraryItemsMedia) GetAspectRatio ¶ added in v0.1.1
func (o *GetLibraryItemsMedia) GetAspectRatio() *float64
func (*GetLibraryItemsMedia) GetAudioChannels ¶ added in v0.1.1
func (o *GetLibraryItemsMedia) GetAudioChannels() *int
func (*GetLibraryItemsMedia) GetAudioCodec ¶ added in v0.1.1
func (o *GetLibraryItemsMedia) GetAudioCodec() *string
func (*GetLibraryItemsMedia) GetBitrate ¶ added in v0.1.1
func (o *GetLibraryItemsMedia) GetBitrate() *int
func (*GetLibraryItemsMedia) GetContainer ¶ added in v0.1.1
func (o *GetLibraryItemsMedia) GetContainer() *string
func (*GetLibraryItemsMedia) GetDuration ¶ added in v0.1.1
func (o *GetLibraryItemsMedia) GetDuration() *int
func (*GetLibraryItemsMedia) GetHeight ¶ added in v0.1.1
func (o *GetLibraryItemsMedia) GetHeight() *int
func (*GetLibraryItemsMedia) GetID ¶ added in v0.1.1
func (o *GetLibraryItemsMedia) GetID() *int
func (*GetLibraryItemsMedia) GetPart ¶ added in v0.1.1
func (o *GetLibraryItemsMedia) GetPart() []GetLibraryItemsPart
func (*GetLibraryItemsMedia) GetVideoCodec ¶ added in v0.1.1
func (o *GetLibraryItemsMedia) GetVideoCodec() *string
func (*GetLibraryItemsMedia) GetVideoFrameRate ¶ added in v0.1.1
func (o *GetLibraryItemsMedia) GetVideoFrameRate() *string
func (*GetLibraryItemsMedia) GetVideoProfile ¶ added in v0.1.1
func (o *GetLibraryItemsMedia) GetVideoProfile() *string
func (*GetLibraryItemsMedia) GetVideoResolution ¶ added in v0.1.1
func (o *GetLibraryItemsMedia) GetVideoResolution() *string
func (*GetLibraryItemsMedia) GetWidth ¶ added in v0.1.1
func (o *GetLibraryItemsMedia) GetWidth() *int
type GetLibraryItemsMediaContainer ¶ added in v0.1.1
type GetLibraryItemsMediaContainer struct {
Size *int `json:"size,omitempty"`
AllowSync *bool `json:"allowSync,omitempty"`
Art *string `json:"art,omitempty"`
Identifier *string `json:"identifier,omitempty"`
LibrarySectionID *int `json:"librarySectionID,omitempty"`
LibrarySectionTitle *string `json:"librarySectionTitle,omitempty"`
LibrarySectionUUID *string `json:"librarySectionUUID,omitempty"`
MediaTagPrefix *string `json:"mediaTagPrefix,omitempty"`
MediaTagVersion *int `json:"mediaTagVersion,omitempty"`
Thumb *string `json:"thumb,omitempty"`
Title1 *string `json:"title1,omitempty"`
Title2 *string `json:"title2,omitempty"`
ViewGroup *string `json:"viewGroup,omitempty"`
ViewMode *int `json:"viewMode,omitempty"`
MixedParents *bool `json:"mixedParents,omitempty"`
Metadata []GetLibraryItemsMetadata `json:"Metadata,omitempty"`
}
func (*GetLibraryItemsMediaContainer) GetAllowSync ¶ added in v0.1.1
func (o *GetLibraryItemsMediaContainer) GetAllowSync() *bool
func (*GetLibraryItemsMediaContainer) GetArt ¶ added in v0.1.1
func (o *GetLibraryItemsMediaContainer) GetArt() *string
func (*GetLibraryItemsMediaContainer) GetIdentifier ¶ added in v0.1.1
func (o *GetLibraryItemsMediaContainer) GetIdentifier() *string
func (*GetLibraryItemsMediaContainer) GetLibrarySectionID ¶ added in v0.1.1
func (o *GetLibraryItemsMediaContainer) GetLibrarySectionID() *int
func (*GetLibraryItemsMediaContainer) GetLibrarySectionTitle ¶ added in v0.1.1
func (o *GetLibraryItemsMediaContainer) GetLibrarySectionTitle() *string
func (*GetLibraryItemsMediaContainer) GetLibrarySectionUUID ¶ added in v0.1.1
func (o *GetLibraryItemsMediaContainer) GetLibrarySectionUUID() *string
func (*GetLibraryItemsMediaContainer) GetMediaTagPrefix ¶ added in v0.1.1
func (o *GetLibraryItemsMediaContainer) GetMediaTagPrefix() *string
func (*GetLibraryItemsMediaContainer) GetMediaTagVersion ¶ added in v0.1.1
func (o *GetLibraryItemsMediaContainer) GetMediaTagVersion() *int
func (*GetLibraryItemsMediaContainer) GetMetadata ¶ added in v0.1.1
func (o *GetLibraryItemsMediaContainer) GetMetadata() []GetLibraryItemsMetadata
func (*GetLibraryItemsMediaContainer) GetMixedParents ¶ added in v0.1.3
func (o *GetLibraryItemsMediaContainer) GetMixedParents() *bool
func (*GetLibraryItemsMediaContainer) GetSize ¶ added in v0.1.1
func (o *GetLibraryItemsMediaContainer) GetSize() *int
func (*GetLibraryItemsMediaContainer) GetThumb ¶ added in v0.1.1
func (o *GetLibraryItemsMediaContainer) GetThumb() *string
func (*GetLibraryItemsMediaContainer) GetTitle1 ¶ added in v0.1.1
func (o *GetLibraryItemsMediaContainer) GetTitle1() *string
func (*GetLibraryItemsMediaContainer) GetTitle2 ¶ added in v0.1.1
func (o *GetLibraryItemsMediaContainer) GetTitle2() *string
func (*GetLibraryItemsMediaContainer) GetViewGroup ¶ added in v0.1.1
func (o *GetLibraryItemsMediaContainer) GetViewGroup() *string
func (*GetLibraryItemsMediaContainer) GetViewMode ¶ added in v0.1.1
func (o *GetLibraryItemsMediaContainer) GetViewMode() *int
type GetLibraryItemsMetadata ¶ added in v0.1.1
type GetLibraryItemsMetadata struct {
RatingKey *string `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 *int `json:"year,omitempty"`
Tagline *string `json:"tagline,omitempty"`
Thumb *string `json:"thumb,omitempty"`
Art *string `json:"art,omitempty"`
Duration *int `json:"duration,omitempty"`
OriginallyAvailableAt *types.Date `json:"originallyAvailableAt,omitempty"`
AddedAt *int `json:"addedAt,omitempty"`
UpdatedAt *int `json:"updatedAt,omitempty"`
AudienceRatingImage *string `json:"audienceRatingImage,omitempty"`
ChapterSource *string `json:"chapterSource,omitempty"`
PrimaryExtraKey *string `json:"primaryExtraKey,omitempty"`
RatingImage *string `json:"ratingImage,omitempty"`
GrandparentRatingKey *string `json:"grandparentRatingKey,omitempty"`
GrandparentGUID *string `json:"grandparentGuid,omitempty"`
GrandparentKey *string `json:"grandparentKey,omitempty"`
GrandparentTitle *string `json:"grandparentTitle,omitempty"`
GrandparentThumb *string `json:"grandparentThumb,omitempty"`
GrandparentArt *string `json:"grandparentArt,omitempty"`
GrandparentTheme *string `json:"grandparentTheme,omitempty"`
Media []GetLibraryItemsMedia `json:"Media,omitempty"`
Genre []GetLibraryItemsGenre `json:"Genre,omitempty"`
Country []GetLibraryItemsCountry `json:"Country,omitempty"`
Director []GetLibraryItemsDirector `json:"Director,omitempty"`
Writer []GetLibraryItemsWriter `json:"Writer,omitempty"`
Role []GetLibraryItemsRole `json:"Role,omitempty"`
TitleSort *string `json:"titleSort,omitempty"`
ViewCount *int `json:"viewCount,omitempty"`
LastViewedAt *int `json:"lastViewedAt,omitempty"`
OriginalTitle *string `json:"originalTitle,omitempty"`
ViewOffset *int `json:"viewOffset,omitempty"`
SkipCount *int `json:"skipCount,omitempty"`
Index *int `json:"index,omitempty"`
Theme *string `json:"theme,omitempty"`
LeafCount *int `json:"leafCount,omitempty"`
ViewedLeafCount *int `json:"viewedLeafCount,omitempty"`
ChildCount *int `json:"childCount,omitempty"`
HasPremiumExtras *string `json:"hasPremiumExtras,omitempty"`
HasPremiumPrimaryExtra *string `json:"hasPremiumPrimaryExtra,omitempty"`
ParentRatingKey *string `json:"parentRatingKey,omitempty"`
ParentGUID *string `json:"parentGuid,omitempty"`
ParentStudio *string `json:"parentStudio,omitempty"`
ParentKey *string `json:"parentKey,omitempty"`
ParentTitle *string `json:"parentTitle,omitempty"`
ParentIndex *int `json:"parentIndex,omitempty"`
ParentYear *int `json:"parentYear,omitempty"`
ParentThumb *string `json:"parentThumb,omitempty"`
ParentTheme *string `json:"parentTheme,omitempty"`
}
func (*GetLibraryItemsMetadata) GetAddedAt ¶ added in v0.1.1
func (o *GetLibraryItemsMetadata) GetAddedAt() *int
func (*GetLibraryItemsMetadata) GetArt ¶ added in v0.1.1
func (o *GetLibraryItemsMetadata) GetArt() *string
func (*GetLibraryItemsMetadata) GetAudienceRating ¶ added in v0.1.1
func (o *GetLibraryItemsMetadata) GetAudienceRating() *float64
func (*GetLibraryItemsMetadata) GetAudienceRatingImage ¶ added in v0.1.1
func (o *GetLibraryItemsMetadata) GetAudienceRatingImage() *string
func (*GetLibraryItemsMetadata) GetChapterSource ¶ added in v0.1.1
func (o *GetLibraryItemsMetadata) GetChapterSource() *string
func (*GetLibraryItemsMetadata) GetChildCount ¶ added in v0.1.3
func (o *GetLibraryItemsMetadata) GetChildCount() *int
func (*GetLibraryItemsMetadata) GetContentRating ¶ added in v0.1.1
func (o *GetLibraryItemsMetadata) GetContentRating() *string
func (*GetLibraryItemsMetadata) GetCountry ¶ added in v0.1.1
func (o *GetLibraryItemsMetadata) GetCountry() []GetLibraryItemsCountry
func (*GetLibraryItemsMetadata) GetDirector ¶ added in v0.1.1
func (o *GetLibraryItemsMetadata) GetDirector() []GetLibraryItemsDirector
func (*GetLibraryItemsMetadata) GetDuration ¶ added in v0.1.1
func (o *GetLibraryItemsMetadata) GetDuration() *int
func (*GetLibraryItemsMetadata) GetGUID ¶ added in v0.1.1
func (o *GetLibraryItemsMetadata) GetGUID() *string
func (*GetLibraryItemsMetadata) GetGenre ¶ added in v0.1.1
func (o *GetLibraryItemsMetadata) GetGenre() []GetLibraryItemsGenre
func (*GetLibraryItemsMetadata) GetGrandparentArt ¶ added in v0.1.3
func (o *GetLibraryItemsMetadata) GetGrandparentArt() *string
func (*GetLibraryItemsMetadata) GetGrandparentGUID ¶ added in v0.1.3
func (o *GetLibraryItemsMetadata) GetGrandparentGUID() *string
func (*GetLibraryItemsMetadata) GetGrandparentKey ¶ added in v0.1.3
func (o *GetLibraryItemsMetadata) GetGrandparentKey() *string
func (*GetLibraryItemsMetadata) GetGrandparentRatingKey ¶ added in v0.1.3
func (o *GetLibraryItemsMetadata) GetGrandparentRatingKey() *string
func (*GetLibraryItemsMetadata) GetGrandparentTheme ¶ added in v0.1.3
func (o *GetLibraryItemsMetadata) GetGrandparentTheme() *string
func (*GetLibraryItemsMetadata) GetGrandparentThumb ¶ added in v0.1.3
func (o *GetLibraryItemsMetadata) GetGrandparentThumb() *string
func (*GetLibraryItemsMetadata) GetGrandparentTitle ¶ added in v0.1.3
func (o *GetLibraryItemsMetadata) GetGrandparentTitle() *string
func (*GetLibraryItemsMetadata) GetHasPremiumExtras ¶ added in v0.1.3
func (o *GetLibraryItemsMetadata) GetHasPremiumExtras() *string
func (*GetLibraryItemsMetadata) GetHasPremiumPrimaryExtra ¶ added in v0.1.3
func (o *GetLibraryItemsMetadata) GetHasPremiumPrimaryExtra() *string
func (*GetLibraryItemsMetadata) GetIndex ¶ added in v0.1.3
func (o *GetLibraryItemsMetadata) GetIndex() *int
func (*GetLibraryItemsMetadata) GetKey ¶ added in v0.1.1
func (o *GetLibraryItemsMetadata) GetKey() *string
func (*GetLibraryItemsMetadata) GetLastViewedAt ¶ added in v0.1.1
func (o *GetLibraryItemsMetadata) GetLastViewedAt() *int
func (*GetLibraryItemsMetadata) GetLeafCount ¶ added in v0.1.3
func (o *GetLibraryItemsMetadata) GetLeafCount() *int
func (*GetLibraryItemsMetadata) GetMedia ¶ added in v0.1.1
func (o *GetLibraryItemsMetadata) GetMedia() []GetLibraryItemsMedia
func (*GetLibraryItemsMetadata) GetOriginalTitle ¶ added in v0.1.1
func (o *GetLibraryItemsMetadata) GetOriginalTitle() *string
func (*GetLibraryItemsMetadata) GetOriginallyAvailableAt ¶ added in v0.1.1
func (o *GetLibraryItemsMetadata) GetOriginallyAvailableAt() *types.Date
func (*GetLibraryItemsMetadata) GetParentGUID ¶ added in v0.1.3
func (o *GetLibraryItemsMetadata) GetParentGUID() *string
func (*GetLibraryItemsMetadata) GetParentIndex ¶ added in v0.1.3
func (o *GetLibraryItemsMetadata) GetParentIndex() *int
func (*GetLibraryItemsMetadata) GetParentKey ¶ added in v0.1.3
func (o *GetLibraryItemsMetadata) GetParentKey() *string
func (*GetLibraryItemsMetadata) GetParentRatingKey ¶ added in v0.1.3
func (o *GetLibraryItemsMetadata) GetParentRatingKey() *string
func (*GetLibraryItemsMetadata) GetParentStudio ¶ added in v0.1.3
func (o *GetLibraryItemsMetadata) GetParentStudio() *string
func (*GetLibraryItemsMetadata) GetParentTheme ¶ added in v0.1.3
func (o *GetLibraryItemsMetadata) GetParentTheme() *string
func (*GetLibraryItemsMetadata) GetParentThumb ¶ added in v0.1.3
func (o *GetLibraryItemsMetadata) GetParentThumb() *string
func (*GetLibraryItemsMetadata) GetParentTitle ¶ added in v0.1.3
func (o *GetLibraryItemsMetadata) GetParentTitle() *string
func (*GetLibraryItemsMetadata) GetParentYear ¶ added in v0.1.3
func (o *GetLibraryItemsMetadata) GetParentYear() *int
func (*GetLibraryItemsMetadata) GetPrimaryExtraKey ¶ added in v0.1.1
func (o *GetLibraryItemsMetadata) GetPrimaryExtraKey() *string
func (*GetLibraryItemsMetadata) GetRating ¶ added in v0.1.1
func (o *GetLibraryItemsMetadata) GetRating() *float64
func (*GetLibraryItemsMetadata) GetRatingImage ¶ added in v0.1.1
func (o *GetLibraryItemsMetadata) GetRatingImage() *string
func (*GetLibraryItemsMetadata) GetRatingKey ¶ added in v0.1.1
func (o *GetLibraryItemsMetadata) GetRatingKey() *string
func (*GetLibraryItemsMetadata) GetRole ¶ added in v0.1.1
func (o *GetLibraryItemsMetadata) GetRole() []GetLibraryItemsRole
func (*GetLibraryItemsMetadata) GetSkipCount ¶ added in v0.1.1
func (o *GetLibraryItemsMetadata) GetSkipCount() *int
func (*GetLibraryItemsMetadata) GetStudio ¶ added in v0.1.1
func (o *GetLibraryItemsMetadata) GetStudio() *string
func (*GetLibraryItemsMetadata) GetSummary ¶ added in v0.1.1
func (o *GetLibraryItemsMetadata) GetSummary() *string
func (*GetLibraryItemsMetadata) GetTagline ¶ added in v0.1.1
func (o *GetLibraryItemsMetadata) GetTagline() *string
func (*GetLibraryItemsMetadata) GetTheme ¶ added in v0.1.3
func (o *GetLibraryItemsMetadata) GetTheme() *string
func (*GetLibraryItemsMetadata) GetThumb ¶ added in v0.1.1
func (o *GetLibraryItemsMetadata) GetThumb() *string
func (*GetLibraryItemsMetadata) GetTitle ¶ added in v0.1.1
func (o *GetLibraryItemsMetadata) GetTitle() *string
func (*GetLibraryItemsMetadata) GetTitleSort ¶ added in v0.1.1
func (o *GetLibraryItemsMetadata) GetTitleSort() *string
func (*GetLibraryItemsMetadata) GetType ¶ added in v0.1.1
func (o *GetLibraryItemsMetadata) GetType() *string
func (*GetLibraryItemsMetadata) GetUpdatedAt ¶ added in v0.1.1
func (o *GetLibraryItemsMetadata) GetUpdatedAt() *int
func (*GetLibraryItemsMetadata) GetViewCount ¶ added in v0.1.1
func (o *GetLibraryItemsMetadata) GetViewCount() *int
func (*GetLibraryItemsMetadata) GetViewOffset ¶ added in v0.1.1
func (o *GetLibraryItemsMetadata) GetViewOffset() *int
func (*GetLibraryItemsMetadata) GetViewedLeafCount ¶ added in v0.1.3
func (o *GetLibraryItemsMetadata) GetViewedLeafCount() *int
func (*GetLibraryItemsMetadata) GetWriter ¶ added in v0.1.1
func (o *GetLibraryItemsMetadata) GetWriter() []GetLibraryItemsWriter
func (*GetLibraryItemsMetadata) GetYear ¶ added in v0.1.1
func (o *GetLibraryItemsMetadata) GetYear() *int
func (GetLibraryItemsMetadata) MarshalJSON ¶ added in v0.1.1
func (g GetLibraryItemsMetadata) MarshalJSON() ([]byte, error)
func (*GetLibraryItemsMetadata) UnmarshalJSON ¶ added in v0.1.1
func (g *GetLibraryItemsMetadata) UnmarshalJSON(data []byte) error
type GetLibraryItemsPart ¶ added in v0.1.1
type GetLibraryItemsPart struct {
ID *int `json:"id,omitempty"`
Key *string `json:"key,omitempty"`
Duration *int `json:"duration,omitempty"`
File *string `json:"file,omitempty"`
Size *int64 `json:"size,omitempty"`
Container *string `json:"container,omitempty"`
VideoProfile *string `json:"videoProfile,omitempty"`
}
func (*GetLibraryItemsPart) GetContainer ¶ added in v0.1.1
func (o *GetLibraryItemsPart) GetContainer() *string
func (*GetLibraryItemsPart) GetDuration ¶ added in v0.1.1
func (o *GetLibraryItemsPart) GetDuration() *int
func (*GetLibraryItemsPart) GetFile ¶ added in v0.1.1
func (o *GetLibraryItemsPart) GetFile() *string
func (*GetLibraryItemsPart) GetID ¶ added in v0.1.1
func (o *GetLibraryItemsPart) GetID() *int
func (*GetLibraryItemsPart) GetKey ¶ added in v0.1.1
func (o *GetLibraryItemsPart) GetKey() *string
func (*GetLibraryItemsPart) GetSize ¶ added in v0.1.1
func (o *GetLibraryItemsPart) GetSize() *int64
func (*GetLibraryItemsPart) GetVideoProfile ¶ added in v0.1.1
func (o *GetLibraryItemsPart) GetVideoProfile() *string
type GetLibraryItemsRequest ¶
type GetLibraryItemsRequest struct {
// the Id of the library to query
SectionID int64 `pathParam:"style=simple,explode=false,name=sectionId"`
// A key representing a specific tag within the section.
Tag Tag `pathParam:"style=simple,explode=false,name=tag"`
}
func (*GetLibraryItemsRequest) GetSectionID ¶
func (o *GetLibraryItemsRequest) GetSectionID() int64
func (*GetLibraryItemsRequest) GetTag ¶ added in v0.1.1
func (o *GetLibraryItemsRequest) GetTag() Tag
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
// The contents of the library by section and tag
Object *GetLibraryItemsResponseBody
}
func (*GetLibraryItemsResponse) GetContentType ¶
func (o *GetLibraryItemsResponse) GetContentType() string
func (*GetLibraryItemsResponse) GetObject ¶ added in v0.1.1
func (o *GetLibraryItemsResponse) GetObject() *GetLibraryItemsResponseBody
func (*GetLibraryItemsResponse) GetRawResponse ¶
func (o *GetLibraryItemsResponse) GetRawResponse() *http.Response
func (*GetLibraryItemsResponse) GetStatusCode ¶
func (o *GetLibraryItemsResponse) GetStatusCode() int
type GetLibraryItemsResponseBody ¶ added in v0.1.1
type GetLibraryItemsResponseBody struct {
MediaContainer *GetLibraryItemsMediaContainer `json:"MediaContainer,omitempty"`
}
GetLibraryItemsResponseBody - The contents of the library by section and tag
func (*GetLibraryItemsResponseBody) GetMediaContainer ¶ added in v0.1.1
func (o *GetLibraryItemsResponseBody) GetMediaContainer() *GetLibraryItemsMediaContainer
type GetLibraryItemsRole ¶ added in v0.1.1
type GetLibraryItemsRole struct {
Tag *string `json:"tag,omitempty"`
}
func (*GetLibraryItemsRole) GetTag ¶ added in v0.1.1
func (o *GetLibraryItemsRole) GetTag() *string
type GetLibraryItemsWriter ¶ added in v0.1.1
type GetLibraryItemsWriter struct {
Tag *string `json:"tag,omitempty"`
}
func (*GetLibraryItemsWriter) GetTag ¶ added in v0.1.1
func (o *GetLibraryItemsWriter) GetTag() *string
type GetLibraryMediaContainer ¶ added in v0.0.5
type GetLibraryMediaContainer struct {
Size *int `json:"size,omitempty"`
AllowSync *bool `json:"allowSync,omitempty"`
Art *string `json:"art,omitempty"`
Content *string `json:"content,omitempty"`
Identifier *string `json:"identifier,omitempty"`
LibrarySectionID *int `json:"librarySectionID,omitempty"`
MediaTagPrefix *string `json:"mediaTagPrefix,omitempty"`
MediaTagVersion *int `json:"mediaTagVersion,omitempty"`
Thumb *string `json:"thumb,omitempty"`
Title1 *string `json:"title1,omitempty"`
ViewGroup *string `json:"viewGroup,omitempty"`
ViewMode *int `json:"viewMode,omitempty"`
Directory []GetLibraryDirectory `json:"Directory,omitempty"`
Type []GetLibraryType `json:"Type,omitempty"`
FieldType []FieldType `json:"FieldType,omitempty"`
}
func (*GetLibraryMediaContainer) GetAllowSync ¶ added in v0.0.5
func (o *GetLibraryMediaContainer) GetAllowSync() *bool
func (*GetLibraryMediaContainer) GetArt ¶ added in v0.0.5
func (o *GetLibraryMediaContainer) GetArt() *string
func (*GetLibraryMediaContainer) GetContent ¶ added in v0.0.5
func (o *GetLibraryMediaContainer) GetContent() *string
func (*GetLibraryMediaContainer) GetDirectory ¶ added in v0.0.5
func (o *GetLibraryMediaContainer) GetDirectory() []GetLibraryDirectory
func (*GetLibraryMediaContainer) GetFieldType ¶ added in v0.1.0
func (o *GetLibraryMediaContainer) GetFieldType() []FieldType
func (*GetLibraryMediaContainer) GetIdentifier ¶ added in v0.0.5
func (o *GetLibraryMediaContainer) GetIdentifier() *string
func (*GetLibraryMediaContainer) GetLibrarySectionID ¶ added in v0.0.5
func (o *GetLibraryMediaContainer) GetLibrarySectionID() *int
func (*GetLibraryMediaContainer) GetMediaTagPrefix ¶ added in v0.0.5
func (o *GetLibraryMediaContainer) GetMediaTagPrefix() *string
func (*GetLibraryMediaContainer) GetMediaTagVersion ¶ added in v0.0.5
func (o *GetLibraryMediaContainer) GetMediaTagVersion() *int
func (*GetLibraryMediaContainer) GetSize ¶ added in v0.0.5
func (o *GetLibraryMediaContainer) GetSize() *int
func (*GetLibraryMediaContainer) GetThumb ¶ added in v0.0.5
func (o *GetLibraryMediaContainer) GetThumb() *string
func (*GetLibraryMediaContainer) GetTitle1 ¶ added in v0.0.5
func (o *GetLibraryMediaContainer) GetTitle1() *string
func (*GetLibraryMediaContainer) GetType ¶ added in v0.1.0
func (o *GetLibraryMediaContainer) GetType() []GetLibraryType
func (*GetLibraryMediaContainer) GetViewGroup ¶ added in v0.0.5
func (o *GetLibraryMediaContainer) GetViewGroup() *string
func (*GetLibraryMediaContainer) GetViewMode ¶ added in v0.0.5
func (o *GetLibraryMediaContainer) GetViewMode() *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
// The details of the library
Object *GetLibraryResponseBody
}
func (*GetLibraryResponse) GetContentType ¶
func (o *GetLibraryResponse) GetContentType() string
func (*GetLibraryResponse) GetObject ¶ added in v0.0.5
func (o *GetLibraryResponse) GetObject() *GetLibraryResponseBody
func (*GetLibraryResponse) GetRawResponse ¶
func (o *GetLibraryResponse) GetRawResponse() *http.Response
func (*GetLibraryResponse) GetStatusCode ¶
func (o *GetLibraryResponse) GetStatusCode() int
type GetLibraryResponseBody ¶ added in v0.0.5
type GetLibraryResponseBody struct {
MediaContainer *GetLibraryMediaContainer `json:"MediaContainer,omitempty"`
}
GetLibraryResponseBody - The details of the library
func (*GetLibraryResponseBody) GetMediaContainer ¶ added in v0.0.5
func (o *GetLibraryResponseBody) GetMediaContainer() *GetLibraryMediaContainer
type GetLibraryType ¶ added in v0.1.0
type GetLibraryType struct {
Key *string `json:"key,omitempty"`
Type *string `json:"type,omitempty"`
Title *string `json:"title,omitempty"`
Active *bool `json:"active,omitempty"`
Filter []Filter `json:"Filter,omitempty"`
Sort []Sort `json:"Sort,omitempty"`
Field []Field `json:"Field,omitempty"`
}
func (*GetLibraryType) GetActive ¶ added in v0.1.0
func (o *GetLibraryType) GetActive() *bool
func (*GetLibraryType) GetField ¶ added in v0.1.0
func (o *GetLibraryType) GetField() []Field
func (*GetLibraryType) GetFilter ¶ added in v0.1.0
func (o *GetLibraryType) GetFilter() []Filter
func (*GetLibraryType) GetKey ¶ added in v0.1.0
func (o *GetLibraryType) GetKey() *string
func (*GetLibraryType) GetSort ¶ added in v0.1.0
func (o *GetLibraryType) GetSort() []Sort
func (*GetLibraryType) GetTitle ¶ added in v0.1.0
func (o *GetLibraryType) GetTitle() *string
func (*GetLibraryType) GetType ¶ added in v0.1.0
func (o *GetLibraryType) GetType() *string
type GetMetadataChildrenDirectory ¶ added in v0.1.1
type GetMetadataChildrenDirectory struct {
LeafCount *int `json:"leafCount,omitempty"`
Thumb *string `json:"thumb,omitempty"`
ViewedLeafCount *int `json:"viewedLeafCount,omitempty"`
Key *string `json:"key,omitempty"`
Title *string `json:"title,omitempty"`
}
func (*GetMetadataChildrenDirectory) GetKey ¶ added in v0.1.1
func (o *GetMetadataChildrenDirectory) GetKey() *string
func (*GetMetadataChildrenDirectory) GetLeafCount ¶ added in v0.1.1
func (o *GetMetadataChildrenDirectory) GetLeafCount() *int
func (*GetMetadataChildrenDirectory) GetThumb ¶ added in v0.1.1
func (o *GetMetadataChildrenDirectory) GetThumb() *string
func (*GetMetadataChildrenDirectory) GetTitle ¶ added in v0.1.1
func (o *GetMetadataChildrenDirectory) GetTitle() *string
func (*GetMetadataChildrenDirectory) GetViewedLeafCount ¶ added in v0.1.1
func (o *GetMetadataChildrenDirectory) GetViewedLeafCount() *int
type GetMetadataChildrenMediaContainer ¶ added in v0.1.1
type GetMetadataChildrenMediaContainer struct {
Size *int `json:"size,omitempty"`
AllowSync *bool `json:"allowSync,omitempty"`
Art *string `json:"art,omitempty"`
Identifier *string `json:"identifier,omitempty"`
Key *string `json:"key,omitempty"`
LibrarySectionID *int `json:"librarySectionID,omitempty"`
LibrarySectionTitle *string `json:"librarySectionTitle,omitempty"`
LibrarySectionUUID *string `json:"librarySectionUUID,omitempty"`
MediaTagPrefix *string `json:"mediaTagPrefix,omitempty"`
MediaTagVersion *int `json:"mediaTagVersion,omitempty"`
Nocache *bool `json:"nocache,omitempty"`
ParentIndex *int `json:"parentIndex,omitempty"`
ParentTitle *string `json:"parentTitle,omitempty"`
ParentYear *int `json:"parentYear,omitempty"`
Summary *string `json:"summary,omitempty"`
Theme *string `json:"theme,omitempty"`
Thumb *string `json:"thumb,omitempty"`
Title1 *string `json:"title1,omitempty"`
Title2 *string `json:"title2,omitempty"`
ViewGroup *string `json:"viewGroup,omitempty"`
ViewMode *int `json:"viewMode,omitempty"`
Directory []GetMetadataChildrenDirectory `json:"Directory,omitempty"`
Metadata []GetMetadataChildrenMetadata `json:"Metadata,omitempty"`
}
func (*GetMetadataChildrenMediaContainer) GetAllowSync ¶ added in v0.1.1
func (o *GetMetadataChildrenMediaContainer) GetAllowSync() *bool
func (*GetMetadataChildrenMediaContainer) GetArt ¶ added in v0.1.1
func (o *GetMetadataChildrenMediaContainer) GetArt() *string
func (*GetMetadataChildrenMediaContainer) GetDirectory ¶ added in v0.1.1
func (o *GetMetadataChildrenMediaContainer) GetDirectory() []GetMetadataChildrenDirectory
func (*GetMetadataChildrenMediaContainer) GetIdentifier ¶ added in v0.1.1
func (o *GetMetadataChildrenMediaContainer) GetIdentifier() *string
func (*GetMetadataChildrenMediaContainer) GetKey ¶ added in v0.1.1
func (o *GetMetadataChildrenMediaContainer) GetKey() *string
func (*GetMetadataChildrenMediaContainer) GetLibrarySectionID ¶ added in v0.1.1
func (o *GetMetadataChildrenMediaContainer) GetLibrarySectionID() *int
func (*GetMetadataChildrenMediaContainer) GetLibrarySectionTitle ¶ added in v0.1.1
func (o *GetMetadataChildrenMediaContainer) GetLibrarySectionTitle() *string
func (*GetMetadataChildrenMediaContainer) GetLibrarySectionUUID ¶ added in v0.1.1
func (o *GetMetadataChildrenMediaContainer) GetLibrarySectionUUID() *string
func (*GetMetadataChildrenMediaContainer) GetMediaTagPrefix ¶ added in v0.1.1
func (o *GetMetadataChildrenMediaContainer) GetMediaTagPrefix() *string
func (*GetMetadataChildrenMediaContainer) GetMediaTagVersion ¶ added in v0.1.1
func (o *GetMetadataChildrenMediaContainer) GetMediaTagVersion() *int
func (*GetMetadataChildrenMediaContainer) GetMetadata ¶ added in v0.1.1
func (o *GetMetadataChildrenMediaContainer) GetMetadata() []GetMetadataChildrenMetadata
func (*GetMetadataChildrenMediaContainer) GetNocache ¶ added in v0.1.1
func (o *GetMetadataChildrenMediaContainer) GetNocache() *bool
func (*GetMetadataChildrenMediaContainer) GetParentIndex ¶ added in v0.1.1
func (o *GetMetadataChildrenMediaContainer) GetParentIndex() *int
func (*GetMetadataChildrenMediaContainer) GetParentTitle ¶ added in v0.1.1
func (o *GetMetadataChildrenMediaContainer) GetParentTitle() *string
func (*GetMetadataChildrenMediaContainer) GetParentYear ¶ added in v0.1.1
func (o *GetMetadataChildrenMediaContainer) GetParentYear() *int
func (*GetMetadataChildrenMediaContainer) GetSize ¶ added in v0.1.1
func (o *GetMetadataChildrenMediaContainer) GetSize() *int
func (*GetMetadataChildrenMediaContainer) GetSummary ¶ added in v0.1.1
func (o *GetMetadataChildrenMediaContainer) GetSummary() *string
func (*GetMetadataChildrenMediaContainer) GetTheme ¶ added in v0.1.1
func (o *GetMetadataChildrenMediaContainer) GetTheme() *string
func (*GetMetadataChildrenMediaContainer) GetThumb ¶ added in v0.1.1
func (o *GetMetadataChildrenMediaContainer) GetThumb() *string
func (*GetMetadataChildrenMediaContainer) GetTitle1 ¶ added in v0.1.1
func (o *GetMetadataChildrenMediaContainer) GetTitle1() *string
func (*GetMetadataChildrenMediaContainer) GetTitle2 ¶ added in v0.1.1
func (o *GetMetadataChildrenMediaContainer) GetTitle2() *string
func (*GetMetadataChildrenMediaContainer) GetViewGroup ¶ added in v0.1.1
func (o *GetMetadataChildrenMediaContainer) GetViewGroup() *string
func (*GetMetadataChildrenMediaContainer) GetViewMode ¶ added in v0.1.1
func (o *GetMetadataChildrenMediaContainer) GetViewMode() *int
type GetMetadataChildrenMetadata ¶ added in v0.1.1
type GetMetadataChildrenMetadata struct {
RatingKey *string `json:"ratingKey,omitempty"`
Key *string `json:"key,omitempty"`
ParentRatingKey *string `json:"parentRatingKey,omitempty"`
GUID *string `json:"guid,omitempty"`
ParentGUID *string `json:"parentGuid,omitempty"`
ParentStudio *string `json:"parentStudio,omitempty"`
Type *string `json:"type,omitempty"`
Title *string `json:"title,omitempty"`
ParentKey *string `json:"parentKey,omitempty"`
ParentTitle *string `json:"parentTitle,omitempty"`
Summary *string `json:"summary,omitempty"`
Index *int `json:"index,omitempty"`
ParentIndex *int `json:"parentIndex,omitempty"`
ViewCount *int `json:"viewCount,omitempty"`
LastViewedAt *int `json:"lastViewedAt,omitempty"`
ParentYear *int `json:"parentYear,omitempty"`
Thumb *string `json:"thumb,omitempty"`
Art *string `json:"art,omitempty"`
ParentThumb *string `json:"parentThumb,omitempty"`
ParentTheme *string `json:"parentTheme,omitempty"`
LeafCount *int `json:"leafCount,omitempty"`
ViewedLeafCount *int `json:"viewedLeafCount,omitempty"`
AddedAt *int `json:"addedAt,omitempty"`
UpdatedAt *int `json:"updatedAt,omitempty"`
UserRating *int `json:"userRating,omitempty"`
SkipCount *int `json:"skipCount,omitempty"`
LastRatedAt *int `json:"lastRatedAt,omitempty"`
}
func (*GetMetadataChildrenMetadata) GetAddedAt ¶ added in v0.1.1
func (o *GetMetadataChildrenMetadata) GetAddedAt() *int
func (*GetMetadataChildrenMetadata) GetArt ¶ added in v0.1.1
func (o *GetMetadataChildrenMetadata) GetArt() *string
func (*GetMetadataChildrenMetadata) GetGUID ¶ added in v0.1.1
func (o *GetMetadataChildrenMetadata) GetGUID() *string
func (*GetMetadataChildrenMetadata) GetIndex ¶ added in v0.1.1
func (o *GetMetadataChildrenMetadata) GetIndex() *int
func (*GetMetadataChildrenMetadata) GetKey ¶ added in v0.1.1
func (o *GetMetadataChildrenMetadata) GetKey() *string
func (*GetMetadataChildrenMetadata) GetLastRatedAt ¶ added in v0.1.1
func (o *GetMetadataChildrenMetadata) GetLastRatedAt() *int
func (*GetMetadataChildrenMetadata) GetLastViewedAt ¶ added in v0.1.1
func (o *GetMetadataChildrenMetadata) GetLastViewedAt() *int
func (*GetMetadataChildrenMetadata) GetLeafCount ¶ added in v0.1.1
func (o *GetMetadataChildrenMetadata) GetLeafCount() *int
func (*GetMetadataChildrenMetadata) GetParentGUID ¶ added in v0.1.1
func (o *GetMetadataChildrenMetadata) GetParentGUID() *string
func (*GetMetadataChildrenMetadata) GetParentIndex ¶ added in v0.1.1
func (o *GetMetadataChildrenMetadata) GetParentIndex() *int
func (*GetMetadataChildrenMetadata) GetParentKey ¶ added in v0.1.1
func (o *GetMetadataChildrenMetadata) GetParentKey() *string
func (*GetMetadataChildrenMetadata) GetParentRatingKey ¶ added in v0.1.1
func (o *GetMetadataChildrenMetadata) GetParentRatingKey() *string
func (*GetMetadataChildrenMetadata) GetParentStudio ¶ added in v0.1.1
func (o *GetMetadataChildrenMetadata) GetParentStudio() *string
func (*GetMetadataChildrenMetadata) GetParentTheme ¶ added in v0.1.1
func (o *GetMetadataChildrenMetadata) GetParentTheme() *string
func (*GetMetadataChildrenMetadata) GetParentThumb ¶ added in v0.1.1
func (o *GetMetadataChildrenMetadata) GetParentThumb() *string
func (*GetMetadataChildrenMetadata) GetParentTitle ¶ added in v0.1.1
func (o *GetMetadataChildrenMetadata) GetParentTitle() *string
func (*GetMetadataChildrenMetadata) GetParentYear ¶ added in v0.1.1
func (o *GetMetadataChildrenMetadata) GetParentYear() *int
func (*GetMetadataChildrenMetadata) GetRatingKey ¶ added in v0.1.1
func (o *GetMetadataChildrenMetadata) GetRatingKey() *string
func (*GetMetadataChildrenMetadata) GetSkipCount ¶ added in v0.1.1
func (o *GetMetadataChildrenMetadata) GetSkipCount() *int
func (*GetMetadataChildrenMetadata) GetSummary ¶ added in v0.1.1
func (o *GetMetadataChildrenMetadata) GetSummary() *string
func (*GetMetadataChildrenMetadata) GetThumb ¶ added in v0.1.1
func (o *GetMetadataChildrenMetadata) GetThumb() *string
func (*GetMetadataChildrenMetadata) GetTitle ¶ added in v0.1.1
func (o *GetMetadataChildrenMetadata) GetTitle() *string
func (*GetMetadataChildrenMetadata) GetType ¶ added in v0.1.1
func (o *GetMetadataChildrenMetadata) GetType() *string
func (*GetMetadataChildrenMetadata) GetUpdatedAt ¶ added in v0.1.1
func (o *GetMetadataChildrenMetadata) GetUpdatedAt() *int
func (*GetMetadataChildrenMetadata) GetUserRating ¶ added in v0.1.1
func (o *GetMetadataChildrenMetadata) GetUserRating() *int
func (*GetMetadataChildrenMetadata) GetViewCount ¶ added in v0.1.1
func (o *GetMetadataChildrenMetadata) GetViewCount() *int
func (*GetMetadataChildrenMetadata) GetViewedLeafCount ¶ added in v0.1.1
func (o *GetMetadataChildrenMetadata) GetViewedLeafCount() *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
// The children of the library item.
Object *GetMetadataChildrenResponseBody
}
func (*GetMetadataChildrenResponse) GetContentType ¶
func (o *GetMetadataChildrenResponse) GetContentType() string
func (*GetMetadataChildrenResponse) GetObject ¶ added in v0.1.1
func (o *GetMetadataChildrenResponse) GetObject() *GetMetadataChildrenResponseBody
func (*GetMetadataChildrenResponse) GetRawResponse ¶
func (o *GetMetadataChildrenResponse) GetRawResponse() *http.Response
func (*GetMetadataChildrenResponse) GetStatusCode ¶
func (o *GetMetadataChildrenResponse) GetStatusCode() int
type GetMetadataChildrenResponseBody ¶ added in v0.1.1
type GetMetadataChildrenResponseBody struct {
MediaContainer *GetMetadataChildrenMediaContainer `json:"MediaContainer,omitempty"`
}
GetMetadataChildrenResponseBody - The children of the library item.
func (*GetMetadataChildrenResponseBody) GetMediaContainer ¶ added in v0.1.1
func (o *GetMetadataChildrenResponseBody) GetMediaContainer() *GetMetadataChildrenMediaContainer
type GetMetadataCountry ¶ added in v0.1.1
type GetMetadataCountry struct {
ID *int `json:"id,omitempty"`
Filter *string `json:"filter,omitempty"`
Tag *string `json:"tag,omitempty"`
}
func (*GetMetadataCountry) GetFilter ¶ added in v0.1.1
func (o *GetMetadataCountry) GetFilter() *string
func (*GetMetadataCountry) GetID ¶ added in v0.1.1
func (o *GetMetadataCountry) GetID() *int
func (*GetMetadataCountry) GetTag ¶ added in v0.1.1
func (o *GetMetadataCountry) GetTag() *string
type GetMetadataDirector ¶ added in v0.1.1
type GetMetadataDirector struct {
ID *int `json:"id,omitempty"`
Filter *string `json:"filter,omitempty"`
Tag *string `json:"tag,omitempty"`
TagKey *string `json:"tagKey,omitempty"`
Thumb *string `json:"thumb,omitempty"`
}
func (*GetMetadataDirector) GetFilter ¶ added in v0.1.1
func (o *GetMetadataDirector) GetFilter() *string
func (*GetMetadataDirector) GetID ¶ added in v0.1.1
func (o *GetMetadataDirector) GetID() *int
func (*GetMetadataDirector) GetTag ¶ added in v0.1.1
func (o *GetMetadataDirector) GetTag() *string
func (*GetMetadataDirector) GetTagKey ¶ added in v0.1.1
func (o *GetMetadataDirector) GetTagKey() *string
func (*GetMetadataDirector) GetThumb ¶ added in v0.1.1
func (o *GetMetadataDirector) GetThumb() *string
type GetMetadataGenre ¶ added in v0.1.1
type GetMetadataGenre struct {
ID *int `json:"id,omitempty"`
Filter *string `json:"filter,omitempty"`
Tag *string `json:"tag,omitempty"`
}
func (*GetMetadataGenre) GetFilter ¶ added in v0.1.1
func (o *GetMetadataGenre) GetFilter() *string
func (*GetMetadataGenre) GetID ¶ added in v0.1.1
func (o *GetMetadataGenre) GetID() *int
func (*GetMetadataGenre) GetTag ¶ added in v0.1.1
func (o *GetMetadataGenre) GetTag() *string
type GetMetadataMedia ¶ added in v0.1.1
type GetMetadataMedia struct {
ID *int `json:"id,omitempty"`
Duration *int `json:"duration,omitempty"`
Bitrate *int `json:"bitrate,omitempty"`
Width *int `json:"width,omitempty"`
Height *int `json:"height,omitempty"`
AspectRatio *float64 `json:"aspectRatio,omitempty"`
AudioChannels *int `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"`
OptimizedForStreaming *int `json:"optimizedForStreaming,omitempty"`
AudioProfile *string `json:"audioProfile,omitempty"`
Has64bitOffsets *bool `json:"has64bitOffsets,omitempty"`
VideoProfile *string `json:"videoProfile,omitempty"`
Part []GetMetadataPart `json:"Part,omitempty"`
}
func (*GetMetadataMedia) GetAspectRatio ¶ added in v0.1.1
func (o *GetMetadataMedia) GetAspectRatio() *float64
func (*GetMetadataMedia) GetAudioChannels ¶ added in v0.1.1
func (o *GetMetadataMedia) GetAudioChannels() *int
func (*GetMetadataMedia) GetAudioCodec ¶ added in v0.1.1
func (o *GetMetadataMedia) GetAudioCodec() *string
func (*GetMetadataMedia) GetAudioProfile ¶ added in v0.1.1
func (o *GetMetadataMedia) GetAudioProfile() *string
func (*GetMetadataMedia) GetBitrate ¶ added in v0.1.1
func (o *GetMetadataMedia) GetBitrate() *int
func (*GetMetadataMedia) GetContainer ¶ added in v0.1.1
func (o *GetMetadataMedia) GetContainer() *string
func (*GetMetadataMedia) GetDuration ¶ added in v0.1.1
func (o *GetMetadataMedia) GetDuration() *int
func (*GetMetadataMedia) GetHas64bitOffsets ¶ added in v0.1.1
func (o *GetMetadataMedia) GetHas64bitOffsets() *bool
func (*GetMetadataMedia) GetHeight ¶ added in v0.1.1
func (o *GetMetadataMedia) GetHeight() *int
func (*GetMetadataMedia) GetID ¶ added in v0.1.1
func (o *GetMetadataMedia) GetID() *int
func (*GetMetadataMedia) GetOptimizedForStreaming ¶ added in v0.1.1
func (o *GetMetadataMedia) GetOptimizedForStreaming() *int
func (*GetMetadataMedia) GetPart ¶ added in v0.1.1
func (o *GetMetadataMedia) GetPart() []GetMetadataPart
func (*GetMetadataMedia) GetVideoCodec ¶ added in v0.1.1
func (o *GetMetadataMedia) GetVideoCodec() *string
func (*GetMetadataMedia) GetVideoFrameRate ¶ added in v0.1.1
func (o *GetMetadataMedia) GetVideoFrameRate() *string
func (*GetMetadataMedia) GetVideoProfile ¶ added in v0.1.1
func (o *GetMetadataMedia) GetVideoProfile() *string
func (*GetMetadataMedia) GetVideoResolution ¶ added in v0.1.1
func (o *GetMetadataMedia) GetVideoResolution() *string
func (*GetMetadataMedia) GetWidth ¶ added in v0.1.1
func (o *GetMetadataMedia) GetWidth() *int
type GetMetadataMediaContainer ¶ added in v0.1.1
type GetMetadataMediaContainer struct {
Size *int `json:"size,omitempty"`
AllowSync *bool `json:"allowSync,omitempty"`
Identifier *string `json:"identifier,omitempty"`
LibrarySectionID *int `json:"librarySectionID,omitempty"`
LibrarySectionTitle *string `json:"librarySectionTitle,omitempty"`
LibrarySectionUUID *string `json:"librarySectionUUID,omitempty"`
MediaTagPrefix *string `json:"mediaTagPrefix,omitempty"`
MediaTagVersion *int `json:"mediaTagVersion,omitempty"`
Metadata []GetMetadataMetadata `json:"Metadata,omitempty"`
}
func (*GetMetadataMediaContainer) GetAllowSync ¶ added in v0.1.1
func (o *GetMetadataMediaContainer) GetAllowSync() *bool
func (*GetMetadataMediaContainer) GetIdentifier ¶ added in v0.1.1
func (o *GetMetadataMediaContainer) GetIdentifier() *string
func (*GetMetadataMediaContainer) GetLibrarySectionID ¶ added in v0.1.1
func (o *GetMetadataMediaContainer) GetLibrarySectionID() *int
func (*GetMetadataMediaContainer) GetLibrarySectionTitle ¶ added in v0.1.1
func (o *GetMetadataMediaContainer) GetLibrarySectionTitle() *string
func (*GetMetadataMediaContainer) GetLibrarySectionUUID ¶ added in v0.1.1
func (o *GetMetadataMediaContainer) GetLibrarySectionUUID() *string
func (*GetMetadataMediaContainer) GetMediaTagPrefix ¶ added in v0.1.1
func (o *GetMetadataMediaContainer) GetMediaTagPrefix() *string
func (*GetMetadataMediaContainer) GetMediaTagVersion ¶ added in v0.1.1
func (o *GetMetadataMediaContainer) GetMediaTagVersion() *int
func (*GetMetadataMediaContainer) GetMetadata ¶ added in v0.1.1
func (o *GetMetadataMediaContainer) GetMetadata() []GetMetadataMetadata
func (*GetMetadataMediaContainer) GetSize ¶ added in v0.1.1
func (o *GetMetadataMediaContainer) GetSize() *int
type GetMetadataMetadata ¶ added in v0.1.1
type GetMetadataMetadata struct {
RatingKey *string `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"`
LibrarySectionTitle *string `json:"librarySectionTitle,omitempty"`
LibrarySectionID *int `json:"librarySectionID,omitempty"`
LibrarySectionKey *string `json:"librarySectionKey,omitempty"`
ContentRating *string `json:"contentRating,omitempty"`
Summary *string `json:"summary,omitempty"`
Rating *float64 `json:"rating,omitempty"`
AudienceRating *float64 `json:"audienceRating,omitempty"`
Year *int `json:"year,omitempty"`
Tagline *string `json:"tagline,omitempty"`
Thumb *string `json:"thumb,omitempty"`
Art *string `json:"art,omitempty"`
Duration *int `json:"duration,omitempty"`
OriginallyAvailableAt *types.Date `json:"originallyAvailableAt,omitempty"`
AddedAt *int `json:"addedAt,omitempty"`
UpdatedAt *int `json:"updatedAt,omitempty"`
AudienceRatingImage *string `json:"audienceRatingImage,omitempty"`
HasPremiumPrimaryExtra *string `json:"hasPremiumPrimaryExtra,omitempty"`
RatingImage *string `json:"ratingImage,omitempty"`
Media []GetMetadataMedia `json:"Media,omitempty"`
Genre []GetMetadataGenre `json:"Genre,omitempty"`
Country []GetMetadataCountry `json:"Country,omitempty"`
Guids []Guids `json:"Guid,omitempty"`
Ratings []Ratings `json:"Rating,omitempty"`
Director []GetMetadataDirector `json:"Director,omitempty"`
Writer []GetMetadataWriter `json:"Writer,omitempty"`
Role []GetMetadataRole `json:"Role,omitempty"`
Producer []Producer `json:"Producer,omitempty"`
}
func (*GetMetadataMetadata) GetAddedAt ¶ added in v0.1.1
func (o *GetMetadataMetadata) GetAddedAt() *int
func (*GetMetadataMetadata) GetArt ¶ added in v0.1.1
func (o *GetMetadataMetadata) GetArt() *string
func (*GetMetadataMetadata) GetAudienceRating ¶ added in v0.1.1
func (o *GetMetadataMetadata) GetAudienceRating() *float64
func (*GetMetadataMetadata) GetAudienceRatingImage ¶ added in v0.1.1
func (o *GetMetadataMetadata) GetAudienceRatingImage() *string
func (*GetMetadataMetadata) GetContentRating ¶ added in v0.1.1
func (o *GetMetadataMetadata) GetContentRating() *string
func (*GetMetadataMetadata) GetCountry ¶ added in v0.1.1
func (o *GetMetadataMetadata) GetCountry() []GetMetadataCountry
func (*GetMetadataMetadata) GetDirector ¶ added in v0.1.1
func (o *GetMetadataMetadata) GetDirector() []GetMetadataDirector
func (*GetMetadataMetadata) GetDuration ¶ added in v0.1.1
func (o *GetMetadataMetadata) GetDuration() *int
func (*GetMetadataMetadata) GetGUID ¶ added in v0.1.1
func (o *GetMetadataMetadata) GetGUID() *string
func (*GetMetadataMetadata) GetGenre ¶ added in v0.1.1
func (o *GetMetadataMetadata) GetGenre() []GetMetadataGenre
func (*GetMetadataMetadata) GetGuids ¶ added in v0.1.1
func (o *GetMetadataMetadata) GetGuids() []Guids
func (*GetMetadataMetadata) GetHasPremiumPrimaryExtra ¶ added in v0.1.1
func (o *GetMetadataMetadata) GetHasPremiumPrimaryExtra() *string
func (*GetMetadataMetadata) GetKey ¶ added in v0.1.1
func (o *GetMetadataMetadata) GetKey() *string
func (*GetMetadataMetadata) GetLibrarySectionID ¶ added in v0.1.1
func (o *GetMetadataMetadata) GetLibrarySectionID() *int
func (*GetMetadataMetadata) GetLibrarySectionKey ¶ added in v0.1.1
func (o *GetMetadataMetadata) GetLibrarySectionKey() *string
func (*GetMetadataMetadata) GetLibrarySectionTitle ¶ added in v0.1.1
func (o *GetMetadataMetadata) GetLibrarySectionTitle() *string
func (*GetMetadataMetadata) GetMedia ¶ added in v0.1.1
func (o *GetMetadataMetadata) GetMedia() []GetMetadataMedia
func (*GetMetadataMetadata) GetOriginallyAvailableAt ¶ added in v0.1.1
func (o *GetMetadataMetadata) GetOriginallyAvailableAt() *types.Date
func (*GetMetadataMetadata) GetProducer ¶ added in v0.1.1
func (o *GetMetadataMetadata) GetProducer() []Producer
func (*GetMetadataMetadata) GetRating ¶ added in v0.1.1
func (o *GetMetadataMetadata) GetRating() *float64
func (*GetMetadataMetadata) GetRatingImage ¶ added in v0.1.1
func (o *GetMetadataMetadata) GetRatingImage() *string
func (*GetMetadataMetadata) GetRatingKey ¶ added in v0.1.1
func (o *GetMetadataMetadata) GetRatingKey() *string
func (*GetMetadataMetadata) GetRatings ¶ added in v0.1.1
func (o *GetMetadataMetadata) GetRatings() []Ratings
func (*GetMetadataMetadata) GetRole ¶ added in v0.1.1
func (o *GetMetadataMetadata) GetRole() []GetMetadataRole
func (*GetMetadataMetadata) GetStudio ¶ added in v0.1.1
func (o *GetMetadataMetadata) GetStudio() *string
func (*GetMetadataMetadata) GetSummary ¶ added in v0.1.1
func (o *GetMetadataMetadata) GetSummary() *string
func (*GetMetadataMetadata) GetTagline ¶ added in v0.1.1
func (o *GetMetadataMetadata) GetTagline() *string
func (*GetMetadataMetadata) GetThumb ¶ added in v0.1.1
func (o *GetMetadataMetadata) GetThumb() *string
func (*GetMetadataMetadata) GetTitle ¶ added in v0.1.1
func (o *GetMetadataMetadata) GetTitle() *string
func (*GetMetadataMetadata) GetType ¶ added in v0.1.1
func (o *GetMetadataMetadata) GetType() *string
func (*GetMetadataMetadata) GetUpdatedAt ¶ added in v0.1.1
func (o *GetMetadataMetadata) GetUpdatedAt() *int
func (*GetMetadataMetadata) GetWriter ¶ added in v0.1.1
func (o *GetMetadataMetadata) GetWriter() []GetMetadataWriter
func (*GetMetadataMetadata) GetYear ¶ added in v0.1.1
func (o *GetMetadataMetadata) GetYear() *int
func (GetMetadataMetadata) MarshalJSON ¶ added in v0.1.1
func (g GetMetadataMetadata) MarshalJSON() ([]byte, error)
func (*GetMetadataMetadata) UnmarshalJSON ¶ added in v0.1.1
func (g *GetMetadataMetadata) UnmarshalJSON(data []byte) error
type GetMetadataPart ¶ added in v0.1.1
type GetMetadataPart struct {
ID *int `json:"id,omitempty"`
Key *string `json:"key,omitempty"`
Duration *int `json:"duration,omitempty"`
File *string `json:"file,omitempty"`
Size *int `json:"size,omitempty"`
AudioProfile *string `json:"audioProfile,omitempty"`
Container *string `json:"container,omitempty"`
Has64bitOffsets *bool `json:"has64bitOffsets,omitempty"`
OptimizedForStreaming *bool `json:"optimizedForStreaming,omitempty"`
VideoProfile *string `json:"videoProfile,omitempty"`
Stream []Stream `json:"Stream,omitempty"`
}
func (*GetMetadataPart) GetAudioProfile ¶ added in v0.1.1
func (o *GetMetadataPart) GetAudioProfile() *string
func (*GetMetadataPart) GetContainer ¶ added in v0.1.1
func (o *GetMetadataPart) GetContainer() *string
func (*GetMetadataPart) GetDuration ¶ added in v0.1.1
func (o *GetMetadataPart) GetDuration() *int
func (*GetMetadataPart) GetFile ¶ added in v0.1.1
func (o *GetMetadataPart) GetFile() *string
func (*GetMetadataPart) GetHas64bitOffsets ¶ added in v0.1.1
func (o *GetMetadataPart) GetHas64bitOffsets() *bool
func (*GetMetadataPart) GetID ¶ added in v0.1.1
func (o *GetMetadataPart) GetID() *int
func (*GetMetadataPart) GetKey ¶ added in v0.1.1
func (o *GetMetadataPart) GetKey() *string
func (*GetMetadataPart) GetOptimizedForStreaming ¶ added in v0.1.1
func (o *GetMetadataPart) GetOptimizedForStreaming() *bool
func (*GetMetadataPart) GetSize ¶ added in v0.1.1
func (o *GetMetadataPart) GetSize() *int
func (*GetMetadataPart) GetStream ¶ added in v0.1.1
func (o *GetMetadataPart) GetStream() []Stream
func (*GetMetadataPart) GetVideoProfile ¶ added in v0.1.1
func (o *GetMetadataPart) GetVideoProfile() *string
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
// The metadata of the library item.
Object *GetMetadataResponseBody
}
func (*GetMetadataResponse) GetContentType ¶
func (o *GetMetadataResponse) GetContentType() string
func (*GetMetadataResponse) GetObject ¶ added in v0.1.1
func (o *GetMetadataResponse) GetObject() *GetMetadataResponseBody
func (*GetMetadataResponse) GetRawResponse ¶
func (o *GetMetadataResponse) GetRawResponse() *http.Response
func (*GetMetadataResponse) GetStatusCode ¶
func (o *GetMetadataResponse) GetStatusCode() int
type GetMetadataResponseBody ¶ added in v0.1.1
type GetMetadataResponseBody struct {
MediaContainer *GetMetadataMediaContainer `json:"MediaContainer,omitempty"`
}
GetMetadataResponseBody - The metadata of the library item.
func (*GetMetadataResponseBody) GetMediaContainer ¶ added in v0.1.1
func (o *GetMetadataResponseBody) GetMediaContainer() *GetMetadataMediaContainer
type GetMetadataRole ¶ added in v0.1.1
type GetMetadataRole struct {
ID *int `json:"id,omitempty"`
Filter *string `json:"filter,omitempty"`
Tag *string `json:"tag,omitempty"`
TagKey *string `json:"tagKey,omitempty"`
Role *string `json:"role,omitempty"`
Thumb *string `json:"thumb,omitempty"`
}
func (*GetMetadataRole) GetFilter ¶ added in v0.1.1
func (o *GetMetadataRole) GetFilter() *string
func (*GetMetadataRole) GetID ¶ added in v0.1.1
func (o *GetMetadataRole) GetID() *int
func (*GetMetadataRole) GetRole ¶ added in v0.1.1
func (o *GetMetadataRole) GetRole() *string
func (*GetMetadataRole) GetTag ¶ added in v0.1.1
func (o *GetMetadataRole) GetTag() *string
func (*GetMetadataRole) GetTagKey ¶ added in v0.1.1
func (o *GetMetadataRole) GetTagKey() *string
func (*GetMetadataRole) GetThumb ¶ added in v0.1.1
func (o *GetMetadataRole) GetThumb() *string
type GetMetadataWriter ¶ added in v0.1.1
type GetMetadataWriter struct {
ID *int `json:"id,omitempty"`
Filter *string `json:"filter,omitempty"`
Tag *string `json:"tag,omitempty"`
TagKey *string `json:"tagKey,omitempty"`
Thumb *string `json:"thumb,omitempty"`
}
func (*GetMetadataWriter) GetFilter ¶ added in v0.1.1
func (o *GetMetadataWriter) GetFilter() *string
func (*GetMetadataWriter) GetID ¶ added in v0.1.1
func (o *GetMetadataWriter) GetID() *int
func (*GetMetadataWriter) GetTag ¶ added in v0.1.1
func (o *GetMetadataWriter) GetTag() *string
func (*GetMetadataWriter) GetTagKey ¶ added in v0.1.1
func (o *GetMetadataWriter) GetTagKey() *string
func (*GetMetadataWriter) GetThumb ¶ added in v0.1.1
func (o *GetMetadataWriter) GetThumb() *string
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 GetOnDeckGuids ¶ added in v0.1.1
type GetOnDeckGuids struct {
ID *string `json:"id,omitempty"`
}
func (*GetOnDeckGuids) GetID ¶ added in v0.1.1
func (o *GetOnDeckGuids) GetID() *string
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 []GetOnDeckGuids `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() []GetOnDeckGuids
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 []GetOnDeckStream `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() []GetOnDeckStream
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 GetOnDeckStream ¶ added in v0.1.1
type GetOnDeckStream 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 (*GetOnDeckStream) GetBitDepth ¶ added in v0.1.1
func (o *GetOnDeckStream) GetBitDepth() *float64
func (*GetOnDeckStream) GetBitrate ¶ added in v0.1.1
func (o *GetOnDeckStream) GetBitrate() *float64
func (*GetOnDeckStream) GetChromaLocation ¶ added in v0.1.1
func (o *GetOnDeckStream) GetChromaLocation() *string
func (*GetOnDeckStream) GetChromaSubsampling ¶ added in v0.1.1
func (o *GetOnDeckStream) GetChromaSubsampling() *string
func (*GetOnDeckStream) GetCodec ¶ added in v0.1.1
func (o *GetOnDeckStream) GetCodec() *string
func (*GetOnDeckStream) GetCodedHeight ¶ added in v0.1.1
func (o *GetOnDeckStream) GetCodedHeight() *float64
func (*GetOnDeckStream) GetCodedWidth ¶ added in v0.1.1
func (o *GetOnDeckStream) GetCodedWidth() *float64
func (*GetOnDeckStream) GetColorRange ¶ added in v0.1.1
func (o *GetOnDeckStream) GetColorRange() *string
func (*GetOnDeckStream) GetDefault ¶ added in v0.1.1
func (o *GetOnDeckStream) GetDefault() *bool
func (*GetOnDeckStream) GetDisplayTitle ¶ added in v0.1.1
func (o *GetOnDeckStream) GetDisplayTitle() *string
func (*GetOnDeckStream) GetExtendedDisplayTitle ¶ added in v0.1.1
func (o *GetOnDeckStream) GetExtendedDisplayTitle() *string
func (*GetOnDeckStream) GetFrameRate ¶ added in v0.1.1
func (o *GetOnDeckStream) GetFrameRate() *float64
func (*GetOnDeckStream) GetHeight ¶ added in v0.1.1
func (o *GetOnDeckStream) GetHeight() *float64
func (*GetOnDeckStream) GetID ¶ added in v0.1.1
func (o *GetOnDeckStream) GetID() *float64
func (*GetOnDeckStream) GetIndex ¶ added in v0.1.1
func (o *GetOnDeckStream) GetIndex() *float64
func (*GetOnDeckStream) GetLanguage ¶ added in v0.1.1
func (o *GetOnDeckStream) GetLanguage() *string
func (*GetOnDeckStream) GetLanguageCode ¶ added in v0.1.1
func (o *GetOnDeckStream) GetLanguageCode() *string
func (*GetOnDeckStream) GetLanguageTag ¶ added in v0.1.1
func (o *GetOnDeckStream) GetLanguageTag() *string
func (*GetOnDeckStream) GetLevel ¶ added in v0.1.1
func (o *GetOnDeckStream) GetLevel() *float64
func (*GetOnDeckStream) GetProfile ¶ added in v0.1.1
func (o *GetOnDeckStream) GetProfile() *string
func (*GetOnDeckStream) GetRefFrames ¶ added in v0.1.1
func (o *GetOnDeckStream) GetRefFrames() *float64
func (*GetOnDeckStream) GetStreamType ¶ added in v0.1.1
func (o *GetOnDeckStream) GetStreamType() *float64
func (*GetOnDeckStream) GetWidth ¶ added in v0.1.1
func (o *GetOnDeckStream) GetWidth() *float64
type GetPinRequest ¶ added in v0.2.0
type GetPinRequest struct {
// Plex Authentication Token
XPlexClientIdentifier string `header:"style=simple,explode=false,name=X-Plex-Client-Identifier"`
// Determines the kind of code returned by the API call
// Strong codes are used for Pin authentication flows
// Non-Strong codes are used for `Plex.tv/link`
//
Strong *bool `default:"false" queryParam:"style=form,explode=true,name=strong"`
}
func (*GetPinRequest) GetStrong ¶ added in v0.2.0
func (o *GetPinRequest) GetStrong() *bool
func (*GetPinRequest) GetXPlexClientIdentifier ¶ added in v0.2.0
func (o *GetPinRequest) GetXPlexClientIdentifier() string
func (GetPinRequest) MarshalJSON ¶ added in v0.2.0
func (g GetPinRequest) MarshalJSON() ([]byte, error)
func (*GetPinRequest) UnmarshalJSON ¶ added in v0.2.0
func (g *GetPinRequest) UnmarshalJSON(data []byte) error
type GetPinResponse ¶ added in v0.2.0
type GetPinResponse 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 Pin
Object *GetPinResponseBody
}
func (*GetPinResponse) GetContentType ¶ added in v0.2.0
func (o *GetPinResponse) GetContentType() string
func (*GetPinResponse) GetObject ¶ added in v0.2.0
func (o *GetPinResponse) GetObject() *GetPinResponseBody
func (*GetPinResponse) GetRawResponse ¶ added in v0.2.0
func (o *GetPinResponse) GetRawResponse() *http.Response
func (*GetPinResponse) GetStatusCode ¶ added in v0.2.0
func (o *GetPinResponse) GetStatusCode() int
type GetPinResponseBody ¶ added in v0.2.0
type GetPinResponseBody struct {
// PinID for use with authentication
ID *float64 `json:"id,omitempty"`
Code *string `json:"code,omitempty"`
Product *string `json:"product,omitempty"`
Trusted *bool `json:"trusted,omitempty"`
// a link to a QR code hosted on plex.tv
// The QR code redirects to the relevant `plex.tv/link` authentication page
// Which then prompts the user for the 4 Digit Link Pin
//
Qr *string `json:"qr,omitempty"`
ClientIdentifier *string `json:"clientIdentifier,omitempty"`
Location *Location `json:"location,omitempty"`
ExpiresIn *float64 `json:"expiresIn,omitempty"`
CreatedAt *time.Time `json:"createdAt,omitempty"`
ExpiresAt *time.Time `json:"expiresAt,omitempty"`
AuthToken *string `json:"authToken,omitempty"`
NewRegistration *string `json:"newRegistration,omitempty"`
}
GetPinResponseBody - The Pin
func (*GetPinResponseBody) GetAuthToken ¶ added in v0.2.0
func (o *GetPinResponseBody) GetAuthToken() *string
func (*GetPinResponseBody) GetClientIdentifier ¶ added in v0.2.0
func (o *GetPinResponseBody) GetClientIdentifier() *string
func (*GetPinResponseBody) GetCode ¶ added in v0.2.0
func (o *GetPinResponseBody) GetCode() *string
func (*GetPinResponseBody) GetCreatedAt ¶ added in v0.2.0
func (o *GetPinResponseBody) GetCreatedAt() *time.Time
func (*GetPinResponseBody) GetExpiresAt ¶ added in v0.2.0
func (o *GetPinResponseBody) GetExpiresAt() *time.Time
func (*GetPinResponseBody) GetExpiresIn ¶ added in v0.2.0
func (o *GetPinResponseBody) GetExpiresIn() *float64
func (*GetPinResponseBody) GetID ¶ added in v0.2.0
func (o *GetPinResponseBody) GetID() *float64
func (*GetPinResponseBody) GetLocation ¶ added in v0.2.0
func (o *GetPinResponseBody) GetLocation() *Location
func (*GetPinResponseBody) GetNewRegistration ¶ added in v0.2.0
func (o *GetPinResponseBody) GetNewRegistration() *string
func (*GetPinResponseBody) GetProduct ¶ added in v0.2.0
func (o *GetPinResponseBody) GetProduct() *string
func (*GetPinResponseBody) GetQr ¶ added in v0.2.0
func (o *GetPinResponseBody) GetQr() *string
func (*GetPinResponseBody) GetTrusted ¶ added in v0.2.0
func (o *GetPinResponseBody) GetTrusted() *bool
func (GetPinResponseBody) MarshalJSON ¶ added in v0.2.0
func (g GetPinResponseBody) MarshalJSON() ([]byte, error)
func (*GetPinResponseBody) UnmarshalJSON ¶ added in v0.2.0
func (g *GetPinResponseBody) UnmarshalJSON(data []byte) error
type GetPlaylistContentsCountry ¶ added in v0.1.1
type GetPlaylistContentsCountry struct {
Tag *string `json:"tag,omitempty"`
}
func (*GetPlaylistContentsCountry) GetTag ¶ added in v0.1.1
func (o *GetPlaylistContentsCountry) GetTag() *string
type GetPlaylistContentsDirector ¶ added in v0.1.1
type GetPlaylistContentsDirector struct {
Tag *string `json:"tag,omitempty"`
}
func (*GetPlaylistContentsDirector) GetTag ¶ added in v0.1.1
func (o *GetPlaylistContentsDirector) GetTag() *string
type GetPlaylistContentsGenre ¶ added in v0.1.1
type GetPlaylistContentsGenre struct {
Tag *string `json:"tag,omitempty"`
}
func (*GetPlaylistContentsGenre) GetTag ¶ added in v0.1.1
func (o *GetPlaylistContentsGenre) GetTag() *string
type GetPlaylistContentsMedia ¶ added in v0.1.1
type GetPlaylistContentsMedia struct {
ID *int `json:"id,omitempty"`
Duration *int `json:"duration,omitempty"`
Bitrate *int `json:"bitrate,omitempty"`
Width *int `json:"width,omitempty"`
Height *int `json:"height,omitempty"`
AspectRatio *float64 `json:"aspectRatio,omitempty"`
AudioChannels *int `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"`
OptimizedForStreaming *int `json:"optimizedForStreaming,omitempty"`
AudioProfile *string `json:"audioProfile,omitempty"`
Has64bitOffsets *bool `json:"has64bitOffsets,omitempty"`
VideoProfile *string `json:"videoProfile,omitempty"`
Part []GetPlaylistContentsPart `json:"Part,omitempty"`
}
func (*GetPlaylistContentsMedia) GetAspectRatio ¶ added in v0.1.1
func (o *GetPlaylistContentsMedia) GetAspectRatio() *float64
func (*GetPlaylistContentsMedia) GetAudioChannels ¶ added in v0.1.1
func (o *GetPlaylistContentsMedia) GetAudioChannels() *int
func (*GetPlaylistContentsMedia) GetAudioCodec ¶ added in v0.1.1
func (o *GetPlaylistContentsMedia) GetAudioCodec() *string
func (*GetPlaylistContentsMedia) GetAudioProfile ¶ added in v0.1.1
func (o *GetPlaylistContentsMedia) GetAudioProfile() *string
func (*GetPlaylistContentsMedia) GetBitrate ¶ added in v0.1.1
func (o *GetPlaylistContentsMedia) GetBitrate() *int
func (*GetPlaylistContentsMedia) GetContainer ¶ added in v0.1.1
func (o *GetPlaylistContentsMedia) GetContainer() *string
func (*GetPlaylistContentsMedia) GetDuration ¶ added in v0.1.1
func (o *GetPlaylistContentsMedia) GetDuration() *int
func (*GetPlaylistContentsMedia) GetHas64bitOffsets ¶ added in v0.1.1
func (o *GetPlaylistContentsMedia) GetHas64bitOffsets() *bool
func (*GetPlaylistContentsMedia) GetHeight ¶ added in v0.1.1
func (o *GetPlaylistContentsMedia) GetHeight() *int
func (*GetPlaylistContentsMedia) GetID ¶ added in v0.1.1
func (o *GetPlaylistContentsMedia) GetID() *int
func (*GetPlaylistContentsMedia) GetOptimizedForStreaming ¶ added in v0.1.1
func (o *GetPlaylistContentsMedia) GetOptimizedForStreaming() *int
func (*GetPlaylistContentsMedia) GetPart ¶ added in v0.1.1
func (o *GetPlaylistContentsMedia) GetPart() []GetPlaylistContentsPart
func (*GetPlaylistContentsMedia) GetVideoCodec ¶ added in v0.1.1
func (o *GetPlaylistContentsMedia) GetVideoCodec() *string
func (*GetPlaylistContentsMedia) GetVideoFrameRate ¶ added in v0.1.1
func (o *GetPlaylistContentsMedia) GetVideoFrameRate() *string
func (*GetPlaylistContentsMedia) GetVideoProfile ¶ added in v0.1.1
func (o *GetPlaylistContentsMedia) GetVideoProfile() *string
func (*GetPlaylistContentsMedia) GetVideoResolution ¶ added in v0.1.1
func (o *GetPlaylistContentsMedia) GetVideoResolution() *string
func (*GetPlaylistContentsMedia) GetWidth ¶ added in v0.1.1
func (o *GetPlaylistContentsMedia) GetWidth() *int
type GetPlaylistContentsMediaContainer ¶ added in v0.1.1
type GetPlaylistContentsMediaContainer struct {
Size *int `json:"size,omitempty"`
Composite *string `json:"composite,omitempty"`
Duration *int `json:"duration,omitempty"`
LeafCount *int `json:"leafCount,omitempty"`
PlaylistType *string `json:"playlistType,omitempty"`
RatingKey *string `json:"ratingKey,omitempty"`
Smart *bool `json:"smart,omitempty"`
Title *string `json:"title,omitempty"`
Metadata []GetPlaylistContentsMetadata `json:"Metadata,omitempty"`
}
func (*GetPlaylistContentsMediaContainer) GetComposite ¶ added in v0.1.1
func (o *GetPlaylistContentsMediaContainer) GetComposite() *string
func (*GetPlaylistContentsMediaContainer) GetDuration ¶ added in v0.1.1
func (o *GetPlaylistContentsMediaContainer) GetDuration() *int
func (*GetPlaylistContentsMediaContainer) GetLeafCount ¶ added in v0.1.1
func (o *GetPlaylistContentsMediaContainer) GetLeafCount() *int
func (*GetPlaylistContentsMediaContainer) GetMetadata ¶ added in v0.1.1
func (o *GetPlaylistContentsMediaContainer) GetMetadata() []GetPlaylistContentsMetadata
func (*GetPlaylistContentsMediaContainer) GetPlaylistType ¶ added in v0.1.1
func (o *GetPlaylistContentsMediaContainer) GetPlaylistType() *string
func (*GetPlaylistContentsMediaContainer) GetRatingKey ¶ added in v0.1.1
func (o *GetPlaylistContentsMediaContainer) GetRatingKey() *string
func (*GetPlaylistContentsMediaContainer) GetSize ¶ added in v0.1.1
func (o *GetPlaylistContentsMediaContainer) GetSize() *int
func (*GetPlaylistContentsMediaContainer) GetSmart ¶ added in v0.1.1
func (o *GetPlaylistContentsMediaContainer) GetSmart() *bool
func (*GetPlaylistContentsMediaContainer) GetTitle ¶ added in v0.1.1
func (o *GetPlaylistContentsMediaContainer) GetTitle() *string
type GetPlaylistContentsMetadata ¶ added in v0.1.1
type GetPlaylistContentsMetadata struct {
RatingKey *string `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"`
TitleSort *string `json:"titleSort,omitempty"`
LibrarySectionTitle *string `json:"librarySectionTitle,omitempty"`
LibrarySectionID *int `json:"librarySectionID,omitempty"`
LibrarySectionKey *string `json:"librarySectionKey,omitempty"`
ContentRating *string `json:"contentRating,omitempty"`
Summary *string `json:"summary,omitempty"`
Rating *float64 `json:"rating,omitempty"`
AudienceRating *float64 `json:"audienceRating,omitempty"`
Year *int `json:"year,omitempty"`
Tagline *string `json:"tagline,omitempty"`
Thumb *string `json:"thumb,omitempty"`
Art *string `json:"art,omitempty"`
Duration *int `json:"duration,omitempty"`
OriginallyAvailableAt *types.Date `json:"originallyAvailableAt,omitempty"`
AddedAt *int `json:"addedAt,omitempty"`
UpdatedAt *int `json:"updatedAt,omitempty"`
AudienceRatingImage *string `json:"audienceRatingImage,omitempty"`
HasPremiumExtras *string `json:"hasPremiumExtras,omitempty"`
HasPremiumPrimaryExtra *string `json:"hasPremiumPrimaryExtra,omitempty"`
RatingImage *string `json:"ratingImage,omitempty"`
Media []GetPlaylistContentsMedia `json:"Media,omitempty"`
Genre []GetPlaylistContentsGenre `json:"Genre,omitempty"`
Country []GetPlaylistContentsCountry `json:"Country,omitempty"`
Director []GetPlaylistContentsDirector `json:"Director,omitempty"`
Writer []GetPlaylistContentsWriter `json:"Writer,omitempty"`
Role []GetPlaylistContentsRole `json:"Role,omitempty"`
}
func (*GetPlaylistContentsMetadata) GetAddedAt ¶ added in v0.1.1
func (o *GetPlaylistContentsMetadata) GetAddedAt() *int
func (*GetPlaylistContentsMetadata) GetArt ¶ added in v0.1.1
func (o *GetPlaylistContentsMetadata) GetArt() *string
func (*GetPlaylistContentsMetadata) GetAudienceRating ¶ added in v0.1.1
func (o *GetPlaylistContentsMetadata) GetAudienceRating() *float64
func (*GetPlaylistContentsMetadata) GetAudienceRatingImage ¶ added in v0.1.1
func (o *GetPlaylistContentsMetadata) GetAudienceRatingImage() *string
func (*GetPlaylistContentsMetadata) GetContentRating ¶ added in v0.1.1
func (o *GetPlaylistContentsMetadata) GetContentRating() *string
func (*GetPlaylistContentsMetadata) GetCountry ¶ added in v0.1.1
func (o *GetPlaylistContentsMetadata) GetCountry() []GetPlaylistContentsCountry
func (*GetPlaylistContentsMetadata) GetDirector ¶ added in v0.1.1
func (o *GetPlaylistContentsMetadata) GetDirector() []GetPlaylistContentsDirector
func (*GetPlaylistContentsMetadata) GetDuration ¶ added in v0.1.1
func (o *GetPlaylistContentsMetadata) GetDuration() *int
func (*GetPlaylistContentsMetadata) GetGUID ¶ added in v0.1.1
func (o *GetPlaylistContentsMetadata) GetGUID() *string
func (*GetPlaylistContentsMetadata) GetGenre ¶ added in v0.1.1
func (o *GetPlaylistContentsMetadata) GetGenre() []GetPlaylistContentsGenre
func (*GetPlaylistContentsMetadata) GetHasPremiumExtras ¶ added in v0.1.1
func (o *GetPlaylistContentsMetadata) GetHasPremiumExtras() *string
func (*GetPlaylistContentsMetadata) GetHasPremiumPrimaryExtra ¶ added in v0.1.1
func (o *GetPlaylistContentsMetadata) GetHasPremiumPrimaryExtra() *string
func (*GetPlaylistContentsMetadata) GetKey ¶ added in v0.1.1
func (o *GetPlaylistContentsMetadata) GetKey() *string
func (*GetPlaylistContentsMetadata) GetLibrarySectionID ¶ added in v0.1.1
func (o *GetPlaylistContentsMetadata) GetLibrarySectionID() *int
func (*GetPlaylistContentsMetadata) GetLibrarySectionKey ¶ added in v0.1.1
func (o *GetPlaylistContentsMetadata) GetLibrarySectionKey() *string
func (*GetPlaylistContentsMetadata) GetLibrarySectionTitle ¶ added in v0.1.1
func (o *GetPlaylistContentsMetadata) GetLibrarySectionTitle() *string
func (*GetPlaylistContentsMetadata) GetMedia ¶ added in v0.1.1
func (o *GetPlaylistContentsMetadata) GetMedia() []GetPlaylistContentsMedia
func (*GetPlaylistContentsMetadata) GetOriginallyAvailableAt ¶ added in v0.1.1
func (o *GetPlaylistContentsMetadata) GetOriginallyAvailableAt() *types.Date
func (*GetPlaylistContentsMetadata) GetRating ¶ added in v0.1.1
func (o *GetPlaylistContentsMetadata) GetRating() *float64
func (*GetPlaylistContentsMetadata) GetRatingImage ¶ added in v0.1.1
func (o *GetPlaylistContentsMetadata) GetRatingImage() *string
func (*GetPlaylistContentsMetadata) GetRatingKey ¶ added in v0.1.1
func (o *GetPlaylistContentsMetadata) GetRatingKey() *string
func (*GetPlaylistContentsMetadata) GetRole ¶ added in v0.1.1
func (o *GetPlaylistContentsMetadata) GetRole() []GetPlaylistContentsRole
func (*GetPlaylistContentsMetadata) GetStudio ¶ added in v0.1.1
func (o *GetPlaylistContentsMetadata) GetStudio() *string
func (*GetPlaylistContentsMetadata) GetSummary ¶ added in v0.1.1
func (o *GetPlaylistContentsMetadata) GetSummary() *string
func (*GetPlaylistContentsMetadata) GetTagline ¶ added in v0.1.1
func (o *GetPlaylistContentsMetadata) GetTagline() *string
func (*GetPlaylistContentsMetadata) GetThumb ¶ added in v0.1.1
func (o *GetPlaylistContentsMetadata) GetThumb() *string
func (*GetPlaylistContentsMetadata) GetTitle ¶ added in v0.1.1
func (o *GetPlaylistContentsMetadata) GetTitle() *string
func (*GetPlaylistContentsMetadata) GetTitleSort ¶ added in v0.1.1
func (o *GetPlaylistContentsMetadata) GetTitleSort() *string
func (*GetPlaylistContentsMetadata) GetType ¶ added in v0.1.1
func (o *GetPlaylistContentsMetadata) GetType() *string
func (*GetPlaylistContentsMetadata) GetUpdatedAt ¶ added in v0.1.1
func (o *GetPlaylistContentsMetadata) GetUpdatedAt() *int
func (*GetPlaylistContentsMetadata) GetWriter ¶ added in v0.1.1
func (o *GetPlaylistContentsMetadata) GetWriter() []GetPlaylistContentsWriter
func (*GetPlaylistContentsMetadata) GetYear ¶ added in v0.1.1
func (o *GetPlaylistContentsMetadata) GetYear() *int
func (GetPlaylistContentsMetadata) MarshalJSON ¶ added in v0.1.1
func (g GetPlaylistContentsMetadata) MarshalJSON() ([]byte, error)
func (*GetPlaylistContentsMetadata) UnmarshalJSON ¶ added in v0.1.1
func (g *GetPlaylistContentsMetadata) UnmarshalJSON(data []byte) error
type GetPlaylistContentsPart ¶ added in v0.1.1
type GetPlaylistContentsPart struct {
ID *int `json:"id,omitempty"`
Key *string `json:"key,omitempty"`
Duration *int `json:"duration,omitempty"`
File *string `json:"file,omitempty"`
Size *int `json:"size,omitempty"`
AudioProfile *string `json:"audioProfile,omitempty"`
Container *string `json:"container,omitempty"`
Has64bitOffsets *bool `json:"has64bitOffsets,omitempty"`
OptimizedForStreaming *bool `json:"optimizedForStreaming,omitempty"`
VideoProfile *string `json:"videoProfile,omitempty"`
}
func (*GetPlaylistContentsPart) GetAudioProfile ¶ added in v0.1.1
func (o *GetPlaylistContentsPart) GetAudioProfile() *string
func (*GetPlaylistContentsPart) GetContainer ¶ added in v0.1.1
func (o *GetPlaylistContentsPart) GetContainer() *string
func (*GetPlaylistContentsPart) GetDuration ¶ added in v0.1.1
func (o *GetPlaylistContentsPart) GetDuration() *int
func (*GetPlaylistContentsPart) GetFile ¶ added in v0.1.1
func (o *GetPlaylistContentsPart) GetFile() *string
func (*GetPlaylistContentsPart) GetHas64bitOffsets ¶ added in v0.1.1
func (o *GetPlaylistContentsPart) GetHas64bitOffsets() *bool
func (*GetPlaylistContentsPart) GetID ¶ added in v0.1.1
func (o *GetPlaylistContentsPart) GetID() *int
func (*GetPlaylistContentsPart) GetKey ¶ added in v0.1.1
func (o *GetPlaylistContentsPart) GetKey() *string
func (*GetPlaylistContentsPart) GetOptimizedForStreaming ¶ added in v0.1.1
func (o *GetPlaylistContentsPart) GetOptimizedForStreaming() *bool
func (*GetPlaylistContentsPart) GetSize ¶ added in v0.1.1
func (o *GetPlaylistContentsPart) GetSize() *int
func (*GetPlaylistContentsPart) GetVideoProfile ¶ added in v0.1.1
func (o *GetPlaylistContentsPart) GetVideoProfile() *string
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
// The playlist contents
Object *GetPlaylistContentsResponseBody
}
func (*GetPlaylistContentsResponse) GetContentType ¶
func (o *GetPlaylistContentsResponse) GetContentType() string
func (*GetPlaylistContentsResponse) GetObject ¶ added in v0.1.1
func (o *GetPlaylistContentsResponse) GetObject() *GetPlaylistContentsResponseBody
func (*GetPlaylistContentsResponse) GetRawResponse ¶
func (o *GetPlaylistContentsResponse) GetRawResponse() *http.Response
func (*GetPlaylistContentsResponse) GetStatusCode ¶
func (o *GetPlaylistContentsResponse) GetStatusCode() int
type GetPlaylistContentsResponseBody ¶ added in v0.1.1
type GetPlaylistContentsResponseBody struct {
MediaContainer *GetPlaylistContentsMediaContainer `json:"MediaContainer,omitempty"`
}
GetPlaylistContentsResponseBody - The playlist contents
func (*GetPlaylistContentsResponseBody) GetMediaContainer ¶ added in v0.1.1
func (o *GetPlaylistContentsResponseBody) GetMediaContainer() *GetPlaylistContentsMediaContainer
type GetPlaylistContentsRole ¶ added in v0.1.1
type GetPlaylistContentsRole struct {
Tag *string `json:"tag,omitempty"`
}
func (*GetPlaylistContentsRole) GetTag ¶ added in v0.1.1
func (o *GetPlaylistContentsRole) GetTag() *string
type GetPlaylistContentsWriter ¶ added in v0.1.1
type GetPlaylistContentsWriter struct {
Tag *string `json:"tag,omitempty"`
}
func (*GetPlaylistContentsWriter) GetTag ¶ added in v0.1.1
func (o *GetPlaylistContentsWriter) GetTag() *string
type GetPlaylistMediaContainer ¶ added in v0.1.1
type GetPlaylistMediaContainer struct {
Size *int `json:"size,omitempty"`
Metadata []GetPlaylistMetadata `json:"Metadata,omitempty"`
}
func (*GetPlaylistMediaContainer) GetMetadata ¶ added in v0.1.1
func (o *GetPlaylistMediaContainer) GetMetadata() []GetPlaylistMetadata
func (*GetPlaylistMediaContainer) GetSize ¶ added in v0.1.1
func (o *GetPlaylistMediaContainer) GetSize() *int
type GetPlaylistMetadata ¶ added in v0.1.1
type GetPlaylistMetadata struct {
Content *string `json:"content,omitempty"`
RatingKey *string `json:"ratingKey,omitempty"`
Key *string `json:"key,omitempty"`
GUID *string `json:"guid,omitempty"`
Type *string `json:"type,omitempty"`
Title *string `json:"title,omitempty"`
Summary *string `json:"summary,omitempty"`
Smart *bool `json:"smart,omitempty"`
PlaylistType *string `json:"playlistType,omitempty"`
Composite *string `json:"composite,omitempty"`
Icon *string `json:"icon,omitempty"`
Duration *int `json:"duration,omitempty"`
LeafCount *int `json:"leafCount,omitempty"`
AddedAt *int `json:"addedAt,omitempty"`
UpdatedAt *int `json:"updatedAt,omitempty"`
}
func (*GetPlaylistMetadata) GetAddedAt ¶ added in v0.1.1
func (o *GetPlaylistMetadata) GetAddedAt() *int
func (*GetPlaylistMetadata) GetComposite ¶ added in v0.1.1
func (o *GetPlaylistMetadata) GetComposite() *string
func (*GetPlaylistMetadata) GetContent ¶ added in v0.1.1
func (o *GetPlaylistMetadata) GetContent() *string
func (*GetPlaylistMetadata) GetDuration ¶ added in v0.1.1
func (o *GetPlaylistMetadata) GetDuration() *int
func (*GetPlaylistMetadata) GetGUID ¶ added in v0.1.1
func (o *GetPlaylistMetadata) GetGUID() *string
func (*GetPlaylistMetadata) GetIcon ¶ added in v0.1.1
func (o *GetPlaylistMetadata) GetIcon() *string
func (*GetPlaylistMetadata) GetKey ¶ added in v0.1.1
func (o *GetPlaylistMetadata) GetKey() *string
func (*GetPlaylistMetadata) GetLeafCount ¶ added in v0.1.1
func (o *GetPlaylistMetadata) GetLeafCount() *int
func (*GetPlaylistMetadata) GetPlaylistType ¶ added in v0.1.1
func (o *GetPlaylistMetadata) GetPlaylistType() *string
func (*GetPlaylistMetadata) GetRatingKey ¶ added in v0.1.1
func (o *GetPlaylistMetadata) GetRatingKey() *string
func (*GetPlaylistMetadata) GetSmart ¶ added in v0.1.1
func (o *GetPlaylistMetadata) GetSmart() *bool
func (*GetPlaylistMetadata) GetSummary ¶ added in v0.1.1
func (o *GetPlaylistMetadata) GetSummary() *string
func (*GetPlaylistMetadata) GetTitle ¶ added in v0.1.1
func (o *GetPlaylistMetadata) GetTitle() *string
func (*GetPlaylistMetadata) GetType ¶ added in v0.1.1
func (o *GetPlaylistMetadata) GetType() *string
func (*GetPlaylistMetadata) GetUpdatedAt ¶ added in v0.1.1
func (o *GetPlaylistMetadata) GetUpdatedAt() *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
// The playlist
Object *GetPlaylistResponseBody
}
func (*GetPlaylistResponse) GetContentType ¶
func (o *GetPlaylistResponse) GetContentType() string
func (*GetPlaylistResponse) GetObject ¶ added in v0.1.1
func (o *GetPlaylistResponse) GetObject() *GetPlaylistResponseBody
func (*GetPlaylistResponse) GetRawResponse ¶
func (o *GetPlaylistResponse) GetRawResponse() *http.Response
func (*GetPlaylistResponse) GetStatusCode ¶
func (o *GetPlaylistResponse) GetStatusCode() int
type GetPlaylistResponseBody ¶ added in v0.1.1
type GetPlaylistResponseBody struct {
MediaContainer *GetPlaylistMediaContainer `json:"MediaContainer,omitempty"`
}
GetPlaylistResponseBody - The playlist
func (*GetPlaylistResponseBody) GetMediaContainer ¶ added in v0.1.1
func (o *GetPlaylistResponseBody) GetMediaContainer() *GetPlaylistMediaContainer
type GetPlaylistsMediaContainer ¶ added in v0.1.1
type GetPlaylistsMediaContainer struct {
Size *int `json:"size,omitempty"`
Metadata []GetPlaylistsMetadata `json:"Metadata,omitempty"`
}
func (*GetPlaylistsMediaContainer) GetMetadata ¶ added in v0.1.1
func (o *GetPlaylistsMediaContainer) GetMetadata() []GetPlaylistsMetadata
func (*GetPlaylistsMediaContainer) GetSize ¶ added in v0.1.1
func (o *GetPlaylistsMediaContainer) GetSize() *int
type GetPlaylistsMetadata ¶ added in v0.1.1
type GetPlaylistsMetadata struct {
RatingKey *string `json:"ratingKey,omitempty"`
Key *string `json:"key,omitempty"`
GUID *string `json:"guid,omitempty"`
Type *string `json:"type,omitempty"`
Title *string `json:"title,omitempty"`
Summary *string `json:"summary,omitempty"`
Smart *bool `json:"smart,omitempty"`
PlaylistType *string `json:"playlistType,omitempty"`
Composite *string `json:"composite,omitempty"`
Icon *string `json:"icon,omitempty"`
ViewCount *int `json:"viewCount,omitempty"`
LastViewedAt *int `json:"lastViewedAt,omitempty"`
Duration *int `json:"duration,omitempty"`
LeafCount *int `json:"leafCount,omitempty"`
AddedAt *int `json:"addedAt,omitempty"`
UpdatedAt *int `json:"updatedAt,omitempty"`
}
func (*GetPlaylistsMetadata) GetAddedAt ¶ added in v0.1.1
func (o *GetPlaylistsMetadata) GetAddedAt() *int
func (*GetPlaylistsMetadata) GetComposite ¶ added in v0.1.1
func (o *GetPlaylistsMetadata) GetComposite() *string
func (*GetPlaylistsMetadata) GetDuration ¶ added in v0.1.1
func (o *GetPlaylistsMetadata) GetDuration() *int
func (*GetPlaylistsMetadata) GetGUID ¶ added in v0.1.1
func (o *GetPlaylistsMetadata) GetGUID() *string
func (*GetPlaylistsMetadata) GetIcon ¶ added in v0.1.1
func (o *GetPlaylistsMetadata) GetIcon() *string
func (*GetPlaylistsMetadata) GetKey ¶ added in v0.1.1
func (o *GetPlaylistsMetadata) GetKey() *string
func (*GetPlaylistsMetadata) GetLastViewedAt ¶ added in v0.1.1
func (o *GetPlaylistsMetadata) GetLastViewedAt() *int
func (*GetPlaylistsMetadata) GetLeafCount ¶ added in v0.1.1
func (o *GetPlaylistsMetadata) GetLeafCount() *int
func (*GetPlaylistsMetadata) GetPlaylistType ¶ added in v0.1.1
func (o *GetPlaylistsMetadata) GetPlaylistType() *string
func (*GetPlaylistsMetadata) GetRatingKey ¶ added in v0.1.1
func (o *GetPlaylistsMetadata) GetRatingKey() *string
func (*GetPlaylistsMetadata) GetSmart ¶ added in v0.1.1
func (o *GetPlaylistsMetadata) GetSmart() *bool
func (*GetPlaylistsMetadata) GetSummary ¶ added in v0.1.1
func (o *GetPlaylistsMetadata) GetSummary() *string
func (*GetPlaylistsMetadata) GetTitle ¶ added in v0.1.1
func (o *GetPlaylistsMetadata) GetTitle() *string
func (*GetPlaylistsMetadata) GetType ¶ added in v0.1.1
func (o *GetPlaylistsMetadata) GetType() *string
func (*GetPlaylistsMetadata) GetUpdatedAt ¶ added in v0.1.1
func (o *GetPlaylistsMetadata) GetUpdatedAt() *int
func (*GetPlaylistsMetadata) GetViewCount ¶ added in v0.1.1
func (o *GetPlaylistsMetadata) GetViewCount() *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
// returns all playlists
Object *GetPlaylistsResponseBody
}
func (*GetPlaylistsResponse) GetContentType ¶
func (o *GetPlaylistsResponse) GetContentType() string
func (*GetPlaylistsResponse) GetObject ¶ added in v0.1.1
func (o *GetPlaylistsResponse) GetObject() *GetPlaylistsResponseBody
func (*GetPlaylistsResponse) GetRawResponse ¶
func (o *GetPlaylistsResponse) GetRawResponse() *http.Response
func (*GetPlaylistsResponse) GetStatusCode ¶
func (o *GetPlaylistsResponse) GetStatusCode() int
type GetPlaylistsResponseBody ¶ added in v0.1.1
type GetPlaylistsResponseBody struct {
MediaContainer *GetPlaylistsMediaContainer `json:"MediaContainer,omitempty"`
}
GetPlaylistsResponseBody - returns all playlists
func (*GetPlaylistsResponseBody) GetMediaContainer ¶ added in v0.1.1
func (o *GetPlaylistsResponseBody) GetMediaContainer() *GetPlaylistsMediaContainer
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 Server Identity information
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 Server Identity information
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 GetServerPreferencesMediaContainer ¶ added in v0.1.0
type GetServerPreferencesMediaContainer struct {
Size *int `json:"size,omitempty"`
Setting []Setting `json:"Setting,omitempty"`
}
func (*GetServerPreferencesMediaContainer) GetSetting ¶ added in v0.1.0
func (o *GetServerPreferencesMediaContainer) GetSetting() []Setting
func (*GetServerPreferencesMediaContainer) GetSize ¶ added in v0.1.0
func (o *GetServerPreferencesMediaContainer) GetSize() *int
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
// Server Preferences
Object *GetServerPreferencesResponseBody
}
func (*GetServerPreferencesResponse) GetContentType ¶
func (o *GetServerPreferencesResponse) GetContentType() string
func (*GetServerPreferencesResponse) GetObject ¶ added in v0.1.0
func (o *GetServerPreferencesResponse) GetObject() *GetServerPreferencesResponseBody
func (*GetServerPreferencesResponse) GetRawResponse ¶
func (o *GetServerPreferencesResponse) GetRawResponse() *http.Response
func (*GetServerPreferencesResponse) GetStatusCode ¶
func (o *GetServerPreferencesResponse) GetStatusCode() int
type GetServerPreferencesResponseBody ¶ added in v0.1.0
type GetServerPreferencesResponseBody struct {
MediaContainer *GetServerPreferencesMediaContainer `json:"MediaContainer,omitempty"`
}
GetServerPreferencesResponseBody - Server Preferences
func (*GetServerPreferencesResponseBody) GetMediaContainer ¶ added in v0.1.0
func (o *GetServerPreferencesResponseBody) GetMediaContainer() *GetServerPreferencesMediaContainer
type GetSessionHistoryMediaContainer ¶ added in v0.1.1
type GetSessionHistoryMediaContainer struct {
Size *int `json:"size,omitempty"`
Metadata []GetSessionHistoryMetadata `json:"Metadata,omitempty"`
}
func (*GetSessionHistoryMediaContainer) GetMetadata ¶ added in v0.1.1
func (o *GetSessionHistoryMediaContainer) GetMetadata() []GetSessionHistoryMetadata
func (*GetSessionHistoryMediaContainer) GetSize ¶ added in v0.1.1
func (o *GetSessionHistoryMediaContainer) GetSize() *int
type GetSessionHistoryMetadata ¶ added in v0.1.1
type GetSessionHistoryMetadata struct {
HistoryKey *string `json:"historyKey,omitempty"`
Key *string `json:"key,omitempty"`
RatingKey *string `json:"ratingKey,omitempty"`
LibrarySectionID *string `json:"librarySectionID,omitempty"`
ParentKey *string `json:"parentKey,omitempty"`
GrandparentKey *string `json:"grandparentKey,omitempty"`
Title *string `json:"title,omitempty"`
GrandparentTitle *string `json:"grandparentTitle,omitempty"`
Type *string `json:"type,omitempty"`
Thumb *string `json:"thumb,omitempty"`
ParentThumb *string `json:"parentThumb,omitempty"`
GrandparentThumb *string `json:"grandparentThumb,omitempty"`
GrandparentArt *string `json:"grandparentArt,omitempty"`
Index *int `json:"index,omitempty"`
ParentIndex *int `json:"parentIndex,omitempty"`
OriginallyAvailableAt *types.Date `json:"originallyAvailableAt,omitempty"`
ViewedAt *int `json:"viewedAt,omitempty"`
AccountID *int `json:"accountID,omitempty"`
DeviceID *int `json:"deviceID,omitempty"`
}
func (*GetSessionHistoryMetadata) GetAccountID ¶ added in v0.1.1
func (o *GetSessionHistoryMetadata) GetAccountID() *int
func (*GetSessionHistoryMetadata) GetDeviceID ¶ added in v0.1.1
func (o *GetSessionHistoryMetadata) GetDeviceID() *int
func (*GetSessionHistoryMetadata) GetGrandparentArt ¶ added in v0.1.1
func (o *GetSessionHistoryMetadata) GetGrandparentArt() *string
func (*GetSessionHistoryMetadata) GetGrandparentKey ¶ added in v0.1.1
func (o *GetSessionHistoryMetadata) GetGrandparentKey() *string
func (*GetSessionHistoryMetadata) GetGrandparentThumb ¶ added in v0.1.1
func (o *GetSessionHistoryMetadata) GetGrandparentThumb() *string
func (*GetSessionHistoryMetadata) GetGrandparentTitle ¶ added in v0.1.1
func (o *GetSessionHistoryMetadata) GetGrandparentTitle() *string
func (*GetSessionHistoryMetadata) GetHistoryKey ¶ added in v0.1.1
func (o *GetSessionHistoryMetadata) GetHistoryKey() *string
func (*GetSessionHistoryMetadata) GetIndex ¶ added in v0.1.1
func (o *GetSessionHistoryMetadata) GetIndex() *int
func (*GetSessionHistoryMetadata) GetKey ¶ added in v0.1.1
func (o *GetSessionHistoryMetadata) GetKey() *string
func (*GetSessionHistoryMetadata) GetLibrarySectionID ¶ added in v0.1.1
func (o *GetSessionHistoryMetadata) GetLibrarySectionID() *string
func (*GetSessionHistoryMetadata) GetOriginallyAvailableAt ¶ added in v0.1.1
func (o *GetSessionHistoryMetadata) GetOriginallyAvailableAt() *types.Date
func (*GetSessionHistoryMetadata) GetParentIndex ¶ added in v0.1.1
func (o *GetSessionHistoryMetadata) GetParentIndex() *int
func (*GetSessionHistoryMetadata) GetParentKey ¶ added in v0.1.1
func (o *GetSessionHistoryMetadata) GetParentKey() *string
func (*GetSessionHistoryMetadata) GetParentThumb ¶ added in v0.1.1
func (o *GetSessionHistoryMetadata) GetParentThumb() *string
func (*GetSessionHistoryMetadata) GetRatingKey ¶ added in v0.1.1
func (o *GetSessionHistoryMetadata) GetRatingKey() *string
func (*GetSessionHistoryMetadata) GetThumb ¶ added in v0.1.1
func (o *GetSessionHistoryMetadata) GetThumb() *string
func (*GetSessionHistoryMetadata) GetTitle ¶ added in v0.1.1
func (o *GetSessionHistoryMetadata) GetTitle() *string
func (*GetSessionHistoryMetadata) GetType ¶ added in v0.1.1
func (o *GetSessionHistoryMetadata) GetType() *string
func (*GetSessionHistoryMetadata) GetViewedAt ¶ added in v0.1.1
func (o *GetSessionHistoryMetadata) GetViewedAt() *int
func (GetSessionHistoryMetadata) MarshalJSON ¶ added in v0.1.1
func (g GetSessionHistoryMetadata) MarshalJSON() ([]byte, error)
func (*GetSessionHistoryMetadata) UnmarshalJSON ¶ added in v0.1.1
func (g *GetSessionHistoryMetadata) UnmarshalJSON(data []byte) error
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
// List of Plex Sessions
Object *GetSessionHistoryResponseBody
}
func (*GetSessionHistoryResponse) GetContentType ¶
func (o *GetSessionHistoryResponse) GetContentType() string
func (*GetSessionHistoryResponse) GetObject ¶ added in v0.1.1
func (o *GetSessionHistoryResponse) GetObject() *GetSessionHistoryResponseBody
func (*GetSessionHistoryResponse) GetRawResponse ¶
func (o *GetSessionHistoryResponse) GetRawResponse() *http.Response
func (*GetSessionHistoryResponse) GetStatusCode ¶
func (o *GetSessionHistoryResponse) GetStatusCode() int
type GetSessionHistoryResponseBody ¶ added in v0.1.1
type GetSessionHistoryResponseBody struct {
MediaContainer *GetSessionHistoryMediaContainer `json:"MediaContainer,omitempty"`
}
GetSessionHistoryResponseBody - List of Plex Sessions
func (*GetSessionHistoryResponseBody) GetMediaContainer ¶ added in v0.1.1
func (o *GetSessionHistoryResponseBody) GetMediaContainer() *GetSessionHistoryMediaContainer
type GetSessionsMedia ¶ added in v0.1.1
type GetSessionsMedia struct {
AudioChannels *int `json:"audioChannels,omitempty"`
AudioCodec *string `json:"audioCodec,omitempty"`
Bitrate *int `json:"bitrate,omitempty"`
Container *string `json:"container,omitempty"`
Duration *int `json:"duration,omitempty"`
ID *string `json:"id,omitempty"`
Selected *bool `json:"selected,omitempty"`
Part []GetSessionsPart `json:"Part,omitempty"`
}
func (*GetSessionsMedia) GetAudioChannels ¶ added in v0.1.1
func (o *GetSessionsMedia) GetAudioChannels() *int
func (*GetSessionsMedia) GetAudioCodec ¶ added in v0.1.1
func (o *GetSessionsMedia) GetAudioCodec() *string
func (*GetSessionsMedia) GetBitrate ¶ added in v0.1.1
func (o *GetSessionsMedia) GetBitrate() *int
func (*GetSessionsMedia) GetContainer ¶ added in v0.1.1
func (o *GetSessionsMedia) GetContainer() *string
func (*GetSessionsMedia) GetDuration ¶ added in v0.1.1
func (o *GetSessionsMedia) GetDuration() *int
func (*GetSessionsMedia) GetID ¶ added in v0.1.1
func (o *GetSessionsMedia) GetID() *string
func (*GetSessionsMedia) GetPart ¶ added in v0.1.1
func (o *GetSessionsMedia) GetPart() []GetSessionsPart
func (*GetSessionsMedia) GetSelected ¶ added in v0.1.1
func (o *GetSessionsMedia) GetSelected() *bool
type GetSessionsMediaContainer ¶ added in v0.1.1
type GetSessionsMediaContainer struct {
Size *int `json:"size,omitempty"`
Metadata []GetSessionsMetadata `json:"Metadata,omitempty"`
}
func (*GetSessionsMediaContainer) GetMetadata ¶ added in v0.1.1
func (o *GetSessionsMediaContainer) GetMetadata() []GetSessionsMetadata
func (*GetSessionsMediaContainer) GetSize ¶ added in v0.1.1
func (o *GetSessionsMediaContainer) GetSize() *int
type GetSessionsMetadata ¶ added in v0.1.1
type GetSessionsMetadata struct {
AddedAt *int `json:"addedAt,omitempty"`
Art *string `json:"art,omitempty"`
Duration *int `json:"duration,omitempty"`
GrandparentArt *string `json:"grandparentArt,omitempty"`
GrandparentGUID *string `json:"grandparentGuid,omitempty"`
GrandparentKey *string `json:"grandparentKey,omitempty"`
GrandparentRatingKey *string `json:"grandparentRatingKey,omitempty"`
GrandparentThumb *string `json:"grandparentThumb,omitempty"`
GrandparentTitle *string `json:"grandparentTitle,omitempty"`
GUID *string `json:"guid,omitempty"`
Index *int `json:"index,omitempty"`
Key *string `json:"key,omitempty"`
LibrarySectionID *string `json:"librarySectionID,omitempty"`
LibrarySectionKey *string `json:"librarySectionKey,omitempty"`
LibrarySectionTitle *string `json:"librarySectionTitle,omitempty"`
MusicAnalysisVersion *string `json:"musicAnalysisVersion,omitempty"`
ParentGUID *string `json:"parentGuid,omitempty"`
ParentIndex *int `json:"parentIndex,omitempty"`
ParentKey *string `json:"parentKey,omitempty"`
ParentRatingKey *string `json:"parentRatingKey,omitempty"`
ParentStudio *string `json:"parentStudio,omitempty"`
ParentThumb *string `json:"parentThumb,omitempty"`
ParentTitle *string `json:"parentTitle,omitempty"`
ParentYear *int `json:"parentYear,omitempty"`
RatingCount *int `json:"ratingCount,omitempty"`
RatingKey *string `json:"ratingKey,omitempty"`
SessionKey *string `json:"sessionKey,omitempty"`
Thumb *string `json:"thumb,omitempty"`
Title *string `json:"title,omitempty"`
TitleSort *string `json:"titleSort,omitempty"`
Type *string `json:"type,omitempty"`
UpdatedAt *int `json:"updatedAt,omitempty"`
ViewOffset *int `json:"viewOffset,omitempty"`
Media []GetSessionsMedia `json:"Media,omitempty"`
User *User `json:"User,omitempty"`
Player *Player `json:"Player,omitempty"`
Session *Session `json:"Session,omitempty"`
}
func (*GetSessionsMetadata) GetAddedAt ¶ added in v0.1.1
func (o *GetSessionsMetadata) GetAddedAt() *int
func (*GetSessionsMetadata) GetArt ¶ added in v0.1.1
func (o *GetSessionsMetadata) GetArt() *string
func (*GetSessionsMetadata) GetDuration ¶ added in v0.1.1
func (o *GetSessionsMetadata) GetDuration() *int
func (*GetSessionsMetadata) GetGUID ¶ added in v0.1.1
func (o *GetSessionsMetadata) GetGUID() *string
func (*GetSessionsMetadata) GetGrandparentArt ¶ added in v0.1.1
func (o *GetSessionsMetadata) GetGrandparentArt() *string
func (*GetSessionsMetadata) GetGrandparentGUID ¶ added in v0.1.1
func (o *GetSessionsMetadata) GetGrandparentGUID() *string
func (*GetSessionsMetadata) GetGrandparentKey ¶ added in v0.1.1
func (o *GetSessionsMetadata) GetGrandparentKey() *string
func (*GetSessionsMetadata) GetGrandparentRatingKey ¶ added in v0.1.1
func (o *GetSessionsMetadata) GetGrandparentRatingKey() *string
func (*GetSessionsMetadata) GetGrandparentThumb ¶ added in v0.1.1
func (o *GetSessionsMetadata) GetGrandparentThumb() *string
func (*GetSessionsMetadata) GetGrandparentTitle ¶ added in v0.1.1
func (o *GetSessionsMetadata) GetGrandparentTitle() *string
func (*GetSessionsMetadata) GetIndex ¶ added in v0.1.1
func (o *GetSessionsMetadata) GetIndex() *int
func (*GetSessionsMetadata) GetKey ¶ added in v0.1.1
func (o *GetSessionsMetadata) GetKey() *string
func (*GetSessionsMetadata) GetLibrarySectionID ¶ added in v0.1.1
func (o *GetSessionsMetadata) GetLibrarySectionID() *string
func (*GetSessionsMetadata) GetLibrarySectionKey ¶ added in v0.1.1
func (o *GetSessionsMetadata) GetLibrarySectionKey() *string
func (*GetSessionsMetadata) GetLibrarySectionTitle ¶ added in v0.1.1
func (o *GetSessionsMetadata) GetLibrarySectionTitle() *string
func (*GetSessionsMetadata) GetMedia ¶ added in v0.1.1
func (o *GetSessionsMetadata) GetMedia() []GetSessionsMedia
func (*GetSessionsMetadata) GetMusicAnalysisVersion ¶ added in v0.1.1
func (o *GetSessionsMetadata) GetMusicAnalysisVersion() *string
func (*GetSessionsMetadata) GetParentGUID ¶ added in v0.1.1
func (o *GetSessionsMetadata) GetParentGUID() *string
func (*GetSessionsMetadata) GetParentIndex ¶ added in v0.1.1
func (o *GetSessionsMetadata) GetParentIndex() *int
func (*GetSessionsMetadata) GetParentKey ¶ added in v0.1.1
func (o *GetSessionsMetadata) GetParentKey() *string
func (*GetSessionsMetadata) GetParentRatingKey ¶ added in v0.1.1
func (o *GetSessionsMetadata) GetParentRatingKey() *string
func (*GetSessionsMetadata) GetParentStudio ¶ added in v0.1.1
func (o *GetSessionsMetadata) GetParentStudio() *string
func (*GetSessionsMetadata) GetParentThumb ¶ added in v0.1.1
func (o *GetSessionsMetadata) GetParentThumb() *string
func (*GetSessionsMetadata) GetParentTitle ¶ added in v0.1.1
func (o *GetSessionsMetadata) GetParentTitle() *string
func (*GetSessionsMetadata) GetParentYear ¶ added in v0.1.1
func (o *GetSessionsMetadata) GetParentYear() *int
func (*GetSessionsMetadata) GetPlayer ¶ added in v0.1.1
func (o *GetSessionsMetadata) GetPlayer() *Player
func (*GetSessionsMetadata) GetRatingCount ¶ added in v0.1.1
func (o *GetSessionsMetadata) GetRatingCount() *int
func (*GetSessionsMetadata) GetRatingKey ¶ added in v0.1.1
func (o *GetSessionsMetadata) GetRatingKey() *string
func (*GetSessionsMetadata) GetSession ¶ added in v0.1.1
func (o *GetSessionsMetadata) GetSession() *Session
func (*GetSessionsMetadata) GetSessionKey ¶ added in v0.1.1
func (o *GetSessionsMetadata) GetSessionKey() *string
func (*GetSessionsMetadata) GetThumb ¶ added in v0.1.1
func (o *GetSessionsMetadata) GetThumb() *string
func (*GetSessionsMetadata) GetTitle ¶ added in v0.1.1
func (o *GetSessionsMetadata) GetTitle() *string
func (*GetSessionsMetadata) GetTitleSort ¶ added in v0.1.1
func (o *GetSessionsMetadata) GetTitleSort() *string
func (*GetSessionsMetadata) GetType ¶ added in v0.1.1
func (o *GetSessionsMetadata) GetType() *string
func (*GetSessionsMetadata) GetUpdatedAt ¶ added in v0.1.1
func (o *GetSessionsMetadata) GetUpdatedAt() *int
func (*GetSessionsMetadata) GetUser ¶ added in v0.1.1
func (o *GetSessionsMetadata) GetUser() *User
func (*GetSessionsMetadata) GetViewOffset ¶ added in v0.1.1
func (o *GetSessionsMetadata) GetViewOffset() *int
type GetSessionsPart ¶ added in v0.1.1
type GetSessionsPart struct {
Container *string `json:"container,omitempty"`
Duration *int `json:"duration,omitempty"`
File *string `json:"file,omitempty"`
HasThumbnail *string `json:"hasThumbnail,omitempty"`
ID *string `json:"id,omitempty"`
Key *string `json:"key,omitempty"`
Size *int `json:"size,omitempty"`
Decision *string `json:"decision,omitempty"`
Selected *bool `json:"selected,omitempty"`
Stream []GetSessionsStream `json:"Stream,omitempty"`
}
func (*GetSessionsPart) GetContainer ¶ added in v0.1.1
func (o *GetSessionsPart) GetContainer() *string
func (*GetSessionsPart) GetDecision ¶ added in v0.1.1
func (o *GetSessionsPart) GetDecision() *string
func (*GetSessionsPart) GetDuration ¶ added in v0.1.1
func (o *GetSessionsPart) GetDuration() *int
func (*GetSessionsPart) GetFile ¶ added in v0.1.1
func (o *GetSessionsPart) GetFile() *string
func (*GetSessionsPart) GetHasThumbnail ¶ added in v0.1.1
func (o *GetSessionsPart) GetHasThumbnail() *string
func (*GetSessionsPart) GetID ¶ added in v0.1.1
func (o *GetSessionsPart) GetID() *string
func (*GetSessionsPart) GetKey ¶ added in v0.1.1
func (o *GetSessionsPart) GetKey() *string
func (*GetSessionsPart) GetSelected ¶ added in v0.1.1
func (o *GetSessionsPart) GetSelected() *bool
func (*GetSessionsPart) GetSize ¶ added in v0.1.1
func (o *GetSessionsPart) GetSize() *int
func (*GetSessionsPart) GetStream ¶ added in v0.1.1
func (o *GetSessionsPart) GetStream() []GetSessionsStream
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
// List of Active Plex Sessions
Object *GetSessionsResponseBody
}
func (*GetSessionsResponse) GetContentType ¶
func (o *GetSessionsResponse) GetContentType() string
func (*GetSessionsResponse) GetObject ¶ added in v0.1.1
func (o *GetSessionsResponse) GetObject() *GetSessionsResponseBody
func (*GetSessionsResponse) GetRawResponse ¶
func (o *GetSessionsResponse) GetRawResponse() *http.Response
func (*GetSessionsResponse) GetStatusCode ¶
func (o *GetSessionsResponse) GetStatusCode() int
type GetSessionsResponseBody ¶ added in v0.1.1
type GetSessionsResponseBody struct {
MediaContainer *GetSessionsMediaContainer `json:"MediaContainer,omitempty"`
}
GetSessionsResponseBody - List of Active Plex Sessions
func (*GetSessionsResponseBody) GetMediaContainer ¶ added in v0.1.1
func (o *GetSessionsResponseBody) GetMediaContainer() *GetSessionsMediaContainer
type GetSessionsStream ¶ added in v0.1.1
type GetSessionsStream struct {
AlbumGain *string `json:"albumGain,omitempty"`
AlbumPeak *string `json:"albumPeak,omitempty"`
AlbumRange *string `json:"albumRange,omitempty"`
AudioChannelLayout *string `json:"audioChannelLayout,omitempty"`
BitDepth *int `json:"bitDepth,omitempty"`
Bitrate *int `json:"bitrate,omitempty"`
Channels *int `json:"channels,omitempty"`
Codec *string `json:"codec,omitempty"`
DisplayTitle *string `json:"displayTitle,omitempty"`
ExtendedDisplayTitle *string `json:"extendedDisplayTitle,omitempty"`
Gain *string `json:"gain,omitempty"`
ID *string `json:"id,omitempty"`
Index *int `json:"index,omitempty"`
Loudness *string `json:"loudness,omitempty"`
Lra *string `json:"lra,omitempty"`
Peak *string `json:"peak,omitempty"`
SamplingRate *int `json:"samplingRate,omitempty"`
Selected *bool `json:"selected,omitempty"`
StreamType *int `json:"streamType,omitempty"`
Location *string `json:"location,omitempty"`
}
func (*GetSessionsStream) GetAlbumGain ¶ added in v0.1.1
func (o *GetSessionsStream) GetAlbumGain() *string
func (*GetSessionsStream) GetAlbumPeak ¶ added in v0.1.1
func (o *GetSessionsStream) GetAlbumPeak() *string
func (*GetSessionsStream) GetAlbumRange ¶ added in v0.1.1
func (o *GetSessionsStream) GetAlbumRange() *string
func (*GetSessionsStream) GetAudioChannelLayout ¶ added in v0.1.1
func (o *GetSessionsStream) GetAudioChannelLayout() *string
func (*GetSessionsStream) GetBitDepth ¶ added in v0.1.1
func (o *GetSessionsStream) GetBitDepth() *int
func (*GetSessionsStream) GetBitrate ¶ added in v0.1.1
func (o *GetSessionsStream) GetBitrate() *int
func (*GetSessionsStream) GetChannels ¶ added in v0.1.1
func (o *GetSessionsStream) GetChannels() *int
func (*GetSessionsStream) GetCodec ¶ added in v0.1.1
func (o *GetSessionsStream) GetCodec() *string
func (*GetSessionsStream) GetDisplayTitle ¶ added in v0.1.1
func (o *GetSessionsStream) GetDisplayTitle() *string
func (*GetSessionsStream) GetExtendedDisplayTitle ¶ added in v0.1.1
func (o *GetSessionsStream) GetExtendedDisplayTitle() *string
func (*GetSessionsStream) GetGain ¶ added in v0.1.1
func (o *GetSessionsStream) GetGain() *string
func (*GetSessionsStream) GetID ¶ added in v0.1.1
func (o *GetSessionsStream) GetID() *string
func (*GetSessionsStream) GetIndex ¶ added in v0.1.1
func (o *GetSessionsStream) GetIndex() *int
func (*GetSessionsStream) GetLocation ¶ added in v0.1.1
func (o *GetSessionsStream) GetLocation() *string
func (*GetSessionsStream) GetLoudness ¶ added in v0.1.1
func (o *GetSessionsStream) GetLoudness() *string
func (*GetSessionsStream) GetLra ¶ added in v0.1.1
func (o *GetSessionsStream) GetLra() *string
func (*GetSessionsStream) GetPeak ¶ added in v0.1.1
func (o *GetSessionsStream) GetPeak() *string
func (*GetSessionsStream) GetSamplingRate ¶ added in v0.1.1
func (o *GetSessionsStream) GetSamplingRate() *int
func (*GetSessionsStream) GetSelected ¶ added in v0.1.1
func (o *GetSessionsStream) GetSelected() *bool
func (*GetSessionsStream) GetStreamType ¶ added in v0.1.1
func (o *GetSessionsStream) GetStreamType() *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 GetTokenRequest ¶ added in v0.2.0
type GetTokenRequest struct {
// The PinID to retrieve an access token for
PinID string `pathParam:"style=simple,explode=false,name=pinID"`
// Plex Authentication Token
XPlexClientIdentifier string `header:"style=simple,explode=false,name=X-Plex-Client-Identifier"`
}
func (*GetTokenRequest) GetPinID ¶ added in v0.2.0
func (o *GetTokenRequest) GetPinID() string
func (*GetTokenRequest) GetXPlexClientIdentifier ¶ added in v0.2.0
func (o *GetTokenRequest) GetXPlexClientIdentifier() string
type GetTokenResponse ¶ added in v0.2.0
type GetTokenResponse 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 (*GetTokenResponse) GetContentType ¶ added in v0.2.0
func (o *GetTokenResponse) GetContentType() string
func (*GetTokenResponse) GetRawResponse ¶ added in v0.2.0
func (o *GetTokenResponse) GetRawResponse() *http.Response
func (*GetTokenResponse) GetStatusCode ¶ added in v0.2.0
func (o *GetTokenResponse) GetStatusCode() int
type GetTranscodeSessionsMediaContainer ¶
type GetTranscodeSessionsMediaContainer struct {
Size *int `json:"size,omitempty"`
TranscodeSession []TranscodeSession `json:"TranscodeSession,omitempty"`
}
func (*GetTranscodeSessionsMediaContainer) GetSize ¶
func (o *GetTranscodeSessionsMediaContainer) GetSize() *int
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 GetTransientTokenQueryParamType ¶ added in v0.1.2
type GetTransientTokenQueryParamType string
GetTransientTokenQueryParamType - `delegation` - This is the only supported `type` parameter.
const (
GetTransientTokenQueryParamTypeDelegation GetTransientTokenQueryParamType = "delegation"
)
func (GetTransientTokenQueryParamType) ToPointer ¶ added in v0.1.2
func (e GetTransientTokenQueryParamType) ToPointer() *GetTransientTokenQueryParamType
func (*GetTransientTokenQueryParamType) UnmarshalJSON ¶ added in v0.1.2
func (e *GetTransientTokenQueryParamType) UnmarshalJSON(data []byte) error
type GetTransientTokenRequest ¶
type GetTransientTokenRequest struct {
// `delegation` - This is the only supported `type` parameter.
Type GetTransientTokenQueryParamType `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() GetTransientTokenQueryParamType
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 GetUpdateStatusMediaContainer ¶ added in v0.1.1
type GetUpdateStatusMediaContainer struct {
Size *int `json:"size,omitempty"`
CanInstall *bool `json:"canInstall,omitempty"`
CheckedAt *int `json:"checkedAt,omitempty"`
DownloadURL *string `json:"downloadURL,omitempty"`
Status *int `json:"status,omitempty"`
Release []Release `json:"Release,omitempty"`
}
func (*GetUpdateStatusMediaContainer) GetCanInstall ¶ added in v0.1.1
func (o *GetUpdateStatusMediaContainer) GetCanInstall() *bool
func (*GetUpdateStatusMediaContainer) GetCheckedAt ¶ added in v0.1.1
func (o *GetUpdateStatusMediaContainer) GetCheckedAt() *int
func (*GetUpdateStatusMediaContainer) GetDownloadURL ¶ added in v0.1.1
func (o *GetUpdateStatusMediaContainer) GetDownloadURL() *string
func (*GetUpdateStatusMediaContainer) GetRelease ¶ added in v0.1.1
func (o *GetUpdateStatusMediaContainer) GetRelease() []Release
func (*GetUpdateStatusMediaContainer) GetSize ¶ added in v0.1.1
func (o *GetUpdateStatusMediaContainer) GetSize() *int
func (*GetUpdateStatusMediaContainer) GetStatus ¶ added in v0.1.1
func (o *GetUpdateStatusMediaContainer) GetStatus() *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
// The Server Updates
Object *GetUpdateStatusResponseBody
}
func (*GetUpdateStatusResponse) GetContentType ¶
func (o *GetUpdateStatusResponse) GetContentType() string
func (*GetUpdateStatusResponse) GetObject ¶ added in v0.1.1
func (o *GetUpdateStatusResponse) GetObject() *GetUpdateStatusResponseBody
func (*GetUpdateStatusResponse) GetRawResponse ¶
func (o *GetUpdateStatusResponse) GetRawResponse() *http.Response
func (*GetUpdateStatusResponse) GetStatusCode ¶
func (o *GetUpdateStatusResponse) GetStatusCode() int
type GetUpdateStatusResponseBody ¶ added in v0.1.1
type GetUpdateStatusResponseBody struct {
MediaContainer *GetUpdateStatusMediaContainer `json:"MediaContainer,omitempty"`
}
GetUpdateStatusResponseBody - The Server Updates
func (*GetUpdateStatusResponseBody) GetMediaContainer ¶ added in v0.1.1
func (o *GetUpdateStatusResponseBody) GetMediaContainer() *GetUpdateStatusMediaContainer
type Hub ¶ added in v0.1.1
type Hub struct {
HubKey *string `json:"hubKey,omitempty"`
Key *string `json:"key,omitempty"`
Title *string `json:"title,omitempty"`
Type *string `json:"type,omitempty"`
HubIdentifier *string `json:"hubIdentifier,omitempty"`
Context *string `json:"context,omitempty"`
Size *int `json:"size,omitempty"`
More *bool `json:"more,omitempty"`
Style *string `json:"style,omitempty"`
Promoted *bool `json:"promoted,omitempty"`
Metadata []GetGlobalHubsMetadata `json:"Metadata,omitempty"`
}
func (*Hub) GetContext ¶ added in v0.1.1
func (*Hub) GetHubIdentifier ¶ added in v0.1.1
func (*Hub) GetMetadata ¶ added in v0.1.1
func (o *Hub) GetMetadata() []GetGlobalHubsMetadata
func (*Hub) GetPromoted ¶ added in v0.1.1
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 Location ¶ added in v0.0.4
type Location struct {
Code *string `json:"code,omitempty"`
EuropeanUnionMember *bool `json:"european_union_member,omitempty"`
ContinentCode *string `json:"continent_code,omitempty"`
Country *string `json:"country,omitempty"`
City *string `json:"city,omitempty"`
TimeZone *string `json:"time_zone,omitempty"`
PostalCode *float64 `json:"postal_code,omitempty"`
InPrivacyRestrictedCountry *bool `json:"in_privacy_restricted_country,omitempty"`
Subdivisions *string `json:"subdivisions,omitempty"`
Coordinates *string `json:"coordinates,omitempty"`
}
func (*Location) GetContinentCode ¶ added in v0.2.0
func (*Location) GetCoordinates ¶ added in v0.2.0
func (*Location) GetCountry ¶ added in v0.2.0
func (*Location) GetEuropeanUnionMember ¶ added in v0.2.0
func (*Location) GetInPrivacyRestrictedCountry ¶ added in v0.2.0
func (*Location) GetPostalCode ¶ added in v0.2.0
func (*Location) GetSubdivisions ¶ added in v0.2.0
func (*Location) GetTimeZone ¶ added in v0.2.0
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 One ¶ added in v0.1.0
type One struct {
ID *string `json:"id,omitempty"`
Label *string `json:"label,omitempty"`
Summary *string `json:"summary,omitempty"`
Type *string `json:"type,omitempty"`
Default *string `json:"default,omitempty"`
Value *string `json:"value,omitempty"`
Hidden *bool `json:"hidden,omitempty"`
Advanced *bool `json:"advanced,omitempty"`
Group *string `json:"group,omitempty"`
}
func (*One) GetAdvanced ¶ added in v0.1.0
func (*One) GetDefault ¶ added in v0.1.0
func (*One) GetSummary ¶ added in v0.1.0
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 Option ¶ added in v0.2.0
func WithRetries ¶ added in v0.2.0
func WithRetries(config utils.RetryConfig) Option
WithRetries allows customizing the default retry configuration.
func WithServerURL ¶ added in v0.2.0
WithServerURL allows providing an alternative server URL.
type Options ¶ added in v0.2.0
type Options struct {
ServerURL *string
Retries *utils.RetryConfig
}
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 Player ¶ added in v0.1.1
type Player struct {
Address *string `json:"address,omitempty"`
MachineIdentifier *string `json:"machineIdentifier,omitempty"`
Model *string `json:"model,omitempty"`
Platform *string `json:"platform,omitempty"`
PlatformVersion *string `json:"platformVersion,omitempty"`
Product *string `json:"product,omitempty"`
Profile *string `json:"profile,omitempty"`
RemotePublicAddress *string `json:"remotePublicAddress,omitempty"`
State *string `json:"state,omitempty"`
Title *string `json:"title,omitempty"`
Version *string `json:"version,omitempty"`
Local *bool `json:"local,omitempty"`
Relayed *bool `json:"relayed,omitempty"`
Secure *bool `json:"secure,omitempty"`
UserID *int `json:"userID,omitempty"`
}
func (*Player) GetAddress ¶ added in v0.1.1
func (*Player) GetMachineIdentifier ¶ added in v0.1.1
func (*Player) GetPlatform ¶ added in v0.1.1
func (*Player) GetPlatformVersion ¶ added in v0.1.1
func (*Player) GetProduct ¶ added in v0.1.1
func (*Player) GetProfile ¶ added in v0.1.1
func (*Player) GetRelayed ¶ added in v0.1.1
func (*Player) GetRemotePublicAddress ¶ added in v0.1.1
func (*Player) GetVersion ¶ added in v0.1.1
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 Producer ¶ added in v0.1.1
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 - type of playlist to create
const ( QueryParamTypeAudio QueryParamType = "audio" QueryParamTypeVideo QueryParamType = "video" QueryParamTypePhoto QueryParamType = "photo" )
func (QueryParamType) ToPointer ¶
func (e QueryParamType) ToPointer() *QueryParamType
func (*QueryParamType) UnmarshalJSON ¶
func (e *QueryParamType) UnmarshalJSON(data []byte) error
type Ratings ¶ added in v0.1.1
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 Release ¶ added in v0.1.1
type Release struct {
Key *string `json:"key,omitempty"`
Version *string `json:"version,omitempty"`
Added *string `json:"added,omitempty"`
Fixed *string `json:"fixed,omitempty"`
DownloadURL *string `json:"downloadURL,omitempty"`
State *string `json:"state,omitempty"`
}
func (*Release) GetDownloadURL ¶ added in v0.1.1
func (*Release) GetVersion ¶ added in v0.1.1
type Scope ¶
type Scope string
Scope - `all` - This is the only supported `scope` parameter.
const (
ScopeAll Scope = "all"
)
func (*Scope) UnmarshalJSON ¶
type SearchLibraryMediaContainer ¶ added in v0.1.2
type SearchLibraryMediaContainer struct {
Size *int `json:"size,omitempty"`
AllowSync *bool `json:"allowSync,omitempty"`
Art *string `json:"art,omitempty"`
Identifier *string `json:"identifier,omitempty"`
MediaTagPrefix *string `json:"mediaTagPrefix,omitempty"`
MediaTagVersion *int `json:"mediaTagVersion,omitempty"`
Nocache *bool `json:"nocache,omitempty"`
Thumb *string `json:"thumb,omitempty"`
Title1 *string `json:"title1,omitempty"`
Title2 *string `json:"title2,omitempty"`
ViewGroup *string `json:"viewGroup,omitempty"`
ViewMode *int `json:"viewMode,omitempty"`
Metadata []SearchLibraryMetadata `json:"Metadata,omitempty"`
}
func (*SearchLibraryMediaContainer) GetAllowSync ¶ added in v0.1.2
func (o *SearchLibraryMediaContainer) GetAllowSync() *bool
func (*SearchLibraryMediaContainer) GetArt ¶ added in v0.1.2
func (o *SearchLibraryMediaContainer) GetArt() *string
func (*SearchLibraryMediaContainer) GetIdentifier ¶ added in v0.1.2
func (o *SearchLibraryMediaContainer) GetIdentifier() *string
func (*SearchLibraryMediaContainer) GetMediaTagPrefix ¶ added in v0.1.2
func (o *SearchLibraryMediaContainer) GetMediaTagPrefix() *string
func (*SearchLibraryMediaContainer) GetMediaTagVersion ¶ added in v0.1.2
func (o *SearchLibraryMediaContainer) GetMediaTagVersion() *int
func (*SearchLibraryMediaContainer) GetMetadata ¶ added in v0.1.2
func (o *SearchLibraryMediaContainer) GetMetadata() []SearchLibraryMetadata
func (*SearchLibraryMediaContainer) GetNocache ¶ added in v0.1.2
func (o *SearchLibraryMediaContainer) GetNocache() *bool
func (*SearchLibraryMediaContainer) GetSize ¶ added in v0.1.2
func (o *SearchLibraryMediaContainer) GetSize() *int
func (*SearchLibraryMediaContainer) GetThumb ¶ added in v0.1.2
func (o *SearchLibraryMediaContainer) GetThumb() *string
func (*SearchLibraryMediaContainer) GetTitle1 ¶ added in v0.1.2
func (o *SearchLibraryMediaContainer) GetTitle1() *string
func (*SearchLibraryMediaContainer) GetTitle2 ¶ added in v0.1.2
func (o *SearchLibraryMediaContainer) GetTitle2() *string
func (*SearchLibraryMediaContainer) GetViewGroup ¶ added in v0.1.2
func (o *SearchLibraryMediaContainer) GetViewGroup() *string
func (*SearchLibraryMediaContainer) GetViewMode ¶ added in v0.1.2
func (o *SearchLibraryMediaContainer) GetViewMode() *int
type SearchLibraryMetadata ¶ added in v0.1.2
type SearchLibraryMetadata struct {
RatingKey *string `json:"ratingKey,omitempty"`
Key *string `json:"key,omitempty"`
ParentRatingKey *string `json:"parentRatingKey,omitempty"`
GUID *string `json:"guid,omitempty"`
ParentGUID *string `json:"parentGuid,omitempty"`
ParentStudio *string `json:"parentStudio,omitempty"`
Type *string `json:"type,omitempty"`
Title *string `json:"title,omitempty"`
ParentKey *string `json:"parentKey,omitempty"`
ParentTitle *string `json:"parentTitle,omitempty"`
Summary *string `json:"summary,omitempty"`
Index *int `json:"index,omitempty"`
ParentIndex *int `json:"parentIndex,omitempty"`
ParentYear *int `json:"parentYear,omitempty"`
Thumb *string `json:"thumb,omitempty"`
Art *string `json:"art,omitempty"`
ParentThumb *string `json:"parentThumb,omitempty"`
ParentTheme *string `json:"parentTheme,omitempty"`
AddedAt *int `json:"addedAt,omitempty"`
UpdatedAt *int `json:"updatedAt,omitempty"`
}
func (*SearchLibraryMetadata) GetAddedAt ¶ added in v0.1.2
func (o *SearchLibraryMetadata) GetAddedAt() *int
func (*SearchLibraryMetadata) GetArt ¶ added in v0.1.2
func (o *SearchLibraryMetadata) GetArt() *string
func (*SearchLibraryMetadata) GetGUID ¶ added in v0.1.2
func (o *SearchLibraryMetadata) GetGUID() *string
func (*SearchLibraryMetadata) GetIndex ¶ added in v0.1.2
func (o *SearchLibraryMetadata) GetIndex() *int
func (*SearchLibraryMetadata) GetKey ¶ added in v0.1.2
func (o *SearchLibraryMetadata) GetKey() *string
func (*SearchLibraryMetadata) GetParentGUID ¶ added in v0.1.2
func (o *SearchLibraryMetadata) GetParentGUID() *string
func (*SearchLibraryMetadata) GetParentIndex ¶ added in v0.1.2
func (o *SearchLibraryMetadata) GetParentIndex() *int
func (*SearchLibraryMetadata) GetParentKey ¶ added in v0.1.2
func (o *SearchLibraryMetadata) GetParentKey() *string
func (*SearchLibraryMetadata) GetParentRatingKey ¶ added in v0.1.2
func (o *SearchLibraryMetadata) GetParentRatingKey() *string
func (*SearchLibraryMetadata) GetParentStudio ¶ added in v0.1.2
func (o *SearchLibraryMetadata) GetParentStudio() *string
func (*SearchLibraryMetadata) GetParentTheme ¶ added in v0.1.2
func (o *SearchLibraryMetadata) GetParentTheme() *string
func (*SearchLibraryMetadata) GetParentThumb ¶ added in v0.1.2
func (o *SearchLibraryMetadata) GetParentThumb() *string
func (*SearchLibraryMetadata) GetParentTitle ¶ added in v0.1.2
func (o *SearchLibraryMetadata) GetParentTitle() *string
func (*SearchLibraryMetadata) GetParentYear ¶ added in v0.1.2
func (o *SearchLibraryMetadata) GetParentYear() *int
func (*SearchLibraryMetadata) GetRatingKey ¶ added in v0.1.2
func (o *SearchLibraryMetadata) GetRatingKey() *string
func (*SearchLibraryMetadata) GetSummary ¶ added in v0.1.2
func (o *SearchLibraryMetadata) GetSummary() *string
func (*SearchLibraryMetadata) GetThumb ¶ added in v0.1.2
func (o *SearchLibraryMetadata) GetThumb() *string
func (*SearchLibraryMetadata) GetTitle ¶ added in v0.1.2
func (o *SearchLibraryMetadata) GetTitle() *string
func (*SearchLibraryMetadata) GetType ¶ added in v0.1.2
func (o *SearchLibraryMetadata) GetType() *string
func (*SearchLibraryMetadata) GetUpdatedAt ¶ added in v0.1.2
func (o *SearchLibraryMetadata) GetUpdatedAt() *int
type SearchLibraryRequest ¶ added in v0.1.2
type SearchLibraryRequest struct {
// the Id of the library to query
SectionID int64 `pathParam:"style=simple,explode=false,name=sectionId"`
// Plex content type to search for
Type Type `queryParam:"style=form,explode=true,name=type"`
}
func (*SearchLibraryRequest) GetSectionID ¶ added in v0.1.2
func (o *SearchLibraryRequest) GetSectionID() int64
func (*SearchLibraryRequest) GetType ¶ added in v0.1.2
func (o *SearchLibraryRequest) GetType() Type
type SearchLibraryResponse ¶ added in v0.1.2
type SearchLibraryResponse 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 contents of the library by section and type
Object *SearchLibraryResponseBody
}
func (*SearchLibraryResponse) GetContentType ¶ added in v0.1.2
func (o *SearchLibraryResponse) GetContentType() string
func (*SearchLibraryResponse) GetObject ¶ added in v0.1.2
func (o *SearchLibraryResponse) GetObject() *SearchLibraryResponseBody
func (*SearchLibraryResponse) GetRawResponse ¶ added in v0.1.2
func (o *SearchLibraryResponse) GetRawResponse() *http.Response
func (*SearchLibraryResponse) GetStatusCode ¶ added in v0.1.2
func (o *SearchLibraryResponse) GetStatusCode() int
type SearchLibraryResponseBody ¶ added in v0.1.2
type SearchLibraryResponseBody struct {
MediaContainer *SearchLibraryMediaContainer `json:"MediaContainer,omitempty"`
}
SearchLibraryResponseBody - The contents of the library by section and type
func (*SearchLibraryResponseBody) GetMediaContainer ¶ added in v0.1.2
func (o *SearchLibraryResponseBody) GetMediaContainer() *SearchLibraryMediaContainer
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 Session ¶ added in v0.1.1
type Session struct {
ID *string `json:"id,omitempty"`
Bandwidth *int `json:"bandwidth,omitempty"`
Location *string `json:"location,omitempty"`
}
func (*Session) GetBandwidth ¶ added in v0.1.1
func (*Session) GetLocation ¶ added in v0.1.1
type Setting ¶ added in v0.1.0
type Setting struct {
One *One
Two *Two
Type SettingType
}
func CreateSettingOne ¶ added in v0.1.0
func CreateSettingTwo ¶ added in v0.1.0
func (Setting) MarshalJSON ¶ added in v0.1.0
func (*Setting) UnmarshalJSON ¶ added in v0.1.0
type SettingType ¶ added in v0.1.0
type SettingType string
const ( SettingTypeOne SettingType = "1" SettingTypeTwo SettingType = "2" )
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 Sort ¶ added in v0.1.0
type Sort struct {
Default *string `json:"default,omitempty"`
DefaultDirection *string `json:"defaultDirection,omitempty"`
DescKey *string `json:"descKey,omitempty"`
FirstCharacterKey *string `json:"firstCharacterKey,omitempty"`
Key *string `json:"key,omitempty"`
Title *string `json:"title,omitempty"`
}
func (*Sort) GetDefault ¶ added in v0.1.0
func (*Sort) GetDefaultDirection ¶ added in v0.1.0
func (*Sort) GetDescKey ¶ added in v0.1.0
func (*Sort) GetFirstCharacterKey ¶ added in v0.1.0
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 *int `json:"id,omitempty"`
StreamType *int `json:"streamType,omitempty"`
Default *bool `json:"default,omitempty"`
Codec *string `json:"codec,omitempty"`
Index *int `json:"index,omitempty"`
Bitrate *int `json:"bitrate,omitempty"`
BitDepth *int `json:"bitDepth,omitempty"`
ChromaLocation *string `json:"chromaLocation,omitempty"`
ChromaSubsampling *string `json:"chromaSubsampling,omitempty"`
CodedHeight *int `json:"codedHeight,omitempty"`
CodedWidth *int `json:"codedWidth,omitempty"`
ColorPrimaries *string `json:"colorPrimaries,omitempty"`
ColorRange *string `json:"colorRange,omitempty"`
ColorSpace *string `json:"colorSpace,omitempty"`
ColorTrc *string `json:"colorTrc,omitempty"`
FrameRate *int `json:"frameRate,omitempty"`
HasScalingMatrix *bool `json:"hasScalingMatrix,omitempty"`
Height *int `json:"height,omitempty"`
Level *int `json:"level,omitempty"`
Profile *string `json:"profile,omitempty"`
RefFrames *int `json:"refFrames,omitempty"`
ScanType *string `json:"scanType,omitempty"`
StreamIdentifier *string `json:"streamIdentifier,omitempty"`
Width *int `json:"width,omitempty"`
DisplayTitle *string `json:"displayTitle,omitempty"`
ExtendedDisplayTitle *string `json:"extendedDisplayTitle,omitempty"`
Selected *bool `json:"selected,omitempty"`
Channels *int `json:"channels,omitempty"`
Language *string `json:"language,omitempty"`
LanguageTag *string `json:"languageTag,omitempty"`
LanguageCode *string `json:"languageCode,omitempty"`
SamplingRate *int `json:"samplingRate,omitempty"`
}
func (*Stream) GetBitDepth ¶
func (*Stream) GetBitrate ¶
func (*Stream) GetChannels ¶ added in v0.1.1
func (*Stream) GetChromaLocation ¶
func (*Stream) GetChromaSubsampling ¶
func (*Stream) GetCodedHeight ¶
func (*Stream) GetCodedWidth ¶
func (*Stream) GetColorPrimaries ¶ added in v0.1.1
func (*Stream) GetColorRange ¶
func (*Stream) GetColorSpace ¶ added in v0.1.1
func (*Stream) GetColorTrc ¶ added in v0.1.1
func (*Stream) GetDefault ¶
func (*Stream) GetDisplayTitle ¶
func (*Stream) GetExtendedDisplayTitle ¶
func (*Stream) GetFrameRate ¶
func (*Stream) GetHasScalingMatrix ¶ added in v0.1.1
func (*Stream) GetLanguage ¶
func (*Stream) GetLanguageCode ¶
func (*Stream) GetLanguageTag ¶
func (*Stream) GetProfile ¶
func (*Stream) GetRefFrames ¶
func (*Stream) GetSamplingRate ¶ added in v0.1.1
func (*Stream) GetScanType ¶ added in v0.1.1
func (*Stream) GetSelected ¶ added in v0.1.1
func (*Stream) GetStreamIdentifier ¶ added in v0.1.1
func (*Stream) GetStreamType ¶
type Tag ¶ added in v0.1.1
type Tag string
Tag - A key representing a specific tag within the section.
const ( TagAll Tag = "all" TagUnwatched Tag = "unwatched" TagNewest Tag = "newest" TagRecentlyAdded Tag = "recentlyAdded" TagRecentlyViewed Tag = "recentlyViewed" TagOnDeck Tag = "onDeck" TagCollection Tag = "collection" TagEdition Tag = "edition" TagGenre Tag = "genre" TagYear Tag = "year" TagDecade Tag = "decade" TagDirector Tag = "director" TagActor Tag = "actor" TagCountry Tag = "country" TagContentRating Tag = "contentRating" TagRating Tag = "rating" TagResolution Tag = "resolution" TagFirstCharacter Tag = "firstCharacter" TagFolder Tag = "folder" )
func (*Tag) UnmarshalJSON ¶ added in v0.1.1
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 *int `json:"size,omitempty"`
Speed *float64 `json:"speed,omitempty"`
Error *bool `json:"error,omitempty"`
Duration *int `json:"duration,omitempty"`
Remaining *int `json:"remaining,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"`
SubtitleDecision *string `json:"subtitleDecision,omitempty"`
Protocol *string `json:"protocol,omitempty"`
Container *string `json:"container,omitempty"`
VideoCodec *string `json:"videoCodec,omitempty"`
AudioCodec *string `json:"audioCodec,omitempty"`
AudioChannels *int `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() *int
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() *int
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) GetRemaining ¶ added in v0.1.1
func (o *TranscodeSession) GetRemaining() *int
func (*TranscodeSession) GetSize ¶
func (o *TranscodeSession) GetSize() *int
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) GetSubtitleDecision ¶ added in v0.1.1
func (o *TranscodeSession) GetSubtitleDecision() *string
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 Two ¶ added in v0.1.0
type Two struct {
ID *string `json:"id,omitempty"`
Label *string `json:"label,omitempty"`
Summary *string `json:"summary,omitempty"`
Type *string `json:"type,omitempty"`
Default *int `json:"default,omitempty"`
Value *int `json:"value,omitempty"`
Hidden *bool `json:"hidden,omitempty"`
Advanced *bool `json:"advanced,omitempty"`
Group *string `json:"group,omitempty"`
EnumValues *string `json:"enumValues,omitempty"`
}
func (*Two) GetAdvanced ¶ added in v0.1.0
func (*Two) GetDefault ¶ added in v0.1.0
func (*Two) GetEnumValues ¶ added in v0.1.0
func (*Two) GetSummary ¶ added in v0.1.0
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"`
// name of the playlist
Title *string `queryParam:"style=form,explode=true,name=title"`
// summary description of the playlist
Summary *string `queryParam:"style=form,explode=true,name=summary"`
}
func (*UpdatePlaylistRequest) GetPlaylistID ¶
func (o *UpdatePlaylistRequest) GetPlaylistID() float64
func (*UpdatePlaylistRequest) GetSummary ¶ added in v0.1.1
func (o *UpdatePlaylistRequest) GetSummary() *string
func (*UpdatePlaylistRequest) GetTitle ¶ added in v0.1.1
func (o *UpdatePlaylistRequest) GetTitle() *string
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
- getdevices.go
- getfilehash.go
- getglobalhubs.go
- getlibraries.go
- getlibrary.go
- getlibraryhubs.go
- getlibraryitems.go
- getmetadata.go
- getmetadatachildren.go
- getmyplexaccount.go
- getondeck.go
- getpin.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
- gettoken.go
- gettranscodesessions.go
- gettransienttoken.go
- getupdatestatus.go
- logline.go
- logmultiline.go
- markplayed.go
- markunplayed.go
- options.go
- performsearch.go
- performvoicesearch.go
- refreshlibrary.go
- searchlibrary.go
- startalltasks.go
- starttask.go
- startuniversaltranscode.go
- stopalltasks.go
- stoptask.go
- stoptranscodesession.go
- updateplaylist.go
- updateplayprogress.go
- uploadplaylist.go