mirror of
https://github.com/LukeHagar/plexgo.git
synced 2025-12-06 04:20:46 +00:00
* `PlexApi.Butler.StartTask()`: * `request` **Changed** **Breaking** ⚠️ * `error` **Changed** **Breaking** ⚠️ * `PlexApi.Butler.StopTask()`: * `request` **Changed** **Breaking** ⚠️ * `error` **Changed** **Breaking** ⚠️ * `PlexApi.Updater.ApplyUpdates()`: * `request` **Changed** **Breaking** ⚠️ * `error` **Changed** **Breaking** ⚠️ * `PlexApi.General.GetServerInfo()`: **Added** * `PlexApi.General.GetIdentity()`: **Added** * `PlexApi.General.GetSourceConnectionInformation()`: **Added** * `PlexApi.General.GetTransientToken()`: **Added** * `PlexApi.Events.GetNotifications()`: **Added** * `PlexApi.Events.ConnectWebSocket()`: **Added** * `PlexApi.Preferences.GetAllPreferences()`: **Added** * `PlexApi.Preferences.SetPreferences()`: **Added** * `PlexApi.Preferences.GetPreference()`: **Added** * `PlexApi.Rate.SetRating()`: **Added** * `PlexApi.Timeline.MarkPlayed()`: **Added** * `PlexApi.Timeline.Report()`: **Added** * `PlexApi.Timeline.Unscrobble()`: **Added** * `PlexApi.Activities.ListActivities()`: **Added** * `PlexApi.Activities.CancelActivity()`: **Added** * `PlexApi.Butler.StopTasks()`: **Added** * `PlexApi.Butler.GetTasks()`: **Added** * `PlexApi.Butler.StartTasks()`: **Added** * `PlexApi.DownloadQueue.CreateDownloadQueue()`: **Added** * `PlexApi.DownloadQueue.GetDownloadQueue()`: **Added** * `PlexApi.DownloadQueue.AddDownloadQueueItems()`: **Added** * `PlexApi.DownloadQueue.ListDownloadQueueItems()`: **Added** * `PlexApi.DownloadQueue.GetItemDecision()`: **Added** * `PlexApi.DownloadQueue.GetDownloadQueueMedia()`: **Added** * `PlexApi.DownloadQueue.RemoveDownloadQueueItems()`: **Added** * `PlexApi.DownloadQueue.GetDownloadQueueItems()`: **Added** * `PlexApi.DownloadQueue.RestartProcessingDownloadQueueItems()`: **Added** * `PlexApi.Hubs.GetAllHubs()`: **Added** * `PlexApi.Hubs.GetContinueWatching()`: **Added** * `PlexApi.Hubs.GetHubItems()`: **Added** * `PlexApi.Hubs.GetPromotedHubs()`: **Added** * `PlexApi.Hubs.GetMetadataHubs()`: **Added** * `PlexApi.Hubs.GetPostplayHubs()`: **Added** * `PlexApi.Hubs.GetRelatedHubs()`: **Added** * `PlexApi.Hubs.GetSectionHubs()`: **Added** * `PlexApi.Hubs.ResetSectionDefaults()`: **Added** * `PlexApi.Hubs.ListHubs()`: **Added** * `PlexApi.Hubs.CreateCustomHub()`: **Added** * `PlexApi.Hubs.MoveHub()`: **Added** * `PlexApi.Hubs.DeleteCustomHub()`: **Added** * `PlexApi.Hubs.UpdateHubVisibility()`: **Added** * `PlexApi.Search.SearchHubs()`: **Added** * `PlexApi.Search.VoiceSearchHubs()`: **Added** * `PlexApi.Library.GetLibraryItems()`: **Added** * `PlexApi.Library.DeleteCaches()`: **Added** * `PlexApi.Library.CleanBundles()`: **Added** * `PlexApi.Library.IngestTransientItem()`: **Added** * `PlexApi.Library.GetLibraryMatches()`: **Added** * `PlexApi.Library.OptimizeDatabase()`: **Added** * `PlexApi.Library.GetRandomArtwork()`: **Added** * `PlexApi.Library.GetSections()`: **Added** * `PlexApi.Library.AddSection()`: **Added** * `PlexApi.Library.StopAllRefreshes()`: **Added** * `PlexApi.Library.GetSectionsPrefs()`: **Added** * `PlexApi.Library.RefreshSectionsMetadata()`: **Added** * `PlexApi.Library.GetTags()`: **Added** * `PlexApi.Library.DeleteMetadataItem()`: **Added** * `PlexApi.Library.EditMetadataItem()`: **Added** * `PlexApi.Library.DetectAds()`: **Added** * `PlexApi.Library.GetAllItemLeaves()`: **Added** * `PlexApi.Library.AnalyzeMetadata()`: **Added** * `PlexApi.Library.GenerateThumbs()`: **Added** * `PlexApi.Library.DetectCredits()`: **Added** * `PlexApi.Library.GetExtras()`: **Added** * `PlexApi.Library.AddExtras()`: **Added** * `PlexApi.Library.GetFile()`: **Added** * `PlexApi.Library.StartBifGeneration()`: **Added** * `PlexApi.Library.DetectIntros()`: **Added** * `PlexApi.Library.CreateMarker()`: **Added** * `PlexApi.Library.MatchItem()`: **Added** * `PlexApi.Library.ListMatches()`: **Added** * `PlexApi.Library.MergeItems()`: **Added** * `PlexApi.Library.ListSonicallySimilar()`: **Added** * `PlexApi.Library.SetItemPreferences()`: **Added** * `PlexApi.Library.RefreshItemsMetadata()`: **Added** * `PlexApi.Library.GetRelatedItems()`: **Added** * `PlexApi.Library.ListSimilar()`: **Added** * `PlexApi.Library.SplitItem()`: **Added** * `PlexApi.Library.AddSubtitles()`: **Added** * `PlexApi.Library.GetItemTree()`: **Added** * `PlexApi.Library.Unmatch()`: **Added** * `PlexApi.Library.ListTopUsers()`: **Added** * `PlexApi.Library.DetectVoiceActivity()`: **Added** * `PlexApi.Library.GetAugmentationStatus()`: **Added** * `PlexApi.Library.SetStreamSelection()`: **Added** * `PlexApi.Library.GetPerson()`: **Added** * `PlexApi.Library.ListPersonMedia()`: **Added** * `PlexApi.Library.DeleteLibrarySection()`: **Added** * `PlexApi.Library.GetLibraryDetails()`: **Added** * `PlexApi.Library.EditSection()`: **Added** * `PlexApi.Library.UpdateItems()`: **Added** * `PlexApi.Library.StartAnalysis()`: **Added** * `PlexApi.Library.Autocomplete()`: **Added** * `PlexApi.Library.GetCollections()`: **Added** * `PlexApi.Library.GetCommon()`: **Added** * `PlexApi.Library.EmptyTrash()`: **Added** * `PlexApi.Library.GetSectionFilters()`: **Added** * `PlexApi.Library.GetFirstCharacters()`: **Added** * `PlexApi.Library.DeleteIndexes()`: **Added** * `PlexApi.Library.DeleteIntros()`: **Added** * `PlexApi.Library.GetSectionPreferences()`: **Added** * `PlexApi.Library.SetSectionPreferences()`: **Added** * `PlexApi.Library.CancelRefresh()`: **Added** * `PlexApi.Library.RefreshSection()`: **Added** * `PlexApi.Library.GetAvailableSorts()`: **Added** * `PlexApi.Library.GetStreamLevels()`: **Added** * `PlexApi.Library.GetStreamLoudness()`: **Added** * `PlexApi.Library.GetChapterImage()`: **Added** * `PlexApi.Library.SetItemArtwork()`: **Added** * `PlexApi.Library.UpdateItemArtwork()`: **Added** * `PlexApi.Library.DeleteMarker()`: **Added** * `PlexApi.Library.EditMarker()`: **Added** * `PlexApi.Library.DeleteMediaItem()`: **Added** * `PlexApi.Library.GetPartIndex()`: **Added** * `PlexApi.Library.DeleteCollection()`: **Added** * `PlexApi.Library.GetSectionImage()`: **Added** * `PlexApi.Library.DeleteStream()`: **Added** * `PlexApi.Library.GetStream()`: **Added** * `PlexApi.Library.SetStreamOffset()`: **Added** * `PlexApi.Library.GetItemArtwork()`: **Added** * `PlexApi.Library.GetMediaPart()`: **Added** * `PlexApi.Library.GetImageFromBif()`: **Added** * `PlexApi.Collections.CreateCollection()`: **Added** * `PlexApi.DvRs.ListDvRs()`: **Added** * `PlexApi.DvRs.CreateDvr()`: **Added** * `PlexApi.DvRs.DeleteDvr()`: **Added** * `PlexApi.DvRs.GetDvr()`: **Added** * `PlexApi.DvRs.DeleteLineup()`: **Added** * `PlexApi.DvRs.AddLineup()`: **Added** * `PlexApi.DvRs.SetDvrPreferences()`: **Added** * `PlexApi.DvRs.StopDvrReload()`: **Added** * `PlexApi.DvRs.ReloadGuide()`: **Added** * `PlexApi.DvRs.TuneChannel()`: **Added** * `PlexApi.DvRs.RemoveDeviceFromDvr()`: **Added** * `PlexApi.DvRs.AddDeviceToDvr()`: **Added** * `PlexApi.Epg.ComputeChannelMap()`: **Added** * `PlexApi.Epg.GetChannels()`: **Added** * `PlexApi.Epg.GetCountries()`: **Added** * `PlexApi.Epg.GetAllLanguages()`: **Added** * `PlexApi.Epg.GetLineup()`: **Added** * `PlexApi.Epg.GetLineupChannels()`: **Added** * `PlexApi.Epg.GetCountriesLineups()`: **Added** * `PlexApi.Epg.GetCountryRegions()`: **Added** * `PlexApi.Epg.ListLineups()`: **Added** * `PlexApi.LiveTv.GetSessions()`: **Added** * `PlexApi.LiveTv.GetLiveTvSession()`: **Added** * `PlexApi.LiveTv.GetSessionPlaylistIndex()`: **Added** * `PlexApi.LiveTv.GetSessionSegment()`: **Added** * `PlexApi.Log.WriteLog()`: **Added** * `PlexApi.Log.WriteMessage()`: **Added** * `PlexApi.Log.EnablePapertrail()`: **Added** * `PlexApi.Devices.GetAvailableGrabbers()`: **Added** * `PlexApi.Devices.ListDevices()`: **Added** * `PlexApi.Devices.AddDevice()`: **Added** * `PlexApi.Devices.DiscoverDevices()`: **Added** * `PlexApi.Devices.RemoveDevice()`: **Added** * `PlexApi.Devices.GetDeviceDetails()`: **Added** * `PlexApi.Devices.ModifyDevice()`: **Added** * `PlexApi.Devices.SetChannelmap()`: **Added** * `PlexApi.Devices.GetDevicesChannels()`: **Added** * `PlexApi.Devices.SetDevicePreferences()`: **Added** * `PlexApi.Devices.StopScan()`: **Added** * `PlexApi.Devices.Scan()`: **Added** * `PlexApi.Devices.GetThumb()`: **Added** * `PlexApi.Provider.ListProviders()`: **Added** * `PlexApi.Provider.AddProvider()`: **Added** * `PlexApi.Provider.RefreshProviders()`: **Added** * `PlexApi.Provider.DeleteMediaProvider()`: **Added** * `PlexApi.Subscriptions.GetAllSubscriptions()`: **Added** * `PlexApi.Subscriptions.CreateSubscription()`: **Added** * `PlexApi.Subscriptions.ProcessSubscriptions()`: **Added** * `PlexApi.Subscriptions.GetScheduledRecordings()`: **Added** * `PlexApi.Subscriptions.GetTemplate()`: **Added** * `PlexApi.Subscriptions.CancelGrab()`: **Added** * `PlexApi.Subscriptions.DeleteSubscription()`: **Added** * `PlexApi.Subscriptions.GetSubscription()`: **Added** * `PlexApi.Subscriptions.EditSubscriptionPreferences()`: **Added** * `PlexApi.Subscriptions.ReorderSubscription()`: **Added** * `PlexApi.Transcoder.TranscodeImage()`: **Added** * `PlexApi.Transcoder.MakeDecision()`: **Added** * `PlexApi.Transcoder.TriggerFallback()`: **Added** * `PlexApi.Transcoder.TranscodeSubtitles()`: **Added** * `PlexApi.Transcoder.StartTranscodeSession()`: **Added** * `PlexApi.Playlist.ListPlaylists()`: **Added** * `PlexApi.Playlist.GetPlaylist()`: **Added** * `PlexApi.Playlist.GetPlaylistItems()`: **Added** * `PlexApi.LibraryPlaylists.CreatePlaylist()`: **Added** * `PlexApi.LibraryPlaylists.UploadPlaylist()`: **Added** * `PlexApi.LibraryPlaylists.DeletePlaylist()`: **Added** * `PlexApi.LibraryPlaylists.UpdatePlaylist()`: **Added** * `PlexApi.LibraryPlaylists.GetPlaylistGenerators()`: **Added** * `PlexApi.LibraryPlaylists.ClearPlaylistItems()`: **Added** * `PlexApi.LibraryPlaylists.AddPlaylistItems()`: **Added** * `PlexApi.LibraryPlaylists.DeletePlaylistItem()`: **Added** * `PlexApi.LibraryPlaylists.GetPlaylistGenerator()`: **Added** * `PlexApi.LibraryPlaylists.ModifyPlaylistGenerator()`: **Added** * `PlexApi.LibraryPlaylists.GetPlaylistGeneratorItems()`: **Added** * `PlexApi.LibraryPlaylists.MovePlaylistItem()`: **Added** * `PlexApi.LibraryPlaylists.RefreshPlaylist()`: **Added** * `PlexApi.PlayQueue.CreatePlayQueue()`: **Added** * `PlexApi.PlayQueue.GetPlayQueue()`: **Added** * `PlexApi.PlayQueue.AddToPlayQueue()`: **Added** * `PlexApi.PlayQueue.ClearPlayQueue()`: **Added** * `PlexApi.PlayQueue.ResetPlayQueue()`: **Added** * `PlexApi.PlayQueue.Shuffle()`: **Added** * `PlexApi.PlayQueue.Unshuffle()`: **Added** * `PlexApi.PlayQueue.DeletePlayQueueItem()`: **Added** * `PlexApi.PlayQueue.MovePlayQueueItem()`: **Added** * `PlexApi.UltraBlur.GetColors()`: **Added** * `PlexApi.UltraBlur.GetImage()`: **Added** * `PlexApi.Status.ListSessions()`: **Added** * `PlexApi.Status.GetBackgroundTasks()`: **Added** * `PlexApi.Status.ListPlaybackHistory()`: **Added** * `PlexApi.Status.TerminateSession()`: **Added** * `PlexApi.Status.DeleteHistory()`: **Added** * `PlexApi.Status.GetHistoryItem()`: **Added** * `PlexApi.Updater.CheckUpdates()`: **Added** * `PlexApi.Updater.GetUpdatesStatus()`: **Added** * `PlexApi.Content.GetCollectionItems()`: **Added** * `PlexApi.Content.GetMetadataItem()`: **Added** * `PlexApi.Content.GetAlbums()`: **Added** * `PlexApi.Content.ListContent()`: **Added** * `PlexApi.Content.GetAllLeaves()`: **Added** * `PlexApi.Content.GetArts()`: **Added** * `PlexApi.Content.GetCategories()`: **Added** * `PlexApi.Content.GetCluster()`: **Added** * `PlexApi.Content.GetSonicPath()`: **Added** * `PlexApi.Content.GetFolders()`: **Added** * `PlexApi.Content.ListMoments()`: **Added** * `PlexApi.Content.GetSonicallySimilar()`: **Added** * `PlexApi.Content.GetCollectionImage()`: **Added** * `PlexApi.LibraryCollections.AddCollectionItems()`: **Added** * `PlexApi.LibraryCollections.DeleteCollectionItem()`: **Added** * `PlexApi.LibraryCollections.MoveCollectionItem()`: **Added** * `PlexApi.Server.GetServerCapabilities()`: **Deleted** **Breaking** ⚠️ * `PlexApi.Server.GetServerPreferences()`: **Deleted** **Breaking** ⚠️ * `PlexApi.Server.GetAvailableClients()`: **Deleted** **Breaking** ⚠️ * `PlexApi.Server.GetDevices()`: **Deleted** **Breaking** ⚠️ * `PlexApi.Server.Get-Server-Identity()`: **Deleted** **Breaking** ⚠️ * `PlexApi.Server.GetMyPlexAccount()`: **Deleted** **Breaking** ⚠️ * `PlexApi.Server.GetResizedPhoto()`: **Deleted** **Breaking** ⚠️ * `PlexApi.Server.Get-Media-Providers()`: **Deleted** **Breaking** ⚠️ * `PlexApi.Server.GetServerList()`: **Deleted** **Breaking** ⚠️ * `PlexApi.Media.MarkPlayed()`: **Deleted** **Breaking** ⚠️ * `PlexApi.Media.MarkUnplayed()`: **Deleted** **Breaking** ⚠️ * `PlexApi.Media.UpdatePlayProgress()`: **Deleted** **Breaking** ⚠️ * `PlexApi.Media.Get-Banner-Image()`: **Deleted** **Breaking** ⚠️ * `PlexApi.Media.Get-Thumb-Image()`: **Deleted** **Breaking** ⚠️ * `PlexApi.Video.GetTimeline()`: **Deleted** **Breaking** ⚠️ * `PlexApi.Video.StartUniversalTranscode()`: **Deleted** **Breaking** ⚠️ * `PlexApi.Activities.GetServerActivities()`: **Deleted** **Breaking** ⚠️ * `PlexApi.Activities.CancelServerActivities()`: **Deleted** **Breaking** ⚠️ * `PlexApi.Butler.GetButlerTasks()`: **Deleted** **Breaking** ⚠️ * `PlexApi.Butler.StartAllTasks()`: **Deleted** **Breaking** ⚠️ * `PlexApi.Butler.StopAllTasks()`: **Deleted** **Breaking** ⚠️ * `PlexApi.Plex.GetCompanionsData()`: **Deleted** **Breaking** ⚠️ * `PlexApi.Plex.GetUserFriends()`: **Deleted** **Breaking** ⚠️ * `PlexApi.Plex.GetGeoData()`: **Deleted** **Breaking** ⚠️ * `PlexApi.Plex.GetHomeData()`: **Deleted** **Breaking** ⚠️ * `PlexApi.Plex.Get-Server-Resources()`: **Deleted** **Breaking** ⚠️ * `PlexApi.Plex.GetPin()`: **Deleted** **Breaking** ⚠️ * `PlexApi.Plex.GetTokenByPinId()`: **Deleted** **Breaking** ⚠️ * `PlexApi.Hubs.GetGlobalHubs()`: **Deleted** **Breaking** ⚠️ * `PlexApi.Hubs.Get-Recently-Added()`: **Deleted** **Breaking** ⚠️ * `PlexApi.Hubs.GetLibraryHubs()`: **Deleted** **Breaking** ⚠️ * `PlexApi.Search.PerformSearch()`: **Deleted** **Breaking** ⚠️ * `PlexApi.Search.PerformVoiceSearch()`: **Deleted** **Breaking** ⚠️ * `PlexApi.Search.GetSearchResults()`: **Deleted** **Breaking** ⚠️ * `PlexApi.Library.GetFileHash()`: **Deleted** **Breaking** ⚠️ * `PlexApi.Library.Get-Recently-Added-Library()`: **Deleted** **Breaking** ⚠️ * `PlexApi.Library.Get-All-Libraries()`: **Deleted** **Breaking** ⚠️ * `PlexApi.Library.Get-Library-Details()`: **Deleted** **Breaking** ⚠️ * `PlexApi.Library.DeleteLibrary()`: **Deleted** **Breaking** ⚠️ * `PlexApi.Library.Get-Library-Items()`: **Deleted** **Breaking** ⚠️ * `PlexApi.Library.Get-Library-Sections-All()`: **Deleted** **Breaking** ⚠️ * `PlexApi.Library.Get-Refresh-Library-Metadata()`: **Deleted** **Breaking** ⚠️ * `PlexApi.Library.Get-Search-Library()`: **Deleted** **Breaking** ⚠️ * `PlexApi.Library.Get-Genres-Library()`: **Deleted** **Breaking** ⚠️ * `PlexApi.Library.Get-Countries-Library()`: **Deleted** **Breaking** ⚠️ * `PlexApi.Library.Get-Actors-Library()`: **Deleted** **Breaking** ⚠️ * `PlexApi.Library.Get-Search-All-Libraries()`: **Deleted** **Breaking** ⚠️ * `PlexApi.Library.Get-Media-Meta-Data()`: **Deleted** **Breaking** ⚠️ * `PlexApi.Library.Get-Media-Arts()`: **Deleted** **Breaking** ⚠️ * `PlexApi.Library.Post-Media-Arts()`: **Deleted** **Breaking** ⚠️ * `PlexApi.Library.Get-Media-Posters()`: **Deleted** **Breaking** ⚠️ * `PlexApi.Library.Post-Media-Poster()`: **Deleted** **Breaking** ⚠️ * `PlexApi.Library.GetMetadataChildren()`: **Deleted** **Breaking** ⚠️ * `PlexApi.Library.GetTopWatchedContent()`: **Deleted** **Breaking** ⚠️ * `PlexApi.Watchlist.Get-Watch-List()`: **Deleted** **Breaking** ⚠️ * `PlexApi.Log.LogLine()`: **Deleted** **Breaking** ⚠️ * `PlexApi.Log.LogMultiLine()`: **Deleted** **Breaking** ⚠️ * `PlexApi.Log.EnablePaperTrail()`: **Deleted** **Breaking** ⚠️ * `PlexApi.Playlists.CreatePlaylist()`: **Deleted** **Breaking** ⚠️ * `PlexApi.Playlists.GetPlaylists()`: **Deleted** **Breaking** ⚠️ * `PlexApi.Playlists.GetPlaylist()`: **Deleted** **Breaking** ⚠️ * `PlexApi.Playlists.DeletePlaylist()`: **Deleted** **Breaking** ⚠️ * `PlexApi.Playlists.UpdatePlaylist()`: **Deleted** **Breaking** ⚠️ * `PlexApi.Playlists.GetPlaylistContents()`: **Deleted** **Breaking** ⚠️ * `PlexApi.Playlists.ClearPlaylistContents()`: **Deleted** **Breaking** ⚠️ * `PlexApi.Playlists.AddPlaylistContents()`: **Deleted** **Breaking** ⚠️ * `PlexApi.Playlists.UploadPlaylist()`: **Deleted** **Breaking** ⚠️ * `PlexApi.Authentication.GetTransientToken()`: **Deleted** **Breaking** ⚠️ * `PlexApi.Authentication.GetSourceConnectionInformation()`: **Deleted** **Breaking** ⚠️ * `PlexApi.Authentication.GetTokenDetails()`: **Deleted** **Breaking** ⚠️ * `PlexApi.Authentication.Post-Users-Sign-In-Data()`: **Deleted** **Breaking** ⚠️ * `PlexApi.Statistics.GetStatistics()`: **Deleted** **Breaking** ⚠️ * `PlexApi.Statistics.GetResourcesStatistics()`: **Deleted** **Breaking** ⚠️ * `PlexApi.Statistics.GetBandwidthStatistics()`: **Deleted** **Breaking** ⚠️ * `PlexApi.Sessions.GetSessions()`: **Deleted** **Breaking** ⚠️ * `PlexApi.Sessions.GetSessionHistory()`: **Deleted** **Breaking** ⚠️ * `PlexApi.Sessions.GetTranscodeSessions()`: **Deleted** **Breaking** ⚠️ * `PlexApi.Sessions.StopTranscodeSession()`: **Deleted** **Breaking** ⚠️ * `PlexApi.Updater.GetUpdateStatus()`: **Deleted** **Breaking** ⚠️ * `PlexApi.Updater.CheckForUpdates()`: **Deleted** **Breaking** ⚠️ * `PlexApi.Users.Get-Users()`: **Deleted** **Breaking** ⚠️
553 lines
14 KiB
Go
553 lines
14 KiB
Go
// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
|
|
package operations
|
|
|
|
import (
|
|
"github.com/LukeHagar/plexgo/models/components"
|
|
"net/http"
|
|
)
|
|
|
|
type Feature struct {
|
|
Directory []components.Directory `json:"Directory,omitempty"`
|
|
Key *string `json:"key,omitempty"`
|
|
Type *string `json:"type,omitempty"`
|
|
}
|
|
|
|
func (f *Feature) GetDirectory() []components.Directory {
|
|
if f == nil {
|
|
return nil
|
|
}
|
|
return f.Directory
|
|
}
|
|
|
|
func (f *Feature) GetKey() *string {
|
|
if f == nil {
|
|
return nil
|
|
}
|
|
return f.Key
|
|
}
|
|
|
|
func (f *Feature) GetType() *string {
|
|
if f == nil {
|
|
return nil
|
|
}
|
|
return f.Type
|
|
}
|
|
|
|
// ListProvidersMediaContainer - `MediaContainer` is the root element of most Plex API responses. It serves as a generic container for various types of content (Metadata, Hubs, Directories, etc.) and includes pagination information (offset, size, totalSize) when applicable.
|
|
// Common attributes: - identifier: Unique identifier for this container - size: Number of items in this response page - totalSize: Total number of items available (for pagination) - offset: Starting index of this page (for pagination)
|
|
// The container often "hoists" common attributes from its children. For example, if all tracks in a container share the same album title, the `parentTitle` attribute may appear on the MediaContainer rather than being repeated on each track.
|
|
type ListProvidersMediaContainer struct {
|
|
// A unique identifier for the provider, e.g. `com.plexapp.plugins.library`.
|
|
Identifier *string `json:"identifier,omitempty"`
|
|
// The offset of where this container page starts among the total objects available. Also provided in the `X-Plex-Container-Start` header.
|
|
//
|
|
Offset *int64 `json:"offset,omitempty"`
|
|
Size *int64 `json:"size,omitempty"`
|
|
// The total size of objects available. Also provided in the `X-Plex-Container-Total-Size` header.
|
|
//
|
|
TotalSize *int64 `json:"totalSize,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 *int64 `json:"livetv,omitempty"`
|
|
MachineIdentifier any `json:"machineIdentifier,omitempty"`
|
|
MediaProviders *bool `json:"mediaProviders,omitempty"`
|
|
Multiuser *bool `json:"multiuser,omitempty"`
|
|
MusicAnalysis *int64 `json:"musicAnalysis,omitempty"`
|
|
MyPlex *bool `json:"myPlex,omitempty"`
|
|
MyPlexMappingState any `json:"myPlexMappingState,omitempty"`
|
|
MyPlexSigninState any `json:"myPlexSigninState,omitempty"`
|
|
MyPlexSubscription *bool `json:"myPlexSubscription,omitempty"`
|
|
MyPlexUsername *string `json:"myPlexUsername,omitempty"`
|
|
OfflineTranscode any `json:"offlineTranscode,omitempty"`
|
|
// A comma-separated list of features which are enabled for the server owner
|
|
OwnerFeatures *string `json:"ownerFeatures,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 *int64 `json:"streamingBrainABRVersion,omitempty"`
|
|
StreamingBrainVersion *int64 `json:"streamingBrainVersion,omitempty"`
|
|
Sync *bool `json:"sync,omitempty"`
|
|
TranscoderActiveVideoSessions *int64 `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"`
|
|
// The suggested video quality bitrates to present to the user
|
|
TranscoderVideoBitrates any `json:"transcoderVideoBitrates,omitempty"`
|
|
TranscoderVideoQualities *string `json:"transcoderVideoQualities,omitempty"`
|
|
// The suggested video resolutions to the above quality bitrates
|
|
TranscoderVideoResolutions any `json:"transcoderVideoResolutions,omitempty"`
|
|
UpdatedAt *int64 `json:"updatedAt,omitempty"`
|
|
Updater *bool `json:"updater,omitempty"`
|
|
Version *string `json:"version,omitempty"`
|
|
VoiceSearch *bool `json:"voiceSearch,omitempty"`
|
|
Feature []Feature `json:"Feature,omitempty"`
|
|
// A comma-separated list of default protocols for the provider, which can be:
|
|
// - `stream`: The provider allows streaming media directly from the provider (e.g. for Vimeo). - `download`: The provider allows downloading media for offline storage, sync, etc. (e.g. Podcasts). - `livetv`: The provider provides live content which is only available on a schedule basis.
|
|
Protocols *string `json:"protocols,omitempty"`
|
|
// The title of the provider.
|
|
Title *string `json:"title,omitempty"`
|
|
// This attribute contains a comma-separated list of the media types exposed by the provider (e.g. `video, audio`).
|
|
Types *string `json:"types,omitempty"`
|
|
}
|
|
|
|
func (l *ListProvidersMediaContainer) GetIdentifier() *string {
|
|
if l == nil {
|
|
return nil
|
|
}
|
|
return l.Identifier
|
|
}
|
|
|
|
func (l *ListProvidersMediaContainer) GetOffset() *int64 {
|
|
if l == nil {
|
|
return nil
|
|
}
|
|
return l.Offset
|
|
}
|
|
|
|
func (l *ListProvidersMediaContainer) GetSize() *int64 {
|
|
if l == nil {
|
|
return nil
|
|
}
|
|
return l.Size
|
|
}
|
|
|
|
func (l *ListProvidersMediaContainer) GetTotalSize() *int64 {
|
|
if l == nil {
|
|
return nil
|
|
}
|
|
return l.TotalSize
|
|
}
|
|
|
|
func (l *ListProvidersMediaContainer) GetAllowCameraUpload() *bool {
|
|
if l == nil {
|
|
return nil
|
|
}
|
|
return l.AllowCameraUpload
|
|
}
|
|
|
|
func (l *ListProvidersMediaContainer) GetAllowChannelAccess() *bool {
|
|
if l == nil {
|
|
return nil
|
|
}
|
|
return l.AllowChannelAccess
|
|
}
|
|
|
|
func (l *ListProvidersMediaContainer) GetAllowMediaDeletion() *bool {
|
|
if l == nil {
|
|
return nil
|
|
}
|
|
return l.AllowMediaDeletion
|
|
}
|
|
|
|
func (l *ListProvidersMediaContainer) GetAllowSharing() *bool {
|
|
if l == nil {
|
|
return nil
|
|
}
|
|
return l.AllowSharing
|
|
}
|
|
|
|
func (l *ListProvidersMediaContainer) GetAllowSync() *bool {
|
|
if l == nil {
|
|
return nil
|
|
}
|
|
return l.AllowSync
|
|
}
|
|
|
|
func (l *ListProvidersMediaContainer) GetAllowTuners() *bool {
|
|
if l == nil {
|
|
return nil
|
|
}
|
|
return l.AllowTuners
|
|
}
|
|
|
|
func (l *ListProvidersMediaContainer) GetBackgroundProcessing() *bool {
|
|
if l == nil {
|
|
return nil
|
|
}
|
|
return l.BackgroundProcessing
|
|
}
|
|
|
|
func (l *ListProvidersMediaContainer) GetCertificate() *bool {
|
|
if l == nil {
|
|
return nil
|
|
}
|
|
return l.Certificate
|
|
}
|
|
|
|
func (l *ListProvidersMediaContainer) GetCompanionProxy() *bool {
|
|
if l == nil {
|
|
return nil
|
|
}
|
|
return l.CompanionProxy
|
|
}
|
|
|
|
func (l *ListProvidersMediaContainer) GetCountryCode() *string {
|
|
if l == nil {
|
|
return nil
|
|
}
|
|
return l.CountryCode
|
|
}
|
|
|
|
func (l *ListProvidersMediaContainer) GetDiagnostics() *string {
|
|
if l == nil {
|
|
return nil
|
|
}
|
|
return l.Diagnostics
|
|
}
|
|
|
|
func (l *ListProvidersMediaContainer) GetEventStream() *bool {
|
|
if l == nil {
|
|
return nil
|
|
}
|
|
return l.EventStream
|
|
}
|
|
|
|
func (l *ListProvidersMediaContainer) GetFriendlyName() *string {
|
|
if l == nil {
|
|
return nil
|
|
}
|
|
return l.FriendlyName
|
|
}
|
|
|
|
func (l *ListProvidersMediaContainer) GetHubSearch() *bool {
|
|
if l == nil {
|
|
return nil
|
|
}
|
|
return l.HubSearch
|
|
}
|
|
|
|
func (l *ListProvidersMediaContainer) GetItemClusters() *bool {
|
|
if l == nil {
|
|
return nil
|
|
}
|
|
return l.ItemClusters
|
|
}
|
|
|
|
func (l *ListProvidersMediaContainer) GetLivetv() *int64 {
|
|
if l == nil {
|
|
return nil
|
|
}
|
|
return l.Livetv
|
|
}
|
|
|
|
func (l *ListProvidersMediaContainer) GetMachineIdentifier() any {
|
|
if l == nil {
|
|
return nil
|
|
}
|
|
return l.MachineIdentifier
|
|
}
|
|
|
|
func (l *ListProvidersMediaContainer) GetMediaProviders() *bool {
|
|
if l == nil {
|
|
return nil
|
|
}
|
|
return l.MediaProviders
|
|
}
|
|
|
|
func (l *ListProvidersMediaContainer) GetMultiuser() *bool {
|
|
if l == nil {
|
|
return nil
|
|
}
|
|
return l.Multiuser
|
|
}
|
|
|
|
func (l *ListProvidersMediaContainer) GetMusicAnalysis() *int64 {
|
|
if l == nil {
|
|
return nil
|
|
}
|
|
return l.MusicAnalysis
|
|
}
|
|
|
|
func (l *ListProvidersMediaContainer) GetMyPlex() *bool {
|
|
if l == nil {
|
|
return nil
|
|
}
|
|
return l.MyPlex
|
|
}
|
|
|
|
func (l *ListProvidersMediaContainer) GetMyPlexMappingState() any {
|
|
if l == nil {
|
|
return nil
|
|
}
|
|
return l.MyPlexMappingState
|
|
}
|
|
|
|
func (l *ListProvidersMediaContainer) GetMyPlexSigninState() any {
|
|
if l == nil {
|
|
return nil
|
|
}
|
|
return l.MyPlexSigninState
|
|
}
|
|
|
|
func (l *ListProvidersMediaContainer) GetMyPlexSubscription() *bool {
|
|
if l == nil {
|
|
return nil
|
|
}
|
|
return l.MyPlexSubscription
|
|
}
|
|
|
|
func (l *ListProvidersMediaContainer) GetMyPlexUsername() *string {
|
|
if l == nil {
|
|
return nil
|
|
}
|
|
return l.MyPlexUsername
|
|
}
|
|
|
|
func (l *ListProvidersMediaContainer) GetOfflineTranscode() any {
|
|
if l == nil {
|
|
return nil
|
|
}
|
|
return l.OfflineTranscode
|
|
}
|
|
|
|
func (l *ListProvidersMediaContainer) GetOwnerFeatures() *string {
|
|
if l == nil {
|
|
return nil
|
|
}
|
|
return l.OwnerFeatures
|
|
}
|
|
|
|
func (l *ListProvidersMediaContainer) GetPlatform() *string {
|
|
if l == nil {
|
|
return nil
|
|
}
|
|
return l.Platform
|
|
}
|
|
|
|
func (l *ListProvidersMediaContainer) GetPlatformVersion() *string {
|
|
if l == nil {
|
|
return nil
|
|
}
|
|
return l.PlatformVersion
|
|
}
|
|
|
|
func (l *ListProvidersMediaContainer) GetPluginHost() *bool {
|
|
if l == nil {
|
|
return nil
|
|
}
|
|
return l.PluginHost
|
|
}
|
|
|
|
func (l *ListProvidersMediaContainer) GetPushNotifications() *bool {
|
|
if l == nil {
|
|
return nil
|
|
}
|
|
return l.PushNotifications
|
|
}
|
|
|
|
func (l *ListProvidersMediaContainer) GetReadOnlyLibraries() *bool {
|
|
if l == nil {
|
|
return nil
|
|
}
|
|
return l.ReadOnlyLibraries
|
|
}
|
|
|
|
func (l *ListProvidersMediaContainer) GetStreamingBrainABRVersion() *int64 {
|
|
if l == nil {
|
|
return nil
|
|
}
|
|
return l.StreamingBrainABRVersion
|
|
}
|
|
|
|
func (l *ListProvidersMediaContainer) GetStreamingBrainVersion() *int64 {
|
|
if l == nil {
|
|
return nil
|
|
}
|
|
return l.StreamingBrainVersion
|
|
}
|
|
|
|
func (l *ListProvidersMediaContainer) GetSync() *bool {
|
|
if l == nil {
|
|
return nil
|
|
}
|
|
return l.Sync
|
|
}
|
|
|
|
func (l *ListProvidersMediaContainer) GetTranscoderActiveVideoSessions() *int64 {
|
|
if l == nil {
|
|
return nil
|
|
}
|
|
return l.TranscoderActiveVideoSessions
|
|
}
|
|
|
|
func (l *ListProvidersMediaContainer) GetTranscoderAudio() *bool {
|
|
if l == nil {
|
|
return nil
|
|
}
|
|
return l.TranscoderAudio
|
|
}
|
|
|
|
func (l *ListProvidersMediaContainer) GetTranscoderLyrics() *bool {
|
|
if l == nil {
|
|
return nil
|
|
}
|
|
return l.TranscoderLyrics
|
|
}
|
|
|
|
func (l *ListProvidersMediaContainer) GetTranscoderPhoto() *bool {
|
|
if l == nil {
|
|
return nil
|
|
}
|
|
return l.TranscoderPhoto
|
|
}
|
|
|
|
func (l *ListProvidersMediaContainer) GetTranscoderSubtitles() *bool {
|
|
if l == nil {
|
|
return nil
|
|
}
|
|
return l.TranscoderSubtitles
|
|
}
|
|
|
|
func (l *ListProvidersMediaContainer) GetTranscoderVideo() *bool {
|
|
if l == nil {
|
|
return nil
|
|
}
|
|
return l.TranscoderVideo
|
|
}
|
|
|
|
func (l *ListProvidersMediaContainer) GetTranscoderVideoBitrates() any {
|
|
if l == nil {
|
|
return nil
|
|
}
|
|
return l.TranscoderVideoBitrates
|
|
}
|
|
|
|
func (l *ListProvidersMediaContainer) GetTranscoderVideoQualities() *string {
|
|
if l == nil {
|
|
return nil
|
|
}
|
|
return l.TranscoderVideoQualities
|
|
}
|
|
|
|
func (l *ListProvidersMediaContainer) GetTranscoderVideoResolutions() any {
|
|
if l == nil {
|
|
return nil
|
|
}
|
|
return l.TranscoderVideoResolutions
|
|
}
|
|
|
|
func (l *ListProvidersMediaContainer) GetUpdatedAt() *int64 {
|
|
if l == nil {
|
|
return nil
|
|
}
|
|
return l.UpdatedAt
|
|
}
|
|
|
|
func (l *ListProvidersMediaContainer) GetUpdater() *bool {
|
|
if l == nil {
|
|
return nil
|
|
}
|
|
return l.Updater
|
|
}
|
|
|
|
func (l *ListProvidersMediaContainer) GetVersion() *string {
|
|
if l == nil {
|
|
return nil
|
|
}
|
|
return l.Version
|
|
}
|
|
|
|
func (l *ListProvidersMediaContainer) GetVoiceSearch() *bool {
|
|
if l == nil {
|
|
return nil
|
|
}
|
|
return l.VoiceSearch
|
|
}
|
|
|
|
func (l *ListProvidersMediaContainer) GetFeature() []Feature {
|
|
if l == nil {
|
|
return nil
|
|
}
|
|
return l.Feature
|
|
}
|
|
|
|
func (l *ListProvidersMediaContainer) GetProtocols() *string {
|
|
if l == nil {
|
|
return nil
|
|
}
|
|
return l.Protocols
|
|
}
|
|
|
|
func (l *ListProvidersMediaContainer) GetTitle() *string {
|
|
if l == nil {
|
|
return nil
|
|
}
|
|
return l.Title
|
|
}
|
|
|
|
func (l *ListProvidersMediaContainer) GetTypes() *string {
|
|
if l == nil {
|
|
return nil
|
|
}
|
|
return l.Types
|
|
}
|
|
|
|
// ListProvidersResponseBody - OK
|
|
type ListProvidersResponseBody struct {
|
|
MediaContainer *ListProvidersMediaContainer `json:"MediaContainer,omitempty"`
|
|
}
|
|
|
|
func (l *ListProvidersResponseBody) GetMediaContainer() *ListProvidersMediaContainer {
|
|
if l == nil {
|
|
return nil
|
|
}
|
|
return l.MediaContainer
|
|
}
|
|
|
|
type ListProvidersResponse 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
|
|
// OK
|
|
Object *ListProvidersResponseBody
|
|
}
|
|
|
|
func (l *ListProvidersResponse) GetContentType() string {
|
|
if l == nil {
|
|
return ""
|
|
}
|
|
return l.ContentType
|
|
}
|
|
|
|
func (l *ListProvidersResponse) GetStatusCode() int {
|
|
if l == nil {
|
|
return 0
|
|
}
|
|
return l.StatusCode
|
|
}
|
|
|
|
func (l *ListProvidersResponse) GetRawResponse() *http.Response {
|
|
if l == nil {
|
|
return nil
|
|
}
|
|
return l.RawResponse
|
|
}
|
|
|
|
func (l *ListProvidersResponse) GetObject() *ListProvidersResponseBody {
|
|
if l == nil {
|
|
return nil
|
|
}
|
|
return l.Object
|
|
}
|