From 08dcf43f3dbb75d53f74750358e5f9c28b14e14d Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Mon, 9 Sep 2024 00:22:35 +0000 Subject: [PATCH] ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.392.1 --- .speakeasy/gen.lock | 449 +++++++++++++++++- .speakeasy/gen.yaml | 2 +- .speakeasy/workflow.lock | 8 +- LukeHagar/PlexAPI/SDK/Activities.cs | 50 +- LukeHagar/PlexAPI/SDK/Authentication.cs | 102 +++- LukeHagar/PlexAPI/SDK/Butler.cs | 119 +++-- LukeHagar/PlexAPI/SDK/Hubs.cs | 50 +- LukeHagar/PlexAPI/SDK/Library.cs | 280 ++++++++--- LukeHagar/PlexAPI/SDK/Log.cs | 73 ++- .../PlexAPI/SDK/LukeHagar.PlexAPI.SDK.csproj | 2 +- LukeHagar/PlexAPI/SDK/Media.cs | 119 +++-- .../Errors/AddPlaylistContentsErrors.cs | 4 +- .../AddPlaylistContentsPlaylistsErrors.cs | 27 ++ ...ddPlaylistContentsPlaylistsResponseBody.cs | 34 ++ .../Errors/AddPlaylistContentsResponseBody.cs | 2 +- .../SDK/Models/Errors/ApplyUpdatesErrors.cs | 4 +- .../Models/Errors/ApplyUpdatesResponseBody.cs | 2 +- .../Errors/ApplyUpdatesUpdaterErrors.cs | 27 ++ .../Errors/ApplyUpdatesUpdaterResponseBody.cs | 34 ++ .../CancelServerActivitiesActivitiesErrors.cs | 27 ++ ...lServerActivitiesActivitiesResponseBody.cs | 34 ++ .../Errors/CancelServerActivitiesErrors.cs | 4 +- .../CancelServerActivitiesResponseBody.cs | 2 +- .../Models/Errors/CheckForUpdatesErrors.cs | 4 +- .../Errors/CheckForUpdatesResponseBody.cs | 2 +- .../Errors/CheckForUpdatesUpdaterErrors.cs | 27 ++ .../CheckForUpdatesUpdaterResponseBody.cs | 34 ++ .../Errors/ClearPlaylistContentsErrors.cs | 4 +- .../ClearPlaylistContentsPlaylistsErrors.cs | 27 ++ ...arPlaylistContentsPlaylistsResponseBody.cs | 34 ++ .../ClearPlaylistContentsResponseBody.cs | 2 +- .../SDK/Models/Errors/CreatePlaylistErrors.cs | 4 +- .../Errors/CreatePlaylistPlaylistsErrors.cs | 27 ++ .../CreatePlaylistPlaylistsResponseBody.cs | 34 ++ .../Errors/CreatePlaylistResponseBody.cs | 2 +- .../SDK/Models/Errors/DeleteLibraryErrors.cs | 4 +- .../Errors/DeleteLibraryLibraryErrors.cs | 27 ++ .../DeleteLibraryLibraryResponseBody.cs | 34 ++ .../Errors/DeleteLibraryResponseBody.cs | 2 +- .../SDK/Models/Errors/DeletePlaylistErrors.cs | 4 +- .../Errors/DeletePlaylistPlaylistsErrors.cs | 27 ++ .../DeletePlaylistPlaylistsResponseBody.cs | 34 ++ .../Errors/DeletePlaylistResponseBody.cs | 2 +- .../Models/Errors/EnablePaperTrailErrors.cs | 4 +- .../Errors/EnablePaperTrailLogErrors.cs | 27 ++ .../Errors/EnablePaperTrailLogResponseBody.cs | 34 ++ .../Errors/EnablePaperTrailResponseBody.cs | 2 +- LukeHagar/PlexAPI/SDK/Models/Errors/Errors.cs | 4 +- .../Models/Errors/GetAllLibrariesErrors.cs | 4 +- .../Errors/GetAllLibrariesLibraryErrors.cs | 27 ++ .../GetAllLibrariesLibraryResponseBody.cs | 34 ++ .../Errors/GetAllLibrariesResponseBody.cs | 2 +- .../Errors/GetAvailableClientsErrors.cs | 4 +- .../Errors/GetAvailableClientsResponseBody.cs | 2 +- .../Errors/GetAvailableClientsServerErrors.cs | 27 ++ .../GetAvailableClientsServerResponseBody.cs | 34 ++ .../Errors/GetBandwidthStatisticsErrors.cs | 4 +- .../GetBandwidthStatisticsResponseBody.cs | 2 +- .../GetBandwidthStatisticsStatisticsErrors.cs | 27 ++ ...ndwidthStatisticsStatisticsResponseBody.cs | 34 ++ .../SDK/Models/Errors/GetBannerImageErrors.cs | 4 +- .../Errors/GetBannerImageMediaErrors.cs | 27 ++ .../Errors/GetBannerImageMediaResponseBody.cs | 34 ++ .../Errors/GetBannerImageResponseBody.cs | 2 +- .../Errors/GetButlerTasksButlerErrors.cs | 27 ++ .../GetButlerTasksButlerResponseBody.cs | 34 ++ .../SDK/Models/Errors/GetButlerTasksErrors.cs | 4 +- .../Errors/GetButlerTasksResponseBody.cs | 2 +- .../Models/Errors/GetCompanionsDataErrors.cs | 4 +- .../Errors/GetCompanionsDataPlexErrors.cs | 27 ++ .../GetCompanionsDataPlexResponseBody.cs | 34 ++ .../Errors/GetCompanionsDataResponseBody.cs | 2 +- .../SDK/Models/Errors/GetDevicesErrors.cs | 4 +- .../Models/Errors/GetDevicesResponseBody.cs | 2 +- .../Models/Errors/GetDevicesServerErrors.cs | 27 ++ .../Errors/GetDevicesServerResponseBody.cs | 34 ++ .../SDK/Models/Errors/GetFileHashErrors.cs | 4 +- .../Models/Errors/GetFileHashLibraryErrors.cs | 27 ++ .../Errors/GetFileHashLibraryResponseBody.cs | 34 ++ .../Models/Errors/GetFileHashResponseBody.cs | 2 +- .../SDK/Models/Errors/GetGeoDataErrors.cs | 4 +- .../SDK/Models/Errors/GetGeoDataPlexErrors.cs | 27 ++ .../Errors/GetGeoDataPlexResponseBody.cs | 34 ++ .../Models/Errors/GetGeoDataResponseBody.cs | 2 +- .../SDK/Models/Errors/GetGlobalHubsErrors.cs | 4 +- .../Models/Errors/GetGlobalHubsHubsErrors.cs | 27 ++ .../Errors/GetGlobalHubsHubsResponseBody.cs | 34 ++ .../Errors/GetGlobalHubsResponseBody.cs | 2 +- .../SDK/Models/Errors/GetHomeDataErrors.cs | 4 +- .../Models/Errors/GetHomeDataPlexErrors.cs | 27 ++ .../Errors/GetHomeDataPlexResponseBody.cs | 34 ++ .../Models/Errors/GetHomeDataResponseBody.cs | 2 +- .../Models/Errors/GetLibraryDetailsErrors.cs | 4 +- .../Errors/GetLibraryDetailsLibraryErrors.cs | 27 ++ .../GetLibraryDetailsLibraryResponseBody.cs | 34 ++ .../Errors/GetLibraryDetailsResponseBody.cs | 2 +- .../SDK/Models/Errors/GetLibraryHubsErrors.cs | 4 +- .../Models/Errors/GetLibraryHubsHubsErrors.cs | 27 ++ .../Errors/GetLibraryHubsHubsResponseBody.cs | 34 ++ .../Errors/GetLibraryHubsResponseBody.cs | 2 +- .../Models/Errors/GetLibraryItemsErrors.cs | 4 +- .../Errors/GetLibraryItemsLibraryErrors.cs | 27 ++ .../GetLibraryItemsLibraryResponseBody.cs | 34 ++ .../Errors/GetLibraryItemsResponseBody.cs | 2 +- .../Models/Errors/GetMediaProvidersErrors.cs | 4 +- .../Errors/GetMediaProvidersResponseBody.cs | 2 +- .../Errors/GetMediaProvidersServerErrors.cs | 27 ++ .../GetMediaProvidersServerResponseBody.cs | 34 ++ .../Errors/GetMetaDataByRatingKeyErrors.cs | 4 +- .../GetMetaDataByRatingKeyLibraryErrors.cs | 27 ++ ...tMetaDataByRatingKeyLibraryResponseBody.cs | 34 ++ .../GetMetaDataByRatingKeyResponseBody.cs | 2 +- .../Errors/GetMetadataChildrenErrors.cs | 4 +- .../GetMetadataChildrenLibraryErrors.cs | 27 ++ .../GetMetadataChildrenLibraryResponseBody.cs | 34 ++ .../Errors/GetMetadataChildrenResponseBody.cs | 2 +- .../Models/Errors/GetMyPlexAccountErrors.cs | 4 +- .../Errors/GetMyPlexAccountResponseBody.cs | 2 +- .../Errors/GetMyPlexAccountServerErrors.cs | 27 ++ .../GetMyPlexAccountServerResponseBody.cs | 34 ++ .../SDK/Models/Errors/GetOnDeckErrors.cs | 4 +- .../Models/Errors/GetOnDeckLibraryErrors.cs | 27 ++ .../Errors/GetOnDeckLibraryResponseBody.cs | 34 ++ .../Models/Errors/GetOnDeckResponseBody.cs | 2 +- .../Errors/GetPlaylistContentsErrors.cs | 4 +- .../GetPlaylistContentsPlaylistsErrors.cs | 27 ++ ...etPlaylistContentsPlaylistsResponseBody.cs | 34 ++ .../Errors/GetPlaylistContentsResponseBody.cs | 2 +- .../SDK/Models/Errors/GetPlaylistErrors.cs | 4 +- .../Errors/GetPlaylistPlaylistsErrors.cs | 27 ++ .../GetPlaylistPlaylistsResponseBody.cs | 34 ++ .../Models/Errors/GetPlaylistResponseBody.cs | 2 +- .../SDK/Models/Errors/GetPlaylistsErrors.cs | 4 +- .../Errors/GetPlaylistsPlaylistsErrors.cs | 27 ++ .../GetPlaylistsPlaylistsResponseBody.cs | 34 ++ .../Models/Errors/GetPlaylistsResponseBody.cs | 2 +- .../Models/Errors/GetRecentlyAddedErrors.cs | 4 +- .../Errors/GetRecentlyAddedLibraryErrors.cs | 27 ++ .../GetRecentlyAddedLibraryResponseBody.cs | 34 ++ .../Errors/GetRecentlyAddedResponseBody.cs | 2 +- .../Errors/GetRefreshLibraryMetadataErrors.cs | 4 +- .../GetRefreshLibraryMetadataLibraryErrors.cs | 27 ++ ...freshLibraryMetadataLibraryResponseBody.cs | 34 ++ .../GetRefreshLibraryMetadataResponseBody.cs | 2 +- .../Models/Errors/GetResizedPhotoErrors.cs | 4 +- .../Errors/GetResizedPhotoResponseBody.cs | 2 +- .../Errors/GetResizedPhotoServerErrors.cs | 27 ++ .../GetResizedPhotoServerResponseBody.cs | 34 ++ .../Errors/GetResourcesStatisticsErrors.cs | 4 +- .../GetResourcesStatisticsResponseBody.cs | 2 +- .../GetResourcesStatisticsStatisticsErrors.cs | 27 ++ ...sourcesStatisticsStatisticsResponseBody.cs | 34 ++ .../Models/Errors/GetSearchLibraryErrors.cs | 4 +- .../Errors/GetSearchLibraryLibraryErrors.cs | 27 ++ .../GetSearchLibraryLibraryResponseBody.cs | 34 ++ .../Errors/GetSearchLibraryResponseBody.cs | 2 +- .../Models/Errors/GetSearchResultsErrors.cs | 4 +- .../Errors/GetSearchResultsResponseBody.cs | 2 +- .../Errors/GetSearchResultsSearchErrors.cs | 27 ++ .../GetSearchResultsSearchResponseBody.cs | 34 ++ .../GetServerActivitiesActivitiesErrors.cs | 27 ++ ...tServerActivitiesActivitiesResponseBody.cs | 34 ++ .../Errors/GetServerActivitiesErrors.cs | 4 +- .../Errors/GetServerActivitiesResponseBody.cs | 2 +- .../Errors/GetServerCapabilitiesErrors.cs | 27 ++ .../GetServerCapabilitiesResponseBody.cs | 2 +- ...GetServerCapabilitiesServerResponseBody.cs | 34 ++ .../SDK/Models/Errors/GetServerListErrors.cs | 4 +- .../Errors/GetServerListResponseBody.cs | 2 +- .../Errors/GetServerListServerErrors.cs | 27 ++ .../Errors/GetServerListServerResponseBody.cs | 34 ++ .../Errors/GetServerPreferencesErrors.cs | 4 +- .../GetServerPreferencesResponseBody.cs | 2 +- .../GetServerPreferencesServerErrors.cs | 27 ++ .../GetServerPreferencesServerResponseBody.cs | 34 ++ .../Models/Errors/GetServerResourcesErrors.cs | 4 +- .../Errors/GetServerResourcesPlexErrors.cs | 27 ++ .../GetServerResourcesPlexResponseBody.cs | 34 ++ .../Errors/GetServerResourcesResponseBody.cs | 2 +- .../Models/Errors/GetSessionHistoryErrors.cs | 4 +- .../Errors/GetSessionHistoryResponseBody.cs | 2 +- .../Errors/GetSessionHistorySessionsErrors.cs | 27 ++ .../GetSessionHistorySessionsResponseBody.cs | 34 ++ .../SDK/Models/Errors/GetSessionsErrors.cs | 4 +- .../Models/Errors/GetSessionsResponseBody.cs | 2 +- .../Errors/GetSessionsSessionsErrors.cs | 27 ++ .../Errors/GetSessionsSessionsResponseBody.cs | 34 ++ ...nnectionInformationAuthenticationErrors.cs | 27 ++ ...onInformationAuthenticationResponseBody.cs | 34 ++ .../GetSourceConnectionInformationErrors.cs | 4 +- ...SourceConnectionInformationResponseBody.cs | 2 +- .../SDK/Models/Errors/GetStatisticsErrors.cs | 4 +- .../Errors/GetStatisticsResponseBody.cs | 2 +- .../Errors/GetStatisticsStatisticsErrors.cs | 27 ++ .../GetStatisticsStatisticsResponseBody.cs | 34 ++ .../SDK/Models/Errors/GetThumbImageErrors.cs | 4 +- .../Models/Errors/GetThumbImageMediaErrors.cs | 27 ++ .../Errors/GetThumbImageMediaResponseBody.cs | 34 ++ .../Errors/GetThumbImageResponseBody.cs | 2 +- .../SDK/Models/Errors/GetTimelineErrors.cs | 4 +- .../Models/Errors/GetTimelineResponseBody.cs | 2 +- .../Models/Errors/GetTimelineVideoErrors.cs | 27 ++ .../Errors/GetTimelineVideoResponseBody.cs | 34 ++ .../Errors/GetTopWatchedContentErrors.cs | 4 +- .../GetTopWatchedContentLibraryErrors.cs | 27 ++ ...GetTopWatchedContentLibraryResponseBody.cs | 34 ++ .../GetTopWatchedContentResponseBody.cs | 2 +- .../Errors/GetTranscodeSessionsErrors.cs | 4 +- .../GetTranscodeSessionsResponseBody.cs | 2 +- .../GetTranscodeSessionsSessionsErrors.cs | 27 ++ ...etTranscodeSessionsSessionsResponseBody.cs | 34 ++ .../GetTransientTokenAuthenticationErrors.cs | 27 ++ ...ransientTokenAuthenticationResponseBody.cs | 34 ++ .../Models/Errors/GetTransientTokenErrors.cs | 4 +- .../Errors/GetTransientTokenResponseBody.cs | 2 +- .../Models/Errors/GetUpdateStatusErrors.cs | 4 +- .../Errors/GetUpdateStatusResponseBody.cs | 2 +- .../Errors/GetUpdateStatusUpdaterErrors.cs | 27 ++ .../GetUpdateStatusUpdaterResponseBody.cs | 34 ++ .../GetUserDetailsAuthenticationErrors.cs | 27 ++ ...etUserDetailsAuthenticationResponseBody.cs | 34 ++ .../SDK/Models/Errors/GetUserDetailsErrors.cs | 4 +- .../Errors/GetUserDetailsResponseBody.cs | 2 +- .../SDK/Models/Errors/GetUserFriendsErrors.cs | 4 +- .../Models/Errors/GetUserFriendsPlexErrors.cs | 27 ++ .../Errors/GetUserFriendsPlexResponseBody.cs | 34 ++ .../Errors/GetUserFriendsResponseBody.cs | 2 +- .../SDK/Models/Errors/GetWatchListErrors.cs | 4 +- .../Models/Errors/GetWatchListResponseBody.cs | 2 +- .../Errors/GetWatchListWatchlistErrors.cs | 27 ++ .../GetWatchListWatchlistResponseBody.cs | 34 ++ .../SDK/Models/Errors/LogLineErrors.cs | 4 +- .../SDK/Models/Errors/LogLineLogErrors.cs | 27 ++ .../Models/Errors/LogLineLogResponseBody.cs | 34 ++ .../SDK/Models/Errors/LogLineResponseBody.cs | 2 +- .../SDK/Models/Errors/LogMultiLineErrors.cs | 4 +- .../Models/Errors/LogMultiLineLogErrors.cs | 27 ++ .../Errors/LogMultiLineLogResponseBody.cs | 34 ++ .../Models/Errors/LogMultiLineResponseBody.cs | 2 +- .../SDK/Models/Errors/MarkPlayedErrors.cs | 4 +- .../Models/Errors/MarkPlayedMediaErrors.cs | 27 ++ .../Errors/MarkPlayedMediaResponseBody.cs | 34 ++ .../Models/Errors/MarkPlayedResponseBody.cs | 2 +- .../SDK/Models/Errors/MarkUnplayedErrors.cs | 4 +- .../Models/Errors/MarkUnplayedMediaErrors.cs | 27 ++ .../Errors/MarkUnplayedMediaResponseBody.cs | 34 ++ .../Models/Errors/MarkUnplayedResponseBody.cs | 2 +- .../SDK/Models/Errors/PerformSearchErrors.cs | 4 +- .../Errors/PerformSearchResponseBody.cs | 2 +- .../Errors/PerformSearchSearchErrors.cs | 27 ++ .../Errors/PerformSearchSearchResponseBody.cs | 34 ++ .../Models/Errors/PerformVoiceSearchErrors.cs | 4 +- .../Errors/PerformVoiceSearchResponseBody.cs | 2 +- .../Errors/PerformVoiceSearchSearchErrors.cs | 27 ++ .../PerformVoiceSearchSearchResponseBody.cs | 34 ++ ...PostUsersSignInDataAuthenticationErrors.cs | 27 ++ ...ersSignInDataAuthenticationResponseBody.cs | 34 ++ .../Errors/PostUsersSignInDataErrors.cs | 4 +- .../Errors/PostUsersSignInDataResponseBody.cs | 2 +- .../Errors/StartAllTasksButlerErrors.cs | 27 ++ .../Errors/StartAllTasksButlerResponseBody.cs | 34 ++ .../SDK/Models/Errors/StartAllTasksErrors.cs | 4 +- .../Errors/StartAllTasksResponseBody.cs | 2 +- .../Models/Errors/StartTaskButlerErrors.cs | 27 ++ .../Errors/StartTaskButlerResponseBody.cs | 34 ++ .../SDK/Models/Errors/StartTaskErrors.cs | 4 +- .../Models/Errors/StartTaskResponseBody.cs | 2 +- .../Errors/StartUniversalTranscodeErrors.cs | 4 +- .../StartUniversalTranscodeResponseBody.cs | 2 +- .../StartUniversalTranscodeVideoErrors.cs | 27 ++ ...tartUniversalTranscodeVideoResponseBody.cs | 34 ++ .../Models/Errors/StopAllTasksButlerErrors.cs | 27 ++ .../Errors/StopAllTasksButlerResponseBody.cs | 34 ++ .../SDK/Models/Errors/StopAllTasksErrors.cs | 4 +- .../Models/Errors/StopAllTasksResponseBody.cs | 2 +- .../SDK/Models/Errors/StopTaskButlerErrors.cs | 27 ++ .../Errors/StopTaskButlerResponseBody.cs | 34 ++ .../SDK/Models/Errors/StopTaskErrors.cs | 4 +- .../SDK/Models/Errors/StopTaskResponseBody.cs | 2 +- .../Errors/StopTranscodeSessionErrors.cs | 4 +- .../StopTranscodeSessionResponseBody.cs | 2 +- .../StopTranscodeSessionSessionsErrors.cs | 27 ++ ...topTranscodeSessionSessionsResponseBody.cs | 34 ++ .../Models/Errors/UpdatePlayProgressErrors.cs | 4 +- .../Errors/UpdatePlayProgressMediaErrors.cs | 27 ++ .../UpdatePlayProgressMediaResponseBody.cs | 34 ++ .../Errors/UpdatePlayProgressResponseBody.cs | 2 +- .../SDK/Models/Errors/UpdatePlaylistErrors.cs | 4 +- .../Errors/UpdatePlaylistPlaylistsErrors.cs | 27 ++ .../UpdatePlaylistPlaylistsResponseBody.cs | 34 ++ .../Errors/UpdatePlaylistResponseBody.cs | 2 +- .../SDK/Models/Errors/UploadPlaylistErrors.cs | 4 +- .../Errors/UploadPlaylistPlaylistsErrors.cs | 27 ++ .../UploadPlaylistPlaylistsResponseBody.cs | 34 ++ .../Errors/UploadPlaylistResponseBody.cs | 2 +- .../Requests/GetAllLibrariesDirectory.cs | 6 +- .../Requests/GetUserDetailsUserPlexAccount.cs | 8 +- .../SDK/Models/Requests/PastSubscription.cs | 4 +- .../PostUsersSignInDataRequestBody.cs | 3 + .../PostUsersSignInDataUserPlexAccount.cs | 8 +- LukeHagar/PlexAPI/SDK/Playlists.cs | 211 ++++++-- LukeHagar/PlexAPI/SDK/Plex.cs | 131 +++-- LukeHagar/PlexAPI/SDK/PlexAPI.cs | 4 +- LukeHagar/PlexAPI/SDK/Search.cs | 73 ++- LukeHagar/PlexAPI/SDK/Server.cs | 188 ++++++-- LukeHagar/PlexAPI/SDK/Sessions.cs | 96 +++- LukeHagar/PlexAPI/SDK/Statistics.cs | 73 ++- LukeHagar/PlexAPI/SDK/Updater.cs | 73 ++- LukeHagar/PlexAPI/SDK/Video.cs | 50 +- LukeHagar/PlexAPI/SDK/Watchlist.cs | 27 +- NUGET.md | 15 +- README.md | 17 +- RELEASES.md | 12 +- .../Errors/AddPlaylistContentsErrors.md | 10 +- .../AddPlaylistContentsPlaylistsErrors.md | 10 + ...ddPlaylistContentsPlaylistsResponseBody.md | 11 + .../Errors/AddPlaylistContentsResponseBody.md | 2 +- docs/Models/Errors/ApplyUpdatesErrors.md | 10 +- .../Models/Errors/ApplyUpdatesResponseBody.md | 2 +- .../Errors/ApplyUpdatesUpdaterErrors.md | 10 + .../Errors/ApplyUpdatesUpdaterResponseBody.md | 11 + .../CancelServerActivitiesActivitiesErrors.md | 10 + ...lServerActivitiesActivitiesResponseBody.md | 11 + .../Errors/CancelServerActivitiesErrors.md | 10 +- .../CancelServerActivitiesResponseBody.md | 2 +- docs/Models/Errors/CheckForUpdatesErrors.md | 10 +- .../Errors/CheckForUpdatesResponseBody.md | 2 +- .../Errors/CheckForUpdatesUpdaterErrors.md | 10 + .../CheckForUpdatesUpdaterResponseBody.md | 11 + .../Errors/ClearPlaylistContentsErrors.md | 10 +- .../ClearPlaylistContentsPlaylistsErrors.md | 10 + ...arPlaylistContentsPlaylistsResponseBody.md | 11 + .../ClearPlaylistContentsResponseBody.md | 2 +- docs/Models/Errors/CreatePlaylistErrors.md | 10 +- .../Errors/CreatePlaylistPlaylistsErrors.md | 10 + .../CreatePlaylistPlaylistsResponseBody.md | 11 + .../Errors/CreatePlaylistResponseBody.md | 2 +- docs/Models/Errors/DeleteLibraryErrors.md | 10 +- .../Errors/DeleteLibraryLibraryErrors.md | 10 + .../DeleteLibraryLibraryResponseBody.md | 11 + .../Errors/DeleteLibraryResponseBody.md | 2 +- docs/Models/Errors/DeletePlaylistErrors.md | 10 +- .../Errors/DeletePlaylistPlaylistsErrors.md | 10 + .../DeletePlaylistPlaylistsResponseBody.md | 11 + .../Errors/DeletePlaylistResponseBody.md | 2 +- docs/Models/Errors/EnablePaperTrailErrors.md | 10 +- .../Errors/EnablePaperTrailLogErrors.md | 10 + .../Errors/EnablePaperTrailLogResponseBody.md | 11 + .../Errors/EnablePaperTrailResponseBody.md | 2 +- docs/Models/Errors/Errors.md | 10 +- docs/Models/Errors/GetAllLibrariesErrors.md | 10 +- .../Errors/GetAllLibrariesLibraryErrors.md | 10 + .../GetAllLibrariesLibraryResponseBody.md | 11 + .../Errors/GetAllLibrariesResponseBody.md | 2 +- .../Errors/GetAvailableClientsErrors.md | 10 +- .../Errors/GetAvailableClientsResponseBody.md | 2 +- .../Errors/GetAvailableClientsServerErrors.md | 10 + .../GetAvailableClientsServerResponseBody.md | 11 + .../Errors/GetBandwidthStatisticsErrors.md | 10 +- .../GetBandwidthStatisticsResponseBody.md | 2 +- .../GetBandwidthStatisticsStatisticsErrors.md | 10 + ...ndwidthStatisticsStatisticsResponseBody.md | 11 + docs/Models/Errors/GetBannerImageErrors.md | 10 +- .../Errors/GetBannerImageMediaErrors.md | 10 + .../Errors/GetBannerImageMediaResponseBody.md | 11 + .../Errors/GetBannerImageResponseBody.md | 2 +- .../Errors/GetButlerTasksButlerErrors.md | 10 + .../GetButlerTasksButlerResponseBody.md | 11 + docs/Models/Errors/GetButlerTasksErrors.md | 10 +- .../Errors/GetButlerTasksResponseBody.md | 2 +- docs/Models/Errors/GetCompanionsDataErrors.md | 10 +- .../Errors/GetCompanionsDataPlexErrors.md | 10 + .../GetCompanionsDataPlexResponseBody.md | 11 + .../Errors/GetCompanionsDataResponseBody.md | 2 +- docs/Models/Errors/GetDevicesErrors.md | 10 +- docs/Models/Errors/GetDevicesResponseBody.md | 2 +- docs/Models/Errors/GetDevicesServerErrors.md | 10 + .../Errors/GetDevicesServerResponseBody.md | 11 + docs/Models/Errors/GetFileHashErrors.md | 10 +- .../Models/Errors/GetFileHashLibraryErrors.md | 10 + .../Errors/GetFileHashLibraryResponseBody.md | 11 + docs/Models/Errors/GetFileHashResponseBody.md | 2 +- docs/Models/Errors/GetGeoDataErrors.md | 10 +- docs/Models/Errors/GetGeoDataPlexErrors.md | 10 + .../Errors/GetGeoDataPlexResponseBody.md | 11 + docs/Models/Errors/GetGeoDataResponseBody.md | 2 +- docs/Models/Errors/GetGlobalHubsErrors.md | 10 +- docs/Models/Errors/GetGlobalHubsHubsErrors.md | 10 + .../Errors/GetGlobalHubsHubsResponseBody.md | 11 + .../Errors/GetGlobalHubsResponseBody.md | 2 +- docs/Models/Errors/GetHomeDataErrors.md | 10 +- docs/Models/Errors/GetHomeDataPlexErrors.md | 10 + .../Errors/GetHomeDataPlexResponseBody.md | 11 + docs/Models/Errors/GetHomeDataResponseBody.md | 2 +- docs/Models/Errors/GetLibraryDetailsErrors.md | 10 +- .../Errors/GetLibraryDetailsLibraryErrors.md | 10 + .../GetLibraryDetailsLibraryResponseBody.md | 11 + .../Errors/GetLibraryDetailsResponseBody.md | 2 +- docs/Models/Errors/GetLibraryHubsErrors.md | 10 +- .../Models/Errors/GetLibraryHubsHubsErrors.md | 10 + .../Errors/GetLibraryHubsHubsResponseBody.md | 11 + .../Errors/GetLibraryHubsResponseBody.md | 2 +- docs/Models/Errors/GetLibraryItemsErrors.md | 10 +- .../Errors/GetLibraryItemsLibraryErrors.md | 10 + .../GetLibraryItemsLibraryResponseBody.md | 11 + .../Errors/GetLibraryItemsResponseBody.md | 2 +- docs/Models/Errors/GetMediaProvidersErrors.md | 10 +- .../Errors/GetMediaProvidersResponseBody.md | 2 +- .../Errors/GetMediaProvidersServerErrors.md | 10 + .../GetMediaProvidersServerResponseBody.md | 11 + .../Errors/GetMetaDataByRatingKeyErrors.md | 10 +- .../GetMetaDataByRatingKeyLibraryErrors.md | 10 + ...tMetaDataByRatingKeyLibraryResponseBody.md | 11 + .../GetMetaDataByRatingKeyResponseBody.md | 2 +- .../Errors/GetMetadataChildrenErrors.md | 10 +- .../GetMetadataChildrenLibraryErrors.md | 10 + .../GetMetadataChildrenLibraryResponseBody.md | 11 + .../Errors/GetMetadataChildrenResponseBody.md | 2 +- docs/Models/Errors/GetMyPlexAccountErrors.md | 10 +- .../Errors/GetMyPlexAccountResponseBody.md | 2 +- .../Errors/GetMyPlexAccountServerErrors.md | 10 + .../GetMyPlexAccountServerResponseBody.md | 11 + docs/Models/Errors/GetOnDeckErrors.md | 10 +- docs/Models/Errors/GetOnDeckLibraryErrors.md | 10 + .../Errors/GetOnDeckLibraryResponseBody.md | 11 + docs/Models/Errors/GetOnDeckResponseBody.md | 2 +- .../Errors/GetPlaylistContentsErrors.md | 10 +- .../GetPlaylistContentsPlaylistsErrors.md | 10 + ...etPlaylistContentsPlaylistsResponseBody.md | 11 + .../Errors/GetPlaylistContentsResponseBody.md | 2 +- docs/Models/Errors/GetPlaylistErrors.md | 10 +- .../Errors/GetPlaylistPlaylistsErrors.md | 10 + .../GetPlaylistPlaylistsResponseBody.md | 11 + docs/Models/Errors/GetPlaylistResponseBody.md | 2 +- docs/Models/Errors/GetPlaylistsErrors.md | 10 +- .../Errors/GetPlaylistsPlaylistsErrors.md | 10 + .../GetPlaylistsPlaylistsResponseBody.md | 11 + .../Models/Errors/GetPlaylistsResponseBody.md | 2 +- docs/Models/Errors/GetRecentlyAddedErrors.md | 10 +- .../Errors/GetRecentlyAddedLibraryErrors.md | 10 + .../GetRecentlyAddedLibraryResponseBody.md | 11 + .../Errors/GetRecentlyAddedResponseBody.md | 2 +- .../Errors/GetRefreshLibraryMetadataErrors.md | 10 +- .../GetRefreshLibraryMetadataLibraryErrors.md | 10 + ...freshLibraryMetadataLibraryResponseBody.md | 11 + .../GetRefreshLibraryMetadataResponseBody.md | 2 +- docs/Models/Errors/GetResizedPhotoErrors.md | 10 +- .../Errors/GetResizedPhotoResponseBody.md | 2 +- .../Errors/GetResizedPhotoServerErrors.md | 10 + .../GetResizedPhotoServerResponseBody.md | 11 + .../Errors/GetResourcesStatisticsErrors.md | 10 +- .../GetResourcesStatisticsResponseBody.md | 2 +- .../GetResourcesStatisticsStatisticsErrors.md | 10 + ...sourcesStatisticsStatisticsResponseBody.md | 11 + docs/Models/Errors/GetSearchLibraryErrors.md | 10 +- .../Errors/GetSearchLibraryLibraryErrors.md | 10 + .../GetSearchLibraryLibraryResponseBody.md | 11 + .../Errors/GetSearchLibraryResponseBody.md | 2 +- docs/Models/Errors/GetSearchResultsErrors.md | 10 +- .../Errors/GetSearchResultsResponseBody.md | 2 +- .../Errors/GetSearchResultsSearchErrors.md | 10 + .../GetSearchResultsSearchResponseBody.md | 11 + .../GetServerActivitiesActivitiesErrors.md | 10 + ...tServerActivitiesActivitiesResponseBody.md | 11 + .../Errors/GetServerActivitiesErrors.md | 10 +- .../Errors/GetServerActivitiesResponseBody.md | 2 +- .../Errors/GetServerCapabilitiesErrors.md | 10 + .../GetServerCapabilitiesResponseBody.md | 2 +- ...GetServerCapabilitiesServerResponseBody.md | 11 + docs/Models/Errors/GetServerListErrors.md | 10 +- .../Errors/GetServerListResponseBody.md | 2 +- .../Errors/GetServerListServerErrors.md | 10 + .../Errors/GetServerListServerResponseBody.md | 11 + .../Errors/GetServerPreferencesErrors.md | 10 +- .../GetServerPreferencesResponseBody.md | 2 +- .../GetServerPreferencesServerErrors.md | 10 + .../GetServerPreferencesServerResponseBody.md | 11 + .../Models/Errors/GetServerResourcesErrors.md | 10 +- .../Errors/GetServerResourcesPlexErrors.md | 10 + .../GetServerResourcesPlexResponseBody.md | 11 + .../Errors/GetServerResourcesResponseBody.md | 2 +- docs/Models/Errors/GetSessionHistoryErrors.md | 10 +- .../Errors/GetSessionHistoryResponseBody.md | 2 +- .../Errors/GetSessionHistorySessionsErrors.md | 10 + .../GetSessionHistorySessionsResponseBody.md | 11 + docs/Models/Errors/GetSessionsErrors.md | 10 +- docs/Models/Errors/GetSessionsResponseBody.md | 2 +- .../Errors/GetSessionsSessionsErrors.md | 10 + .../Errors/GetSessionsSessionsResponseBody.md | 11 + ...nnectionInformationAuthenticationErrors.md | 10 + ...onInformationAuthenticationResponseBody.md | 11 + .../GetSourceConnectionInformationErrors.md | 10 +- ...SourceConnectionInformationResponseBody.md | 2 +- docs/Models/Errors/GetStatisticsErrors.md | 10 +- .../Errors/GetStatisticsResponseBody.md | 2 +- .../Errors/GetStatisticsStatisticsErrors.md | 10 + .../GetStatisticsStatisticsResponseBody.md | 11 + docs/Models/Errors/GetThumbImageErrors.md | 10 +- .../Models/Errors/GetThumbImageMediaErrors.md | 10 + .../Errors/GetThumbImageMediaResponseBody.md | 11 + .../Errors/GetThumbImageResponseBody.md | 2 +- docs/Models/Errors/GetTimelineErrors.md | 10 +- docs/Models/Errors/GetTimelineResponseBody.md | 2 +- docs/Models/Errors/GetTimelineVideoErrors.md | 10 + .../Errors/GetTimelineVideoResponseBody.md | 11 + .../Errors/GetTopWatchedContentErrors.md | 10 +- .../GetTopWatchedContentLibraryErrors.md | 10 + ...GetTopWatchedContentLibraryResponseBody.md | 11 + .../GetTopWatchedContentResponseBody.md | 2 +- .../Errors/GetTranscodeSessionsErrors.md | 10 +- .../GetTranscodeSessionsResponseBody.md | 2 +- .../GetTranscodeSessionsSessionsErrors.md | 10 + ...etTranscodeSessionsSessionsResponseBody.md | 11 + .../GetTransientTokenAuthenticationErrors.md | 10 + ...ransientTokenAuthenticationResponseBody.md | 11 + docs/Models/Errors/GetTransientTokenErrors.md | 10 +- .../Errors/GetTransientTokenResponseBody.md | 2 +- docs/Models/Errors/GetUpdateStatusErrors.md | 10 +- .../Errors/GetUpdateStatusResponseBody.md | 2 +- .../Errors/GetUpdateStatusUpdaterErrors.md | 10 + .../GetUpdateStatusUpdaterResponseBody.md | 11 + .../GetUserDetailsAuthenticationErrors.md | 10 + ...etUserDetailsAuthenticationResponseBody.md | 11 + docs/Models/Errors/GetUserDetailsErrors.md | 10 +- .../Errors/GetUserDetailsResponseBody.md | 2 +- docs/Models/Errors/GetUserFriendsErrors.md | 10 +- .../Models/Errors/GetUserFriendsPlexErrors.md | 10 + .../Errors/GetUserFriendsPlexResponseBody.md | 11 + .../Errors/GetUserFriendsResponseBody.md | 2 +- docs/Models/Errors/GetWatchListErrors.md | 10 +- .../Models/Errors/GetWatchListResponseBody.md | 2 +- .../Errors/GetWatchListWatchlistErrors.md | 10 + .../GetWatchListWatchlistResponseBody.md | 11 + docs/Models/Errors/LogLineErrors.md | 10 +- docs/Models/Errors/LogLineLogErrors.md | 10 + docs/Models/Errors/LogLineLogResponseBody.md | 11 + docs/Models/Errors/LogLineResponseBody.md | 2 +- docs/Models/Errors/LogMultiLineErrors.md | 10 +- docs/Models/Errors/LogMultiLineLogErrors.md | 10 + .../Errors/LogMultiLineLogResponseBody.md | 11 + .../Models/Errors/LogMultiLineResponseBody.md | 2 +- docs/Models/Errors/MarkPlayedErrors.md | 10 +- docs/Models/Errors/MarkPlayedMediaErrors.md | 10 + .../Errors/MarkPlayedMediaResponseBody.md | 11 + docs/Models/Errors/MarkPlayedResponseBody.md | 2 +- docs/Models/Errors/MarkUnplayedErrors.md | 10 +- docs/Models/Errors/MarkUnplayedMediaErrors.md | 10 + .../Errors/MarkUnplayedMediaResponseBody.md | 11 + .../Models/Errors/MarkUnplayedResponseBody.md | 2 +- docs/Models/Errors/PerformSearchErrors.md | 10 +- .../Errors/PerformSearchResponseBody.md | 2 +- .../Errors/PerformSearchSearchErrors.md | 10 + .../Errors/PerformSearchSearchResponseBody.md | 11 + .../Models/Errors/PerformVoiceSearchErrors.md | 10 +- .../Errors/PerformVoiceSearchResponseBody.md | 2 +- .../Errors/PerformVoiceSearchSearchErrors.md | 10 + .../PerformVoiceSearchSearchResponseBody.md | 11 + ...PostUsersSignInDataAuthenticationErrors.md | 10 + ...ersSignInDataAuthenticationResponseBody.md | 11 + .../Errors/PostUsersSignInDataErrors.md | 10 +- .../Errors/PostUsersSignInDataResponseBody.md | 2 +- .../Errors/StartAllTasksButlerErrors.md | 10 + .../Errors/StartAllTasksButlerResponseBody.md | 11 + docs/Models/Errors/StartAllTasksErrors.md | 10 +- .../Errors/StartAllTasksResponseBody.md | 2 +- docs/Models/Errors/StartTaskButlerErrors.md | 10 + .../Errors/StartTaskButlerResponseBody.md | 11 + docs/Models/Errors/StartTaskErrors.md | 10 +- docs/Models/Errors/StartTaskResponseBody.md | 2 +- .../Errors/StartUniversalTranscodeErrors.md | 10 +- .../StartUniversalTranscodeResponseBody.md | 2 +- .../StartUniversalTranscodeVideoErrors.md | 10 + ...tartUniversalTranscodeVideoResponseBody.md | 11 + .../Models/Errors/StopAllTasksButlerErrors.md | 10 + .../Errors/StopAllTasksButlerResponseBody.md | 11 + docs/Models/Errors/StopAllTasksErrors.md | 10 +- .../Models/Errors/StopAllTasksResponseBody.md | 2 +- docs/Models/Errors/StopTaskButlerErrors.md | 10 + .../Errors/StopTaskButlerResponseBody.md | 11 + docs/Models/Errors/StopTaskErrors.md | 10 +- docs/Models/Errors/StopTaskResponseBody.md | 2 +- .../Errors/StopTranscodeSessionErrors.md | 10 +- .../StopTranscodeSessionResponseBody.md | 2 +- .../StopTranscodeSessionSessionsErrors.md | 10 + ...topTranscodeSessionSessionsResponseBody.md | 11 + .../Models/Errors/UpdatePlayProgressErrors.md | 10 +- .../Errors/UpdatePlayProgressMediaErrors.md | 10 + .../UpdatePlayProgressMediaResponseBody.md | 11 + .../Errors/UpdatePlayProgressResponseBody.md | 2 +- docs/Models/Errors/UpdatePlaylistErrors.md | 10 +- .../Errors/UpdatePlaylistPlaylistsErrors.md | 10 + .../UpdatePlaylistPlaylistsResponseBody.md | 11 + .../Errors/UpdatePlaylistResponseBody.md | 2 +- docs/Models/Errors/UploadPlaylistErrors.md | 10 +- .../Errors/UploadPlaylistPlaylistsErrors.md | 10 + .../UploadPlaylistPlaylistsResponseBody.md | 11 + .../Errors/UploadPlaylistResponseBody.md | 2 +- .../Requests/GetAllLibrariesDirectory.md | 6 +- .../Requests/GetUserDetailsUserPlexAccount.md | 4 +- docs/Models/Requests/PastSubscription.md | 4 +- .../PostUsersSignInDataRequestBody.md | 3 +- .../PostUsersSignInDataUserPlexAccount.md | 4 +- docs/sdks/activities/README.md | 18 +- docs/sdks/authentication/README.md | 39 +- docs/sdks/butler/README.md | 45 +- docs/sdks/hubs/README.md | 18 +- docs/sdks/library/README.md | 108 +++-- docs/sdks/log/README.md | 27 +- docs/sdks/media/README.md | 45 +- docs/sdks/playlists/README.md | 81 ++-- docs/sdks/plex/README.md | 45 +- docs/sdks/search/README.md | 27 +- docs/sdks/server/README.md | 72 +-- docs/sdks/sessions/README.md | 36 +- docs/sdks/statistics/README.md | 27 +- docs/sdks/updater/README.md | 27 +- docs/sdks/video/README.md | 18 +- docs/sdks/watchlist/README.md | 9 +- 618 files changed, 8649 insertions(+), 1367 deletions(-) create mode 100644 LukeHagar/PlexAPI/SDK/Models/Errors/AddPlaylistContentsPlaylistsErrors.cs create mode 100644 LukeHagar/PlexAPI/SDK/Models/Errors/AddPlaylistContentsPlaylistsResponseBody.cs create mode 100644 LukeHagar/PlexAPI/SDK/Models/Errors/ApplyUpdatesUpdaterErrors.cs create mode 100644 LukeHagar/PlexAPI/SDK/Models/Errors/ApplyUpdatesUpdaterResponseBody.cs create mode 100644 LukeHagar/PlexAPI/SDK/Models/Errors/CancelServerActivitiesActivitiesErrors.cs create mode 100644 LukeHagar/PlexAPI/SDK/Models/Errors/CancelServerActivitiesActivitiesResponseBody.cs create mode 100644 LukeHagar/PlexAPI/SDK/Models/Errors/CheckForUpdatesUpdaterErrors.cs create mode 100644 LukeHagar/PlexAPI/SDK/Models/Errors/CheckForUpdatesUpdaterResponseBody.cs create mode 100644 LukeHagar/PlexAPI/SDK/Models/Errors/ClearPlaylistContentsPlaylistsErrors.cs create mode 100644 LukeHagar/PlexAPI/SDK/Models/Errors/ClearPlaylistContentsPlaylistsResponseBody.cs create mode 100644 LukeHagar/PlexAPI/SDK/Models/Errors/CreatePlaylistPlaylistsErrors.cs create mode 100644 LukeHagar/PlexAPI/SDK/Models/Errors/CreatePlaylistPlaylistsResponseBody.cs create mode 100644 LukeHagar/PlexAPI/SDK/Models/Errors/DeleteLibraryLibraryErrors.cs create mode 100644 LukeHagar/PlexAPI/SDK/Models/Errors/DeleteLibraryLibraryResponseBody.cs create mode 100644 LukeHagar/PlexAPI/SDK/Models/Errors/DeletePlaylistPlaylistsErrors.cs create mode 100644 LukeHagar/PlexAPI/SDK/Models/Errors/DeletePlaylistPlaylistsResponseBody.cs create mode 100644 LukeHagar/PlexAPI/SDK/Models/Errors/EnablePaperTrailLogErrors.cs create mode 100644 LukeHagar/PlexAPI/SDK/Models/Errors/EnablePaperTrailLogResponseBody.cs create mode 100644 LukeHagar/PlexAPI/SDK/Models/Errors/GetAllLibrariesLibraryErrors.cs create mode 100644 LukeHagar/PlexAPI/SDK/Models/Errors/GetAllLibrariesLibraryResponseBody.cs create mode 100644 LukeHagar/PlexAPI/SDK/Models/Errors/GetAvailableClientsServerErrors.cs create mode 100644 LukeHagar/PlexAPI/SDK/Models/Errors/GetAvailableClientsServerResponseBody.cs create mode 100644 LukeHagar/PlexAPI/SDK/Models/Errors/GetBandwidthStatisticsStatisticsErrors.cs create mode 100644 LukeHagar/PlexAPI/SDK/Models/Errors/GetBandwidthStatisticsStatisticsResponseBody.cs create mode 100644 LukeHagar/PlexAPI/SDK/Models/Errors/GetBannerImageMediaErrors.cs create mode 100644 LukeHagar/PlexAPI/SDK/Models/Errors/GetBannerImageMediaResponseBody.cs create mode 100644 LukeHagar/PlexAPI/SDK/Models/Errors/GetButlerTasksButlerErrors.cs create mode 100644 LukeHagar/PlexAPI/SDK/Models/Errors/GetButlerTasksButlerResponseBody.cs create mode 100644 LukeHagar/PlexAPI/SDK/Models/Errors/GetCompanionsDataPlexErrors.cs create mode 100644 LukeHagar/PlexAPI/SDK/Models/Errors/GetCompanionsDataPlexResponseBody.cs create mode 100644 LukeHagar/PlexAPI/SDK/Models/Errors/GetDevicesServerErrors.cs create mode 100644 LukeHagar/PlexAPI/SDK/Models/Errors/GetDevicesServerResponseBody.cs create mode 100644 LukeHagar/PlexAPI/SDK/Models/Errors/GetFileHashLibraryErrors.cs create mode 100644 LukeHagar/PlexAPI/SDK/Models/Errors/GetFileHashLibraryResponseBody.cs create mode 100644 LukeHagar/PlexAPI/SDK/Models/Errors/GetGeoDataPlexErrors.cs create mode 100644 LukeHagar/PlexAPI/SDK/Models/Errors/GetGeoDataPlexResponseBody.cs create mode 100644 LukeHagar/PlexAPI/SDK/Models/Errors/GetGlobalHubsHubsErrors.cs create mode 100644 LukeHagar/PlexAPI/SDK/Models/Errors/GetGlobalHubsHubsResponseBody.cs create mode 100644 LukeHagar/PlexAPI/SDK/Models/Errors/GetHomeDataPlexErrors.cs create mode 100644 LukeHagar/PlexAPI/SDK/Models/Errors/GetHomeDataPlexResponseBody.cs create mode 100644 LukeHagar/PlexAPI/SDK/Models/Errors/GetLibraryDetailsLibraryErrors.cs create mode 100644 LukeHagar/PlexAPI/SDK/Models/Errors/GetLibraryDetailsLibraryResponseBody.cs create mode 100644 LukeHagar/PlexAPI/SDK/Models/Errors/GetLibraryHubsHubsErrors.cs create mode 100644 LukeHagar/PlexAPI/SDK/Models/Errors/GetLibraryHubsHubsResponseBody.cs create mode 100644 LukeHagar/PlexAPI/SDK/Models/Errors/GetLibraryItemsLibraryErrors.cs create mode 100644 LukeHagar/PlexAPI/SDK/Models/Errors/GetLibraryItemsLibraryResponseBody.cs create mode 100644 LukeHagar/PlexAPI/SDK/Models/Errors/GetMediaProvidersServerErrors.cs create mode 100644 LukeHagar/PlexAPI/SDK/Models/Errors/GetMediaProvidersServerResponseBody.cs create mode 100644 LukeHagar/PlexAPI/SDK/Models/Errors/GetMetaDataByRatingKeyLibraryErrors.cs create mode 100644 LukeHagar/PlexAPI/SDK/Models/Errors/GetMetaDataByRatingKeyLibraryResponseBody.cs create mode 100644 LukeHagar/PlexAPI/SDK/Models/Errors/GetMetadataChildrenLibraryErrors.cs create mode 100644 LukeHagar/PlexAPI/SDK/Models/Errors/GetMetadataChildrenLibraryResponseBody.cs create mode 100644 LukeHagar/PlexAPI/SDK/Models/Errors/GetMyPlexAccountServerErrors.cs create mode 100644 LukeHagar/PlexAPI/SDK/Models/Errors/GetMyPlexAccountServerResponseBody.cs create mode 100644 LukeHagar/PlexAPI/SDK/Models/Errors/GetOnDeckLibraryErrors.cs create mode 100644 LukeHagar/PlexAPI/SDK/Models/Errors/GetOnDeckLibraryResponseBody.cs create mode 100644 LukeHagar/PlexAPI/SDK/Models/Errors/GetPlaylistContentsPlaylistsErrors.cs create mode 100644 LukeHagar/PlexAPI/SDK/Models/Errors/GetPlaylistContentsPlaylistsResponseBody.cs create mode 100644 LukeHagar/PlexAPI/SDK/Models/Errors/GetPlaylistPlaylistsErrors.cs create mode 100644 LukeHagar/PlexAPI/SDK/Models/Errors/GetPlaylistPlaylistsResponseBody.cs create mode 100644 LukeHagar/PlexAPI/SDK/Models/Errors/GetPlaylistsPlaylistsErrors.cs create mode 100644 LukeHagar/PlexAPI/SDK/Models/Errors/GetPlaylistsPlaylistsResponseBody.cs create mode 100644 LukeHagar/PlexAPI/SDK/Models/Errors/GetRecentlyAddedLibraryErrors.cs create mode 100644 LukeHagar/PlexAPI/SDK/Models/Errors/GetRecentlyAddedLibraryResponseBody.cs create mode 100644 LukeHagar/PlexAPI/SDK/Models/Errors/GetRefreshLibraryMetadataLibraryErrors.cs create mode 100644 LukeHagar/PlexAPI/SDK/Models/Errors/GetRefreshLibraryMetadataLibraryResponseBody.cs create mode 100644 LukeHagar/PlexAPI/SDK/Models/Errors/GetResizedPhotoServerErrors.cs create mode 100644 LukeHagar/PlexAPI/SDK/Models/Errors/GetResizedPhotoServerResponseBody.cs create mode 100644 LukeHagar/PlexAPI/SDK/Models/Errors/GetResourcesStatisticsStatisticsErrors.cs create mode 100644 LukeHagar/PlexAPI/SDK/Models/Errors/GetResourcesStatisticsStatisticsResponseBody.cs create mode 100644 LukeHagar/PlexAPI/SDK/Models/Errors/GetSearchLibraryLibraryErrors.cs create mode 100644 LukeHagar/PlexAPI/SDK/Models/Errors/GetSearchLibraryLibraryResponseBody.cs create mode 100644 LukeHagar/PlexAPI/SDK/Models/Errors/GetSearchResultsSearchErrors.cs create mode 100644 LukeHagar/PlexAPI/SDK/Models/Errors/GetSearchResultsSearchResponseBody.cs create mode 100644 LukeHagar/PlexAPI/SDK/Models/Errors/GetServerActivitiesActivitiesErrors.cs create mode 100644 LukeHagar/PlexAPI/SDK/Models/Errors/GetServerActivitiesActivitiesResponseBody.cs create mode 100644 LukeHagar/PlexAPI/SDK/Models/Errors/GetServerCapabilitiesErrors.cs create mode 100644 LukeHagar/PlexAPI/SDK/Models/Errors/GetServerCapabilitiesServerResponseBody.cs create mode 100644 LukeHagar/PlexAPI/SDK/Models/Errors/GetServerListServerErrors.cs create mode 100644 LukeHagar/PlexAPI/SDK/Models/Errors/GetServerListServerResponseBody.cs create mode 100644 LukeHagar/PlexAPI/SDK/Models/Errors/GetServerPreferencesServerErrors.cs create mode 100644 LukeHagar/PlexAPI/SDK/Models/Errors/GetServerPreferencesServerResponseBody.cs create mode 100644 LukeHagar/PlexAPI/SDK/Models/Errors/GetServerResourcesPlexErrors.cs create mode 100644 LukeHagar/PlexAPI/SDK/Models/Errors/GetServerResourcesPlexResponseBody.cs create mode 100644 LukeHagar/PlexAPI/SDK/Models/Errors/GetSessionHistorySessionsErrors.cs create mode 100644 LukeHagar/PlexAPI/SDK/Models/Errors/GetSessionHistorySessionsResponseBody.cs create mode 100644 LukeHagar/PlexAPI/SDK/Models/Errors/GetSessionsSessionsErrors.cs create mode 100644 LukeHagar/PlexAPI/SDK/Models/Errors/GetSessionsSessionsResponseBody.cs create mode 100644 LukeHagar/PlexAPI/SDK/Models/Errors/GetSourceConnectionInformationAuthenticationErrors.cs create mode 100644 LukeHagar/PlexAPI/SDK/Models/Errors/GetSourceConnectionInformationAuthenticationResponseBody.cs create mode 100644 LukeHagar/PlexAPI/SDK/Models/Errors/GetStatisticsStatisticsErrors.cs create mode 100644 LukeHagar/PlexAPI/SDK/Models/Errors/GetStatisticsStatisticsResponseBody.cs create mode 100644 LukeHagar/PlexAPI/SDK/Models/Errors/GetThumbImageMediaErrors.cs create mode 100644 LukeHagar/PlexAPI/SDK/Models/Errors/GetThumbImageMediaResponseBody.cs create mode 100644 LukeHagar/PlexAPI/SDK/Models/Errors/GetTimelineVideoErrors.cs create mode 100644 LukeHagar/PlexAPI/SDK/Models/Errors/GetTimelineVideoResponseBody.cs create mode 100644 LukeHagar/PlexAPI/SDK/Models/Errors/GetTopWatchedContentLibraryErrors.cs create mode 100644 LukeHagar/PlexAPI/SDK/Models/Errors/GetTopWatchedContentLibraryResponseBody.cs create mode 100644 LukeHagar/PlexAPI/SDK/Models/Errors/GetTranscodeSessionsSessionsErrors.cs create mode 100644 LukeHagar/PlexAPI/SDK/Models/Errors/GetTranscodeSessionsSessionsResponseBody.cs create mode 100644 LukeHagar/PlexAPI/SDK/Models/Errors/GetTransientTokenAuthenticationErrors.cs create mode 100644 LukeHagar/PlexAPI/SDK/Models/Errors/GetTransientTokenAuthenticationResponseBody.cs create mode 100644 LukeHagar/PlexAPI/SDK/Models/Errors/GetUpdateStatusUpdaterErrors.cs create mode 100644 LukeHagar/PlexAPI/SDK/Models/Errors/GetUpdateStatusUpdaterResponseBody.cs create mode 100644 LukeHagar/PlexAPI/SDK/Models/Errors/GetUserDetailsAuthenticationErrors.cs create mode 100644 LukeHagar/PlexAPI/SDK/Models/Errors/GetUserDetailsAuthenticationResponseBody.cs create mode 100644 LukeHagar/PlexAPI/SDK/Models/Errors/GetUserFriendsPlexErrors.cs create mode 100644 LukeHagar/PlexAPI/SDK/Models/Errors/GetUserFriendsPlexResponseBody.cs create mode 100644 LukeHagar/PlexAPI/SDK/Models/Errors/GetWatchListWatchlistErrors.cs create mode 100644 LukeHagar/PlexAPI/SDK/Models/Errors/GetWatchListWatchlistResponseBody.cs create mode 100644 LukeHagar/PlexAPI/SDK/Models/Errors/LogLineLogErrors.cs create mode 100644 LukeHagar/PlexAPI/SDK/Models/Errors/LogLineLogResponseBody.cs create mode 100644 LukeHagar/PlexAPI/SDK/Models/Errors/LogMultiLineLogErrors.cs create mode 100644 LukeHagar/PlexAPI/SDK/Models/Errors/LogMultiLineLogResponseBody.cs create mode 100644 LukeHagar/PlexAPI/SDK/Models/Errors/MarkPlayedMediaErrors.cs create mode 100644 LukeHagar/PlexAPI/SDK/Models/Errors/MarkPlayedMediaResponseBody.cs create mode 100644 LukeHagar/PlexAPI/SDK/Models/Errors/MarkUnplayedMediaErrors.cs create mode 100644 LukeHagar/PlexAPI/SDK/Models/Errors/MarkUnplayedMediaResponseBody.cs create mode 100644 LukeHagar/PlexAPI/SDK/Models/Errors/PerformSearchSearchErrors.cs create mode 100644 LukeHagar/PlexAPI/SDK/Models/Errors/PerformSearchSearchResponseBody.cs create mode 100644 LukeHagar/PlexAPI/SDK/Models/Errors/PerformVoiceSearchSearchErrors.cs create mode 100644 LukeHagar/PlexAPI/SDK/Models/Errors/PerformVoiceSearchSearchResponseBody.cs create mode 100644 LukeHagar/PlexAPI/SDK/Models/Errors/PostUsersSignInDataAuthenticationErrors.cs create mode 100644 LukeHagar/PlexAPI/SDK/Models/Errors/PostUsersSignInDataAuthenticationResponseBody.cs create mode 100644 LukeHagar/PlexAPI/SDK/Models/Errors/StartAllTasksButlerErrors.cs create mode 100644 LukeHagar/PlexAPI/SDK/Models/Errors/StartAllTasksButlerResponseBody.cs create mode 100644 LukeHagar/PlexAPI/SDK/Models/Errors/StartTaskButlerErrors.cs create mode 100644 LukeHagar/PlexAPI/SDK/Models/Errors/StartTaskButlerResponseBody.cs create mode 100644 LukeHagar/PlexAPI/SDK/Models/Errors/StartUniversalTranscodeVideoErrors.cs create mode 100644 LukeHagar/PlexAPI/SDK/Models/Errors/StartUniversalTranscodeVideoResponseBody.cs create mode 100644 LukeHagar/PlexAPI/SDK/Models/Errors/StopAllTasksButlerErrors.cs create mode 100644 LukeHagar/PlexAPI/SDK/Models/Errors/StopAllTasksButlerResponseBody.cs create mode 100644 LukeHagar/PlexAPI/SDK/Models/Errors/StopTaskButlerErrors.cs create mode 100644 LukeHagar/PlexAPI/SDK/Models/Errors/StopTaskButlerResponseBody.cs create mode 100644 LukeHagar/PlexAPI/SDK/Models/Errors/StopTranscodeSessionSessionsErrors.cs create mode 100644 LukeHagar/PlexAPI/SDK/Models/Errors/StopTranscodeSessionSessionsResponseBody.cs create mode 100644 LukeHagar/PlexAPI/SDK/Models/Errors/UpdatePlayProgressMediaErrors.cs create mode 100644 LukeHagar/PlexAPI/SDK/Models/Errors/UpdatePlayProgressMediaResponseBody.cs create mode 100644 LukeHagar/PlexAPI/SDK/Models/Errors/UpdatePlaylistPlaylistsErrors.cs create mode 100644 LukeHagar/PlexAPI/SDK/Models/Errors/UpdatePlaylistPlaylistsResponseBody.cs create mode 100644 LukeHagar/PlexAPI/SDK/Models/Errors/UploadPlaylistPlaylistsErrors.cs create mode 100644 LukeHagar/PlexAPI/SDK/Models/Errors/UploadPlaylistPlaylistsResponseBody.cs create mode 100644 docs/Models/Errors/AddPlaylistContentsPlaylistsErrors.md create mode 100644 docs/Models/Errors/AddPlaylistContentsPlaylistsResponseBody.md create mode 100644 docs/Models/Errors/ApplyUpdatesUpdaterErrors.md create mode 100644 docs/Models/Errors/ApplyUpdatesUpdaterResponseBody.md create mode 100644 docs/Models/Errors/CancelServerActivitiesActivitiesErrors.md create mode 100644 docs/Models/Errors/CancelServerActivitiesActivitiesResponseBody.md create mode 100644 docs/Models/Errors/CheckForUpdatesUpdaterErrors.md create mode 100644 docs/Models/Errors/CheckForUpdatesUpdaterResponseBody.md create mode 100644 docs/Models/Errors/ClearPlaylistContentsPlaylistsErrors.md create mode 100644 docs/Models/Errors/ClearPlaylistContentsPlaylistsResponseBody.md create mode 100644 docs/Models/Errors/CreatePlaylistPlaylistsErrors.md create mode 100644 docs/Models/Errors/CreatePlaylistPlaylistsResponseBody.md create mode 100644 docs/Models/Errors/DeleteLibraryLibraryErrors.md create mode 100644 docs/Models/Errors/DeleteLibraryLibraryResponseBody.md create mode 100644 docs/Models/Errors/DeletePlaylistPlaylistsErrors.md create mode 100644 docs/Models/Errors/DeletePlaylistPlaylistsResponseBody.md create mode 100644 docs/Models/Errors/EnablePaperTrailLogErrors.md create mode 100644 docs/Models/Errors/EnablePaperTrailLogResponseBody.md create mode 100644 docs/Models/Errors/GetAllLibrariesLibraryErrors.md create mode 100644 docs/Models/Errors/GetAllLibrariesLibraryResponseBody.md create mode 100644 docs/Models/Errors/GetAvailableClientsServerErrors.md create mode 100644 docs/Models/Errors/GetAvailableClientsServerResponseBody.md create mode 100644 docs/Models/Errors/GetBandwidthStatisticsStatisticsErrors.md create mode 100644 docs/Models/Errors/GetBandwidthStatisticsStatisticsResponseBody.md create mode 100644 docs/Models/Errors/GetBannerImageMediaErrors.md create mode 100644 docs/Models/Errors/GetBannerImageMediaResponseBody.md create mode 100644 docs/Models/Errors/GetButlerTasksButlerErrors.md create mode 100644 docs/Models/Errors/GetButlerTasksButlerResponseBody.md create mode 100644 docs/Models/Errors/GetCompanionsDataPlexErrors.md create mode 100644 docs/Models/Errors/GetCompanionsDataPlexResponseBody.md create mode 100644 docs/Models/Errors/GetDevicesServerErrors.md create mode 100644 docs/Models/Errors/GetDevicesServerResponseBody.md create mode 100644 docs/Models/Errors/GetFileHashLibraryErrors.md create mode 100644 docs/Models/Errors/GetFileHashLibraryResponseBody.md create mode 100644 docs/Models/Errors/GetGeoDataPlexErrors.md create mode 100644 docs/Models/Errors/GetGeoDataPlexResponseBody.md create mode 100644 docs/Models/Errors/GetGlobalHubsHubsErrors.md create mode 100644 docs/Models/Errors/GetGlobalHubsHubsResponseBody.md create mode 100644 docs/Models/Errors/GetHomeDataPlexErrors.md create mode 100644 docs/Models/Errors/GetHomeDataPlexResponseBody.md create mode 100644 docs/Models/Errors/GetLibraryDetailsLibraryErrors.md create mode 100644 docs/Models/Errors/GetLibraryDetailsLibraryResponseBody.md create mode 100644 docs/Models/Errors/GetLibraryHubsHubsErrors.md create mode 100644 docs/Models/Errors/GetLibraryHubsHubsResponseBody.md create mode 100644 docs/Models/Errors/GetLibraryItemsLibraryErrors.md create mode 100644 docs/Models/Errors/GetLibraryItemsLibraryResponseBody.md create mode 100644 docs/Models/Errors/GetMediaProvidersServerErrors.md create mode 100644 docs/Models/Errors/GetMediaProvidersServerResponseBody.md create mode 100644 docs/Models/Errors/GetMetaDataByRatingKeyLibraryErrors.md create mode 100644 docs/Models/Errors/GetMetaDataByRatingKeyLibraryResponseBody.md create mode 100644 docs/Models/Errors/GetMetadataChildrenLibraryErrors.md create mode 100644 docs/Models/Errors/GetMetadataChildrenLibraryResponseBody.md create mode 100644 docs/Models/Errors/GetMyPlexAccountServerErrors.md create mode 100644 docs/Models/Errors/GetMyPlexAccountServerResponseBody.md create mode 100644 docs/Models/Errors/GetOnDeckLibraryErrors.md create mode 100644 docs/Models/Errors/GetOnDeckLibraryResponseBody.md create mode 100644 docs/Models/Errors/GetPlaylistContentsPlaylistsErrors.md create mode 100644 docs/Models/Errors/GetPlaylistContentsPlaylistsResponseBody.md create mode 100644 docs/Models/Errors/GetPlaylistPlaylistsErrors.md create mode 100644 docs/Models/Errors/GetPlaylistPlaylistsResponseBody.md create mode 100644 docs/Models/Errors/GetPlaylistsPlaylistsErrors.md create mode 100644 docs/Models/Errors/GetPlaylistsPlaylistsResponseBody.md create mode 100644 docs/Models/Errors/GetRecentlyAddedLibraryErrors.md create mode 100644 docs/Models/Errors/GetRecentlyAddedLibraryResponseBody.md create mode 100644 docs/Models/Errors/GetRefreshLibraryMetadataLibraryErrors.md create mode 100644 docs/Models/Errors/GetRefreshLibraryMetadataLibraryResponseBody.md create mode 100644 docs/Models/Errors/GetResizedPhotoServerErrors.md create mode 100644 docs/Models/Errors/GetResizedPhotoServerResponseBody.md create mode 100644 docs/Models/Errors/GetResourcesStatisticsStatisticsErrors.md create mode 100644 docs/Models/Errors/GetResourcesStatisticsStatisticsResponseBody.md create mode 100644 docs/Models/Errors/GetSearchLibraryLibraryErrors.md create mode 100644 docs/Models/Errors/GetSearchLibraryLibraryResponseBody.md create mode 100644 docs/Models/Errors/GetSearchResultsSearchErrors.md create mode 100644 docs/Models/Errors/GetSearchResultsSearchResponseBody.md create mode 100644 docs/Models/Errors/GetServerActivitiesActivitiesErrors.md create mode 100644 docs/Models/Errors/GetServerActivitiesActivitiesResponseBody.md create mode 100644 docs/Models/Errors/GetServerCapabilitiesErrors.md create mode 100644 docs/Models/Errors/GetServerCapabilitiesServerResponseBody.md create mode 100644 docs/Models/Errors/GetServerListServerErrors.md create mode 100644 docs/Models/Errors/GetServerListServerResponseBody.md create mode 100644 docs/Models/Errors/GetServerPreferencesServerErrors.md create mode 100644 docs/Models/Errors/GetServerPreferencesServerResponseBody.md create mode 100644 docs/Models/Errors/GetServerResourcesPlexErrors.md create mode 100644 docs/Models/Errors/GetServerResourcesPlexResponseBody.md create mode 100644 docs/Models/Errors/GetSessionHistorySessionsErrors.md create mode 100644 docs/Models/Errors/GetSessionHistorySessionsResponseBody.md create mode 100644 docs/Models/Errors/GetSessionsSessionsErrors.md create mode 100644 docs/Models/Errors/GetSessionsSessionsResponseBody.md create mode 100644 docs/Models/Errors/GetSourceConnectionInformationAuthenticationErrors.md create mode 100644 docs/Models/Errors/GetSourceConnectionInformationAuthenticationResponseBody.md create mode 100644 docs/Models/Errors/GetStatisticsStatisticsErrors.md create mode 100644 docs/Models/Errors/GetStatisticsStatisticsResponseBody.md create mode 100644 docs/Models/Errors/GetThumbImageMediaErrors.md create mode 100644 docs/Models/Errors/GetThumbImageMediaResponseBody.md create mode 100644 docs/Models/Errors/GetTimelineVideoErrors.md create mode 100644 docs/Models/Errors/GetTimelineVideoResponseBody.md create mode 100644 docs/Models/Errors/GetTopWatchedContentLibraryErrors.md create mode 100644 docs/Models/Errors/GetTopWatchedContentLibraryResponseBody.md create mode 100644 docs/Models/Errors/GetTranscodeSessionsSessionsErrors.md create mode 100644 docs/Models/Errors/GetTranscodeSessionsSessionsResponseBody.md create mode 100644 docs/Models/Errors/GetTransientTokenAuthenticationErrors.md create mode 100644 docs/Models/Errors/GetTransientTokenAuthenticationResponseBody.md create mode 100644 docs/Models/Errors/GetUpdateStatusUpdaterErrors.md create mode 100644 docs/Models/Errors/GetUpdateStatusUpdaterResponseBody.md create mode 100644 docs/Models/Errors/GetUserDetailsAuthenticationErrors.md create mode 100644 docs/Models/Errors/GetUserDetailsAuthenticationResponseBody.md create mode 100644 docs/Models/Errors/GetUserFriendsPlexErrors.md create mode 100644 docs/Models/Errors/GetUserFriendsPlexResponseBody.md create mode 100644 docs/Models/Errors/GetWatchListWatchlistErrors.md create mode 100644 docs/Models/Errors/GetWatchListWatchlistResponseBody.md create mode 100644 docs/Models/Errors/LogLineLogErrors.md create mode 100644 docs/Models/Errors/LogLineLogResponseBody.md create mode 100644 docs/Models/Errors/LogMultiLineLogErrors.md create mode 100644 docs/Models/Errors/LogMultiLineLogResponseBody.md create mode 100644 docs/Models/Errors/MarkPlayedMediaErrors.md create mode 100644 docs/Models/Errors/MarkPlayedMediaResponseBody.md create mode 100644 docs/Models/Errors/MarkUnplayedMediaErrors.md create mode 100644 docs/Models/Errors/MarkUnplayedMediaResponseBody.md create mode 100644 docs/Models/Errors/PerformSearchSearchErrors.md create mode 100644 docs/Models/Errors/PerformSearchSearchResponseBody.md create mode 100644 docs/Models/Errors/PerformVoiceSearchSearchErrors.md create mode 100644 docs/Models/Errors/PerformVoiceSearchSearchResponseBody.md create mode 100644 docs/Models/Errors/PostUsersSignInDataAuthenticationErrors.md create mode 100644 docs/Models/Errors/PostUsersSignInDataAuthenticationResponseBody.md create mode 100644 docs/Models/Errors/StartAllTasksButlerErrors.md create mode 100644 docs/Models/Errors/StartAllTasksButlerResponseBody.md create mode 100644 docs/Models/Errors/StartTaskButlerErrors.md create mode 100644 docs/Models/Errors/StartTaskButlerResponseBody.md create mode 100644 docs/Models/Errors/StartUniversalTranscodeVideoErrors.md create mode 100644 docs/Models/Errors/StartUniversalTranscodeVideoResponseBody.md create mode 100644 docs/Models/Errors/StopAllTasksButlerErrors.md create mode 100644 docs/Models/Errors/StopAllTasksButlerResponseBody.md create mode 100644 docs/Models/Errors/StopTaskButlerErrors.md create mode 100644 docs/Models/Errors/StopTaskButlerResponseBody.md create mode 100644 docs/Models/Errors/StopTranscodeSessionSessionsErrors.md create mode 100644 docs/Models/Errors/StopTranscodeSessionSessionsResponseBody.md create mode 100644 docs/Models/Errors/UpdatePlayProgressMediaErrors.md create mode 100644 docs/Models/Errors/UpdatePlayProgressMediaResponseBody.md create mode 100644 docs/Models/Errors/UpdatePlaylistPlaylistsErrors.md create mode 100644 docs/Models/Errors/UpdatePlaylistPlaylistsResponseBody.md create mode 100644 docs/Models/Errors/UploadPlaylistPlaylistsErrors.md create mode 100644 docs/Models/Errors/UploadPlaylistPlaylistsResponseBody.md diff --git a/.speakeasy/gen.lock b/.speakeasy/gen.lock index 25c3d5e..f9460b3 100755 --- a/.speakeasy/gen.lock +++ b/.speakeasy/gen.lock @@ -1,12 +1,12 @@ lockVersion: 2.0.0 id: 5a8dbcbc-e0ee-41f0-9d84-b8b50567d1e9 management: - docChecksum: eae2a027b2467f033ac397a5d9f0add5 + docChecksum: 75338df5d596b761fe73fe6ff177a197 docVersion: 0.0.3 speakeasyVersion: 1.392.1 generationVersion: 2.411.9 - releaseVersion: 0.5.3 - configChecksum: 149a2098cbe4d2e779bc95174fb889eb + releaseVersion: 0.6.0 + configChecksum: daa6d2e7013638bcab2dc9041b9f5763 repoURL: https://github.com/LukeHagar/plexcsharp.git repoSubDirectory: . published: true @@ -16,6 +16,7 @@ features: constsAndDefaults: 0.0.1 core: 3.9.17 deprecations: 2.81.2 + errors: 0.0.2 flattening: 2.81.2 globalSecurity: 2.83.6 globalSecurityCallbacks: 0.1.0 @@ -45,154 +46,296 @@ generatedFiles: - LukeHagar/PlexAPI/SDK/Media.cs - LukeHagar/PlexAPI/SDK/Models/Components/Security.cs - LukeHagar/PlexAPI/SDK/Models/Errors/AddPlaylistContentsErrors.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/AddPlaylistContentsPlaylistsErrors.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/AddPlaylistContentsPlaylistsResponseBody.cs - LukeHagar/PlexAPI/SDK/Models/Errors/AddPlaylistContentsResponseBody.cs - LukeHagar/PlexAPI/SDK/Models/Errors/ApplyUpdatesErrors.cs - LukeHagar/PlexAPI/SDK/Models/Errors/ApplyUpdatesResponseBody.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/ApplyUpdatesUpdaterErrors.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/ApplyUpdatesUpdaterResponseBody.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/CancelServerActivitiesActivitiesErrors.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/CancelServerActivitiesActivitiesResponseBody.cs - LukeHagar/PlexAPI/SDK/Models/Errors/CancelServerActivitiesErrors.cs - LukeHagar/PlexAPI/SDK/Models/Errors/CancelServerActivitiesResponseBody.cs - LukeHagar/PlexAPI/SDK/Models/Errors/CheckForUpdatesErrors.cs - LukeHagar/PlexAPI/SDK/Models/Errors/CheckForUpdatesResponseBody.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/CheckForUpdatesUpdaterErrors.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/CheckForUpdatesUpdaterResponseBody.cs - LukeHagar/PlexAPI/SDK/Models/Errors/ClearPlaylistContentsErrors.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/ClearPlaylistContentsPlaylistsErrors.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/ClearPlaylistContentsPlaylistsResponseBody.cs - LukeHagar/PlexAPI/SDK/Models/Errors/ClearPlaylistContentsResponseBody.cs - LukeHagar/PlexAPI/SDK/Models/Errors/CreatePlaylistErrors.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/CreatePlaylistPlaylistsErrors.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/CreatePlaylistPlaylistsResponseBody.cs - LukeHagar/PlexAPI/SDK/Models/Errors/CreatePlaylistResponseBody.cs - LukeHagar/PlexAPI/SDK/Models/Errors/DeleteLibraryErrors.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/DeleteLibraryLibraryErrors.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/DeleteLibraryLibraryResponseBody.cs - LukeHagar/PlexAPI/SDK/Models/Errors/DeleteLibraryResponseBody.cs - LukeHagar/PlexAPI/SDK/Models/Errors/DeletePlaylistErrors.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/DeletePlaylistPlaylistsErrors.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/DeletePlaylistPlaylistsResponseBody.cs - LukeHagar/PlexAPI/SDK/Models/Errors/DeletePlaylistResponseBody.cs - LukeHagar/PlexAPI/SDK/Models/Errors/EnablePaperTrailErrors.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/EnablePaperTrailLogErrors.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/EnablePaperTrailLogResponseBody.cs - LukeHagar/PlexAPI/SDK/Models/Errors/EnablePaperTrailResponseBody.cs - LukeHagar/PlexAPI/SDK/Models/Errors/Errors.cs - LukeHagar/PlexAPI/SDK/Models/Errors/GetAllLibrariesErrors.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/GetAllLibrariesLibraryErrors.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/GetAllLibrariesLibraryResponseBody.cs - LukeHagar/PlexAPI/SDK/Models/Errors/GetAllLibrariesResponseBody.cs - LukeHagar/PlexAPI/SDK/Models/Errors/GetAvailableClientsErrors.cs - LukeHagar/PlexAPI/SDK/Models/Errors/GetAvailableClientsResponseBody.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/GetAvailableClientsServerErrors.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/GetAvailableClientsServerResponseBody.cs - LukeHagar/PlexAPI/SDK/Models/Errors/GetBandwidthStatisticsErrors.cs - LukeHagar/PlexAPI/SDK/Models/Errors/GetBandwidthStatisticsResponseBody.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/GetBandwidthStatisticsStatisticsErrors.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/GetBandwidthStatisticsStatisticsResponseBody.cs - LukeHagar/PlexAPI/SDK/Models/Errors/GetBannerImageErrors.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/GetBannerImageMediaErrors.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/GetBannerImageMediaResponseBody.cs - LukeHagar/PlexAPI/SDK/Models/Errors/GetBannerImageResponseBody.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/GetButlerTasksButlerErrors.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/GetButlerTasksButlerResponseBody.cs - LukeHagar/PlexAPI/SDK/Models/Errors/GetButlerTasksErrors.cs - LukeHagar/PlexAPI/SDK/Models/Errors/GetButlerTasksResponseBody.cs - LukeHagar/PlexAPI/SDK/Models/Errors/GetCompanionsDataErrors.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/GetCompanionsDataPlexErrors.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/GetCompanionsDataPlexResponseBody.cs - LukeHagar/PlexAPI/SDK/Models/Errors/GetCompanionsDataResponseBody.cs - LukeHagar/PlexAPI/SDK/Models/Errors/GetDevicesErrors.cs - LukeHagar/PlexAPI/SDK/Models/Errors/GetDevicesResponseBody.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/GetDevicesServerErrors.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/GetDevicesServerResponseBody.cs - LukeHagar/PlexAPI/SDK/Models/Errors/GetFileHashErrors.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/GetFileHashLibraryErrors.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/GetFileHashLibraryResponseBody.cs - LukeHagar/PlexAPI/SDK/Models/Errors/GetFileHashResponseBody.cs - LukeHagar/PlexAPI/SDK/Models/Errors/GetGeoDataErrors.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/GetGeoDataPlexErrors.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/GetGeoDataPlexResponseBody.cs - LukeHagar/PlexAPI/SDK/Models/Errors/GetGeoDataResponseBody.cs - LukeHagar/PlexAPI/SDK/Models/Errors/GetGlobalHubsErrors.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/GetGlobalHubsHubsErrors.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/GetGlobalHubsHubsResponseBody.cs - LukeHagar/PlexAPI/SDK/Models/Errors/GetGlobalHubsResponseBody.cs - LukeHagar/PlexAPI/SDK/Models/Errors/GetHomeDataErrors.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/GetHomeDataPlexErrors.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/GetHomeDataPlexResponseBody.cs - LukeHagar/PlexAPI/SDK/Models/Errors/GetHomeDataResponseBody.cs - LukeHagar/PlexAPI/SDK/Models/Errors/GetLibraryDetailsErrors.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/GetLibraryDetailsLibraryErrors.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/GetLibraryDetailsLibraryResponseBody.cs - LukeHagar/PlexAPI/SDK/Models/Errors/GetLibraryDetailsResponseBody.cs - LukeHagar/PlexAPI/SDK/Models/Errors/GetLibraryHubsErrors.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/GetLibraryHubsHubsErrors.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/GetLibraryHubsHubsResponseBody.cs - LukeHagar/PlexAPI/SDK/Models/Errors/GetLibraryHubsResponseBody.cs - LukeHagar/PlexAPI/SDK/Models/Errors/GetLibraryItemsErrors.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/GetLibraryItemsLibraryErrors.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/GetLibraryItemsLibraryResponseBody.cs - LukeHagar/PlexAPI/SDK/Models/Errors/GetLibraryItemsResponseBody.cs - LukeHagar/PlexAPI/SDK/Models/Errors/GetMediaProvidersErrors.cs - LukeHagar/PlexAPI/SDK/Models/Errors/GetMediaProvidersResponseBody.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/GetMediaProvidersServerErrors.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/GetMediaProvidersServerResponseBody.cs - LukeHagar/PlexAPI/SDK/Models/Errors/GetMetaDataByRatingKeyErrors.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/GetMetaDataByRatingKeyLibraryErrors.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/GetMetaDataByRatingKeyLibraryResponseBody.cs - LukeHagar/PlexAPI/SDK/Models/Errors/GetMetaDataByRatingKeyResponseBody.cs - LukeHagar/PlexAPI/SDK/Models/Errors/GetMetadataChildrenErrors.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/GetMetadataChildrenLibraryErrors.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/GetMetadataChildrenLibraryResponseBody.cs - LukeHagar/PlexAPI/SDK/Models/Errors/GetMetadataChildrenResponseBody.cs - LukeHagar/PlexAPI/SDK/Models/Errors/GetMyPlexAccountErrors.cs - LukeHagar/PlexAPI/SDK/Models/Errors/GetMyPlexAccountResponseBody.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/GetMyPlexAccountServerErrors.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/GetMyPlexAccountServerResponseBody.cs - LukeHagar/PlexAPI/SDK/Models/Errors/GetOnDeckErrors.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/GetOnDeckLibraryErrors.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/GetOnDeckLibraryResponseBody.cs - LukeHagar/PlexAPI/SDK/Models/Errors/GetOnDeckResponseBody.cs - LukeHagar/PlexAPI/SDK/Models/Errors/GetPinErrors.cs - LukeHagar/PlexAPI/SDK/Models/Errors/GetPinResponseBody.cs - LukeHagar/PlexAPI/SDK/Models/Errors/GetPlaylistContentsErrors.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/GetPlaylistContentsPlaylistsErrors.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/GetPlaylistContentsPlaylistsResponseBody.cs - LukeHagar/PlexAPI/SDK/Models/Errors/GetPlaylistContentsResponseBody.cs - LukeHagar/PlexAPI/SDK/Models/Errors/GetPlaylistErrors.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/GetPlaylistPlaylistsErrors.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/GetPlaylistPlaylistsResponseBody.cs - LukeHagar/PlexAPI/SDK/Models/Errors/GetPlaylistResponseBody.cs - LukeHagar/PlexAPI/SDK/Models/Errors/GetPlaylistsErrors.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/GetPlaylistsPlaylistsErrors.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/GetPlaylistsPlaylistsResponseBody.cs - LukeHagar/PlexAPI/SDK/Models/Errors/GetPlaylistsResponseBody.cs - LukeHagar/PlexAPI/SDK/Models/Errors/GetRecentlyAddedErrors.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/GetRecentlyAddedLibraryErrors.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/GetRecentlyAddedLibraryResponseBody.cs - LukeHagar/PlexAPI/SDK/Models/Errors/GetRecentlyAddedResponseBody.cs - LukeHagar/PlexAPI/SDK/Models/Errors/GetRefreshLibraryMetadataErrors.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/GetRefreshLibraryMetadataLibraryErrors.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/GetRefreshLibraryMetadataLibraryResponseBody.cs - LukeHagar/PlexAPI/SDK/Models/Errors/GetRefreshLibraryMetadataResponseBody.cs - LukeHagar/PlexAPI/SDK/Models/Errors/GetResizedPhotoErrors.cs - LukeHagar/PlexAPI/SDK/Models/Errors/GetResizedPhotoResponseBody.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/GetResizedPhotoServerErrors.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/GetResizedPhotoServerResponseBody.cs - LukeHagar/PlexAPI/SDK/Models/Errors/GetResourcesStatisticsErrors.cs - LukeHagar/PlexAPI/SDK/Models/Errors/GetResourcesStatisticsResponseBody.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/GetResourcesStatisticsStatisticsErrors.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/GetResourcesStatisticsStatisticsResponseBody.cs - LukeHagar/PlexAPI/SDK/Models/Errors/GetSearchLibraryErrors.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/GetSearchLibraryLibraryErrors.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/GetSearchLibraryLibraryResponseBody.cs - LukeHagar/PlexAPI/SDK/Models/Errors/GetSearchLibraryResponseBody.cs - LukeHagar/PlexAPI/SDK/Models/Errors/GetSearchResultsErrors.cs - LukeHagar/PlexAPI/SDK/Models/Errors/GetSearchResultsResponseBody.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/GetSearchResultsSearchErrors.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/GetSearchResultsSearchResponseBody.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/GetServerActivitiesActivitiesErrors.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/GetServerActivitiesActivitiesResponseBody.cs - LukeHagar/PlexAPI/SDK/Models/Errors/GetServerActivitiesErrors.cs - LukeHagar/PlexAPI/SDK/Models/Errors/GetServerActivitiesResponseBody.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/GetServerCapabilitiesErrors.cs - LukeHagar/PlexAPI/SDK/Models/Errors/GetServerCapabilitiesResponseBody.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/GetServerCapabilitiesServerResponseBody.cs - LukeHagar/PlexAPI/SDK/Models/Errors/GetServerIdentityResponseBody.cs - LukeHagar/PlexAPI/SDK/Models/Errors/GetServerListErrors.cs - LukeHagar/PlexAPI/SDK/Models/Errors/GetServerListResponseBody.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/GetServerListServerErrors.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/GetServerListServerResponseBody.cs - LukeHagar/PlexAPI/SDK/Models/Errors/GetServerPreferencesErrors.cs - LukeHagar/PlexAPI/SDK/Models/Errors/GetServerPreferencesResponseBody.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/GetServerPreferencesServerErrors.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/GetServerPreferencesServerResponseBody.cs - LukeHagar/PlexAPI/SDK/Models/Errors/GetServerResourcesErrors.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/GetServerResourcesPlexErrors.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/GetServerResourcesPlexResponseBody.cs - LukeHagar/PlexAPI/SDK/Models/Errors/GetServerResourcesResponseBody.cs - LukeHagar/PlexAPI/SDK/Models/Errors/GetSessionHistoryErrors.cs - LukeHagar/PlexAPI/SDK/Models/Errors/GetSessionHistoryResponseBody.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/GetSessionHistorySessionsErrors.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/GetSessionHistorySessionsResponseBody.cs - LukeHagar/PlexAPI/SDK/Models/Errors/GetSessionsErrors.cs - LukeHagar/PlexAPI/SDK/Models/Errors/GetSessionsResponseBody.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/GetSessionsSessionsErrors.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/GetSessionsSessionsResponseBody.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/GetSourceConnectionInformationAuthenticationErrors.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/GetSourceConnectionInformationAuthenticationResponseBody.cs - LukeHagar/PlexAPI/SDK/Models/Errors/GetSourceConnectionInformationErrors.cs - LukeHagar/PlexAPI/SDK/Models/Errors/GetSourceConnectionInformationResponseBody.cs - LukeHagar/PlexAPI/SDK/Models/Errors/GetStatisticsErrors.cs - LukeHagar/PlexAPI/SDK/Models/Errors/GetStatisticsResponseBody.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/GetStatisticsStatisticsErrors.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/GetStatisticsStatisticsResponseBody.cs - LukeHagar/PlexAPI/SDK/Models/Errors/GetThumbImageErrors.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/GetThumbImageMediaErrors.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/GetThumbImageMediaResponseBody.cs - LukeHagar/PlexAPI/SDK/Models/Errors/GetThumbImageResponseBody.cs - LukeHagar/PlexAPI/SDK/Models/Errors/GetTimelineErrors.cs - LukeHagar/PlexAPI/SDK/Models/Errors/GetTimelineResponseBody.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/GetTimelineVideoErrors.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/GetTimelineVideoResponseBody.cs - LukeHagar/PlexAPI/SDK/Models/Errors/GetTokenByPinIdErrors.cs - LukeHagar/PlexAPI/SDK/Models/Errors/GetTokenByPinIdPlexErrors.cs - LukeHagar/PlexAPI/SDK/Models/Errors/GetTokenByPinIdPlexResponseBody.cs - LukeHagar/PlexAPI/SDK/Models/Errors/GetTokenByPinIdResponseBody.cs - LukeHagar/PlexAPI/SDK/Models/Errors/GetTopWatchedContentErrors.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/GetTopWatchedContentLibraryErrors.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/GetTopWatchedContentLibraryResponseBody.cs - LukeHagar/PlexAPI/SDK/Models/Errors/GetTopWatchedContentResponseBody.cs - LukeHagar/PlexAPI/SDK/Models/Errors/GetTranscodeSessionsErrors.cs - LukeHagar/PlexAPI/SDK/Models/Errors/GetTranscodeSessionsResponseBody.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/GetTranscodeSessionsSessionsErrors.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/GetTranscodeSessionsSessionsResponseBody.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/GetTransientTokenAuthenticationErrors.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/GetTransientTokenAuthenticationResponseBody.cs - LukeHagar/PlexAPI/SDK/Models/Errors/GetTransientTokenErrors.cs - LukeHagar/PlexAPI/SDK/Models/Errors/GetTransientTokenResponseBody.cs - LukeHagar/PlexAPI/SDK/Models/Errors/GetUpdateStatusErrors.cs - LukeHagar/PlexAPI/SDK/Models/Errors/GetUpdateStatusResponseBody.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/GetUpdateStatusUpdaterErrors.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/GetUpdateStatusUpdaterResponseBody.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/GetUserDetailsAuthenticationErrors.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/GetUserDetailsAuthenticationResponseBody.cs - LukeHagar/PlexAPI/SDK/Models/Errors/GetUserDetailsErrors.cs - LukeHagar/PlexAPI/SDK/Models/Errors/GetUserDetailsResponseBody.cs - LukeHagar/PlexAPI/SDK/Models/Errors/GetUserFriendsErrors.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/GetUserFriendsPlexErrors.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/GetUserFriendsPlexResponseBody.cs - LukeHagar/PlexAPI/SDK/Models/Errors/GetUserFriendsResponseBody.cs - LukeHagar/PlexAPI/SDK/Models/Errors/GetWatchListErrors.cs - LukeHagar/PlexAPI/SDK/Models/Errors/GetWatchListResponseBody.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/GetWatchListWatchlistErrors.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/GetWatchListWatchlistResponseBody.cs - LukeHagar/PlexAPI/SDK/Models/Errors/LogLineErrors.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/LogLineLogErrors.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/LogLineLogResponseBody.cs - LukeHagar/PlexAPI/SDK/Models/Errors/LogLineResponseBody.cs - LukeHagar/PlexAPI/SDK/Models/Errors/LogMultiLineErrors.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/LogMultiLineLogErrors.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/LogMultiLineLogResponseBody.cs - LukeHagar/PlexAPI/SDK/Models/Errors/LogMultiLineResponseBody.cs - LukeHagar/PlexAPI/SDK/Models/Errors/MarkPlayedErrors.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/MarkPlayedMediaErrors.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/MarkPlayedMediaResponseBody.cs - LukeHagar/PlexAPI/SDK/Models/Errors/MarkPlayedResponseBody.cs - LukeHagar/PlexAPI/SDK/Models/Errors/MarkUnplayedErrors.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/MarkUnplayedMediaErrors.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/MarkUnplayedMediaResponseBody.cs - LukeHagar/PlexAPI/SDK/Models/Errors/MarkUnplayedResponseBody.cs - LukeHagar/PlexAPI/SDK/Models/Errors/PerformSearchErrors.cs - LukeHagar/PlexAPI/SDK/Models/Errors/PerformSearchResponseBody.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/PerformSearchSearchErrors.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/PerformSearchSearchResponseBody.cs - LukeHagar/PlexAPI/SDK/Models/Errors/PerformVoiceSearchErrors.cs - LukeHagar/PlexAPI/SDK/Models/Errors/PerformVoiceSearchResponseBody.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/PerformVoiceSearchSearchErrors.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/PerformVoiceSearchSearchResponseBody.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/PostUsersSignInDataAuthenticationErrors.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/PostUsersSignInDataAuthenticationResponseBody.cs - LukeHagar/PlexAPI/SDK/Models/Errors/PostUsersSignInDataErrors.cs - LukeHagar/PlexAPI/SDK/Models/Errors/PostUsersSignInDataResponseBody.cs - LukeHagar/PlexAPI/SDK/Models/Errors/SDKException.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/StartAllTasksButlerErrors.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/StartAllTasksButlerResponseBody.cs - LukeHagar/PlexAPI/SDK/Models/Errors/StartAllTasksErrors.cs - LukeHagar/PlexAPI/SDK/Models/Errors/StartAllTasksResponseBody.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/StartTaskButlerErrors.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/StartTaskButlerResponseBody.cs - LukeHagar/PlexAPI/SDK/Models/Errors/StartTaskErrors.cs - LukeHagar/PlexAPI/SDK/Models/Errors/StartTaskResponseBody.cs - LukeHagar/PlexAPI/SDK/Models/Errors/StartUniversalTranscodeErrors.cs - LukeHagar/PlexAPI/SDK/Models/Errors/StartUniversalTranscodeResponseBody.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/StartUniversalTranscodeVideoErrors.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/StartUniversalTranscodeVideoResponseBody.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/StopAllTasksButlerErrors.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/StopAllTasksButlerResponseBody.cs - LukeHagar/PlexAPI/SDK/Models/Errors/StopAllTasksErrors.cs - LukeHagar/PlexAPI/SDK/Models/Errors/StopAllTasksResponseBody.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/StopTaskButlerErrors.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/StopTaskButlerResponseBody.cs - LukeHagar/PlexAPI/SDK/Models/Errors/StopTaskErrors.cs - LukeHagar/PlexAPI/SDK/Models/Errors/StopTaskResponseBody.cs - LukeHagar/PlexAPI/SDK/Models/Errors/StopTranscodeSessionErrors.cs - LukeHagar/PlexAPI/SDK/Models/Errors/StopTranscodeSessionResponseBody.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/StopTranscodeSessionSessionsErrors.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/StopTranscodeSessionSessionsResponseBody.cs - LukeHagar/PlexAPI/SDK/Models/Errors/UpdatePlayProgressErrors.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/UpdatePlayProgressMediaErrors.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/UpdatePlayProgressMediaResponseBody.cs - LukeHagar/PlexAPI/SDK/Models/Errors/UpdatePlayProgressResponseBody.cs - LukeHagar/PlexAPI/SDK/Models/Errors/UpdatePlaylistErrors.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/UpdatePlaylistPlaylistsErrors.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/UpdatePlaylistPlaylistsResponseBody.cs - LukeHagar/PlexAPI/SDK/Models/Errors/UpdatePlaylistResponseBody.cs - LukeHagar/PlexAPI/SDK/Models/Errors/UploadPlaylistErrors.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/UploadPlaylistPlaylistsErrors.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/UploadPlaylistPlaylistsResponseBody.cs - LukeHagar/PlexAPI/SDK/Models/Errors/UploadPlaylistResponseBody.cs - LukeHagar/PlexAPI/SDK/Models/Requests/Account.cs - LukeHagar/PlexAPI/SDK/Models/Requests/Activity.cs @@ -621,153 +764,295 @@ generatedFiles: - USAGE.md - docs/Models/Components/Security.md - docs/Models/Errors/AddPlaylistContentsErrors.md + - docs/Models/Errors/AddPlaylistContentsPlaylistsErrors.md + - docs/Models/Errors/AddPlaylistContentsPlaylistsResponseBody.md - docs/Models/Errors/AddPlaylistContentsResponseBody.md - docs/Models/Errors/ApplyUpdatesErrors.md - docs/Models/Errors/ApplyUpdatesResponseBody.md + - docs/Models/Errors/ApplyUpdatesUpdaterErrors.md + - docs/Models/Errors/ApplyUpdatesUpdaterResponseBody.md + - docs/Models/Errors/CancelServerActivitiesActivitiesErrors.md + - docs/Models/Errors/CancelServerActivitiesActivitiesResponseBody.md - docs/Models/Errors/CancelServerActivitiesErrors.md - docs/Models/Errors/CancelServerActivitiesResponseBody.md - docs/Models/Errors/CheckForUpdatesErrors.md - docs/Models/Errors/CheckForUpdatesResponseBody.md + - docs/Models/Errors/CheckForUpdatesUpdaterErrors.md + - docs/Models/Errors/CheckForUpdatesUpdaterResponseBody.md - docs/Models/Errors/ClearPlaylistContentsErrors.md + - docs/Models/Errors/ClearPlaylistContentsPlaylistsErrors.md + - docs/Models/Errors/ClearPlaylistContentsPlaylistsResponseBody.md - docs/Models/Errors/ClearPlaylistContentsResponseBody.md - docs/Models/Errors/CreatePlaylistErrors.md + - docs/Models/Errors/CreatePlaylistPlaylistsErrors.md + - docs/Models/Errors/CreatePlaylistPlaylistsResponseBody.md - docs/Models/Errors/CreatePlaylistResponseBody.md - docs/Models/Errors/DeleteLibraryErrors.md + - docs/Models/Errors/DeleteLibraryLibraryErrors.md + - docs/Models/Errors/DeleteLibraryLibraryResponseBody.md - docs/Models/Errors/DeleteLibraryResponseBody.md - docs/Models/Errors/DeletePlaylistErrors.md + - docs/Models/Errors/DeletePlaylistPlaylistsErrors.md + - docs/Models/Errors/DeletePlaylistPlaylistsResponseBody.md - docs/Models/Errors/DeletePlaylistResponseBody.md - docs/Models/Errors/EnablePaperTrailErrors.md + - docs/Models/Errors/EnablePaperTrailLogErrors.md + - docs/Models/Errors/EnablePaperTrailLogResponseBody.md - docs/Models/Errors/EnablePaperTrailResponseBody.md - docs/Models/Errors/Errors.md - docs/Models/Errors/GetAllLibrariesErrors.md + - docs/Models/Errors/GetAllLibrariesLibraryErrors.md + - docs/Models/Errors/GetAllLibrariesLibraryResponseBody.md - docs/Models/Errors/GetAllLibrariesResponseBody.md - docs/Models/Errors/GetAvailableClientsErrors.md - docs/Models/Errors/GetAvailableClientsResponseBody.md + - docs/Models/Errors/GetAvailableClientsServerErrors.md + - docs/Models/Errors/GetAvailableClientsServerResponseBody.md - docs/Models/Errors/GetBandwidthStatisticsErrors.md - docs/Models/Errors/GetBandwidthStatisticsResponseBody.md + - docs/Models/Errors/GetBandwidthStatisticsStatisticsErrors.md + - docs/Models/Errors/GetBandwidthStatisticsStatisticsResponseBody.md - docs/Models/Errors/GetBannerImageErrors.md + - docs/Models/Errors/GetBannerImageMediaErrors.md + - docs/Models/Errors/GetBannerImageMediaResponseBody.md - docs/Models/Errors/GetBannerImageResponseBody.md + - docs/Models/Errors/GetButlerTasksButlerErrors.md + - docs/Models/Errors/GetButlerTasksButlerResponseBody.md - docs/Models/Errors/GetButlerTasksErrors.md - docs/Models/Errors/GetButlerTasksResponseBody.md - docs/Models/Errors/GetCompanionsDataErrors.md + - docs/Models/Errors/GetCompanionsDataPlexErrors.md + - docs/Models/Errors/GetCompanionsDataPlexResponseBody.md - docs/Models/Errors/GetCompanionsDataResponseBody.md - docs/Models/Errors/GetDevicesErrors.md - docs/Models/Errors/GetDevicesResponseBody.md + - docs/Models/Errors/GetDevicesServerErrors.md + - docs/Models/Errors/GetDevicesServerResponseBody.md - docs/Models/Errors/GetFileHashErrors.md + - docs/Models/Errors/GetFileHashLibraryErrors.md + - docs/Models/Errors/GetFileHashLibraryResponseBody.md - docs/Models/Errors/GetFileHashResponseBody.md - docs/Models/Errors/GetGeoDataErrors.md + - docs/Models/Errors/GetGeoDataPlexErrors.md + - docs/Models/Errors/GetGeoDataPlexResponseBody.md - docs/Models/Errors/GetGeoDataResponseBody.md - docs/Models/Errors/GetGlobalHubsErrors.md + - docs/Models/Errors/GetGlobalHubsHubsErrors.md + - docs/Models/Errors/GetGlobalHubsHubsResponseBody.md - docs/Models/Errors/GetGlobalHubsResponseBody.md - docs/Models/Errors/GetHomeDataErrors.md + - docs/Models/Errors/GetHomeDataPlexErrors.md + - docs/Models/Errors/GetHomeDataPlexResponseBody.md - docs/Models/Errors/GetHomeDataResponseBody.md - docs/Models/Errors/GetLibraryDetailsErrors.md + - docs/Models/Errors/GetLibraryDetailsLibraryErrors.md + - docs/Models/Errors/GetLibraryDetailsLibraryResponseBody.md - docs/Models/Errors/GetLibraryDetailsResponseBody.md - docs/Models/Errors/GetLibraryHubsErrors.md + - docs/Models/Errors/GetLibraryHubsHubsErrors.md + - docs/Models/Errors/GetLibraryHubsHubsResponseBody.md - docs/Models/Errors/GetLibraryHubsResponseBody.md - docs/Models/Errors/GetLibraryItemsErrors.md + - docs/Models/Errors/GetLibraryItemsLibraryErrors.md + - docs/Models/Errors/GetLibraryItemsLibraryResponseBody.md - docs/Models/Errors/GetLibraryItemsResponseBody.md - docs/Models/Errors/GetMediaProvidersErrors.md - docs/Models/Errors/GetMediaProvidersResponseBody.md + - docs/Models/Errors/GetMediaProvidersServerErrors.md + - docs/Models/Errors/GetMediaProvidersServerResponseBody.md - docs/Models/Errors/GetMetaDataByRatingKeyErrors.md + - docs/Models/Errors/GetMetaDataByRatingKeyLibraryErrors.md + - docs/Models/Errors/GetMetaDataByRatingKeyLibraryResponseBody.md - docs/Models/Errors/GetMetaDataByRatingKeyResponseBody.md - docs/Models/Errors/GetMetadataChildrenErrors.md + - docs/Models/Errors/GetMetadataChildrenLibraryErrors.md + - docs/Models/Errors/GetMetadataChildrenLibraryResponseBody.md - docs/Models/Errors/GetMetadataChildrenResponseBody.md - docs/Models/Errors/GetMyPlexAccountErrors.md - docs/Models/Errors/GetMyPlexAccountResponseBody.md + - docs/Models/Errors/GetMyPlexAccountServerErrors.md + - docs/Models/Errors/GetMyPlexAccountServerResponseBody.md - docs/Models/Errors/GetOnDeckErrors.md + - docs/Models/Errors/GetOnDeckLibraryErrors.md + - docs/Models/Errors/GetOnDeckLibraryResponseBody.md - docs/Models/Errors/GetOnDeckResponseBody.md - docs/Models/Errors/GetPinErrors.md - docs/Models/Errors/GetPinResponseBody.md - docs/Models/Errors/GetPlaylistContentsErrors.md + - docs/Models/Errors/GetPlaylistContentsPlaylistsErrors.md + - docs/Models/Errors/GetPlaylistContentsPlaylistsResponseBody.md - docs/Models/Errors/GetPlaylistContentsResponseBody.md - docs/Models/Errors/GetPlaylistErrors.md + - docs/Models/Errors/GetPlaylistPlaylistsErrors.md + - docs/Models/Errors/GetPlaylistPlaylistsResponseBody.md - docs/Models/Errors/GetPlaylistResponseBody.md - docs/Models/Errors/GetPlaylistsErrors.md + - docs/Models/Errors/GetPlaylistsPlaylistsErrors.md + - docs/Models/Errors/GetPlaylistsPlaylistsResponseBody.md - docs/Models/Errors/GetPlaylistsResponseBody.md - docs/Models/Errors/GetRecentlyAddedErrors.md + - docs/Models/Errors/GetRecentlyAddedLibraryErrors.md + - docs/Models/Errors/GetRecentlyAddedLibraryResponseBody.md - docs/Models/Errors/GetRecentlyAddedResponseBody.md - docs/Models/Errors/GetRefreshLibraryMetadataErrors.md + - docs/Models/Errors/GetRefreshLibraryMetadataLibraryErrors.md + - docs/Models/Errors/GetRefreshLibraryMetadataLibraryResponseBody.md - docs/Models/Errors/GetRefreshLibraryMetadataResponseBody.md - docs/Models/Errors/GetResizedPhotoErrors.md - docs/Models/Errors/GetResizedPhotoResponseBody.md + - docs/Models/Errors/GetResizedPhotoServerErrors.md + - docs/Models/Errors/GetResizedPhotoServerResponseBody.md - docs/Models/Errors/GetResourcesStatisticsErrors.md - docs/Models/Errors/GetResourcesStatisticsResponseBody.md + - docs/Models/Errors/GetResourcesStatisticsStatisticsErrors.md + - docs/Models/Errors/GetResourcesStatisticsStatisticsResponseBody.md - docs/Models/Errors/GetSearchLibraryErrors.md + - docs/Models/Errors/GetSearchLibraryLibraryErrors.md + - docs/Models/Errors/GetSearchLibraryLibraryResponseBody.md - docs/Models/Errors/GetSearchLibraryResponseBody.md - docs/Models/Errors/GetSearchResultsErrors.md - docs/Models/Errors/GetSearchResultsResponseBody.md + - docs/Models/Errors/GetSearchResultsSearchErrors.md + - docs/Models/Errors/GetSearchResultsSearchResponseBody.md + - docs/Models/Errors/GetServerActivitiesActivitiesErrors.md + - docs/Models/Errors/GetServerActivitiesActivitiesResponseBody.md - docs/Models/Errors/GetServerActivitiesErrors.md - docs/Models/Errors/GetServerActivitiesResponseBody.md + - docs/Models/Errors/GetServerCapabilitiesErrors.md - docs/Models/Errors/GetServerCapabilitiesResponseBody.md + - docs/Models/Errors/GetServerCapabilitiesServerResponseBody.md - docs/Models/Errors/GetServerIdentityResponseBody.md - docs/Models/Errors/GetServerListErrors.md - docs/Models/Errors/GetServerListResponseBody.md + - docs/Models/Errors/GetServerListServerErrors.md + - docs/Models/Errors/GetServerListServerResponseBody.md - docs/Models/Errors/GetServerPreferencesErrors.md - docs/Models/Errors/GetServerPreferencesResponseBody.md + - docs/Models/Errors/GetServerPreferencesServerErrors.md + - docs/Models/Errors/GetServerPreferencesServerResponseBody.md - docs/Models/Errors/GetServerResourcesErrors.md + - docs/Models/Errors/GetServerResourcesPlexErrors.md + - docs/Models/Errors/GetServerResourcesPlexResponseBody.md - docs/Models/Errors/GetServerResourcesResponseBody.md - docs/Models/Errors/GetSessionHistoryErrors.md - docs/Models/Errors/GetSessionHistoryResponseBody.md + - docs/Models/Errors/GetSessionHistorySessionsErrors.md + - docs/Models/Errors/GetSessionHistorySessionsResponseBody.md - docs/Models/Errors/GetSessionsErrors.md - docs/Models/Errors/GetSessionsResponseBody.md + - docs/Models/Errors/GetSessionsSessionsErrors.md + - docs/Models/Errors/GetSessionsSessionsResponseBody.md + - docs/Models/Errors/GetSourceConnectionInformationAuthenticationErrors.md + - docs/Models/Errors/GetSourceConnectionInformationAuthenticationResponseBody.md - docs/Models/Errors/GetSourceConnectionInformationErrors.md - docs/Models/Errors/GetSourceConnectionInformationResponseBody.md - docs/Models/Errors/GetStatisticsErrors.md - docs/Models/Errors/GetStatisticsResponseBody.md + - docs/Models/Errors/GetStatisticsStatisticsErrors.md + - docs/Models/Errors/GetStatisticsStatisticsResponseBody.md - docs/Models/Errors/GetThumbImageErrors.md + - docs/Models/Errors/GetThumbImageMediaErrors.md + - docs/Models/Errors/GetThumbImageMediaResponseBody.md - docs/Models/Errors/GetThumbImageResponseBody.md - docs/Models/Errors/GetTimelineErrors.md - docs/Models/Errors/GetTimelineResponseBody.md + - docs/Models/Errors/GetTimelineVideoErrors.md + - docs/Models/Errors/GetTimelineVideoResponseBody.md - docs/Models/Errors/GetTokenByPinIdErrors.md - docs/Models/Errors/GetTokenByPinIdPlexErrors.md - docs/Models/Errors/GetTokenByPinIdPlexResponseBody.md - docs/Models/Errors/GetTokenByPinIdResponseBody.md - docs/Models/Errors/GetTopWatchedContentErrors.md + - docs/Models/Errors/GetTopWatchedContentLibraryErrors.md + - docs/Models/Errors/GetTopWatchedContentLibraryResponseBody.md - docs/Models/Errors/GetTopWatchedContentResponseBody.md - docs/Models/Errors/GetTranscodeSessionsErrors.md - docs/Models/Errors/GetTranscodeSessionsResponseBody.md + - docs/Models/Errors/GetTranscodeSessionsSessionsErrors.md + - docs/Models/Errors/GetTranscodeSessionsSessionsResponseBody.md + - docs/Models/Errors/GetTransientTokenAuthenticationErrors.md + - docs/Models/Errors/GetTransientTokenAuthenticationResponseBody.md - docs/Models/Errors/GetTransientTokenErrors.md - docs/Models/Errors/GetTransientTokenResponseBody.md - docs/Models/Errors/GetUpdateStatusErrors.md - docs/Models/Errors/GetUpdateStatusResponseBody.md + - docs/Models/Errors/GetUpdateStatusUpdaterErrors.md + - docs/Models/Errors/GetUpdateStatusUpdaterResponseBody.md + - docs/Models/Errors/GetUserDetailsAuthenticationErrors.md + - docs/Models/Errors/GetUserDetailsAuthenticationResponseBody.md - docs/Models/Errors/GetUserDetailsErrors.md - docs/Models/Errors/GetUserDetailsResponseBody.md - docs/Models/Errors/GetUserFriendsErrors.md + - docs/Models/Errors/GetUserFriendsPlexErrors.md + - docs/Models/Errors/GetUserFriendsPlexResponseBody.md - docs/Models/Errors/GetUserFriendsResponseBody.md - docs/Models/Errors/GetWatchListErrors.md - docs/Models/Errors/GetWatchListResponseBody.md + - docs/Models/Errors/GetWatchListWatchlistErrors.md + - docs/Models/Errors/GetWatchListWatchlistResponseBody.md - docs/Models/Errors/LogLineErrors.md + - docs/Models/Errors/LogLineLogErrors.md + - docs/Models/Errors/LogLineLogResponseBody.md - docs/Models/Errors/LogLineResponseBody.md - docs/Models/Errors/LogMultiLineErrors.md + - docs/Models/Errors/LogMultiLineLogErrors.md + - docs/Models/Errors/LogMultiLineLogResponseBody.md - docs/Models/Errors/LogMultiLineResponseBody.md - docs/Models/Errors/MarkPlayedErrors.md + - docs/Models/Errors/MarkPlayedMediaErrors.md + - docs/Models/Errors/MarkPlayedMediaResponseBody.md - docs/Models/Errors/MarkPlayedResponseBody.md - docs/Models/Errors/MarkUnplayedErrors.md + - docs/Models/Errors/MarkUnplayedMediaErrors.md + - docs/Models/Errors/MarkUnplayedMediaResponseBody.md - docs/Models/Errors/MarkUnplayedResponseBody.md - docs/Models/Errors/PerformSearchErrors.md - docs/Models/Errors/PerformSearchResponseBody.md + - docs/Models/Errors/PerformSearchSearchErrors.md + - docs/Models/Errors/PerformSearchSearchResponseBody.md - docs/Models/Errors/PerformVoiceSearchErrors.md - docs/Models/Errors/PerformVoiceSearchResponseBody.md + - docs/Models/Errors/PerformVoiceSearchSearchErrors.md + - docs/Models/Errors/PerformVoiceSearchSearchResponseBody.md + - docs/Models/Errors/PostUsersSignInDataAuthenticationErrors.md + - docs/Models/Errors/PostUsersSignInDataAuthenticationResponseBody.md - docs/Models/Errors/PostUsersSignInDataErrors.md - docs/Models/Errors/PostUsersSignInDataResponseBody.md + - docs/Models/Errors/StartAllTasksButlerErrors.md + - docs/Models/Errors/StartAllTasksButlerResponseBody.md - docs/Models/Errors/StartAllTasksErrors.md - docs/Models/Errors/StartAllTasksResponseBody.md + - docs/Models/Errors/StartTaskButlerErrors.md + - docs/Models/Errors/StartTaskButlerResponseBody.md - docs/Models/Errors/StartTaskErrors.md - docs/Models/Errors/StartTaskResponseBody.md - docs/Models/Errors/StartUniversalTranscodeErrors.md - docs/Models/Errors/StartUniversalTranscodeResponseBody.md + - docs/Models/Errors/StartUniversalTranscodeVideoErrors.md + - docs/Models/Errors/StartUniversalTranscodeVideoResponseBody.md + - docs/Models/Errors/StopAllTasksButlerErrors.md + - docs/Models/Errors/StopAllTasksButlerResponseBody.md - docs/Models/Errors/StopAllTasksErrors.md - docs/Models/Errors/StopAllTasksResponseBody.md + - docs/Models/Errors/StopTaskButlerErrors.md + - docs/Models/Errors/StopTaskButlerResponseBody.md - docs/Models/Errors/StopTaskErrors.md - docs/Models/Errors/StopTaskResponseBody.md - docs/Models/Errors/StopTranscodeSessionErrors.md - docs/Models/Errors/StopTranscodeSessionResponseBody.md + - docs/Models/Errors/StopTranscodeSessionSessionsErrors.md + - docs/Models/Errors/StopTranscodeSessionSessionsResponseBody.md - docs/Models/Errors/UpdatePlayProgressErrors.md + - docs/Models/Errors/UpdatePlayProgressMediaErrors.md + - docs/Models/Errors/UpdatePlayProgressMediaResponseBody.md - docs/Models/Errors/UpdatePlayProgressResponseBody.md - docs/Models/Errors/UpdatePlaylistErrors.md + - docs/Models/Errors/UpdatePlaylistPlaylistsErrors.md + - docs/Models/Errors/UpdatePlaylistPlaylistsResponseBody.md - docs/Models/Errors/UpdatePlaylistResponseBody.md - docs/Models/Errors/UploadPlaylistErrors.md + - docs/Models/Errors/UploadPlaylistPlaylistsErrors.md + - docs/Models/Errors/UploadPlaylistPlaylistsResponseBody.md - docs/Models/Errors/UploadPlaylistResponseBody.md - docs/Models/Requests/Account.md - docs/Models/Requests/Activity.md @@ -1190,6 +1475,8 @@ examples: "401": application/json: {"errors": []} "200": {} + "400": + application/json: {"errors": []} getServerPreferences: speakeasy-default-get-server-preferences: responses: @@ -1197,6 +1484,8 @@ examples: application/json: {"MediaContainer": {"size": 161, "Setting": []}} "401": application/json: {"errors": []} + "400": + application/json: {"errors": []} getAvailableClients: speakeasy-default-get-available-clients: responses: @@ -1204,6 +1493,8 @@ examples: application/json: {"MediaContainer": {"size": 1, "Server": []}} "401": application/json: {"errors": []} + "400": + application/json: {"errors": []} getDevices: speakeasy-default-get-devices: responses: @@ -1211,6 +1502,8 @@ examples: application/json: {"MediaContainer": {"size": 151, "identifier": "com.plexapp.system.devices", "Device": []}} "401": application/json: {"errors": []} + "400": + application/json: {"errors": []} get-server-identity: speakeasy-default-get-server-identity: responses: @@ -1225,6 +1518,8 @@ examples: application/json: {"MyPlex": {"authToken": "Z5v-PrNASDFpsaCi3CPK7", "username": "example.email@mail.com", "mappingState": "mapped", "signInState": "ok", "publicAddress": "140.20.68.140", "publicPort": 32400, "privateAddress": "10.10.10.47", "privatePort": 32400, "subscriptionFeatures": "federated-auth,hardware_transcoding,home,hwtranscode,item_clusters,kevin-bacon,livetv,loudness,lyrics,music-analysis,music_videos,pass,photo_autotags,photos-v5,photosV6-edit,photosV6-tv-albums,premium_music_metadata,radio,server-manager,session_bandwidth_restrictions,session_kick,shared-radio,sync,trailers,tuner-sharing,type-first,unsupportedtuners,webhooks", "subscriptionState": "Active"}} "401": application/json: {"errors": []} + "400": + application/json: {"errors": []} getResizedPhoto: speakeasy-default-get-resized-photo: parameters: @@ -1239,6 +1534,8 @@ examples: responses: "401": application/json: {"errors": []} + "400": + application/json: {"errors": []} get-media-providers: speakeasy-default-get-media-providers: parameters: @@ -1248,6 +1545,8 @@ examples: "401": application/json: {"errors": []} "200": {} + "400": + application/json: {"errors": []} getServerList: speakeasy-default-get-server-list: responses: @@ -1255,6 +1554,8 @@ examples: application/json: {"MediaContainer": {"size": 1, "Server": []}} "401": application/json: {"errors": []} + "400": + application/json: {"errors": []} markPlayed: speakeasy-default-mark-played: parameters: @@ -1263,6 +1564,8 @@ examples: responses: "401": application/json: {"errors": []} + "400": + application/json: {"errors": []} markUnplayed: speakeasy-default-mark-unplayed: parameters: @@ -1271,6 +1574,8 @@ examples: responses: "401": application/json: {"errors": []} + "400": + application/json: {"errors": []} updatePlayProgress: "": parameters: @@ -1281,6 +1586,8 @@ examples: responses: "401": application/json: {"errors": []} + "400": + application/json: {"errors": []} get-banner-image: speakeasy-default-get-banner-image: parameters: @@ -1296,6 +1603,8 @@ examples: "401": application/json: {"errors": []} "200": {} + "400": + application/json: {"errors": []} get-thumb-image: speakeasy-default-get-thumb-image: parameters: @@ -1311,6 +1620,8 @@ examples: "401": application/json: {"errors": []} "200": {} + "400": + application/json: {"errors": []} getTimeline: "": parameters: @@ -1328,6 +1639,8 @@ examples: responses: "401": application/json: {"errors": []} + "400": + application/json: {"errors": []} startUniversalTranscode: "": parameters: @@ -1351,12 +1664,16 @@ examples: responses: "401": application/json: {"errors": []} + "400": + application/json: {"errors": []} getServerActivities: speakeasy-default-get-server-activities: responses: "401": application/json: {"errors": []} "200": {} + "400": + application/json: {"errors": []} cancelServerActivities: "": parameters: @@ -1365,6 +1682,8 @@ examples: responses: "401": application/json: {"errors": []} + "400": + application/json: {"errors": []} getButlerTasks: speakeasy-default-get-butler-tasks: responses: @@ -1372,16 +1691,22 @@ examples: application/json: {"ButlerTasks": {"ButlerTask": []}} "401": application/json: {"errors": []} + "400": + application/json: {"errors": []} startAllTasks: speakeasy-default-start-all-tasks: responses: "401": application/json: {"errors": []} + "400": + application/json: {"errors": []} stopAllTasks: speakeasy-default-stop-all-tasks: responses: "401": application/json: {"errors": []} + "400": + application/json: {"errors": []} startTask: speakeasy-default-start-task: parameters: @@ -1390,6 +1715,8 @@ examples: responses: "401": application/json: {"errors": []} + "400": + application/json: {"errors": []} stopTask: speakeasy-default-stop-task: parameters: @@ -1398,6 +1725,8 @@ examples: responses: "401": application/json: {"errors": []} + "400": + application/json: {"errors": []} getCompanionsData: speakeasy-default-get-companions-data: responses: @@ -1405,6 +1734,8 @@ examples: application/json: [] "401": application/json: {"errors": []} + "400": + application/json: {"errors": []} getUserFriends: speakeasy-default-get-user-friends: responses: @@ -1412,6 +1743,8 @@ examples: application/json: [{"email": "username@email.com", "friendlyName": "exampleUser", "home": true, "id": 0, "restricted": false, "sharedServers": [], "sharedSources": [], "status": "accepted", "thumb": "https://plex.tv/users/7d1916e0d8f6e76b/avatar?c=1694481578", "title": "username123", "username": "username123", "uuid": "7d1916e0d8f6e76b"}] "401": application/json: {"errors": []} + "400": + application/json: {"errors": []} getGeoData: speakeasy-default-get-geo-data: responses: @@ -1419,6 +1752,8 @@ examples: application/json: {"code": "VI", "continent_code": "NA", "country": "United States Virgin Islands", "city": "Amsterdam", "european_union_member": true, "time_zone": "America/St_Thomas", "postal_code": 802, "in_privacy_restricted_country": true, "in_privacy_restricted_region": true, "subdivisions": "Saint Thomas", "coordinates": "18.3381, -64.8941"} "401": application/json: {"errors": []} + "400": + application/json: {"errors": []} getHomeData: speakeasy-default-get-home-data: responses: @@ -1426,6 +1761,8 @@ examples: application/json: {"id": 1841489, "name": "Blindkitty38's home", "guestUserID": 58815432, "guestUserUUID": "f3df4e01bfca0787"} "401": application/json: {"errors": []} + "400": + application/json: {"errors": []} get-server-resources: speakeasy-default-get-server-resources: parameters: @@ -1438,6 +1775,8 @@ examples: "401": application/json: {"errors": []} "200": {} + "400": + application/json: {"errors": []} getPin: "": parameters: @@ -1468,6 +1807,8 @@ examples: application/json: {"MediaContainer": {"size": 8, "allowSync": true, "identifier": "com.plexapp.plugins.library", "Hub": []}} "401": application/json: {"errors": []} + "400": + application/json: {"errors": []} getLibraryHubs: speakeasy-default-get-library-hubs: parameters: @@ -1479,6 +1820,8 @@ examples: application/json: {"MediaContainer": {"size": 7, "allowSync": true, "identifier": "com.plexapp.plugins.library", "librarySectionID": 1, "librarySectionTitle": "Movies", "librarySectionUUID": "322a231a-b7f7-49f5-920f-14c61199cd30", "Hub": []}} "401": application/json: {"errors": []} + "400": + application/json: {"errors": []} performSearch: speakeasy-default-perform-search: parameters: @@ -1488,6 +1831,8 @@ examples: responses: "401": application/json: {"errors": []} + "400": + application/json: {"errors": []} performVoiceSearch: speakeasy-default-perform-voice-search: parameters: @@ -1497,6 +1842,8 @@ examples: responses: "401": application/json: {"errors": []} + "400": + application/json: {"errors": []} getSearchResults: speakeasy-default-get-search-results: parameters: @@ -1507,6 +1854,8 @@ examples: application/json: {"MediaContainer": {"size": 26, "identifier": "com.plexapp.plugins.library", "mediaTagPrefix": "/system/bundle/media/flags/", "mediaTagVersion": 1680021154, "Metadata": [], "Provider": []}} "401": application/json: {"errors": []} + "400": + application/json: {"errors": []} getFileHash: speakeasy-default-get-file-hash: parameters: @@ -1515,6 +1864,8 @@ examples: responses: "401": application/json: {"errors": []} + "400": + application/json: {"errors": []} getRecentlyAdded: speakeasy-default-get-recently-added: parameters: @@ -1526,6 +1877,8 @@ examples: application/json: {"MediaContainer": {"size": 50, "identifier": "com.plexapp.plugins.library", "mediaTagPrefix": "/system/bundle/media/flags/", "mediaTagVersion": 1680021154, "Metadata": []}} "401": application/json: {"errors": []} + "400": + application/json: {"errors": []} get-all-libraries: speakeasy-default-get-all-libraries: responses: @@ -1533,6 +1886,8 @@ examples: application/json: {"MediaContainer": {"size": 5, "allowSync": false, "title1": "Plex Library", "Directory": []}} "401": application/json: {"errors": []} + "400": + application/json: {"errors": []} get-library-details: speakeasy-default-get-library-details: parameters: @@ -1544,6 +1899,8 @@ examples: application/json: {"MediaContainer": {"size": 29, "allowSync": false, "art": "/:/resources/movie-fanart.jpg", "content": "secondary", "identifier": "com.plexapp.plugins.library", "librarySectionID": 1, "mediaTagPrefix": "/system/bundle/media/flags/", "mediaTagVersion": 1701731894, "thumb": "/:/resources/movie.png", "title1": "Movies", "viewGroup": "secondary", "viewMode": 65592, "Directory": [], "Type": [], "FieldType": []}} "401": application/json: {"errors": []} + "400": + application/json: {"errors": []} deleteLibrary: speakeasy-default-delete-library: parameters: @@ -1552,6 +1909,8 @@ examples: responses: "401": application/json: {"errors": []} + "400": + application/json: {"errors": []} get-library-items: "": parameters: @@ -1569,6 +1928,8 @@ examples: application/json: {"MediaContainer": {"size": 70, "allowSync": true, "art": "/:/resources/movie-fanart.jpg", "identifier": "com.plexapp.plugins.library", "librarySectionTitle": "Movies", "librarySectionUUID": "322a231a-b7f7-49f5-920f-14c61199cd30", "mediaTagPrefix": "/system/bundle/media/flags/", "mediaTagVersion": 1701731894, "thumb": "/:/resources/movie.png", "title1": "Movies", "title2": "Recently Released", "viewGroup": "movie", "viewMode": 65592, "mixedParents": true, "Metadata": []}} "401": application/json: {"errors": []} + "400": + application/json: {"errors": []} get-refresh-library-metadata: speakeasy-default-get-refresh-library-metadata: parameters: @@ -1579,6 +1940,8 @@ examples: responses: "401": application/json: {"errors": []} + "400": + application/json: {"errors": []} get-search-library: speakeasy-default-get-search-library: parameters: @@ -1591,6 +1954,8 @@ examples: application/json: {"MediaContainer": {"size": 2, "allowSync": false, "art": "/:/resources/show-fanart.jpg", "identifier": "com.plexapp.plugins.library", "mediaTagPrefix": "/system/bundle/media/flags/", "mediaTagVersion": 1698860922, "nocache": true, "thumb": "/:/resources/show.png", "title1": "TV Shows", "title2": "Search for ''", "viewGroup": "season", "viewMode": 65593, "Metadata": []}} "401": application/json: {"errors": []} + "400": + application/json: {"errors": []} get-meta-data-by-rating-key: speakeasy-default-get-meta-data-by-rating-key: parameters: @@ -1601,6 +1966,8 @@ examples: application/json: {"MediaContainer": {"size": 1, "allowSync": true, "identifier": "com.plexapp.plugins.library", "librarySectionID": 1, "librarySectionTitle": "Movies", "librarySectionUUID": "cfc899d7-3000-46f6-8489-b9592714ada5", "mediaTagPrefix": "/system/bundle/media/flags/", "mediaTagVersion": 1698860922, "Metadata": []}} "401": application/json: {"errors": []} + "400": + application/json: {"errors": []} getMetadataChildren: include-stream: parameters: @@ -1613,6 +1980,8 @@ examples: application/json: {"MediaContainer": {"size": 3, "allowSync": true, "art": "/library/metadata/30072/art/1705739923", "identifier": "com.plexapp.plugins.library", "key": "30072", "librarySectionID": 2, "librarySectionTitle": "TV Shows", "librarySectionUUID": "4bb2521c-8ba9-459b-aaee-8ab8bc35eabd", "mediaTagPrefix": "/system/bundle/media/flags/", "mediaTagVersion": 1701731894, "nocache": true, "parentIndex": 1, "parentTitle": "Reacher", "parentYear": 2022, "summary": "When retired Military Police Officer Jack Reacher is arrested for a murder he did not commit, he finds himself in the middle of a deadly conspiracy full of dirty cops, shady businessmen, and scheming politicians. With nothing but his wits, he must figure out what is happening in Margrave, Georgia.", "theme": "/library/metadata/30072/theme/1705739923", "thumb": "/library/metadata/30072/thumb/1705739923", "title1": "TV Shows", "title2": "Reacher", "viewGroup": "season", "viewMode": 65593, "Directory": [{"leafCount": 16, "thumb": "/library/metadata/30072/thumb/1705739923", "viewedLeafCount": 16, "key": "/library/metadata/30072/allLeaves", "title": "All episodes"}], "Metadata": []}} "401": application/json: {"errors": []} + "400": + application/json: {"errors": []} include-stream-otheritem: parameters: path: @@ -1624,6 +1993,8 @@ examples: application/json: {"MediaContainer": {"size": 3, "allowSync": true, "art": "/library/metadata/30072/art/1705739923", "identifier": "com.plexapp.plugins.library", "key": "30072", "librarySectionID": 2, "librarySectionTitle": "TV Shows", "librarySectionUUID": "4bb2521c-8ba9-459b-aaee-8ab8bc35eabd", "mediaTagPrefix": "/system/bundle/media/flags/", "mediaTagVersion": 1701731894, "nocache": true, "parentIndex": 1, "parentTitle": "Reacher", "parentYear": 2022, "summary": "When retired Military Police Officer Jack Reacher is arrested for a murder he did not commit, he finds himself in the middle of a deadly conspiracy full of dirty cops, shady businessmen, and scheming politicians. With nothing but his wits, he must figure out what is happening in Margrave, Georgia.", "theme": "/library/metadata/30072/theme/1705739923", "thumb": "/library/metadata/30072/thumb/1705739923", "title1": "TV Shows", "title2": "Reacher", "viewGroup": "season", "viewMode": 65593, "Directory": [{"leafCount": 16, "thumb": "/library/metadata/30072/thumb/1705739923", "viewedLeafCount": 16, "key": "/library/metadata/30072/allLeaves", "title": "All episodes"}], "Metadata": []}} "401": application/json: {"errors": []} + "400": + application/json: {"errors": []} include-stream-otheritem-anotheritem: parameters: path: @@ -1635,6 +2006,8 @@ examples: application/json: {"MediaContainer": {"size": 3, "allowSync": true, "art": "/library/metadata/30072/art/1705739923", "identifier": "com.plexapp.plugins.library", "key": "30072", "librarySectionID": 2, "librarySectionTitle": "TV Shows", "librarySectionUUID": "4bb2521c-8ba9-459b-aaee-8ab8bc35eabd", "mediaTagPrefix": "/system/bundle/media/flags/", "mediaTagVersion": 1701731894, "nocache": true, "parentIndex": 1, "parentTitle": "Reacher", "parentYear": 2022, "summary": "When retired Military Police Officer Jack Reacher is arrested for a murder he did not commit, he finds himself in the middle of a deadly conspiracy full of dirty cops, shady businessmen, and scheming politicians. With nothing but his wits, he must figure out what is happening in Margrave, Georgia.", "theme": "/library/metadata/30072/theme/1705739923", "thumb": "/library/metadata/30072/thumb/1705739923", "title1": "TV Shows", "title2": "Reacher", "viewGroup": "season", "viewMode": 65593, "Directory": [{"leafCount": 16, "thumb": "/library/metadata/30072/thumb/1705739923", "viewedLeafCount": 16, "key": "/library/metadata/30072/allLeaves", "title": "All episodes"}], "Metadata": []}} "401": application/json: {"errors": []} + "400": + application/json: {"errors": []} getTopWatchedContent: "": parameters: @@ -1646,6 +2019,8 @@ examples: application/json: {"MediaContainer": {"size": 1, "allowSync": true, "identifier": "com.plexapp.plugins.library", "mediaTagPrefix": "/system/bundle/media/flags/", "mediaTagVersion": 1698860922, "Metadata": []}} "401": application/json: {"errors": []} + "400": + application/json: {"errors": []} getOnDeck: speakeasy-default-get-on-deck: responses: @@ -1653,6 +2028,8 @@ examples: application/json: {"MediaContainer": {"size": 16, "identifier": "com.plexapp.plugins.library", "mediaTagPrefix": "/system/bundle/media/flags/", "mediaTagVersion": 1680021154, "Metadata": []}} "401": application/json: {"errors": []} + "400": + application/json: {"errors": []} get-watch-list: speakeasy-default-get-watch-list: parameters: @@ -1666,6 +2043,8 @@ examples: "401": application/json: {"errors": []} "200": {} + "400": + application/json: {"errors": []} logLine: speakeasy-default-log-line: parameters: @@ -1676,6 +2055,8 @@ examples: responses: "401": application/json: {"errors": []} + "400": + application/json: {"errors": []} logMultiLine: speakeasy-default-log-multi-line: requestBody: @@ -1683,11 +2064,15 @@ examples: responses: "401": application/json: {"errors": []} + "400": + application/json: {"errors": []} enablePaperTrail: speakeasy-default-enable-paper-trail: responses: "401": application/json: {"errors": []} + "400": + application/json: {"errors": []} createPlaylist: speakeasy-default-create-playlist: parameters: @@ -1701,6 +2086,8 @@ examples: application/json: {"MediaContainer": {"size": 7, "Metadata": []}} "401": application/json: {"errors": []} + "400": + application/json: {"errors": []} getPlaylists: speakeasy-default-get-playlists: responses: @@ -1708,6 +2095,8 @@ examples: application/json: {"MediaContainer": {"size": 4, "Metadata": []}} "401": application/json: {"errors": []} + "400": + application/json: {"errors": []} getPlaylist: speakeasy-default-get-playlist: parameters: @@ -1718,6 +2107,8 @@ examples: application/json: {"MediaContainer": {"size": 1, "Metadata": []}} "401": application/json: {"errors": []} + "400": + application/json: {"errors": []} deletePlaylist: speakeasy-default-delete-playlist: parameters: @@ -1726,6 +2117,8 @@ examples: responses: "401": application/json: {"errors": []} + "400": + application/json: {"errors": []} updatePlaylist: speakeasy-default-update-playlist: parameters: @@ -1735,6 +2128,8 @@ examples: responses: "401": application/json: {"errors": []} + "400": + application/json: {"errors": []} getPlaylistContents: speakeasy-default-get-playlist-contents: parameters: @@ -1747,6 +2142,8 @@ examples: application/json: {"MediaContainer": {"size": 2, "composite": "/playlists/95/composite/1705717521", "duration": 282, "leafCount": 2, "playlistType": "video", "ratingKey": "95", "smart": true, "title": "Smart Movie Playlist", "Metadata": []}} "401": application/json: {"errors": []} + "400": + application/json: {"errors": []} clearPlaylistContents: speakeasy-default-clear-playlist-contents: parameters: @@ -1755,6 +2152,8 @@ examples: responses: "401": application/json: {"errors": []} + "400": + application/json: {"errors": []} addPlaylistContents: speakeasy-default-add-playlist-contents: parameters: @@ -1768,6 +2167,8 @@ examples: application/json: {"MediaContainer": {"size": 1, "leafCountAdded": 1, "leafCountRequested": 1, "Metadata": []}} "401": application/json: {"errors": []} + "400": + application/json: {"errors": []} uploadPlaylist: speakeasy-default-upload-playlist: parameters: @@ -1777,6 +2178,8 @@ examples: responses: "401": application/json: {"errors": []} + "400": + application/json: {"errors": []} getTransientToken: speakeasy-default-get-transient-token: parameters: @@ -1786,6 +2189,8 @@ examples: responses: "401": application/json: {"errors": []} + "400": + application/json: {"errors": []} getSourceConnectionInformation: speakeasy-default-get-source-connection-information: parameters: @@ -1794,6 +2199,8 @@ examples: responses: "401": application/json: {"errors": []} + "400": + application/json: {"errors": []} getUserDetails: speakeasy-default-get-user-details: parameters: @@ -1804,15 +2211,19 @@ examples: application/json: {"adsConsent": true, "adsConsentReminderAt": "2019-08-24T14:15:22Z", "adsConsentSetAt": "2019-08-24T14:15:22Z", "anonymous": false, "authToken": "CxoUzBTSV5hsxjTpFKaf", "backupCodesCreated": false, "confirmed": false, "country": "US", "email": "username@email.com", "emailOnlyAuth": false, "experimentalFeatures": false, "friendlyName": "friendlyUsername", "entitlements": [], "guest": false, "hasPassword": true, "home": false, "homeAdmin": false, "homeSize": 1, "id": 13692262, "joinedAt": 1721154902, "locale": null, "mailingListActive": false, "mailingListStatus": "unsubscribed", "maxHomeSize": 15, "pin": "string", "profile": {"autoSelectAudio": true, "defaultAudioLanguage": "ja", "defaultSubtitleLanguage": "en", "autoSelectSubtitle": "1", "defaultSubtitleAccessibility": "1", "defaultSubtitleForced": "0", "watchedIndicator": "1", "mediaReviewsVisibility": 0}, "protected": false, "rememberExpiresAt": 1722364046, "restricted": false, "roles": ["string"], "scrobbleTypes": "", "services": [{"identifier": "metadata-dev", "endpoint": "https://epg.provider.plex.tv", "token": "DjoMtqFAGRL1uVtCyF1dKIorTbShJeqv", "secret": "string", "status": "online"}], "subscription": {"features": ["Android - Dolby Vision"], "active": true, "subscribedAt": "2021-04-12T18:21:12Z", "status": "Inactive", "paymentService": "string", "plan": "string"}, "subscriptionDescription": "string", "subscriptions": [{"features": ["Android - Dolby Vision"], "active": true, "subscribedAt": "2021-04-12T18:21:12Z", "status": "Inactive", "paymentService": "string", "plan": "string"}], "thumb": "https://plex.tv/users/a4f43c1ebfde43a5/avatar?c=8372075101", "title": "UsernameTitle", "twoFactorEnabled": false, "username": "Username", "uuid": "dae343c1f45beb4f"} "401": application/json: {"errors": []} + "400": + application/json: {"errors": []} post-users-sign-in-data: speakeasy-default-post-users-sign-in-data: requestBody: - application/x-www-form-urlencoded: {"login": "username@email.com", "password": "password123"} + application/x-www-form-urlencoded: {"login": "username@email.com", "password": "password123", "verificationCode": "123456"} responses: "201": application/json: {"adsConsent": true, "adsConsentReminderAt": "2019-08-24T14:15:22Z", "adsConsentSetAt": "2019-08-24T14:15:22Z", "anonymous": false, "authToken": "CxoUzBTSV5hsxjTpFKaf", "backupCodesCreated": false, "confirmed": false, "country": "US", "email": "username@email.com", "emailOnlyAuth": false, "experimentalFeatures": false, "friendlyName": "friendlyUsername", "entitlements": [], "guest": false, "hasPassword": true, "home": false, "homeAdmin": false, "homeSize": 1, "id": 13692262, "joinedAt": 1721154902, "locale": null, "mailingListActive": false, "mailingListStatus": "unsubscribed", "maxHomeSize": 15, "pin": "string", "profile": {"autoSelectAudio": true, "defaultAudioLanguage": "ja", "defaultSubtitleLanguage": "en", "autoSelectSubtitle": "1", "defaultSubtitleAccessibility": "1", "defaultSubtitleForced": "0", "watchedIndicator": "1", "mediaReviewsVisibility": 0}, "protected": false, "rememberExpiresAt": 1722364046, "restricted": false, "roles": ["string"], "scrobbleTypes": "", "services": [{"identifier": "metadata-dev", "endpoint": "https://epg.provider.plex.tv", "token": "DjoMtqFAGRL1uVtCyF1dKIorTbShJeqv", "secret": "string", "status": "online"}], "subscription": {"features": ["Android - Dolby Vision"], "active": true, "subscribedAt": "2021-04-12T18:21:12Z", "status": "Inactive", "paymentService": "string", "plan": "string"}, "subscriptionDescription": "string", "subscriptions": [{"features": ["Android - Dolby Vision"], "active": true, "subscribedAt": "2021-04-12T18:21:12Z", "status": "Inactive", "paymentService": "string", "plan": "string"}], "thumb": "https://plex.tv/users/a4f43c1ebfde43a5/avatar?c=8372075101", "title": "UsernameTitle", "twoFactorEnabled": false, "username": "Username", "uuid": "dae343c1f45beb4f", "pastSubscriptions": [{"id": "string", "mode": "string", "renewsAt": "string", "endsAt": "1556281940", "canceled": "0", "gracePeriod": "0", "onHold": "0", "canReactivate": "0", "canUpgrade": "0", "canDowngrade": "0", "canConvert": "0", "type": "plexpass", "transfer": "string", "state": "ended", "billing": {"paymentMethodId": 569045}}], "trials": [{}]} "401": application/json: {"errors": []} + "400": + application/json: {"errors": []} getStatistics: "": parameters: @@ -1823,6 +2234,8 @@ examples: application/json: {"MediaContainer": {"size": 5497, "Device": [], "Account": [], "StatisticsMedia": []}} "401": application/json: {"errors": []} + "400": + application/json: {"errors": []} getResourcesStatistics: "": parameters: @@ -1833,6 +2246,8 @@ examples: application/json: {"MediaContainer": {"size": 5497, "StatisticsResources": []}} "401": application/json: {"errors": []} + "400": + application/json: {"errors": []} getBandwidthStatistics: "": parameters: @@ -1843,6 +2258,8 @@ examples: application/json: {"MediaContainer": {"size": 5497, "Device": [], "Account": [], "StatisticsBandwidth": []}} "401": application/json: {"errors": []} + "400": + application/json: {"errors": []} getSessions: speakeasy-default-get-sessions: responses: @@ -1850,6 +2267,8 @@ examples: application/json: {"MediaContainer": {"size": 1, "Metadata": []}} "401": application/json: {"errors": []} + "400": + application/json: {"errors": []} getSessionHistory: viewed-at-descending: parameters: @@ -1862,6 +2281,8 @@ examples: application/json: {"MediaContainer": {"size": 10855, "Metadata": []}} "401": application/json: {"errors": []} + "400": + application/json: {"errors": []} viewed-at-ascending: parameters: query: @@ -1873,6 +2294,8 @@ examples: application/json: {"MediaContainer": {"size": 10855, "Metadata": []}} "401": application/json: {"errors": []} + "400": + application/json: {"errors": []} rating-descending: parameters: query: @@ -1884,6 +2307,8 @@ examples: application/json: {"MediaContainer": {"size": 10855, "Metadata": []}} "401": application/json: {"errors": []} + "400": + application/json: {"errors": []} rating-ascending: parameters: query: @@ -1895,6 +2320,8 @@ examples: application/json: {"MediaContainer": {"size": 10855, "Metadata": []}} "401": application/json: {"errors": []} + "400": + application/json: {"errors": []} "": parameters: query: @@ -1905,6 +2332,8 @@ examples: application/json: {"MediaContainer": {"size": 10855, "Metadata": []}} "401": application/json: {"errors": []} + "400": + application/json: {"errors": []} ViewedAt: parameters: query: @@ -1916,6 +2345,8 @@ examples: application/json: {"MediaContainer": {"size": 10855, "Metadata": []}} "401": application/json: {"errors": []} + "400": + application/json: {"errors": []} getTranscodeSessions: speakeasy-default-get-transcode-sessions: responses: @@ -1923,6 +2354,8 @@ examples: application/json: {"MediaContainer": {"size": 1, "TranscodeSession": [{"key": "vv3i2q2lax92qlzul1hbd4bx", "throttled": false, "complete": false, "progress": 1.7999999523162842, "size": -22, "speed": 25.100000381469727, "error": false, "duration": 1445695, "remaining": 53, "context": "streaming", "sourceVideoCodec": "h264", "sourceAudioCodec": "aac", "videoDecision": "transcode", "audioDecision": "transcode", "subtitleDecision": "burn", "protocol": "http", "container": "mkv", "videoCodec": "h264", "audioCodec": "opus", "audioChannels": 1, "transcodeHwRequested": true, "timeStamp": 1705895805.4919229, "maxOffsetAvailable": 29.53, "minOffsetAvailable": 3.003000020980835}]}} "401": application/json: {"errors": []} + "400": + application/json: {"errors": []} stopTranscodeSession: speakeasy-default-stop-transcode-session: parameters: @@ -1931,6 +2364,8 @@ examples: responses: "401": application/json: {"errors": []} + "400": + application/json: {"errors": []} getUpdateStatus: speakeasy-default-get-update-status: responses: @@ -1938,6 +2373,8 @@ examples: application/json: {"MediaContainer": {"size": 1, "canInstall": false, "checkedAt": 1705801232, "downloadURL": "https://plex.tv/downloads/latest/5?channel=8&build=linux-x86_64&distro=redhat&X-Plex-Token=xxxxxxxxxxxxxxxxxxxx", "status": 0, "Release": [{"key": "https://plex.tv/updater/releases/5136", "version": "1.40.0.7775-456fbaf97", "added": "(PLEASE NOTE) This version makes changes to the database which will make it compatible only with server versions 1.31.2 or higher (released March 14). You will not be able to use your database on Plex Media Server versions lower than this after this update. Please also be patient when updating to this version if you have a very large database and allow the upgrade process to finish.\n(Collections) Items added to a collection from the item context menu will now lock the collection field on the items (#12793)\n(Music) Store track genres and add filtering options (#14653)\n(Music) Support ID3v2.4 null-separated tags for genres and release type (#14653)\n(View History) No longer create a view history entry for items marked as played (#10888)\n(Web) Updated to 4.118.0", "fixed": "(Agents) Changing a 'Other Videos' type library to the modern movie agent would fail (#14483)\n(Agents) It is possible that agents are not initialised during startup on rare occasions (#14654)\n(Agents) Remove the legacy OpenSubtitles agent which is no longer supported upstream (#14667)\n(Collection) Server could become unresponsive when collection membership changes (#14612)\n(DVR) Previously watched recordings could be deleted without being watched again (#13779)\n(Libraries) When performing fix match on items from certain music libraries the language would default to Arabic (#14501)\n(Library) The Content Rating not equal to None filter does not work (#14620)\n(Search) Album search results could contain all the album's tracks too (#14486)\n(Subtitles) In some circumstances, sidecar subtitles can show up for media when they're no longer available (#14674)\n(Transcoder) HW encoding would fail on devices with no rate control (#14222)\n(Transcoder) Software transcoding on Ubuntu could cause unexpected behavior (#14605)", "downloadURL": "https://plex.tv/downloads/latest/5?channel=8&build=linux-x86_64&distro=redhat&X-Plex-Token=xxxxxxxxxxxxxxxxxxxx", "state": "notify"}]}} "401": application/json: {"errors": []} + "400": + application/json: {"errors": []} checkForUpdates: "": parameters: @@ -1946,6 +2383,8 @@ examples: responses: "401": application/json: {"errors": []} + "400": + application/json: {"errors": []} applyUpdates: "": parameters: @@ -1955,3 +2394,5 @@ examples: responses: "401": application/json: {"errors": []} + "400": + application/json: {"errors": []} diff --git a/.speakeasy/gen.yaml b/.speakeasy/gen.yaml index 14ffa81..99ef3c4 100644 --- a/.speakeasy/gen.yaml +++ b/.speakeasy/gen.yaml @@ -12,7 +12,7 @@ generation: auth: oAuth2ClientCredentialsEnabled: true csharp: - version: 0.5.3 + version: 0.6.0 additionalDependencies: [] author: LukeHagar clientServerStatusCodesAsErrors: true diff --git a/.speakeasy/workflow.lock b/.speakeasy/workflow.lock index ae0854b..77d4f54 100644 --- a/.speakeasy/workflow.lock +++ b/.speakeasy/workflow.lock @@ -9,8 +9,8 @@ sources: - main plex-api: sourceNamespace: plex-api - sourceRevisionDigest: sha256:893baf00932f1b8e49b2e60af272be6a9a62934af6eb3a2f96dd9f2302ef69c5 - sourceBlobDigest: sha256:f689cdc9c740f4e5120422720722d2d256d56ceb62bc13370713ec1661a433df + sourceRevisionDigest: sha256:06d2bc8083f30b9af5d98573735dcbe4b08efb34abd1829f8ce5d8a4a54f2a7c + sourceBlobDigest: sha256:ce28f3e6f2abc18cde6fb9e41093952eac55be5ad46b47b6f44fcdee1ca77eb2 tags: - latest - main @@ -18,8 +18,8 @@ targets: plexcsharp: source: plex-api sourceNamespace: plex-api - sourceRevisionDigest: sha256:893baf00932f1b8e49b2e60af272be6a9a62934af6eb3a2f96dd9f2302ef69c5 - sourceBlobDigest: sha256:f689cdc9c740f4e5120422720722d2d256d56ceb62bc13370713ec1661a433df + sourceRevisionDigest: sha256:06d2bc8083f30b9af5d98573735dcbe4b08efb34abd1829f8ce5d8a4a54f2a7c + sourceBlobDigest: sha256:ce28f3e6f2abc18cde6fb9e41093952eac55be5ad46b47b6f44fcdee1ca77eb2 outLocation: /github/workspace/repo workflow: workflowVersion: 1.0.0 diff --git a/LukeHagar/PlexAPI/SDK/Activities.cs b/LukeHagar/PlexAPI/SDK/Activities.cs index 6b93f27..479b81d 100644 --- a/LukeHagar/PlexAPI/SDK/Activities.cs +++ b/LukeHagar/PlexAPI/SDK/Activities.cs @@ -74,10 +74,10 @@ namespace LukeHagar.PlexAPI.SDK { public SDKConfig SDKConfiguration { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.5.3"; + private const string _sdkVersion = "0.6.0"; private const string _sdkGenVersion = "2.411.9"; private const string _openapiDocVersion = "0.0.3"; - private const string _userAgent = "speakeasy-sdk/csharp 0.5.3 2.411.9 0.0.3 LukeHagar.PlexAPI.SDK"; + private const string _userAgent = "speakeasy-sdk/csharp 0.6.0 2.411.9 0.0.3 LukeHagar.PlexAPI.SDK"; private string _serverUrl = ""; private ISpeakeasyHttpClient _client; private Func? _securitySource; @@ -159,11 +159,7 @@ namespace LukeHagar.PlexAPI.SDK throw new SDKException("Unknown content type received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); } } - else if(responseStatusCode == 400 || responseStatusCode >= 400 && responseStatusCode < 500 || responseStatusCode >= 500 && responseStatusCode < 600) - { - throw new SDKException("API error occurred", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); - } - else if(responseStatusCode == 401) + else if(responseStatusCode == 400) { if(Utilities.IsContentTypeMatch("application/json", contentType)) { @@ -176,6 +172,23 @@ namespace LukeHagar.PlexAPI.SDK throw new SDKException("Unknown content type received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); } } + else if(responseStatusCode == 401) + { + if(Utilities.IsContentTypeMatch("application/json", contentType)) + { + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + obj!.RawResponse = httpResponse; + throw obj!; + } + else + { + throw new SDKException("Unknown content type received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); + } + } + else if(responseStatusCode >= 400 && responseStatusCode < 500 || responseStatusCode >= 500 && responseStatusCode < 600) + { + throw new SDKException("API error occurred", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); + } else { throw new SDKException("Unknown status code received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); @@ -244,11 +257,7 @@ namespace LukeHagar.PlexAPI.SDK RawResponse = httpResponse }; } - else if(responseStatusCode == 400 || responseStatusCode >= 400 && responseStatusCode < 500 || responseStatusCode >= 500 && responseStatusCode < 600) - { - throw new SDKException("API error occurred", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); - } - else if(responseStatusCode == 401) + else if(responseStatusCode == 400) { if(Utilities.IsContentTypeMatch("application/json", contentType)) { @@ -261,6 +270,23 @@ namespace LukeHagar.PlexAPI.SDK throw new SDKException("Unknown content type received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); } } + else if(responseStatusCode == 401) + { + if(Utilities.IsContentTypeMatch("application/json", contentType)) + { + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + obj!.RawResponse = httpResponse; + throw obj!; + } + else + { + throw new SDKException("Unknown content type received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); + } + } + else if(responseStatusCode >= 400 && responseStatusCode < 500 || responseStatusCode >= 500 && responseStatusCode < 600) + { + throw new SDKException("API error occurred", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); + } else { throw new SDKException("Unknown status code received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); diff --git a/LukeHagar/PlexAPI/SDK/Authentication.cs b/LukeHagar/PlexAPI/SDK/Authentication.cs index 4354b84..a55c05e 100644 --- a/LukeHagar/PlexAPI/SDK/Authentication.cs +++ b/LukeHagar/PlexAPI/SDK/Authentication.cs @@ -63,7 +63,7 @@ namespace LukeHagar.PlexAPI.SDK Task GetUserDetailsAsync(string xPlexToken, string? serverUrl = null); /// - /// Get User SignIn Data + /// Get User Sign In Data /// /// /// Sign in user with username and password and return user data with Plex authentication token @@ -85,20 +85,20 @@ namespace LukeHagar.PlexAPI.SDK /// List of server URLs available for the getUserDetails operation. /// public static readonly string[] GetUserDetailsServerList = { - "https://plex.tv/api/v2", + "https://plex.tv/api/v2/", }; /// /// List of server URLs available for the post-users-sign-in-data operation. /// public static readonly string[] PostUsersSignInDataServerList = { - "https://plex.tv/api/v2", + "https://plex.tv/api/v2/", }; public SDKConfig SDKConfiguration { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.5.3"; + private const string _sdkVersion = "0.6.0"; private const string _sdkGenVersion = "2.411.9"; private const string _openapiDocVersion = "0.0.3"; - private const string _userAgent = "speakeasy-sdk/csharp 0.5.3 2.411.9 0.0.3 LukeHagar.PlexAPI.SDK"; + private const string _userAgent = "speakeasy-sdk/csharp 0.6.0 2.411.9 0.0.3 LukeHagar.PlexAPI.SDK"; private string _serverUrl = ""; private ISpeakeasyHttpClient _client; private Func? _securitySource; @@ -174,11 +174,7 @@ namespace LukeHagar.PlexAPI.SDK RawResponse = httpResponse }; } - else if(responseStatusCode == 400 || responseStatusCode >= 400 && responseStatusCode < 500 || responseStatusCode >= 500 && responseStatusCode < 600) - { - throw new SDKException("API error occurred", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); - } - else if(responseStatusCode == 401) + else if(responseStatusCode == 400) { if(Utilities.IsContentTypeMatch("application/json", contentType)) { @@ -191,6 +187,23 @@ namespace LukeHagar.PlexAPI.SDK throw new SDKException("Unknown content type received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); } } + else if(responseStatusCode == 401) + { + if(Utilities.IsContentTypeMatch("application/json", contentType)) + { + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + obj!.RawResponse = httpResponse; + throw obj!; + } + else + { + throw new SDKException("Unknown content type received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); + } + } + else if(responseStatusCode >= 400 && responseStatusCode < 500 || responseStatusCode >= 500 && responseStatusCode < 600) + { + throw new SDKException("API error occurred", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); + } else { throw new SDKException("Unknown status code received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); @@ -259,11 +272,7 @@ namespace LukeHagar.PlexAPI.SDK RawResponse = httpResponse }; } - else if(responseStatusCode == 400 || responseStatusCode >= 400 && responseStatusCode < 500 || responseStatusCode >= 500 && responseStatusCode < 600) - { - throw new SDKException("API error occurred", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); - } - else if(responseStatusCode == 401) + else if(responseStatusCode == 400) { if(Utilities.IsContentTypeMatch("application/json", contentType)) { @@ -276,6 +285,23 @@ namespace LukeHagar.PlexAPI.SDK throw new SDKException("Unknown content type received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); } } + else if(responseStatusCode == 401) + { + if(Utilities.IsContentTypeMatch("application/json", contentType)) + { + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + obj!.RawResponse = httpResponse; + throw obj!; + } + else + { + throw new SDKException("Unknown content type received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); + } + } + else if(responseStatusCode >= 400 && responseStatusCode < 500 || responseStatusCode >= 500 && responseStatusCode < 600) + { + throw new SDKException("API error occurred", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); + } else { throw new SDKException("Unknown status code received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); @@ -359,11 +385,7 @@ namespace LukeHagar.PlexAPI.SDK throw new SDKException("Unknown content type received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); } } - else if(responseStatusCode == 400 || responseStatusCode >= 400 && responseStatusCode < 500 || responseStatusCode >= 500 && responseStatusCode < 600) - { - throw new SDKException("API error occurred", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); - } - else if(responseStatusCode == 401) + else if(responseStatusCode == 400) { if(Utilities.IsContentTypeMatch("application/json", contentType)) { @@ -376,6 +398,23 @@ namespace LukeHagar.PlexAPI.SDK throw new SDKException("Unknown content type received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); } } + else if(responseStatusCode == 401) + { + if(Utilities.IsContentTypeMatch("application/json", contentType)) + { + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + obj!.RawResponse = httpResponse; + throw obj!; + } + else + { + throw new SDKException("Unknown content type received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); + } + } + else if(responseStatusCode >= 400 && responseStatusCode < 500 || responseStatusCode >= 500 && responseStatusCode < 600) + { + throw new SDKException("API error occurred", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); + } else { throw new SDKException("Unknown status code received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); @@ -463,11 +502,7 @@ namespace LukeHagar.PlexAPI.SDK throw new SDKException("Unknown content type received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); } } - else if(responseStatusCode == 400 || responseStatusCode >= 400 && responseStatusCode < 500 || responseStatusCode >= 500 && responseStatusCode < 600) - { - throw new SDKException("API error occurred", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); - } - else if(responseStatusCode == 401) + else if(responseStatusCode == 400) { if(Utilities.IsContentTypeMatch("application/json", contentType)) { @@ -480,6 +515,23 @@ namespace LukeHagar.PlexAPI.SDK throw new SDKException("Unknown content type received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); } } + else if(responseStatusCode == 401) + { + if(Utilities.IsContentTypeMatch("application/json", contentType)) + { + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + obj!.RawResponse = httpResponse; + throw obj!; + } + else + { + throw new SDKException("Unknown content type received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); + } + } + else if(responseStatusCode >= 400 && responseStatusCode < 500 || responseStatusCode >= 500 && responseStatusCode < 600) + { + throw new SDKException("API error occurred", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); + } else { throw new SDKException("Unknown status code received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); diff --git a/LukeHagar/PlexAPI/SDK/Butler.cs b/LukeHagar/PlexAPI/SDK/Butler.cs index 6fa2c1b..d33ddf6 100644 --- a/LukeHagar/PlexAPI/SDK/Butler.cs +++ b/LukeHagar/PlexAPI/SDK/Butler.cs @@ -101,10 +101,10 @@ namespace LukeHagar.PlexAPI.SDK { public SDKConfig SDKConfiguration { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.5.3"; + private const string _sdkVersion = "0.6.0"; private const string _sdkGenVersion = "2.411.9"; private const string _openapiDocVersion = "0.0.3"; - private const string _userAgent = "speakeasy-sdk/csharp 0.5.3 2.411.9 0.0.3 LukeHagar.PlexAPI.SDK"; + private const string _userAgent = "speakeasy-sdk/csharp 0.6.0 2.411.9 0.0.3 LukeHagar.PlexAPI.SDK"; private string _serverUrl = ""; private ISpeakeasyHttpClient _client; private Func? _securitySource; @@ -186,11 +186,7 @@ namespace LukeHagar.PlexAPI.SDK throw new SDKException("Unknown content type received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); } } - else if(responseStatusCode == 400 || responseStatusCode >= 400 && responseStatusCode < 500 || responseStatusCode >= 500 && responseStatusCode < 600) - { - throw new SDKException("API error occurred", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); - } - else if(responseStatusCode == 401) + else if(responseStatusCode == 400) { if(Utilities.IsContentTypeMatch("application/json", contentType)) { @@ -203,6 +199,23 @@ namespace LukeHagar.PlexAPI.SDK throw new SDKException("Unknown content type received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); } } + else if(responseStatusCode == 401) + { + if(Utilities.IsContentTypeMatch("application/json", contentType)) + { + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + obj!.RawResponse = httpResponse; + throw obj!; + } + else + { + throw new SDKException("Unknown content type received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); + } + } + else if(responseStatusCode >= 400 && responseStatusCode < 500 || responseStatusCode >= 500 && responseStatusCode < 600) + { + throw new SDKException("API error occurred", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); + } else { throw new SDKException("Unknown status code received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); @@ -268,11 +281,7 @@ namespace LukeHagar.PlexAPI.SDK RawResponse = httpResponse }; } - else if(responseStatusCode == 400 || responseStatusCode >= 400 && responseStatusCode < 500 || responseStatusCode >= 500 && responseStatusCode < 600) - { - throw new SDKException("API error occurred", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); - } - else if(responseStatusCode == 401) + else if(responseStatusCode == 400) { if(Utilities.IsContentTypeMatch("application/json", contentType)) { @@ -285,6 +294,23 @@ namespace LukeHagar.PlexAPI.SDK throw new SDKException("Unknown content type received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); } } + else if(responseStatusCode == 401) + { + if(Utilities.IsContentTypeMatch("application/json", contentType)) + { + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + obj!.RawResponse = httpResponse; + throw obj!; + } + else + { + throw new SDKException("Unknown content type received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); + } + } + else if(responseStatusCode >= 400 && responseStatusCode < 500 || responseStatusCode >= 500 && responseStatusCode < 600) + { + throw new SDKException("API error occurred", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); + } else { throw new SDKException("Unknown status code received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); @@ -350,11 +376,7 @@ namespace LukeHagar.PlexAPI.SDK RawResponse = httpResponse }; } - else if(responseStatusCode == 400 || responseStatusCode >= 400 && responseStatusCode < 500 || responseStatusCode >= 500 && responseStatusCode < 600) - { - throw new SDKException("API error occurred", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); - } - else if(responseStatusCode == 401) + else if(responseStatusCode == 400) { if(Utilities.IsContentTypeMatch("application/json", contentType)) { @@ -367,6 +389,23 @@ namespace LukeHagar.PlexAPI.SDK throw new SDKException("Unknown content type received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); } } + else if(responseStatusCode == 401) + { + if(Utilities.IsContentTypeMatch("application/json", contentType)) + { + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + obj!.RawResponse = httpResponse; + throw obj!; + } + else + { + throw new SDKException("Unknown content type received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); + } + } + else if(responseStatusCode >= 400 && responseStatusCode < 500 || responseStatusCode >= 500 && responseStatusCode < 600) + { + throw new SDKException("API error occurred", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); + } else { throw new SDKException("Unknown status code received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); @@ -435,11 +474,7 @@ namespace LukeHagar.PlexAPI.SDK RawResponse = httpResponse }; } - else if(responseStatusCode == 400 || responseStatusCode >= 400 && responseStatusCode < 500 || responseStatusCode >= 500 && responseStatusCode < 600) - { - throw new SDKException("API error occurred", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); - } - else if(responseStatusCode == 401) + else if(responseStatusCode == 400) { if(Utilities.IsContentTypeMatch("application/json", contentType)) { @@ -452,6 +487,23 @@ namespace LukeHagar.PlexAPI.SDK throw new SDKException("Unknown content type received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); } } + else if(responseStatusCode == 401) + { + if(Utilities.IsContentTypeMatch("application/json", contentType)) + { + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + obj!.RawResponse = httpResponse; + throw obj!; + } + else + { + throw new SDKException("Unknown content type received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); + } + } + else if(responseStatusCode >= 400 && responseStatusCode < 500 || responseStatusCode >= 500 && responseStatusCode < 600) + { + throw new SDKException("API error occurred", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); + } else { throw new SDKException("Unknown status code received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); @@ -520,11 +572,7 @@ namespace LukeHagar.PlexAPI.SDK RawResponse = httpResponse }; } - else if(responseStatusCode == 400 || responseStatusCode == 404 || responseStatusCode >= 400 && responseStatusCode < 500 || responseStatusCode >= 500 && responseStatusCode < 600) - { - throw new SDKException("API error occurred", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); - } - else if(responseStatusCode == 401) + else if(responseStatusCode == 400) { if(Utilities.IsContentTypeMatch("application/json", contentType)) { @@ -537,6 +585,23 @@ namespace LukeHagar.PlexAPI.SDK throw new SDKException("Unknown content type received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); } } + else if(responseStatusCode == 401) + { + if(Utilities.IsContentTypeMatch("application/json", contentType)) + { + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + obj!.RawResponse = httpResponse; + throw obj!; + } + else + { + throw new SDKException("Unknown content type received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); + } + } + else if(responseStatusCode == 404 || responseStatusCode >= 400 && responseStatusCode < 500 || responseStatusCode >= 500 && responseStatusCode < 600) + { + throw new SDKException("API error occurred", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); + } else { throw new SDKException("Unknown status code received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); diff --git a/LukeHagar/PlexAPI/SDK/Hubs.cs b/LukeHagar/PlexAPI/SDK/Hubs.cs index eda47e4..a8fcc12 100644 --- a/LukeHagar/PlexAPI/SDK/Hubs.cs +++ b/LukeHagar/PlexAPI/SDK/Hubs.cs @@ -63,10 +63,10 @@ namespace LukeHagar.PlexAPI.SDK { public SDKConfig SDKConfiguration { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.5.3"; + private const string _sdkVersion = "0.6.0"; private const string _sdkGenVersion = "2.411.9"; private const string _openapiDocVersion = "0.0.3"; - private const string _userAgent = "speakeasy-sdk/csharp 0.5.3 2.411.9 0.0.3 LukeHagar.PlexAPI.SDK"; + private const string _userAgent = "speakeasy-sdk/csharp 0.6.0 2.411.9 0.0.3 LukeHagar.PlexAPI.SDK"; private string _serverUrl = ""; private ISpeakeasyHttpClient _client; private Func? _securitySource; @@ -152,11 +152,7 @@ namespace LukeHagar.PlexAPI.SDK throw new SDKException("Unknown content type received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); } } - else if(responseStatusCode == 400 || responseStatusCode >= 400 && responseStatusCode < 500 || responseStatusCode >= 500 && responseStatusCode < 600) - { - throw new SDKException("API error occurred", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); - } - else if(responseStatusCode == 401) + else if(responseStatusCode == 400) { if(Utilities.IsContentTypeMatch("application/json", contentType)) { @@ -169,6 +165,23 @@ namespace LukeHagar.PlexAPI.SDK throw new SDKException("Unknown content type received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); } } + else if(responseStatusCode == 401) + { + if(Utilities.IsContentTypeMatch("application/json", contentType)) + { + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + obj!.RawResponse = httpResponse; + throw obj!; + } + else + { + throw new SDKException("Unknown content type received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); + } + } + else if(responseStatusCode >= 400 && responseStatusCode < 500 || responseStatusCode >= 500 && responseStatusCode < 600) + { + throw new SDKException("API error occurred", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); + } else { throw new SDKException("Unknown status code received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); @@ -249,11 +262,7 @@ namespace LukeHagar.PlexAPI.SDK throw new SDKException("Unknown content type received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); } } - else if(responseStatusCode == 400 || responseStatusCode >= 400 && responseStatusCode < 500 || responseStatusCode >= 500 && responseStatusCode < 600) - { - throw new SDKException("API error occurred", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); - } - else if(responseStatusCode == 401) + else if(responseStatusCode == 400) { if(Utilities.IsContentTypeMatch("application/json", contentType)) { @@ -266,6 +275,23 @@ namespace LukeHagar.PlexAPI.SDK throw new SDKException("Unknown content type received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); } } + else if(responseStatusCode == 401) + { + if(Utilities.IsContentTypeMatch("application/json", contentType)) + { + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + obj!.RawResponse = httpResponse; + throw obj!; + } + else + { + throw new SDKException("Unknown content type received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); + } + } + else if(responseStatusCode >= 400 && responseStatusCode < 500 || responseStatusCode >= 500 && responseStatusCode < 600) + { + throw new SDKException("API error occurred", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); + } else { throw new SDKException("Unknown status code received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); diff --git a/LukeHagar/PlexAPI/SDK/Library.cs b/LukeHagar/PlexAPI/SDK/Library.cs index 405e133..65ebdb7 100644 --- a/LukeHagar/PlexAPI/SDK/Library.cs +++ b/LukeHagar/PlexAPI/SDK/Library.cs @@ -241,10 +241,10 @@ namespace LukeHagar.PlexAPI.SDK { public SDKConfig SDKConfiguration { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.5.3"; + private const string _sdkVersion = "0.6.0"; private const string _sdkGenVersion = "2.411.9"; private const string _openapiDocVersion = "0.0.3"; - private const string _userAgent = "speakeasy-sdk/csharp 0.5.3 2.411.9 0.0.3 LukeHagar.PlexAPI.SDK"; + private const string _userAgent = "speakeasy-sdk/csharp 0.6.0 2.411.9 0.0.3 LukeHagar.PlexAPI.SDK"; private string _serverUrl = ""; private ISpeakeasyHttpClient _client; private Func? _securitySource; @@ -320,11 +320,7 @@ namespace LukeHagar.PlexAPI.SDK RawResponse = httpResponse }; } - else if(responseStatusCode == 400 || responseStatusCode >= 400 && responseStatusCode < 500 || responseStatusCode >= 500 && responseStatusCode < 600) - { - throw new SDKException("API error occurred", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); - } - else if(responseStatusCode == 401) + else if(responseStatusCode == 400) { if(Utilities.IsContentTypeMatch("application/json", contentType)) { @@ -337,6 +333,23 @@ namespace LukeHagar.PlexAPI.SDK throw new SDKException("Unknown content type received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); } } + else if(responseStatusCode == 401) + { + if(Utilities.IsContentTypeMatch("application/json", contentType)) + { + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + obj!.RawResponse = httpResponse; + throw obj!; + } + else + { + throw new SDKException("Unknown content type received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); + } + } + else if(responseStatusCode >= 400 && responseStatusCode < 500 || responseStatusCode >= 500 && responseStatusCode < 600) + { + throw new SDKException("API error occurred", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); + } else { throw new SDKException("Unknown status code received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); @@ -416,11 +429,7 @@ namespace LukeHagar.PlexAPI.SDK throw new SDKException("Unknown content type received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); } } - else if(responseStatusCode == 400 || responseStatusCode >= 400 && responseStatusCode < 500 || responseStatusCode >= 500 && responseStatusCode < 600) - { - throw new SDKException("API error occurred", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); - } - else if(responseStatusCode == 401) + else if(responseStatusCode == 400) { if(Utilities.IsContentTypeMatch("application/json", contentType)) { @@ -433,6 +442,23 @@ namespace LukeHagar.PlexAPI.SDK throw new SDKException("Unknown content type received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); } } + else if(responseStatusCode == 401) + { + if(Utilities.IsContentTypeMatch("application/json", contentType)) + { + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + obj!.RawResponse = httpResponse; + throw obj!; + } + else + { + throw new SDKException("Unknown content type received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); + } + } + else if(responseStatusCode >= 400 && responseStatusCode < 500 || responseStatusCode >= 500 && responseStatusCode < 600) + { + throw new SDKException("API error occurred", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); + } else { throw new SDKException("Unknown status code received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); @@ -508,11 +534,7 @@ namespace LukeHagar.PlexAPI.SDK throw new SDKException("Unknown content type received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); } } - else if(responseStatusCode == 400 || responseStatusCode >= 400 && responseStatusCode < 500 || responseStatusCode >= 500 && responseStatusCode < 600) - { - throw new SDKException("API error occurred", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); - } - else if(responseStatusCode == 401) + else if(responseStatusCode == 400) { if(Utilities.IsContentTypeMatch("application/json", contentType)) { @@ -525,6 +547,23 @@ namespace LukeHagar.PlexAPI.SDK throw new SDKException("Unknown content type received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); } } + else if(responseStatusCode == 401) + { + if(Utilities.IsContentTypeMatch("application/json", contentType)) + { + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + obj!.RawResponse = httpResponse; + throw obj!; + } + else + { + throw new SDKException("Unknown content type received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); + } + } + else if(responseStatusCode >= 400 && responseStatusCode < 500 || responseStatusCode >= 500 && responseStatusCode < 600) + { + throw new SDKException("API error occurred", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); + } else { throw new SDKException("Unknown status code received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); @@ -604,11 +643,7 @@ namespace LukeHagar.PlexAPI.SDK throw new SDKException("Unknown content type received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); } } - else if(responseStatusCode == 400 || responseStatusCode >= 400 && responseStatusCode < 500 || responseStatusCode >= 500 && responseStatusCode < 600) - { - throw new SDKException("API error occurred", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); - } - else if(responseStatusCode == 401) + else if(responseStatusCode == 400) { if(Utilities.IsContentTypeMatch("application/json", contentType)) { @@ -621,6 +656,23 @@ namespace LukeHagar.PlexAPI.SDK throw new SDKException("Unknown content type received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); } } + else if(responseStatusCode == 401) + { + if(Utilities.IsContentTypeMatch("application/json", contentType)) + { + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + obj!.RawResponse = httpResponse; + throw obj!; + } + else + { + throw new SDKException("Unknown content type received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); + } + } + else if(responseStatusCode >= 400 && responseStatusCode < 500 || responseStatusCode >= 500 && responseStatusCode < 600) + { + throw new SDKException("API error occurred", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); + } else { throw new SDKException("Unknown status code received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); @@ -689,11 +741,7 @@ namespace LukeHagar.PlexAPI.SDK RawResponse = httpResponse }; } - else if(responseStatusCode == 400 || responseStatusCode >= 400 && responseStatusCode < 500 || responseStatusCode >= 500 && responseStatusCode < 600) - { - throw new SDKException("API error occurred", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); - } - else if(responseStatusCode == 401) + else if(responseStatusCode == 400) { if(Utilities.IsContentTypeMatch("application/json", contentType)) { @@ -706,6 +754,23 @@ namespace LukeHagar.PlexAPI.SDK throw new SDKException("Unknown content type received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); } } + else if(responseStatusCode == 401) + { + if(Utilities.IsContentTypeMatch("application/json", contentType)) + { + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + obj!.RawResponse = httpResponse; + throw obj!; + } + else + { + throw new SDKException("Unknown content type received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); + } + } + else if(responseStatusCode >= 400 && responseStatusCode < 500 || responseStatusCode >= 500 && responseStatusCode < 600) + { + throw new SDKException("API error occurred", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); + } else { throw new SDKException("Unknown status code received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); @@ -780,11 +845,7 @@ namespace LukeHagar.PlexAPI.SDK throw new SDKException("Unknown content type received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); } } - else if(responseStatusCode == 400 || responseStatusCode >= 400 && responseStatusCode < 500 || responseStatusCode >= 500 && responseStatusCode < 600) - { - throw new SDKException("API error occurred", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); - } - else if(responseStatusCode == 401) + else if(responseStatusCode == 400) { if(Utilities.IsContentTypeMatch("application/json", contentType)) { @@ -797,6 +858,23 @@ namespace LukeHagar.PlexAPI.SDK throw new SDKException("Unknown content type received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); } } + else if(responseStatusCode == 401) + { + if(Utilities.IsContentTypeMatch("application/json", contentType)) + { + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + obj!.RawResponse = httpResponse; + throw obj!; + } + else + { + throw new SDKException("Unknown content type received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); + } + } + else if(responseStatusCode >= 400 && responseStatusCode < 500 || responseStatusCode >= 500 && responseStatusCode < 600) + { + throw new SDKException("API error occurred", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); + } else { throw new SDKException("Unknown status code received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); @@ -866,11 +944,7 @@ namespace LukeHagar.PlexAPI.SDK RawResponse = httpResponse }; } - else if(responseStatusCode == 400 || responseStatusCode >= 400 && responseStatusCode < 500 || responseStatusCode >= 500 && responseStatusCode < 600) - { - throw new SDKException("API error occurred", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); - } - else if(responseStatusCode == 401) + else if(responseStatusCode == 400) { if(Utilities.IsContentTypeMatch("application/json", contentType)) { @@ -883,6 +957,23 @@ namespace LukeHagar.PlexAPI.SDK throw new SDKException("Unknown content type received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); } } + else if(responseStatusCode == 401) + { + if(Utilities.IsContentTypeMatch("application/json", contentType)) + { + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + obj!.RawResponse = httpResponse; + throw obj!; + } + else + { + throw new SDKException("Unknown content type received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); + } + } + else if(responseStatusCode >= 400 && responseStatusCode < 500 || responseStatusCode >= 500 && responseStatusCode < 600) + { + throw new SDKException("API error occurred", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); + } else { throw new SDKException("Unknown status code received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); @@ -962,11 +1053,7 @@ namespace LukeHagar.PlexAPI.SDK throw new SDKException("Unknown content type received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); } } - else if(responseStatusCode == 400 || responseStatusCode >= 400 && responseStatusCode < 500 || responseStatusCode >= 500 && responseStatusCode < 600) - { - throw new SDKException("API error occurred", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); - } - else if(responseStatusCode == 401) + else if(responseStatusCode == 400) { if(Utilities.IsContentTypeMatch("application/json", contentType)) { @@ -979,6 +1066,23 @@ namespace LukeHagar.PlexAPI.SDK throw new SDKException("Unknown content type received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); } } + else if(responseStatusCode == 401) + { + if(Utilities.IsContentTypeMatch("application/json", contentType)) + { + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + obj!.RawResponse = httpResponse; + throw obj!; + } + else + { + throw new SDKException("Unknown content type received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); + } + } + else if(responseStatusCode >= 400 && responseStatusCode < 500 || responseStatusCode >= 500 && responseStatusCode < 600) + { + throw new SDKException("API error occurred", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); + } else { throw new SDKException("Unknown status code received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); @@ -1057,11 +1161,7 @@ namespace LukeHagar.PlexAPI.SDK throw new SDKException("Unknown content type received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); } } - else if(responseStatusCode == 400 || responseStatusCode >= 400 && responseStatusCode < 500 || responseStatusCode >= 500 && responseStatusCode < 600) - { - throw new SDKException("API error occurred", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); - } - else if(responseStatusCode == 401) + else if(responseStatusCode == 400) { if(Utilities.IsContentTypeMatch("application/json", contentType)) { @@ -1074,6 +1174,23 @@ namespace LukeHagar.PlexAPI.SDK throw new SDKException("Unknown content type received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); } } + else if(responseStatusCode == 401) + { + if(Utilities.IsContentTypeMatch("application/json", contentType)) + { + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + obj!.RawResponse = httpResponse; + throw obj!; + } + else + { + throw new SDKException("Unknown content type received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); + } + } + else if(responseStatusCode >= 400 && responseStatusCode < 500 || responseStatusCode >= 500 && responseStatusCode < 600) + { + throw new SDKException("API error occurred", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); + } else { throw new SDKException("Unknown status code received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); @@ -1153,11 +1270,7 @@ namespace LukeHagar.PlexAPI.SDK throw new SDKException("Unknown content type received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); } } - else if(responseStatusCode == 400 || responseStatusCode >= 400 && responseStatusCode < 500 || responseStatusCode >= 500 && responseStatusCode < 600) - { - throw new SDKException("API error occurred", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); - } - else if(responseStatusCode == 401) + else if(responseStatusCode == 400) { if(Utilities.IsContentTypeMatch("application/json", contentType)) { @@ -1170,6 +1283,23 @@ namespace LukeHagar.PlexAPI.SDK throw new SDKException("Unknown content type received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); } } + else if(responseStatusCode == 401) + { + if(Utilities.IsContentTypeMatch("application/json", contentType)) + { + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + obj!.RawResponse = httpResponse; + throw obj!; + } + else + { + throw new SDKException("Unknown content type received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); + } + } + else if(responseStatusCode >= 400 && responseStatusCode < 500 || responseStatusCode >= 500 && responseStatusCode < 600) + { + throw new SDKException("API error occurred", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); + } else { throw new SDKException("Unknown status code received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); @@ -1249,11 +1379,7 @@ namespace LukeHagar.PlexAPI.SDK throw new SDKException("Unknown content type received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); } } - else if(responseStatusCode == 400 || responseStatusCode >= 400 && responseStatusCode < 500 || responseStatusCode >= 500 && responseStatusCode < 600) - { - throw new SDKException("API error occurred", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); - } - else if(responseStatusCode == 401) + else if(responseStatusCode == 400) { if(Utilities.IsContentTypeMatch("application/json", contentType)) { @@ -1266,6 +1392,23 @@ namespace LukeHagar.PlexAPI.SDK throw new SDKException("Unknown content type received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); } } + else if(responseStatusCode == 401) + { + if(Utilities.IsContentTypeMatch("application/json", contentType)) + { + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + obj!.RawResponse = httpResponse; + throw obj!; + } + else + { + throw new SDKException("Unknown content type received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); + } + } + else if(responseStatusCode >= 400 && responseStatusCode < 500 || responseStatusCode >= 500 && responseStatusCode < 600) + { + throw new SDKException("API error occurred", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); + } else { throw new SDKException("Unknown status code received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); @@ -1341,11 +1484,7 @@ namespace LukeHagar.PlexAPI.SDK throw new SDKException("Unknown content type received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); } } - else if(responseStatusCode == 400 || responseStatusCode >= 400 && responseStatusCode < 500 || responseStatusCode >= 500 && responseStatusCode < 600) - { - throw new SDKException("API error occurred", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); - } - else if(responseStatusCode == 401) + else if(responseStatusCode == 400) { if(Utilities.IsContentTypeMatch("application/json", contentType)) { @@ -1358,6 +1497,23 @@ namespace LukeHagar.PlexAPI.SDK throw new SDKException("Unknown content type received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); } } + else if(responseStatusCode == 401) + { + if(Utilities.IsContentTypeMatch("application/json", contentType)) + { + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + obj!.RawResponse = httpResponse; + throw obj!; + } + else + { + throw new SDKException("Unknown content type received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); + } + } + else if(responseStatusCode >= 400 && responseStatusCode < 500 || responseStatusCode >= 500 && responseStatusCode < 600) + { + throw new SDKException("API error occurred", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); + } else { throw new SDKException("Unknown status code received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); diff --git a/LukeHagar/PlexAPI/SDK/Log.cs b/LukeHagar/PlexAPI/SDK/Log.cs index 3228fa6..c8d439d 100644 --- a/LukeHagar/PlexAPI/SDK/Log.cs +++ b/LukeHagar/PlexAPI/SDK/Log.cs @@ -94,10 +94,10 @@ namespace LukeHagar.PlexAPI.SDK { public SDKConfig SDKConfiguration { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.5.3"; + private const string _sdkVersion = "0.6.0"; private const string _sdkGenVersion = "2.411.9"; private const string _openapiDocVersion = "0.0.3"; - private const string _userAgent = "speakeasy-sdk/csharp 0.5.3 2.411.9 0.0.3 LukeHagar.PlexAPI.SDK"; + private const string _userAgent = "speakeasy-sdk/csharp 0.6.0 2.411.9 0.0.3 LukeHagar.PlexAPI.SDK"; private string _serverUrl = ""; private ISpeakeasyHttpClient _client; private Func? _securitySource; @@ -174,11 +174,7 @@ namespace LukeHagar.PlexAPI.SDK RawResponse = httpResponse }; } - else if(responseStatusCode == 400 || responseStatusCode >= 400 && responseStatusCode < 500 || responseStatusCode >= 500 && responseStatusCode < 600) - { - throw new SDKException("API error occurred", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); - } - else if(responseStatusCode == 401) + else if(responseStatusCode == 400) { if(Utilities.IsContentTypeMatch("application/json", contentType)) { @@ -191,6 +187,23 @@ namespace LukeHagar.PlexAPI.SDK throw new SDKException("Unknown content type received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); } } + else if(responseStatusCode == 401) + { + if(Utilities.IsContentTypeMatch("application/json", contentType)) + { + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + obj!.RawResponse = httpResponse; + throw obj!; + } + else + { + throw new SDKException("Unknown content type received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); + } + } + else if(responseStatusCode >= 400 && responseStatusCode < 500 || responseStatusCode >= 500 && responseStatusCode < 600) + { + throw new SDKException("API error occurred", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); + } else { throw new SDKException("Unknown status code received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); @@ -262,11 +275,7 @@ namespace LukeHagar.PlexAPI.SDK RawResponse = httpResponse }; } - else if(responseStatusCode == 400 || responseStatusCode >= 400 && responseStatusCode < 500 || responseStatusCode >= 500 && responseStatusCode < 600) - { - throw new SDKException("API error occurred", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); - } - else if(responseStatusCode == 401) + else if(responseStatusCode == 400) { if(Utilities.IsContentTypeMatch("application/json", contentType)) { @@ -279,6 +288,23 @@ namespace LukeHagar.PlexAPI.SDK throw new SDKException("Unknown content type received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); } } + else if(responseStatusCode == 401) + { + if(Utilities.IsContentTypeMatch("application/json", contentType)) + { + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + obj!.RawResponse = httpResponse; + throw obj!; + } + else + { + throw new SDKException("Unknown content type received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); + } + } + else if(responseStatusCode >= 400 && responseStatusCode < 500 || responseStatusCode >= 500 && responseStatusCode < 600) + { + throw new SDKException("API error occurred", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); + } else { throw new SDKException("Unknown status code received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); @@ -344,11 +370,7 @@ namespace LukeHagar.PlexAPI.SDK RawResponse = httpResponse }; } - else if(responseStatusCode == 400 || responseStatusCode == 403 || responseStatusCode >= 400 && responseStatusCode < 500 || responseStatusCode >= 500 && responseStatusCode < 600) - { - throw new SDKException("API error occurred", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); - } - else if(responseStatusCode == 401) + else if(responseStatusCode == 400) { if(Utilities.IsContentTypeMatch("application/json", contentType)) { @@ -361,6 +383,23 @@ namespace LukeHagar.PlexAPI.SDK throw new SDKException("Unknown content type received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); } } + else if(responseStatusCode == 401) + { + if(Utilities.IsContentTypeMatch("application/json", contentType)) + { + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + obj!.RawResponse = httpResponse; + throw obj!; + } + else + { + throw new SDKException("Unknown content type received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); + } + } + else if(responseStatusCode == 403 || responseStatusCode >= 400 && responseStatusCode < 500 || responseStatusCode >= 500 && responseStatusCode < 600) + { + throw new SDKException("API error occurred", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); + } else { throw new SDKException("Unknown status code received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); diff --git a/LukeHagar/PlexAPI/SDK/LukeHagar.PlexAPI.SDK.csproj b/LukeHagar/PlexAPI/SDK/LukeHagar.PlexAPI.SDK.csproj index a66c231..34dbd6f 100644 --- a/LukeHagar/PlexAPI/SDK/LukeHagar.PlexAPI.SDK.csproj +++ b/LukeHagar/PlexAPI/SDK/LukeHagar.PlexAPI.SDK.csproj @@ -3,7 +3,7 @@ true LukeHagar.PlexAPI.SDK - 0.5.3 + 0.6.0 net8.0 LukeHagar Copyright (c) LukeHagar 2024 diff --git a/LukeHagar/PlexAPI/SDK/Media.cs b/LukeHagar/PlexAPI/SDK/Media.cs index aedf31a..a4a4e5f 100644 --- a/LukeHagar/PlexAPI/SDK/Media.cs +++ b/LukeHagar/PlexAPI/SDK/Media.cs @@ -90,10 +90,10 @@ namespace LukeHagar.PlexAPI.SDK { public SDKConfig SDKConfiguration { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.5.3"; + private const string _sdkVersion = "0.6.0"; private const string _sdkGenVersion = "2.411.9"; private const string _openapiDocVersion = "0.0.3"; - private const string _userAgent = "speakeasy-sdk/csharp 0.5.3 2.411.9 0.0.3 LukeHagar.PlexAPI.SDK"; + private const string _userAgent = "speakeasy-sdk/csharp 0.6.0 2.411.9 0.0.3 LukeHagar.PlexAPI.SDK"; private string _serverUrl = ""; private ISpeakeasyHttpClient _client; private Func? _securitySource; @@ -168,11 +168,7 @@ namespace LukeHagar.PlexAPI.SDK RawResponse = httpResponse }; } - else if(responseStatusCode == 400 || responseStatusCode >= 400 && responseStatusCode < 500 || responseStatusCode >= 500 && responseStatusCode < 600) - { - throw new SDKException("API error occurred", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); - } - else if(responseStatusCode == 401) + else if(responseStatusCode == 400) { if(Utilities.IsContentTypeMatch("application/json", contentType)) { @@ -185,6 +181,23 @@ namespace LukeHagar.PlexAPI.SDK throw new SDKException("Unknown content type received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); } } + else if(responseStatusCode == 401) + { + if(Utilities.IsContentTypeMatch("application/json", contentType)) + { + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + obj!.RawResponse = httpResponse; + throw obj!; + } + else + { + throw new SDKException("Unknown content type received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); + } + } + else if(responseStatusCode >= 400 && responseStatusCode < 500 || responseStatusCode >= 500 && responseStatusCode < 600) + { + throw new SDKException("API error occurred", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); + } else { throw new SDKException("Unknown status code received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); @@ -253,11 +266,7 @@ namespace LukeHagar.PlexAPI.SDK RawResponse = httpResponse }; } - else if(responseStatusCode == 400 || responseStatusCode >= 400 && responseStatusCode < 500 || responseStatusCode >= 500 && responseStatusCode < 600) - { - throw new SDKException("API error occurred", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); - } - else if(responseStatusCode == 401) + else if(responseStatusCode == 400) { if(Utilities.IsContentTypeMatch("application/json", contentType)) { @@ -270,6 +279,23 @@ namespace LukeHagar.PlexAPI.SDK throw new SDKException("Unknown content type received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); } } + else if(responseStatusCode == 401) + { + if(Utilities.IsContentTypeMatch("application/json", contentType)) + { + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + obj!.RawResponse = httpResponse; + throw obj!; + } + else + { + throw new SDKException("Unknown content type received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); + } + } + else if(responseStatusCode >= 400 && responseStatusCode < 500 || responseStatusCode >= 500 && responseStatusCode < 600) + { + throw new SDKException("API error occurred", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); + } else { throw new SDKException("Unknown status code received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); @@ -340,11 +366,7 @@ namespace LukeHagar.PlexAPI.SDK RawResponse = httpResponse }; } - else if(responseStatusCode == 400 || responseStatusCode >= 400 && responseStatusCode < 500 || responseStatusCode >= 500 && responseStatusCode < 600) - { - throw new SDKException("API error occurred", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); - } - else if(responseStatusCode == 401) + else if(responseStatusCode == 400) { if(Utilities.IsContentTypeMatch("application/json", contentType)) { @@ -357,6 +379,23 @@ namespace LukeHagar.PlexAPI.SDK throw new SDKException("Unknown content type received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); } } + else if(responseStatusCode == 401) + { + if(Utilities.IsContentTypeMatch("application/json", contentType)) + { + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + obj!.RawResponse = httpResponse; + throw obj!; + } + else + { + throw new SDKException("Unknown content type received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); + } + } + else if(responseStatusCode >= 400 && responseStatusCode < 500 || responseStatusCode >= 500 && responseStatusCode < 600) + { + throw new SDKException("API error occurred", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); + } else { throw new SDKException("Unknown status code received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); @@ -430,11 +469,7 @@ namespace LukeHagar.PlexAPI.SDK throw new SDKException("Unknown content type received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); } } - else if(responseStatusCode == 400 || responseStatusCode >= 400 && responseStatusCode < 500 || responseStatusCode >= 500 && responseStatusCode < 600) - { - throw new SDKException("API error occurred", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); - } - else if(responseStatusCode == 401) + else if(responseStatusCode == 400) { if(Utilities.IsContentTypeMatch("application/json", contentType)) { @@ -447,6 +482,23 @@ namespace LukeHagar.PlexAPI.SDK throw new SDKException("Unknown content type received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); } } + else if(responseStatusCode == 401) + { + if(Utilities.IsContentTypeMatch("application/json", contentType)) + { + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + obj!.RawResponse = httpResponse; + throw obj!; + } + else + { + throw new SDKException("Unknown content type received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); + } + } + else if(responseStatusCode >= 400 && responseStatusCode < 500 || responseStatusCode >= 500 && responseStatusCode < 600) + { + throw new SDKException("API error occurred", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); + } else { throw new SDKException("Unknown status code received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); @@ -520,11 +572,7 @@ namespace LukeHagar.PlexAPI.SDK throw new SDKException("Unknown content type received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); } } - else if(responseStatusCode == 400 || responseStatusCode >= 400 && responseStatusCode < 500 || responseStatusCode >= 500 && responseStatusCode < 600) - { - throw new SDKException("API error occurred", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); - } - else if(responseStatusCode == 401) + else if(responseStatusCode == 400) { if(Utilities.IsContentTypeMatch("application/json", contentType)) { @@ -537,6 +585,23 @@ namespace LukeHagar.PlexAPI.SDK throw new SDKException("Unknown content type received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); } } + else if(responseStatusCode == 401) + { + if(Utilities.IsContentTypeMatch("application/json", contentType)) + { + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + obj!.RawResponse = httpResponse; + throw obj!; + } + else + { + throw new SDKException("Unknown content type received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); + } + } + else if(responseStatusCode >= 400 && responseStatusCode < 500 || responseStatusCode >= 500 && responseStatusCode < 600) + { + throw new SDKException("API error occurred", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); + } else { throw new SDKException("Unknown status code received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/AddPlaylistContentsErrors.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/AddPlaylistContentsErrors.cs index 5aef196..d0fdd2a 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/AddPlaylistContentsErrors.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/AddPlaylistContentsErrors.cs @@ -16,12 +16,12 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors { [JsonProperty("code")] - public double? Code { get; set; } + public long? Code { get; set; } [JsonProperty("message")] public string? Message { get; set; } [JsonProperty("status")] - public double? Status { get; set; } + public long? Status { get; set; } } } \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/AddPlaylistContentsPlaylistsErrors.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/AddPlaylistContentsPlaylistsErrors.cs new file mode 100644 index 0000000..5f964d8 --- /dev/null +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/AddPlaylistContentsPlaylistsErrors.cs @@ -0,0 +1,27 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace LukeHagar.PlexAPI.SDK.Models.Errors +{ + using LukeHagar.PlexAPI.SDK.Utils; + using Newtonsoft.Json; + + public class AddPlaylistContentsPlaylistsErrors + { + + [JsonProperty("code")] + public long? Code { get; set; } + + [JsonProperty("message")] + public string? Message { get; set; } + + [JsonProperty("status")] + public long? Status { get; set; } + } +} \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/AddPlaylistContentsPlaylistsResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/AddPlaylistContentsPlaylistsResponseBody.cs new file mode 100644 index 0000000..dfb4efc --- /dev/null +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/AddPlaylistContentsPlaylistsResponseBody.cs @@ -0,0 +1,34 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace LukeHagar.PlexAPI.SDK.Models.Errors +{ + using LukeHagar.PlexAPI.SDK.Models.Errors; + using LukeHagar.PlexAPI.SDK.Utils; + using Newtonsoft.Json; + using System.Collections.Generic; + using System.Net.Http; + using System; + + /// + /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + /// + public class AddPlaylistContentsPlaylistsResponseBody : Exception + { + + [JsonProperty("errors")] + public List? Errors { get; set; } + + /// + /// Raw HTTP response; suitable for custom response parsing + /// + [JsonProperty("-")] + public HttpResponseMessage? RawResponse { get; set; } + } +} \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/AddPlaylistContentsResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/AddPlaylistContentsResponseBody.cs index 02ae9db..995ea0a 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/AddPlaylistContentsResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/AddPlaylistContentsResponseBody.cs @@ -17,7 +17,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using System; /// - /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + /// Bad Request - A parameter was not specified, or was specified incorrectly. /// public class AddPlaylistContentsResponseBody : Exception { diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/ApplyUpdatesErrors.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/ApplyUpdatesErrors.cs index 9c2807b..ab2642a 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/ApplyUpdatesErrors.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/ApplyUpdatesErrors.cs @@ -16,12 +16,12 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors { [JsonProperty("code")] - public double? Code { get; set; } + public long? Code { get; set; } [JsonProperty("message")] public string? Message { get; set; } [JsonProperty("status")] - public double? Status { get; set; } + public long? Status { get; set; } } } \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/ApplyUpdatesResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/ApplyUpdatesResponseBody.cs index 30a94cb..87baa86 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/ApplyUpdatesResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/ApplyUpdatesResponseBody.cs @@ -17,7 +17,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using System; /// - /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + /// Bad Request - A parameter was not specified, or was specified incorrectly. /// public class ApplyUpdatesResponseBody : Exception { diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/ApplyUpdatesUpdaterErrors.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/ApplyUpdatesUpdaterErrors.cs new file mode 100644 index 0000000..b29d460 --- /dev/null +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/ApplyUpdatesUpdaterErrors.cs @@ -0,0 +1,27 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace LukeHagar.PlexAPI.SDK.Models.Errors +{ + using LukeHagar.PlexAPI.SDK.Utils; + using Newtonsoft.Json; + + public class ApplyUpdatesUpdaterErrors + { + + [JsonProperty("code")] + public long? Code { get; set; } + + [JsonProperty("message")] + public string? Message { get; set; } + + [JsonProperty("status")] + public long? Status { get; set; } + } +} \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/ApplyUpdatesUpdaterResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/ApplyUpdatesUpdaterResponseBody.cs new file mode 100644 index 0000000..4f30eb0 --- /dev/null +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/ApplyUpdatesUpdaterResponseBody.cs @@ -0,0 +1,34 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace LukeHagar.PlexAPI.SDK.Models.Errors +{ + using LukeHagar.PlexAPI.SDK.Models.Errors; + using LukeHagar.PlexAPI.SDK.Utils; + using Newtonsoft.Json; + using System.Collections.Generic; + using System.Net.Http; + using System; + + /// + /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + /// + public class ApplyUpdatesUpdaterResponseBody : Exception + { + + [JsonProperty("errors")] + public List? Errors { get; set; } + + /// + /// Raw HTTP response; suitable for custom response parsing + /// + [JsonProperty("-")] + public HttpResponseMessage? RawResponse { get; set; } + } +} \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/CancelServerActivitiesActivitiesErrors.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/CancelServerActivitiesActivitiesErrors.cs new file mode 100644 index 0000000..0b51ef0 --- /dev/null +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/CancelServerActivitiesActivitiesErrors.cs @@ -0,0 +1,27 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace LukeHagar.PlexAPI.SDK.Models.Errors +{ + using LukeHagar.PlexAPI.SDK.Utils; + using Newtonsoft.Json; + + public class CancelServerActivitiesActivitiesErrors + { + + [JsonProperty("code")] + public long? Code { get; set; } + + [JsonProperty("message")] + public string? Message { get; set; } + + [JsonProperty("status")] + public long? Status { get; set; } + } +} \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/CancelServerActivitiesActivitiesResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/CancelServerActivitiesActivitiesResponseBody.cs new file mode 100644 index 0000000..78c4479 --- /dev/null +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/CancelServerActivitiesActivitiesResponseBody.cs @@ -0,0 +1,34 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace LukeHagar.PlexAPI.SDK.Models.Errors +{ + using LukeHagar.PlexAPI.SDK.Models.Errors; + using LukeHagar.PlexAPI.SDK.Utils; + using Newtonsoft.Json; + using System.Collections.Generic; + using System.Net.Http; + using System; + + /// + /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + /// + public class CancelServerActivitiesActivitiesResponseBody : Exception + { + + [JsonProperty("errors")] + public List? Errors { get; set; } + + /// + /// Raw HTTP response; suitable for custom response parsing + /// + [JsonProperty("-")] + public HttpResponseMessage? RawResponse { get; set; } + } +} \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/CancelServerActivitiesErrors.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/CancelServerActivitiesErrors.cs index 70fecc7..b0ccb1b 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/CancelServerActivitiesErrors.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/CancelServerActivitiesErrors.cs @@ -16,12 +16,12 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors { [JsonProperty("code")] - public double? Code { get; set; } + public long? Code { get; set; } [JsonProperty("message")] public string? Message { get; set; } [JsonProperty("status")] - public double? Status { get; set; } + public long? Status { get; set; } } } \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/CancelServerActivitiesResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/CancelServerActivitiesResponseBody.cs index 3d245e0..878120c 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/CancelServerActivitiesResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/CancelServerActivitiesResponseBody.cs @@ -17,7 +17,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using System; /// - /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + /// Bad Request - A parameter was not specified, or was specified incorrectly. /// public class CancelServerActivitiesResponseBody : Exception { diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/CheckForUpdatesErrors.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/CheckForUpdatesErrors.cs index 8909f67..f9c8775 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/CheckForUpdatesErrors.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/CheckForUpdatesErrors.cs @@ -16,12 +16,12 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors { [JsonProperty("code")] - public double? Code { get; set; } + public long? Code { get; set; } [JsonProperty("message")] public string? Message { get; set; } [JsonProperty("status")] - public double? Status { get; set; } + public long? Status { get; set; } } } \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/CheckForUpdatesResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/CheckForUpdatesResponseBody.cs index 52d4b39..23bde90 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/CheckForUpdatesResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/CheckForUpdatesResponseBody.cs @@ -17,7 +17,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using System; /// - /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + /// Bad Request - A parameter was not specified, or was specified incorrectly. /// public class CheckForUpdatesResponseBody : Exception { diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/CheckForUpdatesUpdaterErrors.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/CheckForUpdatesUpdaterErrors.cs new file mode 100644 index 0000000..39f89f7 --- /dev/null +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/CheckForUpdatesUpdaterErrors.cs @@ -0,0 +1,27 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace LukeHagar.PlexAPI.SDK.Models.Errors +{ + using LukeHagar.PlexAPI.SDK.Utils; + using Newtonsoft.Json; + + public class CheckForUpdatesUpdaterErrors + { + + [JsonProperty("code")] + public long? Code { get; set; } + + [JsonProperty("message")] + public string? Message { get; set; } + + [JsonProperty("status")] + public long? Status { get; set; } + } +} \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/CheckForUpdatesUpdaterResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/CheckForUpdatesUpdaterResponseBody.cs new file mode 100644 index 0000000..71868ae --- /dev/null +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/CheckForUpdatesUpdaterResponseBody.cs @@ -0,0 +1,34 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace LukeHagar.PlexAPI.SDK.Models.Errors +{ + using LukeHagar.PlexAPI.SDK.Models.Errors; + using LukeHagar.PlexAPI.SDK.Utils; + using Newtonsoft.Json; + using System.Collections.Generic; + using System.Net.Http; + using System; + + /// + /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + /// + public class CheckForUpdatesUpdaterResponseBody : Exception + { + + [JsonProperty("errors")] + public List? Errors { get; set; } + + /// + /// Raw HTTP response; suitable for custom response parsing + /// + [JsonProperty("-")] + public HttpResponseMessage? RawResponse { get; set; } + } +} \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/ClearPlaylistContentsErrors.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/ClearPlaylistContentsErrors.cs index d1e5043..6f7a778 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/ClearPlaylistContentsErrors.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/ClearPlaylistContentsErrors.cs @@ -16,12 +16,12 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors { [JsonProperty("code")] - public double? Code { get; set; } + public long? Code { get; set; } [JsonProperty("message")] public string? Message { get; set; } [JsonProperty("status")] - public double? Status { get; set; } + public long? Status { get; set; } } } \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/ClearPlaylistContentsPlaylistsErrors.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/ClearPlaylistContentsPlaylistsErrors.cs new file mode 100644 index 0000000..382e838 --- /dev/null +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/ClearPlaylistContentsPlaylistsErrors.cs @@ -0,0 +1,27 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace LukeHagar.PlexAPI.SDK.Models.Errors +{ + using LukeHagar.PlexAPI.SDK.Utils; + using Newtonsoft.Json; + + public class ClearPlaylistContentsPlaylistsErrors + { + + [JsonProperty("code")] + public long? Code { get; set; } + + [JsonProperty("message")] + public string? Message { get; set; } + + [JsonProperty("status")] + public long? Status { get; set; } + } +} \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/ClearPlaylistContentsPlaylistsResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/ClearPlaylistContentsPlaylistsResponseBody.cs new file mode 100644 index 0000000..390cfe7 --- /dev/null +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/ClearPlaylistContentsPlaylistsResponseBody.cs @@ -0,0 +1,34 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace LukeHagar.PlexAPI.SDK.Models.Errors +{ + using LukeHagar.PlexAPI.SDK.Models.Errors; + using LukeHagar.PlexAPI.SDK.Utils; + using Newtonsoft.Json; + using System.Collections.Generic; + using System.Net.Http; + using System; + + /// + /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + /// + public class ClearPlaylistContentsPlaylistsResponseBody : Exception + { + + [JsonProperty("errors")] + public List? Errors { get; set; } + + /// + /// Raw HTTP response; suitable for custom response parsing + /// + [JsonProperty("-")] + public HttpResponseMessage? RawResponse { get; set; } + } +} \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/ClearPlaylistContentsResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/ClearPlaylistContentsResponseBody.cs index fef620a..453a8de 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/ClearPlaylistContentsResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/ClearPlaylistContentsResponseBody.cs @@ -17,7 +17,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using System; /// - /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + /// Bad Request - A parameter was not specified, or was specified incorrectly. /// public class ClearPlaylistContentsResponseBody : Exception { diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/CreatePlaylistErrors.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/CreatePlaylistErrors.cs index 38977b0..dbed159 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/CreatePlaylistErrors.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/CreatePlaylistErrors.cs @@ -16,12 +16,12 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors { [JsonProperty("code")] - public double? Code { get; set; } + public long? Code { get; set; } [JsonProperty("message")] public string? Message { get; set; } [JsonProperty("status")] - public double? Status { get; set; } + public long? Status { get; set; } } } \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/CreatePlaylistPlaylistsErrors.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/CreatePlaylistPlaylistsErrors.cs new file mode 100644 index 0000000..fb40e80 --- /dev/null +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/CreatePlaylistPlaylistsErrors.cs @@ -0,0 +1,27 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace LukeHagar.PlexAPI.SDK.Models.Errors +{ + using LukeHagar.PlexAPI.SDK.Utils; + using Newtonsoft.Json; + + public class CreatePlaylistPlaylistsErrors + { + + [JsonProperty("code")] + public long? Code { get; set; } + + [JsonProperty("message")] + public string? Message { get; set; } + + [JsonProperty("status")] + public long? Status { get; set; } + } +} \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/CreatePlaylistPlaylistsResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/CreatePlaylistPlaylistsResponseBody.cs new file mode 100644 index 0000000..088e90f --- /dev/null +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/CreatePlaylistPlaylistsResponseBody.cs @@ -0,0 +1,34 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace LukeHagar.PlexAPI.SDK.Models.Errors +{ + using LukeHagar.PlexAPI.SDK.Models.Errors; + using LukeHagar.PlexAPI.SDK.Utils; + using Newtonsoft.Json; + using System.Collections.Generic; + using System.Net.Http; + using System; + + /// + /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + /// + public class CreatePlaylistPlaylistsResponseBody : Exception + { + + [JsonProperty("errors")] + public List? Errors { get; set; } + + /// + /// Raw HTTP response; suitable for custom response parsing + /// + [JsonProperty("-")] + public HttpResponseMessage? RawResponse { get; set; } + } +} \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/CreatePlaylistResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/CreatePlaylistResponseBody.cs index e047eeb..67654f5 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/CreatePlaylistResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/CreatePlaylistResponseBody.cs @@ -17,7 +17,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using System; /// - /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + /// Bad Request - A parameter was not specified, or was specified incorrectly. /// public class CreatePlaylistResponseBody : Exception { diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/DeleteLibraryErrors.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/DeleteLibraryErrors.cs index eb95e88..1372ee1 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/DeleteLibraryErrors.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/DeleteLibraryErrors.cs @@ -16,12 +16,12 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors { [JsonProperty("code")] - public double? Code { get; set; } + public long? Code { get; set; } [JsonProperty("message")] public string? Message { get; set; } [JsonProperty("status")] - public double? Status { get; set; } + public long? Status { get; set; } } } \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/DeleteLibraryLibraryErrors.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/DeleteLibraryLibraryErrors.cs new file mode 100644 index 0000000..421d6bf --- /dev/null +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/DeleteLibraryLibraryErrors.cs @@ -0,0 +1,27 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace LukeHagar.PlexAPI.SDK.Models.Errors +{ + using LukeHagar.PlexAPI.SDK.Utils; + using Newtonsoft.Json; + + public class DeleteLibraryLibraryErrors + { + + [JsonProperty("code")] + public long? Code { get; set; } + + [JsonProperty("message")] + public string? Message { get; set; } + + [JsonProperty("status")] + public long? Status { get; set; } + } +} \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/DeleteLibraryLibraryResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/DeleteLibraryLibraryResponseBody.cs new file mode 100644 index 0000000..eb69160 --- /dev/null +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/DeleteLibraryLibraryResponseBody.cs @@ -0,0 +1,34 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace LukeHagar.PlexAPI.SDK.Models.Errors +{ + using LukeHagar.PlexAPI.SDK.Models.Errors; + using LukeHagar.PlexAPI.SDK.Utils; + using Newtonsoft.Json; + using System.Collections.Generic; + using System.Net.Http; + using System; + + /// + /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + /// + public class DeleteLibraryLibraryResponseBody : Exception + { + + [JsonProperty("errors")] + public List? Errors { get; set; } + + /// + /// Raw HTTP response; suitable for custom response parsing + /// + [JsonProperty("-")] + public HttpResponseMessage? RawResponse { get; set; } + } +} \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/DeleteLibraryResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/DeleteLibraryResponseBody.cs index b8be7d7..46b71b9 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/DeleteLibraryResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/DeleteLibraryResponseBody.cs @@ -17,7 +17,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using System; /// - /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + /// Bad Request - A parameter was not specified, or was specified incorrectly. /// public class DeleteLibraryResponseBody : Exception { diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/DeletePlaylistErrors.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/DeletePlaylistErrors.cs index 69f291d..a812ecf 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/DeletePlaylistErrors.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/DeletePlaylistErrors.cs @@ -16,12 +16,12 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors { [JsonProperty("code")] - public double? Code { get; set; } + public long? Code { get; set; } [JsonProperty("message")] public string? Message { get; set; } [JsonProperty("status")] - public double? Status { get; set; } + public long? Status { get; set; } } } \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/DeletePlaylistPlaylistsErrors.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/DeletePlaylistPlaylistsErrors.cs new file mode 100644 index 0000000..3ca408a --- /dev/null +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/DeletePlaylistPlaylistsErrors.cs @@ -0,0 +1,27 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace LukeHagar.PlexAPI.SDK.Models.Errors +{ + using LukeHagar.PlexAPI.SDK.Utils; + using Newtonsoft.Json; + + public class DeletePlaylistPlaylistsErrors + { + + [JsonProperty("code")] + public long? Code { get; set; } + + [JsonProperty("message")] + public string? Message { get; set; } + + [JsonProperty("status")] + public long? Status { get; set; } + } +} \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/DeletePlaylistPlaylistsResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/DeletePlaylistPlaylistsResponseBody.cs new file mode 100644 index 0000000..ded620a --- /dev/null +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/DeletePlaylistPlaylistsResponseBody.cs @@ -0,0 +1,34 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace LukeHagar.PlexAPI.SDK.Models.Errors +{ + using LukeHagar.PlexAPI.SDK.Models.Errors; + using LukeHagar.PlexAPI.SDK.Utils; + using Newtonsoft.Json; + using System.Collections.Generic; + using System.Net.Http; + using System; + + /// + /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + /// + public class DeletePlaylistPlaylistsResponseBody : Exception + { + + [JsonProperty("errors")] + public List? Errors { get; set; } + + /// + /// Raw HTTP response; suitable for custom response parsing + /// + [JsonProperty("-")] + public HttpResponseMessage? RawResponse { get; set; } + } +} \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/DeletePlaylistResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/DeletePlaylistResponseBody.cs index e93d04e..0fbc0c9 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/DeletePlaylistResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/DeletePlaylistResponseBody.cs @@ -17,7 +17,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using System; /// - /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + /// Bad Request - A parameter was not specified, or was specified incorrectly. /// public class DeletePlaylistResponseBody : Exception { diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/EnablePaperTrailErrors.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/EnablePaperTrailErrors.cs index f8db376..b5f8be2 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/EnablePaperTrailErrors.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/EnablePaperTrailErrors.cs @@ -16,12 +16,12 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors { [JsonProperty("code")] - public double? Code { get; set; } + public long? Code { get; set; } [JsonProperty("message")] public string? Message { get; set; } [JsonProperty("status")] - public double? Status { get; set; } + public long? Status { get; set; } } } \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/EnablePaperTrailLogErrors.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/EnablePaperTrailLogErrors.cs new file mode 100644 index 0000000..e203d8b --- /dev/null +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/EnablePaperTrailLogErrors.cs @@ -0,0 +1,27 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace LukeHagar.PlexAPI.SDK.Models.Errors +{ + using LukeHagar.PlexAPI.SDK.Utils; + using Newtonsoft.Json; + + public class EnablePaperTrailLogErrors + { + + [JsonProperty("code")] + public long? Code { get; set; } + + [JsonProperty("message")] + public string? Message { get; set; } + + [JsonProperty("status")] + public long? Status { get; set; } + } +} \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/EnablePaperTrailLogResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/EnablePaperTrailLogResponseBody.cs new file mode 100644 index 0000000..2de87d1 --- /dev/null +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/EnablePaperTrailLogResponseBody.cs @@ -0,0 +1,34 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace LukeHagar.PlexAPI.SDK.Models.Errors +{ + using LukeHagar.PlexAPI.SDK.Models.Errors; + using LukeHagar.PlexAPI.SDK.Utils; + using Newtonsoft.Json; + using System.Collections.Generic; + using System.Net.Http; + using System; + + /// + /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + /// + public class EnablePaperTrailLogResponseBody : Exception + { + + [JsonProperty("errors")] + public List? Errors { get; set; } + + /// + /// Raw HTTP response; suitable for custom response parsing + /// + [JsonProperty("-")] + public HttpResponseMessage? RawResponse { get; set; } + } +} \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/EnablePaperTrailResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/EnablePaperTrailResponseBody.cs index d72a183..8b4908e 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/EnablePaperTrailResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/EnablePaperTrailResponseBody.cs @@ -17,7 +17,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using System; /// - /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + /// Bad Request - A parameter was not specified, or was specified incorrectly. /// public class EnablePaperTrailResponseBody : Exception { diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/Errors.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/Errors.cs index 9f3d1d0..86fa77b 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/Errors.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/Errors.cs @@ -16,12 +16,12 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors { [JsonProperty("code")] - public double? Code { get; set; } + public long? Code { get; set; } [JsonProperty("message")] public string? Message { get; set; } [JsonProperty("status")] - public double? Status { get; set; } + public long? Status { get; set; } } } \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetAllLibrariesErrors.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetAllLibrariesErrors.cs index 02a2f63..9cc9534 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetAllLibrariesErrors.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetAllLibrariesErrors.cs @@ -16,12 +16,12 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors { [JsonProperty("code")] - public double? Code { get; set; } + public long? Code { get; set; } [JsonProperty("message")] public string? Message { get; set; } [JsonProperty("status")] - public double? Status { get; set; } + public long? Status { get; set; } } } \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetAllLibrariesLibraryErrors.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetAllLibrariesLibraryErrors.cs new file mode 100644 index 0000000..9fa987a --- /dev/null +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetAllLibrariesLibraryErrors.cs @@ -0,0 +1,27 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace LukeHagar.PlexAPI.SDK.Models.Errors +{ + using LukeHagar.PlexAPI.SDK.Utils; + using Newtonsoft.Json; + + public class GetAllLibrariesLibraryErrors + { + + [JsonProperty("code")] + public long? Code { get; set; } + + [JsonProperty("message")] + public string? Message { get; set; } + + [JsonProperty("status")] + public long? Status { get; set; } + } +} \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetAllLibrariesLibraryResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetAllLibrariesLibraryResponseBody.cs new file mode 100644 index 0000000..5805e75 --- /dev/null +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetAllLibrariesLibraryResponseBody.cs @@ -0,0 +1,34 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace LukeHagar.PlexAPI.SDK.Models.Errors +{ + using LukeHagar.PlexAPI.SDK.Models.Errors; + using LukeHagar.PlexAPI.SDK.Utils; + using Newtonsoft.Json; + using System.Collections.Generic; + using System.Net.Http; + using System; + + /// + /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + /// + public class GetAllLibrariesLibraryResponseBody : Exception + { + + [JsonProperty("errors")] + public List? Errors { get; set; } + + /// + /// Raw HTTP response; suitable for custom response parsing + /// + [JsonProperty("-")] + public HttpResponseMessage? RawResponse { get; set; } + } +} \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetAllLibrariesResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetAllLibrariesResponseBody.cs index 589c61e..14e9014 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetAllLibrariesResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetAllLibrariesResponseBody.cs @@ -17,7 +17,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using System; /// - /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + /// Bad Request - A parameter was not specified, or was specified incorrectly. /// public class GetAllLibrariesResponseBody : Exception { diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetAvailableClientsErrors.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetAvailableClientsErrors.cs index 9c8ea06..a15bca2 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetAvailableClientsErrors.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetAvailableClientsErrors.cs @@ -16,12 +16,12 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors { [JsonProperty("code")] - public double? Code { get; set; } + public long? Code { get; set; } [JsonProperty("message")] public string? Message { get; set; } [JsonProperty("status")] - public double? Status { get; set; } + public long? Status { get; set; } } } \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetAvailableClientsResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetAvailableClientsResponseBody.cs index bdba0f7..ff62632 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetAvailableClientsResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetAvailableClientsResponseBody.cs @@ -17,7 +17,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using System; /// - /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + /// Bad Request - A parameter was not specified, or was specified incorrectly. /// public class GetAvailableClientsResponseBody : Exception { diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetAvailableClientsServerErrors.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetAvailableClientsServerErrors.cs new file mode 100644 index 0000000..c8384c5 --- /dev/null +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetAvailableClientsServerErrors.cs @@ -0,0 +1,27 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace LukeHagar.PlexAPI.SDK.Models.Errors +{ + using LukeHagar.PlexAPI.SDK.Utils; + using Newtonsoft.Json; + + public class GetAvailableClientsServerErrors + { + + [JsonProperty("code")] + public long? Code { get; set; } + + [JsonProperty("message")] + public string? Message { get; set; } + + [JsonProperty("status")] + public long? Status { get; set; } + } +} \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetAvailableClientsServerResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetAvailableClientsServerResponseBody.cs new file mode 100644 index 0000000..2fd0868 --- /dev/null +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetAvailableClientsServerResponseBody.cs @@ -0,0 +1,34 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace LukeHagar.PlexAPI.SDK.Models.Errors +{ + using LukeHagar.PlexAPI.SDK.Models.Errors; + using LukeHagar.PlexAPI.SDK.Utils; + using Newtonsoft.Json; + using System.Collections.Generic; + using System.Net.Http; + using System; + + /// + /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + /// + public class GetAvailableClientsServerResponseBody : Exception + { + + [JsonProperty("errors")] + public List? Errors { get; set; } + + /// + /// Raw HTTP response; suitable for custom response parsing + /// + [JsonProperty("-")] + public HttpResponseMessage? RawResponse { get; set; } + } +} \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetBandwidthStatisticsErrors.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetBandwidthStatisticsErrors.cs index bdf9cef..0cb1c1c 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetBandwidthStatisticsErrors.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetBandwidthStatisticsErrors.cs @@ -16,12 +16,12 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors { [JsonProperty("code")] - public double? Code { get; set; } + public long? Code { get; set; } [JsonProperty("message")] public string? Message { get; set; } [JsonProperty("status")] - public double? Status { get; set; } + public long? Status { get; set; } } } \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetBandwidthStatisticsResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetBandwidthStatisticsResponseBody.cs index 19b6b3e..48f0189 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetBandwidthStatisticsResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetBandwidthStatisticsResponseBody.cs @@ -17,7 +17,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using System; /// - /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + /// Bad Request - A parameter was not specified, or was specified incorrectly. /// public class GetBandwidthStatisticsResponseBody : Exception { diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetBandwidthStatisticsStatisticsErrors.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetBandwidthStatisticsStatisticsErrors.cs new file mode 100644 index 0000000..c9d6679 --- /dev/null +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetBandwidthStatisticsStatisticsErrors.cs @@ -0,0 +1,27 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace LukeHagar.PlexAPI.SDK.Models.Errors +{ + using LukeHagar.PlexAPI.SDK.Utils; + using Newtonsoft.Json; + + public class GetBandwidthStatisticsStatisticsErrors + { + + [JsonProperty("code")] + public long? Code { get; set; } + + [JsonProperty("message")] + public string? Message { get; set; } + + [JsonProperty("status")] + public long? Status { get; set; } + } +} \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetBandwidthStatisticsStatisticsResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetBandwidthStatisticsStatisticsResponseBody.cs new file mode 100644 index 0000000..1a6f536 --- /dev/null +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetBandwidthStatisticsStatisticsResponseBody.cs @@ -0,0 +1,34 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace LukeHagar.PlexAPI.SDK.Models.Errors +{ + using LukeHagar.PlexAPI.SDK.Models.Errors; + using LukeHagar.PlexAPI.SDK.Utils; + using Newtonsoft.Json; + using System.Collections.Generic; + using System.Net.Http; + using System; + + /// + /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + /// + public class GetBandwidthStatisticsStatisticsResponseBody : Exception + { + + [JsonProperty("errors")] + public List? Errors { get; set; } + + /// + /// Raw HTTP response; suitable for custom response parsing + /// + [JsonProperty("-")] + public HttpResponseMessage? RawResponse { get; set; } + } +} \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetBannerImageErrors.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetBannerImageErrors.cs index 3d311bb..d515fbb 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetBannerImageErrors.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetBannerImageErrors.cs @@ -16,12 +16,12 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors { [JsonProperty("code")] - public double? Code { get; set; } + public long? Code { get; set; } [JsonProperty("message")] public string? Message { get; set; } [JsonProperty("status")] - public double? Status { get; set; } + public long? Status { get; set; } } } \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetBannerImageMediaErrors.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetBannerImageMediaErrors.cs new file mode 100644 index 0000000..05c8507 --- /dev/null +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetBannerImageMediaErrors.cs @@ -0,0 +1,27 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace LukeHagar.PlexAPI.SDK.Models.Errors +{ + using LukeHagar.PlexAPI.SDK.Utils; + using Newtonsoft.Json; + + public class GetBannerImageMediaErrors + { + + [JsonProperty("code")] + public long? Code { get; set; } + + [JsonProperty("message")] + public string? Message { get; set; } + + [JsonProperty("status")] + public long? Status { get; set; } + } +} \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetBannerImageMediaResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetBannerImageMediaResponseBody.cs new file mode 100644 index 0000000..bcbd838 --- /dev/null +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetBannerImageMediaResponseBody.cs @@ -0,0 +1,34 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace LukeHagar.PlexAPI.SDK.Models.Errors +{ + using LukeHagar.PlexAPI.SDK.Models.Errors; + using LukeHagar.PlexAPI.SDK.Utils; + using Newtonsoft.Json; + using System.Collections.Generic; + using System.Net.Http; + using System; + + /// + /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + /// + public class GetBannerImageMediaResponseBody : Exception + { + + [JsonProperty("errors")] + public List? Errors { get; set; } + + /// + /// Raw HTTP response; suitable for custom response parsing + /// + [JsonProperty("-")] + public HttpResponseMessage? RawResponse { get; set; } + } +} \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetBannerImageResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetBannerImageResponseBody.cs index 6f1e2c4..a1bf8e5 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetBannerImageResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetBannerImageResponseBody.cs @@ -17,7 +17,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using System; /// - /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + /// Bad Request - A parameter was not specified, or was specified incorrectly. /// public class GetBannerImageResponseBody : Exception { diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetButlerTasksButlerErrors.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetButlerTasksButlerErrors.cs new file mode 100644 index 0000000..733cdc5 --- /dev/null +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetButlerTasksButlerErrors.cs @@ -0,0 +1,27 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace LukeHagar.PlexAPI.SDK.Models.Errors +{ + using LukeHagar.PlexAPI.SDK.Utils; + using Newtonsoft.Json; + + public class GetButlerTasksButlerErrors + { + + [JsonProperty("code")] + public long? Code { get; set; } + + [JsonProperty("message")] + public string? Message { get; set; } + + [JsonProperty("status")] + public long? Status { get; set; } + } +} \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetButlerTasksButlerResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetButlerTasksButlerResponseBody.cs new file mode 100644 index 0000000..6b6f476 --- /dev/null +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetButlerTasksButlerResponseBody.cs @@ -0,0 +1,34 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace LukeHagar.PlexAPI.SDK.Models.Errors +{ + using LukeHagar.PlexAPI.SDK.Models.Errors; + using LukeHagar.PlexAPI.SDK.Utils; + using Newtonsoft.Json; + using System.Collections.Generic; + using System.Net.Http; + using System; + + /// + /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + /// + public class GetButlerTasksButlerResponseBody : Exception + { + + [JsonProperty("errors")] + public List? Errors { get; set; } + + /// + /// Raw HTTP response; suitable for custom response parsing + /// + [JsonProperty("-")] + public HttpResponseMessage? RawResponse { get; set; } + } +} \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetButlerTasksErrors.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetButlerTasksErrors.cs index 204f5f6..7e84a38 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetButlerTasksErrors.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetButlerTasksErrors.cs @@ -16,12 +16,12 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors { [JsonProperty("code")] - public double? Code { get; set; } + public long? Code { get; set; } [JsonProperty("message")] public string? Message { get; set; } [JsonProperty("status")] - public double? Status { get; set; } + public long? Status { get; set; } } } \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetButlerTasksResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetButlerTasksResponseBody.cs index 9b6de71..0908fdb 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetButlerTasksResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetButlerTasksResponseBody.cs @@ -17,7 +17,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using System; /// - /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + /// Bad Request - A parameter was not specified, or was specified incorrectly. /// public class GetButlerTasksResponseBody : Exception { diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetCompanionsDataErrors.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetCompanionsDataErrors.cs index fc2b70f..bea23eb 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetCompanionsDataErrors.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetCompanionsDataErrors.cs @@ -16,12 +16,12 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors { [JsonProperty("code")] - public double? Code { get; set; } + public long? Code { get; set; } [JsonProperty("message")] public string? Message { get; set; } [JsonProperty("status")] - public double? Status { get; set; } + public long? Status { get; set; } } } \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetCompanionsDataPlexErrors.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetCompanionsDataPlexErrors.cs new file mode 100644 index 0000000..08d4d01 --- /dev/null +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetCompanionsDataPlexErrors.cs @@ -0,0 +1,27 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace LukeHagar.PlexAPI.SDK.Models.Errors +{ + using LukeHagar.PlexAPI.SDK.Utils; + using Newtonsoft.Json; + + public class GetCompanionsDataPlexErrors + { + + [JsonProperty("code")] + public long? Code { get; set; } + + [JsonProperty("message")] + public string? Message { get; set; } + + [JsonProperty("status")] + public long? Status { get; set; } + } +} \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetCompanionsDataPlexResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetCompanionsDataPlexResponseBody.cs new file mode 100644 index 0000000..2f46142 --- /dev/null +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetCompanionsDataPlexResponseBody.cs @@ -0,0 +1,34 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace LukeHagar.PlexAPI.SDK.Models.Errors +{ + using LukeHagar.PlexAPI.SDK.Models.Errors; + using LukeHagar.PlexAPI.SDK.Utils; + using Newtonsoft.Json; + using System.Collections.Generic; + using System.Net.Http; + using System; + + /// + /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + /// + public class GetCompanionsDataPlexResponseBody : Exception + { + + [JsonProperty("errors")] + public List? Errors { get; set; } + + /// + /// Raw HTTP response; suitable for custom response parsing + /// + [JsonProperty("-")] + public HttpResponseMessage? RawResponse { get; set; } + } +} \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetCompanionsDataResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetCompanionsDataResponseBody.cs index 45c2dd8..8065a99 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetCompanionsDataResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetCompanionsDataResponseBody.cs @@ -17,7 +17,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using System; /// - /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + /// Bad Request - A parameter was not specified, or was specified incorrectly. /// public class GetCompanionsDataResponseBody : Exception { diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetDevicesErrors.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetDevicesErrors.cs index b12df13..54586eb 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetDevicesErrors.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetDevicesErrors.cs @@ -16,12 +16,12 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors { [JsonProperty("code")] - public double? Code { get; set; } + public long? Code { get; set; } [JsonProperty("message")] public string? Message { get; set; } [JsonProperty("status")] - public double? Status { get; set; } + public long? Status { get; set; } } } \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetDevicesResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetDevicesResponseBody.cs index 113f69f..806c70d 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetDevicesResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetDevicesResponseBody.cs @@ -17,7 +17,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using System; /// - /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + /// Bad Request - A parameter was not specified, or was specified incorrectly. /// public class GetDevicesResponseBody : Exception { diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetDevicesServerErrors.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetDevicesServerErrors.cs new file mode 100644 index 0000000..0fa7499 --- /dev/null +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetDevicesServerErrors.cs @@ -0,0 +1,27 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace LukeHagar.PlexAPI.SDK.Models.Errors +{ + using LukeHagar.PlexAPI.SDK.Utils; + using Newtonsoft.Json; + + public class GetDevicesServerErrors + { + + [JsonProperty("code")] + public long? Code { get; set; } + + [JsonProperty("message")] + public string? Message { get; set; } + + [JsonProperty("status")] + public long? Status { get; set; } + } +} \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetDevicesServerResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetDevicesServerResponseBody.cs new file mode 100644 index 0000000..a5e2e4c --- /dev/null +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetDevicesServerResponseBody.cs @@ -0,0 +1,34 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace LukeHagar.PlexAPI.SDK.Models.Errors +{ + using LukeHagar.PlexAPI.SDK.Models.Errors; + using LukeHagar.PlexAPI.SDK.Utils; + using Newtonsoft.Json; + using System.Collections.Generic; + using System.Net.Http; + using System; + + /// + /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + /// + public class GetDevicesServerResponseBody : Exception + { + + [JsonProperty("errors")] + public List? Errors { get; set; } + + /// + /// Raw HTTP response; suitable for custom response parsing + /// + [JsonProperty("-")] + public HttpResponseMessage? RawResponse { get; set; } + } +} \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetFileHashErrors.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetFileHashErrors.cs index c58f386..f38a6d3 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetFileHashErrors.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetFileHashErrors.cs @@ -16,12 +16,12 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors { [JsonProperty("code")] - public double? Code { get; set; } + public long? Code { get; set; } [JsonProperty("message")] public string? Message { get; set; } [JsonProperty("status")] - public double? Status { get; set; } + public long? Status { get; set; } } } \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetFileHashLibraryErrors.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetFileHashLibraryErrors.cs new file mode 100644 index 0000000..3dc6375 --- /dev/null +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetFileHashLibraryErrors.cs @@ -0,0 +1,27 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace LukeHagar.PlexAPI.SDK.Models.Errors +{ + using LukeHagar.PlexAPI.SDK.Utils; + using Newtonsoft.Json; + + public class GetFileHashLibraryErrors + { + + [JsonProperty("code")] + public long? Code { get; set; } + + [JsonProperty("message")] + public string? Message { get; set; } + + [JsonProperty("status")] + public long? Status { get; set; } + } +} \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetFileHashLibraryResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetFileHashLibraryResponseBody.cs new file mode 100644 index 0000000..e5552f8 --- /dev/null +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetFileHashLibraryResponseBody.cs @@ -0,0 +1,34 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace LukeHagar.PlexAPI.SDK.Models.Errors +{ + using LukeHagar.PlexAPI.SDK.Models.Errors; + using LukeHagar.PlexAPI.SDK.Utils; + using Newtonsoft.Json; + using System.Collections.Generic; + using System.Net.Http; + using System; + + /// + /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + /// + public class GetFileHashLibraryResponseBody : Exception + { + + [JsonProperty("errors")] + public List? Errors { get; set; } + + /// + /// Raw HTTP response; suitable for custom response parsing + /// + [JsonProperty("-")] + public HttpResponseMessage? RawResponse { get; set; } + } +} \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetFileHashResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetFileHashResponseBody.cs index ecfda4d..c223647 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetFileHashResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetFileHashResponseBody.cs @@ -17,7 +17,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using System; /// - /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + /// Bad Request - A parameter was not specified, or was specified incorrectly. /// public class GetFileHashResponseBody : Exception { diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetGeoDataErrors.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetGeoDataErrors.cs index 7bd688b..d494b95 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetGeoDataErrors.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetGeoDataErrors.cs @@ -16,12 +16,12 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors { [JsonProperty("code")] - public double? Code { get; set; } + public long? Code { get; set; } [JsonProperty("message")] public string? Message { get; set; } [JsonProperty("status")] - public double? Status { get; set; } + public long? Status { get; set; } } } \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetGeoDataPlexErrors.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetGeoDataPlexErrors.cs new file mode 100644 index 0000000..2466eec --- /dev/null +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetGeoDataPlexErrors.cs @@ -0,0 +1,27 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace LukeHagar.PlexAPI.SDK.Models.Errors +{ + using LukeHagar.PlexAPI.SDK.Utils; + using Newtonsoft.Json; + + public class GetGeoDataPlexErrors + { + + [JsonProperty("code")] + public long? Code { get; set; } + + [JsonProperty("message")] + public string? Message { get; set; } + + [JsonProperty("status")] + public long? Status { get; set; } + } +} \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetGeoDataPlexResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetGeoDataPlexResponseBody.cs new file mode 100644 index 0000000..9bd6742 --- /dev/null +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetGeoDataPlexResponseBody.cs @@ -0,0 +1,34 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace LukeHagar.PlexAPI.SDK.Models.Errors +{ + using LukeHagar.PlexAPI.SDK.Models.Errors; + using LukeHagar.PlexAPI.SDK.Utils; + using Newtonsoft.Json; + using System.Collections.Generic; + using System.Net.Http; + using System; + + /// + /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + /// + public class GetGeoDataPlexResponseBody : Exception + { + + [JsonProperty("errors")] + public List? Errors { get; set; } + + /// + /// Raw HTTP response; suitable for custom response parsing + /// + [JsonProperty("-")] + public HttpResponseMessage? RawResponse { get; set; } + } +} \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetGeoDataResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetGeoDataResponseBody.cs index 300cfdf..c0d3882 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetGeoDataResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetGeoDataResponseBody.cs @@ -17,7 +17,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using System; /// - /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + /// Bad Request - A parameter was not specified, or was specified incorrectly. /// public class GetGeoDataResponseBody : Exception { diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetGlobalHubsErrors.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetGlobalHubsErrors.cs index 7d4c121..93d87b2 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetGlobalHubsErrors.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetGlobalHubsErrors.cs @@ -16,12 +16,12 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors { [JsonProperty("code")] - public double? Code { get; set; } + public long? Code { get; set; } [JsonProperty("message")] public string? Message { get; set; } [JsonProperty("status")] - public double? Status { get; set; } + public long? Status { get; set; } } } \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetGlobalHubsHubsErrors.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetGlobalHubsHubsErrors.cs new file mode 100644 index 0000000..7c3667f --- /dev/null +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetGlobalHubsHubsErrors.cs @@ -0,0 +1,27 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace LukeHagar.PlexAPI.SDK.Models.Errors +{ + using LukeHagar.PlexAPI.SDK.Utils; + using Newtonsoft.Json; + + public class GetGlobalHubsHubsErrors + { + + [JsonProperty("code")] + public long? Code { get; set; } + + [JsonProperty("message")] + public string? Message { get; set; } + + [JsonProperty("status")] + public long? Status { get; set; } + } +} \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetGlobalHubsHubsResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetGlobalHubsHubsResponseBody.cs new file mode 100644 index 0000000..ff3546e --- /dev/null +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetGlobalHubsHubsResponseBody.cs @@ -0,0 +1,34 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace LukeHagar.PlexAPI.SDK.Models.Errors +{ + using LukeHagar.PlexAPI.SDK.Models.Errors; + using LukeHagar.PlexAPI.SDK.Utils; + using Newtonsoft.Json; + using System.Collections.Generic; + using System.Net.Http; + using System; + + /// + /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + /// + public class GetGlobalHubsHubsResponseBody : Exception + { + + [JsonProperty("errors")] + public List? Errors { get; set; } + + /// + /// Raw HTTP response; suitable for custom response parsing + /// + [JsonProperty("-")] + public HttpResponseMessage? RawResponse { get; set; } + } +} \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetGlobalHubsResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetGlobalHubsResponseBody.cs index cb34061..b773b63 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetGlobalHubsResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetGlobalHubsResponseBody.cs @@ -17,7 +17,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using System; /// - /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + /// Bad Request - A parameter was not specified, or was specified incorrectly. /// public class GetGlobalHubsResponseBody : Exception { diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetHomeDataErrors.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetHomeDataErrors.cs index 536098d..1ee93a9 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetHomeDataErrors.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetHomeDataErrors.cs @@ -16,12 +16,12 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors { [JsonProperty("code")] - public double? Code { get; set; } + public long? Code { get; set; } [JsonProperty("message")] public string? Message { get; set; } [JsonProperty("status")] - public double? Status { get; set; } + public long? Status { get; set; } } } \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetHomeDataPlexErrors.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetHomeDataPlexErrors.cs new file mode 100644 index 0000000..73958bc --- /dev/null +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetHomeDataPlexErrors.cs @@ -0,0 +1,27 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace LukeHagar.PlexAPI.SDK.Models.Errors +{ + using LukeHagar.PlexAPI.SDK.Utils; + using Newtonsoft.Json; + + public class GetHomeDataPlexErrors + { + + [JsonProperty("code")] + public long? Code { get; set; } + + [JsonProperty("message")] + public string? Message { get; set; } + + [JsonProperty("status")] + public long? Status { get; set; } + } +} \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetHomeDataPlexResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetHomeDataPlexResponseBody.cs new file mode 100644 index 0000000..f78aa52 --- /dev/null +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetHomeDataPlexResponseBody.cs @@ -0,0 +1,34 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace LukeHagar.PlexAPI.SDK.Models.Errors +{ + using LukeHagar.PlexAPI.SDK.Models.Errors; + using LukeHagar.PlexAPI.SDK.Utils; + using Newtonsoft.Json; + using System.Collections.Generic; + using System.Net.Http; + using System; + + /// + /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + /// + public class GetHomeDataPlexResponseBody : Exception + { + + [JsonProperty("errors")] + public List? Errors { get; set; } + + /// + /// Raw HTTP response; suitable for custom response parsing + /// + [JsonProperty("-")] + public HttpResponseMessage? RawResponse { get; set; } + } +} \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetHomeDataResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetHomeDataResponseBody.cs index 31eaff6..ac7cbd7 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetHomeDataResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetHomeDataResponseBody.cs @@ -17,7 +17,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using System; /// - /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + /// Bad Request - A parameter was not specified, or was specified incorrectly. /// public class GetHomeDataResponseBody : Exception { diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetLibraryDetailsErrors.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetLibraryDetailsErrors.cs index cdd2c0f..a50b51b 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetLibraryDetailsErrors.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetLibraryDetailsErrors.cs @@ -16,12 +16,12 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors { [JsonProperty("code")] - public double? Code { get; set; } + public long? Code { get; set; } [JsonProperty("message")] public string? Message { get; set; } [JsonProperty("status")] - public double? Status { get; set; } + public long? Status { get; set; } } } \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetLibraryDetailsLibraryErrors.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetLibraryDetailsLibraryErrors.cs new file mode 100644 index 0000000..18bbaed --- /dev/null +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetLibraryDetailsLibraryErrors.cs @@ -0,0 +1,27 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace LukeHagar.PlexAPI.SDK.Models.Errors +{ + using LukeHagar.PlexAPI.SDK.Utils; + using Newtonsoft.Json; + + public class GetLibraryDetailsLibraryErrors + { + + [JsonProperty("code")] + public long? Code { get; set; } + + [JsonProperty("message")] + public string? Message { get; set; } + + [JsonProperty("status")] + public long? Status { get; set; } + } +} \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetLibraryDetailsLibraryResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetLibraryDetailsLibraryResponseBody.cs new file mode 100644 index 0000000..41e4389 --- /dev/null +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetLibraryDetailsLibraryResponseBody.cs @@ -0,0 +1,34 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace LukeHagar.PlexAPI.SDK.Models.Errors +{ + using LukeHagar.PlexAPI.SDK.Models.Errors; + using LukeHagar.PlexAPI.SDK.Utils; + using Newtonsoft.Json; + using System.Collections.Generic; + using System.Net.Http; + using System; + + /// + /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + /// + public class GetLibraryDetailsLibraryResponseBody : Exception + { + + [JsonProperty("errors")] + public List? Errors { get; set; } + + /// + /// Raw HTTP response; suitable for custom response parsing + /// + [JsonProperty("-")] + public HttpResponseMessage? RawResponse { get; set; } + } +} \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetLibraryDetailsResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetLibraryDetailsResponseBody.cs index 867caff..815ea87 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetLibraryDetailsResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetLibraryDetailsResponseBody.cs @@ -17,7 +17,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using System; /// - /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + /// Bad Request - A parameter was not specified, or was specified incorrectly. /// public class GetLibraryDetailsResponseBody : Exception { diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetLibraryHubsErrors.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetLibraryHubsErrors.cs index 1a44278..3fc7e42 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetLibraryHubsErrors.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetLibraryHubsErrors.cs @@ -16,12 +16,12 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors { [JsonProperty("code")] - public double? Code { get; set; } + public long? Code { get; set; } [JsonProperty("message")] public string? Message { get; set; } [JsonProperty("status")] - public double? Status { get; set; } + public long? Status { get; set; } } } \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetLibraryHubsHubsErrors.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetLibraryHubsHubsErrors.cs new file mode 100644 index 0000000..e790d47 --- /dev/null +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetLibraryHubsHubsErrors.cs @@ -0,0 +1,27 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace LukeHagar.PlexAPI.SDK.Models.Errors +{ + using LukeHagar.PlexAPI.SDK.Utils; + using Newtonsoft.Json; + + public class GetLibraryHubsHubsErrors + { + + [JsonProperty("code")] + public long? Code { get; set; } + + [JsonProperty("message")] + public string? Message { get; set; } + + [JsonProperty("status")] + public long? Status { get; set; } + } +} \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetLibraryHubsHubsResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetLibraryHubsHubsResponseBody.cs new file mode 100644 index 0000000..c7e47b9 --- /dev/null +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetLibraryHubsHubsResponseBody.cs @@ -0,0 +1,34 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace LukeHagar.PlexAPI.SDK.Models.Errors +{ + using LukeHagar.PlexAPI.SDK.Models.Errors; + using LukeHagar.PlexAPI.SDK.Utils; + using Newtonsoft.Json; + using System.Collections.Generic; + using System.Net.Http; + using System; + + /// + /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + /// + public class GetLibraryHubsHubsResponseBody : Exception + { + + [JsonProperty("errors")] + public List? Errors { get; set; } + + /// + /// Raw HTTP response; suitable for custom response parsing + /// + [JsonProperty("-")] + public HttpResponseMessage? RawResponse { get; set; } + } +} \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetLibraryHubsResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetLibraryHubsResponseBody.cs index 3fecdcb..41bc5d5 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetLibraryHubsResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetLibraryHubsResponseBody.cs @@ -17,7 +17,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using System; /// - /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + /// Bad Request - A parameter was not specified, or was specified incorrectly. /// public class GetLibraryHubsResponseBody : Exception { diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetLibraryItemsErrors.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetLibraryItemsErrors.cs index 5b15e6e..ce2ee96 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetLibraryItemsErrors.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetLibraryItemsErrors.cs @@ -16,12 +16,12 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors { [JsonProperty("code")] - public double? Code { get; set; } + public long? Code { get; set; } [JsonProperty("message")] public string? Message { get; set; } [JsonProperty("status")] - public double? Status { get; set; } + public long? Status { get; set; } } } \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetLibraryItemsLibraryErrors.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetLibraryItemsLibraryErrors.cs new file mode 100644 index 0000000..6a98bdd --- /dev/null +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetLibraryItemsLibraryErrors.cs @@ -0,0 +1,27 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace LukeHagar.PlexAPI.SDK.Models.Errors +{ + using LukeHagar.PlexAPI.SDK.Utils; + using Newtonsoft.Json; + + public class GetLibraryItemsLibraryErrors + { + + [JsonProperty("code")] + public long? Code { get; set; } + + [JsonProperty("message")] + public string? Message { get; set; } + + [JsonProperty("status")] + public long? Status { get; set; } + } +} \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetLibraryItemsLibraryResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetLibraryItemsLibraryResponseBody.cs new file mode 100644 index 0000000..895ee4f --- /dev/null +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetLibraryItemsLibraryResponseBody.cs @@ -0,0 +1,34 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace LukeHagar.PlexAPI.SDK.Models.Errors +{ + using LukeHagar.PlexAPI.SDK.Models.Errors; + using LukeHagar.PlexAPI.SDK.Utils; + using Newtonsoft.Json; + using System.Collections.Generic; + using System.Net.Http; + using System; + + /// + /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + /// + public class GetLibraryItemsLibraryResponseBody : Exception + { + + [JsonProperty("errors")] + public List? Errors { get; set; } + + /// + /// Raw HTTP response; suitable for custom response parsing + /// + [JsonProperty("-")] + public HttpResponseMessage? RawResponse { get; set; } + } +} \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetLibraryItemsResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetLibraryItemsResponseBody.cs index a7c6b50..d36fdf5 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetLibraryItemsResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetLibraryItemsResponseBody.cs @@ -17,7 +17,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using System; /// - /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + /// Bad Request - A parameter was not specified, or was specified incorrectly. /// public class GetLibraryItemsResponseBody : Exception { diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetMediaProvidersErrors.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetMediaProvidersErrors.cs index 7bd7ee5..b6b97ea 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetMediaProvidersErrors.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetMediaProvidersErrors.cs @@ -16,12 +16,12 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors { [JsonProperty("code")] - public double? Code { get; set; } + public long? Code { get; set; } [JsonProperty("message")] public string? Message { get; set; } [JsonProperty("status")] - public double? Status { get; set; } + public long? Status { get; set; } } } \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetMediaProvidersResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetMediaProvidersResponseBody.cs index 91a52a9..f53f80d 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetMediaProvidersResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetMediaProvidersResponseBody.cs @@ -17,7 +17,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using System; /// - /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + /// Bad Request - A parameter was not specified, or was specified incorrectly. /// public class GetMediaProvidersResponseBody : Exception { diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetMediaProvidersServerErrors.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetMediaProvidersServerErrors.cs new file mode 100644 index 0000000..916bd48 --- /dev/null +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetMediaProvidersServerErrors.cs @@ -0,0 +1,27 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace LukeHagar.PlexAPI.SDK.Models.Errors +{ + using LukeHagar.PlexAPI.SDK.Utils; + using Newtonsoft.Json; + + public class GetMediaProvidersServerErrors + { + + [JsonProperty("code")] + public long? Code { get; set; } + + [JsonProperty("message")] + public string? Message { get; set; } + + [JsonProperty("status")] + public long? Status { get; set; } + } +} \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetMediaProvidersServerResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetMediaProvidersServerResponseBody.cs new file mode 100644 index 0000000..7ab5e07 --- /dev/null +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetMediaProvidersServerResponseBody.cs @@ -0,0 +1,34 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace LukeHagar.PlexAPI.SDK.Models.Errors +{ + using LukeHagar.PlexAPI.SDK.Models.Errors; + using LukeHagar.PlexAPI.SDK.Utils; + using Newtonsoft.Json; + using System.Collections.Generic; + using System.Net.Http; + using System; + + /// + /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + /// + public class GetMediaProvidersServerResponseBody : Exception + { + + [JsonProperty("errors")] + public List? Errors { get; set; } + + /// + /// Raw HTTP response; suitable for custom response parsing + /// + [JsonProperty("-")] + public HttpResponseMessage? RawResponse { get; set; } + } +} \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetMetaDataByRatingKeyErrors.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetMetaDataByRatingKeyErrors.cs index f45b47e..5e04704 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetMetaDataByRatingKeyErrors.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetMetaDataByRatingKeyErrors.cs @@ -16,12 +16,12 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors { [JsonProperty("code")] - public double? Code { get; set; } + public long? Code { get; set; } [JsonProperty("message")] public string? Message { get; set; } [JsonProperty("status")] - public double? Status { get; set; } + public long? Status { get; set; } } } \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetMetaDataByRatingKeyLibraryErrors.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetMetaDataByRatingKeyLibraryErrors.cs new file mode 100644 index 0000000..3a83a81 --- /dev/null +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetMetaDataByRatingKeyLibraryErrors.cs @@ -0,0 +1,27 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace LukeHagar.PlexAPI.SDK.Models.Errors +{ + using LukeHagar.PlexAPI.SDK.Utils; + using Newtonsoft.Json; + + public class GetMetaDataByRatingKeyLibraryErrors + { + + [JsonProperty("code")] + public long? Code { get; set; } + + [JsonProperty("message")] + public string? Message { get; set; } + + [JsonProperty("status")] + public long? Status { get; set; } + } +} \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetMetaDataByRatingKeyLibraryResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetMetaDataByRatingKeyLibraryResponseBody.cs new file mode 100644 index 0000000..c4bc13a --- /dev/null +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetMetaDataByRatingKeyLibraryResponseBody.cs @@ -0,0 +1,34 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace LukeHagar.PlexAPI.SDK.Models.Errors +{ + using LukeHagar.PlexAPI.SDK.Models.Errors; + using LukeHagar.PlexAPI.SDK.Utils; + using Newtonsoft.Json; + using System.Collections.Generic; + using System.Net.Http; + using System; + + /// + /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + /// + public class GetMetaDataByRatingKeyLibraryResponseBody : Exception + { + + [JsonProperty("errors")] + public List? Errors { get; set; } + + /// + /// Raw HTTP response; suitable for custom response parsing + /// + [JsonProperty("-")] + public HttpResponseMessage? RawResponse { get; set; } + } +} \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetMetaDataByRatingKeyResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetMetaDataByRatingKeyResponseBody.cs index b9bf505..75f1ba0 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetMetaDataByRatingKeyResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetMetaDataByRatingKeyResponseBody.cs @@ -17,7 +17,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using System; /// - /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + /// Bad Request - A parameter was not specified, or was specified incorrectly. /// public class GetMetaDataByRatingKeyResponseBody : Exception { diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetMetadataChildrenErrors.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetMetadataChildrenErrors.cs index 5558e3e..d182f1a 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetMetadataChildrenErrors.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetMetadataChildrenErrors.cs @@ -16,12 +16,12 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors { [JsonProperty("code")] - public double? Code { get; set; } + public long? Code { get; set; } [JsonProperty("message")] public string? Message { get; set; } [JsonProperty("status")] - public double? Status { get; set; } + public long? Status { get; set; } } } \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetMetadataChildrenLibraryErrors.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetMetadataChildrenLibraryErrors.cs new file mode 100644 index 0000000..2bd8423 --- /dev/null +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetMetadataChildrenLibraryErrors.cs @@ -0,0 +1,27 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace LukeHagar.PlexAPI.SDK.Models.Errors +{ + using LukeHagar.PlexAPI.SDK.Utils; + using Newtonsoft.Json; + + public class GetMetadataChildrenLibraryErrors + { + + [JsonProperty("code")] + public long? Code { get; set; } + + [JsonProperty("message")] + public string? Message { get; set; } + + [JsonProperty("status")] + public long? Status { get; set; } + } +} \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetMetadataChildrenLibraryResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetMetadataChildrenLibraryResponseBody.cs new file mode 100644 index 0000000..4f1ed78 --- /dev/null +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetMetadataChildrenLibraryResponseBody.cs @@ -0,0 +1,34 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace LukeHagar.PlexAPI.SDK.Models.Errors +{ + using LukeHagar.PlexAPI.SDK.Models.Errors; + using LukeHagar.PlexAPI.SDK.Utils; + using Newtonsoft.Json; + using System.Collections.Generic; + using System.Net.Http; + using System; + + /// + /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + /// + public class GetMetadataChildrenLibraryResponseBody : Exception + { + + [JsonProperty("errors")] + public List? Errors { get; set; } + + /// + /// Raw HTTP response; suitable for custom response parsing + /// + [JsonProperty("-")] + public HttpResponseMessage? RawResponse { get; set; } + } +} \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetMetadataChildrenResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetMetadataChildrenResponseBody.cs index 3fe03d4..5b48aef 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetMetadataChildrenResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetMetadataChildrenResponseBody.cs @@ -17,7 +17,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using System; /// - /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + /// Bad Request - A parameter was not specified, or was specified incorrectly. /// public class GetMetadataChildrenResponseBody : Exception { diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetMyPlexAccountErrors.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetMyPlexAccountErrors.cs index c1d3f95..bee7a51 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetMyPlexAccountErrors.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetMyPlexAccountErrors.cs @@ -16,12 +16,12 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors { [JsonProperty("code")] - public double? Code { get; set; } + public long? Code { get; set; } [JsonProperty("message")] public string? Message { get; set; } [JsonProperty("status")] - public double? Status { get; set; } + public long? Status { get; set; } } } \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetMyPlexAccountResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetMyPlexAccountResponseBody.cs index 1adbf2d..dfb4167 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetMyPlexAccountResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetMyPlexAccountResponseBody.cs @@ -17,7 +17,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using System; /// - /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + /// Bad Request - A parameter was not specified, or was specified incorrectly. /// public class GetMyPlexAccountResponseBody : Exception { diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetMyPlexAccountServerErrors.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetMyPlexAccountServerErrors.cs new file mode 100644 index 0000000..f29f721 --- /dev/null +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetMyPlexAccountServerErrors.cs @@ -0,0 +1,27 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace LukeHagar.PlexAPI.SDK.Models.Errors +{ + using LukeHagar.PlexAPI.SDK.Utils; + using Newtonsoft.Json; + + public class GetMyPlexAccountServerErrors + { + + [JsonProperty("code")] + public long? Code { get; set; } + + [JsonProperty("message")] + public string? Message { get; set; } + + [JsonProperty("status")] + public long? Status { get; set; } + } +} \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetMyPlexAccountServerResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetMyPlexAccountServerResponseBody.cs new file mode 100644 index 0000000..e915e16 --- /dev/null +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetMyPlexAccountServerResponseBody.cs @@ -0,0 +1,34 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace LukeHagar.PlexAPI.SDK.Models.Errors +{ + using LukeHagar.PlexAPI.SDK.Models.Errors; + using LukeHagar.PlexAPI.SDK.Utils; + using Newtonsoft.Json; + using System.Collections.Generic; + using System.Net.Http; + using System; + + /// + /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + /// + public class GetMyPlexAccountServerResponseBody : Exception + { + + [JsonProperty("errors")] + public List? Errors { get; set; } + + /// + /// Raw HTTP response; suitable for custom response parsing + /// + [JsonProperty("-")] + public HttpResponseMessage? RawResponse { get; set; } + } +} \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetOnDeckErrors.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetOnDeckErrors.cs index e6586c3..5af81f6 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetOnDeckErrors.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetOnDeckErrors.cs @@ -16,12 +16,12 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors { [JsonProperty("code")] - public double? Code { get; set; } + public long? Code { get; set; } [JsonProperty("message")] public string? Message { get; set; } [JsonProperty("status")] - public double? Status { get; set; } + public long? Status { get; set; } } } \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetOnDeckLibraryErrors.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetOnDeckLibraryErrors.cs new file mode 100644 index 0000000..f63c5ad --- /dev/null +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetOnDeckLibraryErrors.cs @@ -0,0 +1,27 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace LukeHagar.PlexAPI.SDK.Models.Errors +{ + using LukeHagar.PlexAPI.SDK.Utils; + using Newtonsoft.Json; + + public class GetOnDeckLibraryErrors + { + + [JsonProperty("code")] + public long? Code { get; set; } + + [JsonProperty("message")] + public string? Message { get; set; } + + [JsonProperty("status")] + public long? Status { get; set; } + } +} \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetOnDeckLibraryResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetOnDeckLibraryResponseBody.cs new file mode 100644 index 0000000..c6d7260 --- /dev/null +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetOnDeckLibraryResponseBody.cs @@ -0,0 +1,34 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace LukeHagar.PlexAPI.SDK.Models.Errors +{ + using LukeHagar.PlexAPI.SDK.Models.Errors; + using LukeHagar.PlexAPI.SDK.Utils; + using Newtonsoft.Json; + using System.Collections.Generic; + using System.Net.Http; + using System; + + /// + /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + /// + public class GetOnDeckLibraryResponseBody : Exception + { + + [JsonProperty("errors")] + public List? Errors { get; set; } + + /// + /// Raw HTTP response; suitable for custom response parsing + /// + [JsonProperty("-")] + public HttpResponseMessage? RawResponse { get; set; } + } +} \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetOnDeckResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetOnDeckResponseBody.cs index eda2d49..729fe36 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetOnDeckResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetOnDeckResponseBody.cs @@ -17,7 +17,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using System; /// - /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + /// Bad Request - A parameter was not specified, or was specified incorrectly. /// public class GetOnDeckResponseBody : Exception { diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetPlaylistContentsErrors.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetPlaylistContentsErrors.cs index d539976..702d984 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetPlaylistContentsErrors.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetPlaylistContentsErrors.cs @@ -16,12 +16,12 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors { [JsonProperty("code")] - public double? Code { get; set; } + public long? Code { get; set; } [JsonProperty("message")] public string? Message { get; set; } [JsonProperty("status")] - public double? Status { get; set; } + public long? Status { get; set; } } } \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetPlaylistContentsPlaylistsErrors.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetPlaylistContentsPlaylistsErrors.cs new file mode 100644 index 0000000..5481192 --- /dev/null +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetPlaylistContentsPlaylistsErrors.cs @@ -0,0 +1,27 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace LukeHagar.PlexAPI.SDK.Models.Errors +{ + using LukeHagar.PlexAPI.SDK.Utils; + using Newtonsoft.Json; + + public class GetPlaylistContentsPlaylistsErrors + { + + [JsonProperty("code")] + public long? Code { get; set; } + + [JsonProperty("message")] + public string? Message { get; set; } + + [JsonProperty("status")] + public long? Status { get; set; } + } +} \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetPlaylistContentsPlaylistsResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetPlaylistContentsPlaylistsResponseBody.cs new file mode 100644 index 0000000..eafed01 --- /dev/null +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetPlaylistContentsPlaylistsResponseBody.cs @@ -0,0 +1,34 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace LukeHagar.PlexAPI.SDK.Models.Errors +{ + using LukeHagar.PlexAPI.SDK.Models.Errors; + using LukeHagar.PlexAPI.SDK.Utils; + using Newtonsoft.Json; + using System.Collections.Generic; + using System.Net.Http; + using System; + + /// + /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + /// + public class GetPlaylistContentsPlaylistsResponseBody : Exception + { + + [JsonProperty("errors")] + public List? Errors { get; set; } + + /// + /// Raw HTTP response; suitable for custom response parsing + /// + [JsonProperty("-")] + public HttpResponseMessage? RawResponse { get; set; } + } +} \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetPlaylistContentsResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetPlaylistContentsResponseBody.cs index 0c9365d..662d7fa 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetPlaylistContentsResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetPlaylistContentsResponseBody.cs @@ -17,7 +17,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using System; /// - /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + /// Bad Request - A parameter was not specified, or was specified incorrectly. /// public class GetPlaylistContentsResponseBody : Exception { diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetPlaylistErrors.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetPlaylistErrors.cs index 3487a32..077c3af 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetPlaylistErrors.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetPlaylistErrors.cs @@ -16,12 +16,12 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors { [JsonProperty("code")] - public double? Code { get; set; } + public long? Code { get; set; } [JsonProperty("message")] public string? Message { get; set; } [JsonProperty("status")] - public double? Status { get; set; } + public long? Status { get; set; } } } \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetPlaylistPlaylistsErrors.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetPlaylistPlaylistsErrors.cs new file mode 100644 index 0000000..ca8eb88 --- /dev/null +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetPlaylistPlaylistsErrors.cs @@ -0,0 +1,27 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace LukeHagar.PlexAPI.SDK.Models.Errors +{ + using LukeHagar.PlexAPI.SDK.Utils; + using Newtonsoft.Json; + + public class GetPlaylistPlaylistsErrors + { + + [JsonProperty("code")] + public long? Code { get; set; } + + [JsonProperty("message")] + public string? Message { get; set; } + + [JsonProperty("status")] + public long? Status { get; set; } + } +} \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetPlaylistPlaylistsResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetPlaylistPlaylistsResponseBody.cs new file mode 100644 index 0000000..294c3e3 --- /dev/null +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetPlaylistPlaylistsResponseBody.cs @@ -0,0 +1,34 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace LukeHagar.PlexAPI.SDK.Models.Errors +{ + using LukeHagar.PlexAPI.SDK.Models.Errors; + using LukeHagar.PlexAPI.SDK.Utils; + using Newtonsoft.Json; + using System.Collections.Generic; + using System.Net.Http; + using System; + + /// + /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + /// + public class GetPlaylistPlaylistsResponseBody : Exception + { + + [JsonProperty("errors")] + public List? Errors { get; set; } + + /// + /// Raw HTTP response; suitable for custom response parsing + /// + [JsonProperty("-")] + public HttpResponseMessage? RawResponse { get; set; } + } +} \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetPlaylistResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetPlaylistResponseBody.cs index f9a7d79..f82dc74 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetPlaylistResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetPlaylistResponseBody.cs @@ -17,7 +17,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using System; /// - /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + /// Bad Request - A parameter was not specified, or was specified incorrectly. /// public class GetPlaylistResponseBody : Exception { diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetPlaylistsErrors.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetPlaylistsErrors.cs index 9f22a2f..fb31c6c 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetPlaylistsErrors.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetPlaylistsErrors.cs @@ -16,12 +16,12 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors { [JsonProperty("code")] - public double? Code { get; set; } + public long? Code { get; set; } [JsonProperty("message")] public string? Message { get; set; } [JsonProperty("status")] - public double? Status { get; set; } + public long? Status { get; set; } } } \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetPlaylistsPlaylistsErrors.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetPlaylistsPlaylistsErrors.cs new file mode 100644 index 0000000..8b4db98 --- /dev/null +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetPlaylistsPlaylistsErrors.cs @@ -0,0 +1,27 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace LukeHagar.PlexAPI.SDK.Models.Errors +{ + using LukeHagar.PlexAPI.SDK.Utils; + using Newtonsoft.Json; + + public class GetPlaylistsPlaylistsErrors + { + + [JsonProperty("code")] + public long? Code { get; set; } + + [JsonProperty("message")] + public string? Message { get; set; } + + [JsonProperty("status")] + public long? Status { get; set; } + } +} \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetPlaylistsPlaylistsResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetPlaylistsPlaylistsResponseBody.cs new file mode 100644 index 0000000..871a1a8 --- /dev/null +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetPlaylistsPlaylistsResponseBody.cs @@ -0,0 +1,34 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace LukeHagar.PlexAPI.SDK.Models.Errors +{ + using LukeHagar.PlexAPI.SDK.Models.Errors; + using LukeHagar.PlexAPI.SDK.Utils; + using Newtonsoft.Json; + using System.Collections.Generic; + using System.Net.Http; + using System; + + /// + /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + /// + public class GetPlaylistsPlaylistsResponseBody : Exception + { + + [JsonProperty("errors")] + public List? Errors { get; set; } + + /// + /// Raw HTTP response; suitable for custom response parsing + /// + [JsonProperty("-")] + public HttpResponseMessage? RawResponse { get; set; } + } +} \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetPlaylistsResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetPlaylistsResponseBody.cs index 80c36fa..9af1968 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetPlaylistsResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetPlaylistsResponseBody.cs @@ -17,7 +17,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using System; /// - /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + /// Bad Request - A parameter was not specified, or was specified incorrectly. /// public class GetPlaylistsResponseBody : Exception { diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetRecentlyAddedErrors.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetRecentlyAddedErrors.cs index 441dc7f..0966a3a 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetRecentlyAddedErrors.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetRecentlyAddedErrors.cs @@ -16,12 +16,12 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors { [JsonProperty("code")] - public double? Code { get; set; } + public long? Code { get; set; } [JsonProperty("message")] public string? Message { get; set; } [JsonProperty("status")] - public double? Status { get; set; } + public long? Status { get; set; } } } \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetRecentlyAddedLibraryErrors.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetRecentlyAddedLibraryErrors.cs new file mode 100644 index 0000000..fa76828 --- /dev/null +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetRecentlyAddedLibraryErrors.cs @@ -0,0 +1,27 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace LukeHagar.PlexAPI.SDK.Models.Errors +{ + using LukeHagar.PlexAPI.SDK.Utils; + using Newtonsoft.Json; + + public class GetRecentlyAddedLibraryErrors + { + + [JsonProperty("code")] + public long? Code { get; set; } + + [JsonProperty("message")] + public string? Message { get; set; } + + [JsonProperty("status")] + public long? Status { get; set; } + } +} \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetRecentlyAddedLibraryResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetRecentlyAddedLibraryResponseBody.cs new file mode 100644 index 0000000..ec7990b --- /dev/null +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetRecentlyAddedLibraryResponseBody.cs @@ -0,0 +1,34 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace LukeHagar.PlexAPI.SDK.Models.Errors +{ + using LukeHagar.PlexAPI.SDK.Models.Errors; + using LukeHagar.PlexAPI.SDK.Utils; + using Newtonsoft.Json; + using System.Collections.Generic; + using System.Net.Http; + using System; + + /// + /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + /// + public class GetRecentlyAddedLibraryResponseBody : Exception + { + + [JsonProperty("errors")] + public List? Errors { get; set; } + + /// + /// Raw HTTP response; suitable for custom response parsing + /// + [JsonProperty("-")] + public HttpResponseMessage? RawResponse { get; set; } + } +} \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetRecentlyAddedResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetRecentlyAddedResponseBody.cs index 0378a0a..e3a5559 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetRecentlyAddedResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetRecentlyAddedResponseBody.cs @@ -17,7 +17,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using System; /// - /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + /// Bad Request - A parameter was not specified, or was specified incorrectly. /// public class GetRecentlyAddedResponseBody : Exception { diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetRefreshLibraryMetadataErrors.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetRefreshLibraryMetadataErrors.cs index 99fd8e6..5234b33 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetRefreshLibraryMetadataErrors.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetRefreshLibraryMetadataErrors.cs @@ -16,12 +16,12 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors { [JsonProperty("code")] - public double? Code { get; set; } + public long? Code { get; set; } [JsonProperty("message")] public string? Message { get; set; } [JsonProperty("status")] - public double? Status { get; set; } + public long? Status { get; set; } } } \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetRefreshLibraryMetadataLibraryErrors.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetRefreshLibraryMetadataLibraryErrors.cs new file mode 100644 index 0000000..ff1b0b0 --- /dev/null +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetRefreshLibraryMetadataLibraryErrors.cs @@ -0,0 +1,27 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace LukeHagar.PlexAPI.SDK.Models.Errors +{ + using LukeHagar.PlexAPI.SDK.Utils; + using Newtonsoft.Json; + + public class GetRefreshLibraryMetadataLibraryErrors + { + + [JsonProperty("code")] + public long? Code { get; set; } + + [JsonProperty("message")] + public string? Message { get; set; } + + [JsonProperty("status")] + public long? Status { get; set; } + } +} \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetRefreshLibraryMetadataLibraryResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetRefreshLibraryMetadataLibraryResponseBody.cs new file mode 100644 index 0000000..58967a8 --- /dev/null +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetRefreshLibraryMetadataLibraryResponseBody.cs @@ -0,0 +1,34 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace LukeHagar.PlexAPI.SDK.Models.Errors +{ + using LukeHagar.PlexAPI.SDK.Models.Errors; + using LukeHagar.PlexAPI.SDK.Utils; + using Newtonsoft.Json; + using System.Collections.Generic; + using System.Net.Http; + using System; + + /// + /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + /// + public class GetRefreshLibraryMetadataLibraryResponseBody : Exception + { + + [JsonProperty("errors")] + public List? Errors { get; set; } + + /// + /// Raw HTTP response; suitable for custom response parsing + /// + [JsonProperty("-")] + public HttpResponseMessage? RawResponse { get; set; } + } +} \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetRefreshLibraryMetadataResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetRefreshLibraryMetadataResponseBody.cs index 9d8bc14..a67d832 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetRefreshLibraryMetadataResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetRefreshLibraryMetadataResponseBody.cs @@ -17,7 +17,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using System; /// - /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + /// Bad Request - A parameter was not specified, or was specified incorrectly. /// public class GetRefreshLibraryMetadataResponseBody : Exception { diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetResizedPhotoErrors.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetResizedPhotoErrors.cs index 0f95574..6808650 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetResizedPhotoErrors.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetResizedPhotoErrors.cs @@ -16,12 +16,12 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors { [JsonProperty("code")] - public double? Code { get; set; } + public long? Code { get; set; } [JsonProperty("message")] public string? Message { get; set; } [JsonProperty("status")] - public double? Status { get; set; } + public long? Status { get; set; } } } \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetResizedPhotoResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetResizedPhotoResponseBody.cs index a65edaf..36ee9a7 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetResizedPhotoResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetResizedPhotoResponseBody.cs @@ -17,7 +17,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using System; /// - /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + /// Bad Request - A parameter was not specified, or was specified incorrectly. /// public class GetResizedPhotoResponseBody : Exception { diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetResizedPhotoServerErrors.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetResizedPhotoServerErrors.cs new file mode 100644 index 0000000..d2744c7 --- /dev/null +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetResizedPhotoServerErrors.cs @@ -0,0 +1,27 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace LukeHagar.PlexAPI.SDK.Models.Errors +{ + using LukeHagar.PlexAPI.SDK.Utils; + using Newtonsoft.Json; + + public class GetResizedPhotoServerErrors + { + + [JsonProperty("code")] + public long? Code { get; set; } + + [JsonProperty("message")] + public string? Message { get; set; } + + [JsonProperty("status")] + public long? Status { get; set; } + } +} \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetResizedPhotoServerResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetResizedPhotoServerResponseBody.cs new file mode 100644 index 0000000..8b67508 --- /dev/null +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetResizedPhotoServerResponseBody.cs @@ -0,0 +1,34 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace LukeHagar.PlexAPI.SDK.Models.Errors +{ + using LukeHagar.PlexAPI.SDK.Models.Errors; + using LukeHagar.PlexAPI.SDK.Utils; + using Newtonsoft.Json; + using System.Collections.Generic; + using System.Net.Http; + using System; + + /// + /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + /// + public class GetResizedPhotoServerResponseBody : Exception + { + + [JsonProperty("errors")] + public List? Errors { get; set; } + + /// + /// Raw HTTP response; suitable for custom response parsing + /// + [JsonProperty("-")] + public HttpResponseMessage? RawResponse { get; set; } + } +} \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetResourcesStatisticsErrors.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetResourcesStatisticsErrors.cs index ca24d47..ff6c058 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetResourcesStatisticsErrors.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetResourcesStatisticsErrors.cs @@ -16,12 +16,12 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors { [JsonProperty("code")] - public double? Code { get; set; } + public long? Code { get; set; } [JsonProperty("message")] public string? Message { get; set; } [JsonProperty("status")] - public double? Status { get; set; } + public long? Status { get; set; } } } \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetResourcesStatisticsResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetResourcesStatisticsResponseBody.cs index cace1e7..7d7a7fb 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetResourcesStatisticsResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetResourcesStatisticsResponseBody.cs @@ -17,7 +17,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using System; /// - /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + /// Bad Request - A parameter was not specified, or was specified incorrectly. /// public class GetResourcesStatisticsResponseBody : Exception { diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetResourcesStatisticsStatisticsErrors.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetResourcesStatisticsStatisticsErrors.cs new file mode 100644 index 0000000..567b0dd --- /dev/null +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetResourcesStatisticsStatisticsErrors.cs @@ -0,0 +1,27 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace LukeHagar.PlexAPI.SDK.Models.Errors +{ + using LukeHagar.PlexAPI.SDK.Utils; + using Newtonsoft.Json; + + public class GetResourcesStatisticsStatisticsErrors + { + + [JsonProperty("code")] + public long? Code { get; set; } + + [JsonProperty("message")] + public string? Message { get; set; } + + [JsonProperty("status")] + public long? Status { get; set; } + } +} \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetResourcesStatisticsStatisticsResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetResourcesStatisticsStatisticsResponseBody.cs new file mode 100644 index 0000000..edecc25 --- /dev/null +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetResourcesStatisticsStatisticsResponseBody.cs @@ -0,0 +1,34 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace LukeHagar.PlexAPI.SDK.Models.Errors +{ + using LukeHagar.PlexAPI.SDK.Models.Errors; + using LukeHagar.PlexAPI.SDK.Utils; + using Newtonsoft.Json; + using System.Collections.Generic; + using System.Net.Http; + using System; + + /// + /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + /// + public class GetResourcesStatisticsStatisticsResponseBody : Exception + { + + [JsonProperty("errors")] + public List? Errors { get; set; } + + /// + /// Raw HTTP response; suitable for custom response parsing + /// + [JsonProperty("-")] + public HttpResponseMessage? RawResponse { get; set; } + } +} \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetSearchLibraryErrors.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetSearchLibraryErrors.cs index 3ea3b1d..44a990d 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetSearchLibraryErrors.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetSearchLibraryErrors.cs @@ -16,12 +16,12 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors { [JsonProperty("code")] - public double? Code { get; set; } + public long? Code { get; set; } [JsonProperty("message")] public string? Message { get; set; } [JsonProperty("status")] - public double? Status { get; set; } + public long? Status { get; set; } } } \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetSearchLibraryLibraryErrors.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetSearchLibraryLibraryErrors.cs new file mode 100644 index 0000000..77318b1 --- /dev/null +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetSearchLibraryLibraryErrors.cs @@ -0,0 +1,27 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace LukeHagar.PlexAPI.SDK.Models.Errors +{ + using LukeHagar.PlexAPI.SDK.Utils; + using Newtonsoft.Json; + + public class GetSearchLibraryLibraryErrors + { + + [JsonProperty("code")] + public long? Code { get; set; } + + [JsonProperty("message")] + public string? Message { get; set; } + + [JsonProperty("status")] + public long? Status { get; set; } + } +} \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetSearchLibraryLibraryResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetSearchLibraryLibraryResponseBody.cs new file mode 100644 index 0000000..5c7a453 --- /dev/null +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetSearchLibraryLibraryResponseBody.cs @@ -0,0 +1,34 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace LukeHagar.PlexAPI.SDK.Models.Errors +{ + using LukeHagar.PlexAPI.SDK.Models.Errors; + using LukeHagar.PlexAPI.SDK.Utils; + using Newtonsoft.Json; + using System.Collections.Generic; + using System.Net.Http; + using System; + + /// + /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + /// + public class GetSearchLibraryLibraryResponseBody : Exception + { + + [JsonProperty("errors")] + public List? Errors { get; set; } + + /// + /// Raw HTTP response; suitable for custom response parsing + /// + [JsonProperty("-")] + public HttpResponseMessage? RawResponse { get; set; } + } +} \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetSearchLibraryResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetSearchLibraryResponseBody.cs index ba5ba00..da08786 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetSearchLibraryResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetSearchLibraryResponseBody.cs @@ -17,7 +17,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using System; /// - /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + /// Bad Request - A parameter was not specified, or was specified incorrectly. /// public class GetSearchLibraryResponseBody : Exception { diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetSearchResultsErrors.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetSearchResultsErrors.cs index e08b7fa..b6024f1 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetSearchResultsErrors.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetSearchResultsErrors.cs @@ -16,12 +16,12 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors { [JsonProperty("code")] - public double? Code { get; set; } + public long? Code { get; set; } [JsonProperty("message")] public string? Message { get; set; } [JsonProperty("status")] - public double? Status { get; set; } + public long? Status { get; set; } } } \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetSearchResultsResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetSearchResultsResponseBody.cs index 917e4c2..b1df51e 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetSearchResultsResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetSearchResultsResponseBody.cs @@ -17,7 +17,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using System; /// - /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + /// Bad Request - A parameter was not specified, or was specified incorrectly. /// public class GetSearchResultsResponseBody : Exception { diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetSearchResultsSearchErrors.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetSearchResultsSearchErrors.cs new file mode 100644 index 0000000..d2490d3 --- /dev/null +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetSearchResultsSearchErrors.cs @@ -0,0 +1,27 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace LukeHagar.PlexAPI.SDK.Models.Errors +{ + using LukeHagar.PlexAPI.SDK.Utils; + using Newtonsoft.Json; + + public class GetSearchResultsSearchErrors + { + + [JsonProperty("code")] + public long? Code { get; set; } + + [JsonProperty("message")] + public string? Message { get; set; } + + [JsonProperty("status")] + public long? Status { get; set; } + } +} \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetSearchResultsSearchResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetSearchResultsSearchResponseBody.cs new file mode 100644 index 0000000..5b9ff6d --- /dev/null +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetSearchResultsSearchResponseBody.cs @@ -0,0 +1,34 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace LukeHagar.PlexAPI.SDK.Models.Errors +{ + using LukeHagar.PlexAPI.SDK.Models.Errors; + using LukeHagar.PlexAPI.SDK.Utils; + using Newtonsoft.Json; + using System.Collections.Generic; + using System.Net.Http; + using System; + + /// + /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + /// + public class GetSearchResultsSearchResponseBody : Exception + { + + [JsonProperty("errors")] + public List? Errors { get; set; } + + /// + /// Raw HTTP response; suitable for custom response parsing + /// + [JsonProperty("-")] + public HttpResponseMessage? RawResponse { get; set; } + } +} \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetServerActivitiesActivitiesErrors.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetServerActivitiesActivitiesErrors.cs new file mode 100644 index 0000000..cf170ed --- /dev/null +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetServerActivitiesActivitiesErrors.cs @@ -0,0 +1,27 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace LukeHagar.PlexAPI.SDK.Models.Errors +{ + using LukeHagar.PlexAPI.SDK.Utils; + using Newtonsoft.Json; + + public class GetServerActivitiesActivitiesErrors + { + + [JsonProperty("code")] + public long? Code { get; set; } + + [JsonProperty("message")] + public string? Message { get; set; } + + [JsonProperty("status")] + public long? Status { get; set; } + } +} \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetServerActivitiesActivitiesResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetServerActivitiesActivitiesResponseBody.cs new file mode 100644 index 0000000..f2dda17 --- /dev/null +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetServerActivitiesActivitiesResponseBody.cs @@ -0,0 +1,34 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace LukeHagar.PlexAPI.SDK.Models.Errors +{ + using LukeHagar.PlexAPI.SDK.Models.Errors; + using LukeHagar.PlexAPI.SDK.Utils; + using Newtonsoft.Json; + using System.Collections.Generic; + using System.Net.Http; + using System; + + /// + /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + /// + public class GetServerActivitiesActivitiesResponseBody : Exception + { + + [JsonProperty("errors")] + public List? Errors { get; set; } + + /// + /// Raw HTTP response; suitable for custom response parsing + /// + [JsonProperty("-")] + public HttpResponseMessage? RawResponse { get; set; } + } +} \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetServerActivitiesErrors.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetServerActivitiesErrors.cs index 6eabe46..3aea70e 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetServerActivitiesErrors.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetServerActivitiesErrors.cs @@ -16,12 +16,12 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors { [JsonProperty("code")] - public double? Code { get; set; } + public long? Code { get; set; } [JsonProperty("message")] public string? Message { get; set; } [JsonProperty("status")] - public double? Status { get; set; } + public long? Status { get; set; } } } \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetServerActivitiesResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetServerActivitiesResponseBody.cs index 742d9e9..9c4d75e 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetServerActivitiesResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetServerActivitiesResponseBody.cs @@ -17,7 +17,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using System; /// - /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + /// Bad Request - A parameter was not specified, or was specified incorrectly. /// public class GetServerActivitiesResponseBody : Exception { diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetServerCapabilitiesErrors.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetServerCapabilitiesErrors.cs new file mode 100644 index 0000000..fa571ea --- /dev/null +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetServerCapabilitiesErrors.cs @@ -0,0 +1,27 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace LukeHagar.PlexAPI.SDK.Models.Errors +{ + using LukeHagar.PlexAPI.SDK.Utils; + using Newtonsoft.Json; + + public class GetServerCapabilitiesErrors + { + + [JsonProperty("code")] + public long? Code { get; set; } + + [JsonProperty("message")] + public string? Message { get; set; } + + [JsonProperty("status")] + public long? Status { get; set; } + } +} \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetServerCapabilitiesResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetServerCapabilitiesResponseBody.cs index ccdea76..57277e7 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetServerCapabilitiesResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetServerCapabilitiesResponseBody.cs @@ -17,7 +17,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using System; /// - /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + /// Bad Request - A parameter was not specified, or was specified incorrectly. /// public class GetServerCapabilitiesResponseBody : Exception { diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetServerCapabilitiesServerResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetServerCapabilitiesServerResponseBody.cs new file mode 100644 index 0000000..787b732 --- /dev/null +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetServerCapabilitiesServerResponseBody.cs @@ -0,0 +1,34 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace LukeHagar.PlexAPI.SDK.Models.Errors +{ + using LukeHagar.PlexAPI.SDK.Models.Errors; + using LukeHagar.PlexAPI.SDK.Utils; + using Newtonsoft.Json; + using System.Collections.Generic; + using System.Net.Http; + using System; + + /// + /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + /// + public class GetServerCapabilitiesServerResponseBody : Exception + { + + [JsonProperty("errors")] + public List? Errors { get; set; } + + /// + /// Raw HTTP response; suitable for custom response parsing + /// + [JsonProperty("-")] + public HttpResponseMessage? RawResponse { get; set; } + } +} \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetServerListErrors.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetServerListErrors.cs index e2d2283..0135955 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetServerListErrors.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetServerListErrors.cs @@ -16,12 +16,12 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors { [JsonProperty("code")] - public double? Code { get; set; } + public long? Code { get; set; } [JsonProperty("message")] public string? Message { get; set; } [JsonProperty("status")] - public double? Status { get; set; } + public long? Status { get; set; } } } \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetServerListResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetServerListResponseBody.cs index 1b7a9c5..ef5d82a 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetServerListResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetServerListResponseBody.cs @@ -17,7 +17,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using System; /// - /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + /// Bad Request - A parameter was not specified, or was specified incorrectly. /// public class GetServerListResponseBody : Exception { diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetServerListServerErrors.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetServerListServerErrors.cs new file mode 100644 index 0000000..71ddda7 --- /dev/null +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetServerListServerErrors.cs @@ -0,0 +1,27 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace LukeHagar.PlexAPI.SDK.Models.Errors +{ + using LukeHagar.PlexAPI.SDK.Utils; + using Newtonsoft.Json; + + public class GetServerListServerErrors + { + + [JsonProperty("code")] + public long? Code { get; set; } + + [JsonProperty("message")] + public string? Message { get; set; } + + [JsonProperty("status")] + public long? Status { get; set; } + } +} \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetServerListServerResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetServerListServerResponseBody.cs new file mode 100644 index 0000000..724c3bd --- /dev/null +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetServerListServerResponseBody.cs @@ -0,0 +1,34 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace LukeHagar.PlexAPI.SDK.Models.Errors +{ + using LukeHagar.PlexAPI.SDK.Models.Errors; + using LukeHagar.PlexAPI.SDK.Utils; + using Newtonsoft.Json; + using System.Collections.Generic; + using System.Net.Http; + using System; + + /// + /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + /// + public class GetServerListServerResponseBody : Exception + { + + [JsonProperty("errors")] + public List? Errors { get; set; } + + /// + /// Raw HTTP response; suitable for custom response parsing + /// + [JsonProperty("-")] + public HttpResponseMessage? RawResponse { get; set; } + } +} \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetServerPreferencesErrors.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetServerPreferencesErrors.cs index 304671a..b57ef89 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetServerPreferencesErrors.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetServerPreferencesErrors.cs @@ -16,12 +16,12 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors { [JsonProperty("code")] - public double? Code { get; set; } + public long? Code { get; set; } [JsonProperty("message")] public string? Message { get; set; } [JsonProperty("status")] - public double? Status { get; set; } + public long? Status { get; set; } } } \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetServerPreferencesResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetServerPreferencesResponseBody.cs index 5ac1533..08c1d27 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetServerPreferencesResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetServerPreferencesResponseBody.cs @@ -17,7 +17,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using System; /// - /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + /// Bad Request - A parameter was not specified, or was specified incorrectly. /// public class GetServerPreferencesResponseBody : Exception { diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetServerPreferencesServerErrors.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetServerPreferencesServerErrors.cs new file mode 100644 index 0000000..ec733a8 --- /dev/null +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetServerPreferencesServerErrors.cs @@ -0,0 +1,27 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace LukeHagar.PlexAPI.SDK.Models.Errors +{ + using LukeHagar.PlexAPI.SDK.Utils; + using Newtonsoft.Json; + + public class GetServerPreferencesServerErrors + { + + [JsonProperty("code")] + public long? Code { get; set; } + + [JsonProperty("message")] + public string? Message { get; set; } + + [JsonProperty("status")] + public long? Status { get; set; } + } +} \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetServerPreferencesServerResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetServerPreferencesServerResponseBody.cs new file mode 100644 index 0000000..1e8c564 --- /dev/null +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetServerPreferencesServerResponseBody.cs @@ -0,0 +1,34 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace LukeHagar.PlexAPI.SDK.Models.Errors +{ + using LukeHagar.PlexAPI.SDK.Models.Errors; + using LukeHagar.PlexAPI.SDK.Utils; + using Newtonsoft.Json; + using System.Collections.Generic; + using System.Net.Http; + using System; + + /// + /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + /// + public class GetServerPreferencesServerResponseBody : Exception + { + + [JsonProperty("errors")] + public List? Errors { get; set; } + + /// + /// Raw HTTP response; suitable for custom response parsing + /// + [JsonProperty("-")] + public HttpResponseMessage? RawResponse { get; set; } + } +} \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetServerResourcesErrors.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetServerResourcesErrors.cs index e034808..376d270 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetServerResourcesErrors.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetServerResourcesErrors.cs @@ -16,12 +16,12 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors { [JsonProperty("code")] - public double? Code { get; set; } + public long? Code { get; set; } [JsonProperty("message")] public string? Message { get; set; } [JsonProperty("status")] - public double? Status { get; set; } + public long? Status { get; set; } } } \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetServerResourcesPlexErrors.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetServerResourcesPlexErrors.cs new file mode 100644 index 0000000..8846181 --- /dev/null +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetServerResourcesPlexErrors.cs @@ -0,0 +1,27 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace LukeHagar.PlexAPI.SDK.Models.Errors +{ + using LukeHagar.PlexAPI.SDK.Utils; + using Newtonsoft.Json; + + public class GetServerResourcesPlexErrors + { + + [JsonProperty("code")] + public long? Code { get; set; } + + [JsonProperty("message")] + public string? Message { get; set; } + + [JsonProperty("status")] + public long? Status { get; set; } + } +} \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetServerResourcesPlexResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetServerResourcesPlexResponseBody.cs new file mode 100644 index 0000000..3194efd --- /dev/null +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetServerResourcesPlexResponseBody.cs @@ -0,0 +1,34 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace LukeHagar.PlexAPI.SDK.Models.Errors +{ + using LukeHagar.PlexAPI.SDK.Models.Errors; + using LukeHagar.PlexAPI.SDK.Utils; + using Newtonsoft.Json; + using System.Collections.Generic; + using System.Net.Http; + using System; + + /// + /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + /// + public class GetServerResourcesPlexResponseBody : Exception + { + + [JsonProperty("errors")] + public List? Errors { get; set; } + + /// + /// Raw HTTP response; suitable for custom response parsing + /// + [JsonProperty("-")] + public HttpResponseMessage? RawResponse { get; set; } + } +} \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetServerResourcesResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetServerResourcesResponseBody.cs index 5407659..c2de253 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetServerResourcesResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetServerResourcesResponseBody.cs @@ -17,7 +17,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using System; /// - /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + /// Bad Request - A parameter was not specified, or was specified incorrectly. /// public class GetServerResourcesResponseBody : Exception { diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetSessionHistoryErrors.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetSessionHistoryErrors.cs index aa17588..dd1244f 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetSessionHistoryErrors.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetSessionHistoryErrors.cs @@ -16,12 +16,12 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors { [JsonProperty("code")] - public double? Code { get; set; } + public long? Code { get; set; } [JsonProperty("message")] public string? Message { get; set; } [JsonProperty("status")] - public double? Status { get; set; } + public long? Status { get; set; } } } \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetSessionHistoryResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetSessionHistoryResponseBody.cs index 24c855f..2852754 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetSessionHistoryResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetSessionHistoryResponseBody.cs @@ -17,7 +17,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using System; /// - /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + /// Bad Request - A parameter was not specified, or was specified incorrectly. /// public class GetSessionHistoryResponseBody : Exception { diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetSessionHistorySessionsErrors.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetSessionHistorySessionsErrors.cs new file mode 100644 index 0000000..b5b50ca --- /dev/null +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetSessionHistorySessionsErrors.cs @@ -0,0 +1,27 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace LukeHagar.PlexAPI.SDK.Models.Errors +{ + using LukeHagar.PlexAPI.SDK.Utils; + using Newtonsoft.Json; + + public class GetSessionHistorySessionsErrors + { + + [JsonProperty("code")] + public long? Code { get; set; } + + [JsonProperty("message")] + public string? Message { get; set; } + + [JsonProperty("status")] + public long? Status { get; set; } + } +} \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetSessionHistorySessionsResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetSessionHistorySessionsResponseBody.cs new file mode 100644 index 0000000..596dbd4 --- /dev/null +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetSessionHistorySessionsResponseBody.cs @@ -0,0 +1,34 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace LukeHagar.PlexAPI.SDK.Models.Errors +{ + using LukeHagar.PlexAPI.SDK.Models.Errors; + using LukeHagar.PlexAPI.SDK.Utils; + using Newtonsoft.Json; + using System.Collections.Generic; + using System.Net.Http; + using System; + + /// + /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + /// + public class GetSessionHistorySessionsResponseBody : Exception + { + + [JsonProperty("errors")] + public List? Errors { get; set; } + + /// + /// Raw HTTP response; suitable for custom response parsing + /// + [JsonProperty("-")] + public HttpResponseMessage? RawResponse { get; set; } + } +} \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetSessionsErrors.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetSessionsErrors.cs index 3b3aaaf..525a28f 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetSessionsErrors.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetSessionsErrors.cs @@ -16,12 +16,12 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors { [JsonProperty("code")] - public double? Code { get; set; } + public long? Code { get; set; } [JsonProperty("message")] public string? Message { get; set; } [JsonProperty("status")] - public double? Status { get; set; } + public long? Status { get; set; } } } \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetSessionsResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetSessionsResponseBody.cs index 36fedb3..f471afc 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetSessionsResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetSessionsResponseBody.cs @@ -17,7 +17,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using System; /// - /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + /// Bad Request - A parameter was not specified, or was specified incorrectly. /// public class GetSessionsResponseBody : Exception { diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetSessionsSessionsErrors.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetSessionsSessionsErrors.cs new file mode 100644 index 0000000..29e4172 --- /dev/null +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetSessionsSessionsErrors.cs @@ -0,0 +1,27 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace LukeHagar.PlexAPI.SDK.Models.Errors +{ + using LukeHagar.PlexAPI.SDK.Utils; + using Newtonsoft.Json; + + public class GetSessionsSessionsErrors + { + + [JsonProperty("code")] + public long? Code { get; set; } + + [JsonProperty("message")] + public string? Message { get; set; } + + [JsonProperty("status")] + public long? Status { get; set; } + } +} \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetSessionsSessionsResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetSessionsSessionsResponseBody.cs new file mode 100644 index 0000000..77eb77f --- /dev/null +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetSessionsSessionsResponseBody.cs @@ -0,0 +1,34 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace LukeHagar.PlexAPI.SDK.Models.Errors +{ + using LukeHagar.PlexAPI.SDK.Models.Errors; + using LukeHagar.PlexAPI.SDK.Utils; + using Newtonsoft.Json; + using System.Collections.Generic; + using System.Net.Http; + using System; + + /// + /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + /// + public class GetSessionsSessionsResponseBody : Exception + { + + [JsonProperty("errors")] + public List? Errors { get; set; } + + /// + /// Raw HTTP response; suitable for custom response parsing + /// + [JsonProperty("-")] + public HttpResponseMessage? RawResponse { get; set; } + } +} \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetSourceConnectionInformationAuthenticationErrors.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetSourceConnectionInformationAuthenticationErrors.cs new file mode 100644 index 0000000..20cfe6c --- /dev/null +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetSourceConnectionInformationAuthenticationErrors.cs @@ -0,0 +1,27 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace LukeHagar.PlexAPI.SDK.Models.Errors +{ + using LukeHagar.PlexAPI.SDK.Utils; + using Newtonsoft.Json; + + public class GetSourceConnectionInformationAuthenticationErrors + { + + [JsonProperty("code")] + public long? Code { get; set; } + + [JsonProperty("message")] + public string? Message { get; set; } + + [JsonProperty("status")] + public long? Status { get; set; } + } +} \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetSourceConnectionInformationAuthenticationResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetSourceConnectionInformationAuthenticationResponseBody.cs new file mode 100644 index 0000000..15a2353 --- /dev/null +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetSourceConnectionInformationAuthenticationResponseBody.cs @@ -0,0 +1,34 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace LukeHagar.PlexAPI.SDK.Models.Errors +{ + using LukeHagar.PlexAPI.SDK.Models.Errors; + using LukeHagar.PlexAPI.SDK.Utils; + using Newtonsoft.Json; + using System.Collections.Generic; + using System.Net.Http; + using System; + + /// + /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + /// + public class GetSourceConnectionInformationAuthenticationResponseBody : Exception + { + + [JsonProperty("errors")] + public List? Errors { get; set; } + + /// + /// Raw HTTP response; suitable for custom response parsing + /// + [JsonProperty("-")] + public HttpResponseMessage? RawResponse { get; set; } + } +} \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetSourceConnectionInformationErrors.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetSourceConnectionInformationErrors.cs index 4e8645d..b0009ee 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetSourceConnectionInformationErrors.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetSourceConnectionInformationErrors.cs @@ -16,12 +16,12 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors { [JsonProperty("code")] - public double? Code { get; set; } + public long? Code { get; set; } [JsonProperty("message")] public string? Message { get; set; } [JsonProperty("status")] - public double? Status { get; set; } + public long? Status { get; set; } } } \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetSourceConnectionInformationResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetSourceConnectionInformationResponseBody.cs index 52af442..c363d28 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetSourceConnectionInformationResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetSourceConnectionInformationResponseBody.cs @@ -17,7 +17,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using System; /// - /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + /// Bad Request - A parameter was not specified, or was specified incorrectly. /// public class GetSourceConnectionInformationResponseBody : Exception { diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetStatisticsErrors.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetStatisticsErrors.cs index 5dedd4c..3e9bcda 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetStatisticsErrors.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetStatisticsErrors.cs @@ -16,12 +16,12 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors { [JsonProperty("code")] - public double? Code { get; set; } + public long? Code { get; set; } [JsonProperty("message")] public string? Message { get; set; } [JsonProperty("status")] - public double? Status { get; set; } + public long? Status { get; set; } } } \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetStatisticsResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetStatisticsResponseBody.cs index 1df944d..67e230c 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetStatisticsResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetStatisticsResponseBody.cs @@ -17,7 +17,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using System; /// - /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + /// Bad Request - A parameter was not specified, or was specified incorrectly. /// public class GetStatisticsResponseBody : Exception { diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetStatisticsStatisticsErrors.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetStatisticsStatisticsErrors.cs new file mode 100644 index 0000000..6eb2f8c --- /dev/null +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetStatisticsStatisticsErrors.cs @@ -0,0 +1,27 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace LukeHagar.PlexAPI.SDK.Models.Errors +{ + using LukeHagar.PlexAPI.SDK.Utils; + using Newtonsoft.Json; + + public class GetStatisticsStatisticsErrors + { + + [JsonProperty("code")] + public long? Code { get; set; } + + [JsonProperty("message")] + public string? Message { get; set; } + + [JsonProperty("status")] + public long? Status { get; set; } + } +} \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetStatisticsStatisticsResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetStatisticsStatisticsResponseBody.cs new file mode 100644 index 0000000..3754f0e --- /dev/null +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetStatisticsStatisticsResponseBody.cs @@ -0,0 +1,34 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace LukeHagar.PlexAPI.SDK.Models.Errors +{ + using LukeHagar.PlexAPI.SDK.Models.Errors; + using LukeHagar.PlexAPI.SDK.Utils; + using Newtonsoft.Json; + using System.Collections.Generic; + using System.Net.Http; + using System; + + /// + /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + /// + public class GetStatisticsStatisticsResponseBody : Exception + { + + [JsonProperty("errors")] + public List? Errors { get; set; } + + /// + /// Raw HTTP response; suitable for custom response parsing + /// + [JsonProperty("-")] + public HttpResponseMessage? RawResponse { get; set; } + } +} \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetThumbImageErrors.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetThumbImageErrors.cs index 041adb6..f38a153 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetThumbImageErrors.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetThumbImageErrors.cs @@ -16,12 +16,12 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors { [JsonProperty("code")] - public double? Code { get; set; } + public long? Code { get; set; } [JsonProperty("message")] public string? Message { get; set; } [JsonProperty("status")] - public double? Status { get; set; } + public long? Status { get; set; } } } \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetThumbImageMediaErrors.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetThumbImageMediaErrors.cs new file mode 100644 index 0000000..5d6ce04 --- /dev/null +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetThumbImageMediaErrors.cs @@ -0,0 +1,27 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace LukeHagar.PlexAPI.SDK.Models.Errors +{ + using LukeHagar.PlexAPI.SDK.Utils; + using Newtonsoft.Json; + + public class GetThumbImageMediaErrors + { + + [JsonProperty("code")] + public long? Code { get; set; } + + [JsonProperty("message")] + public string? Message { get; set; } + + [JsonProperty("status")] + public long? Status { get; set; } + } +} \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetThumbImageMediaResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetThumbImageMediaResponseBody.cs new file mode 100644 index 0000000..53632c4 --- /dev/null +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetThumbImageMediaResponseBody.cs @@ -0,0 +1,34 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace LukeHagar.PlexAPI.SDK.Models.Errors +{ + using LukeHagar.PlexAPI.SDK.Models.Errors; + using LukeHagar.PlexAPI.SDK.Utils; + using Newtonsoft.Json; + using System.Collections.Generic; + using System.Net.Http; + using System; + + /// + /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + /// + public class GetThumbImageMediaResponseBody : Exception + { + + [JsonProperty("errors")] + public List? Errors { get; set; } + + /// + /// Raw HTTP response; suitable for custom response parsing + /// + [JsonProperty("-")] + public HttpResponseMessage? RawResponse { get; set; } + } +} \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetThumbImageResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetThumbImageResponseBody.cs index 273d9e9..8ad97de 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetThumbImageResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetThumbImageResponseBody.cs @@ -17,7 +17,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using System; /// - /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + /// Bad Request - A parameter was not specified, or was specified incorrectly. /// public class GetThumbImageResponseBody : Exception { diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetTimelineErrors.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetTimelineErrors.cs index 0a13881..5f7d810 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetTimelineErrors.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetTimelineErrors.cs @@ -16,12 +16,12 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors { [JsonProperty("code")] - public double? Code { get; set; } + public long? Code { get; set; } [JsonProperty("message")] public string? Message { get; set; } [JsonProperty("status")] - public double? Status { get; set; } + public long? Status { get; set; } } } \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetTimelineResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetTimelineResponseBody.cs index 1e108f2..c5169e1 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetTimelineResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetTimelineResponseBody.cs @@ -17,7 +17,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using System; /// - /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + /// Bad Request - A parameter was not specified, or was specified incorrectly. /// public class GetTimelineResponseBody : Exception { diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetTimelineVideoErrors.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetTimelineVideoErrors.cs new file mode 100644 index 0000000..e842a38 --- /dev/null +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetTimelineVideoErrors.cs @@ -0,0 +1,27 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace LukeHagar.PlexAPI.SDK.Models.Errors +{ + using LukeHagar.PlexAPI.SDK.Utils; + using Newtonsoft.Json; + + public class GetTimelineVideoErrors + { + + [JsonProperty("code")] + public long? Code { get; set; } + + [JsonProperty("message")] + public string? Message { get; set; } + + [JsonProperty("status")] + public long? Status { get; set; } + } +} \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetTimelineVideoResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetTimelineVideoResponseBody.cs new file mode 100644 index 0000000..56eb031 --- /dev/null +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetTimelineVideoResponseBody.cs @@ -0,0 +1,34 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace LukeHagar.PlexAPI.SDK.Models.Errors +{ + using LukeHagar.PlexAPI.SDK.Models.Errors; + using LukeHagar.PlexAPI.SDK.Utils; + using Newtonsoft.Json; + using System.Collections.Generic; + using System.Net.Http; + using System; + + /// + /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + /// + public class GetTimelineVideoResponseBody : Exception + { + + [JsonProperty("errors")] + public List? Errors { get; set; } + + /// + /// Raw HTTP response; suitable for custom response parsing + /// + [JsonProperty("-")] + public HttpResponseMessage? RawResponse { get; set; } + } +} \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetTopWatchedContentErrors.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetTopWatchedContentErrors.cs index 9d8db7f..10fa6ec 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetTopWatchedContentErrors.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetTopWatchedContentErrors.cs @@ -16,12 +16,12 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors { [JsonProperty("code")] - public double? Code { get; set; } + public long? Code { get; set; } [JsonProperty("message")] public string? Message { get; set; } [JsonProperty("status")] - public double? Status { get; set; } + public long? Status { get; set; } } } \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetTopWatchedContentLibraryErrors.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetTopWatchedContentLibraryErrors.cs new file mode 100644 index 0000000..6fb2e0e --- /dev/null +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetTopWatchedContentLibraryErrors.cs @@ -0,0 +1,27 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace LukeHagar.PlexAPI.SDK.Models.Errors +{ + using LukeHagar.PlexAPI.SDK.Utils; + using Newtonsoft.Json; + + public class GetTopWatchedContentLibraryErrors + { + + [JsonProperty("code")] + public long? Code { get; set; } + + [JsonProperty("message")] + public string? Message { get; set; } + + [JsonProperty("status")] + public long? Status { get; set; } + } +} \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetTopWatchedContentLibraryResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetTopWatchedContentLibraryResponseBody.cs new file mode 100644 index 0000000..7a246af --- /dev/null +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetTopWatchedContentLibraryResponseBody.cs @@ -0,0 +1,34 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace LukeHagar.PlexAPI.SDK.Models.Errors +{ + using LukeHagar.PlexAPI.SDK.Models.Errors; + using LukeHagar.PlexAPI.SDK.Utils; + using Newtonsoft.Json; + using System.Collections.Generic; + using System.Net.Http; + using System; + + /// + /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + /// + public class GetTopWatchedContentLibraryResponseBody : Exception + { + + [JsonProperty("errors")] + public List? Errors { get; set; } + + /// + /// Raw HTTP response; suitable for custom response parsing + /// + [JsonProperty("-")] + public HttpResponseMessage? RawResponse { get; set; } + } +} \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetTopWatchedContentResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetTopWatchedContentResponseBody.cs index 7595190..6155387 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetTopWatchedContentResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetTopWatchedContentResponseBody.cs @@ -17,7 +17,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using System; /// - /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + /// Bad Request - A parameter was not specified, or was specified incorrectly. /// public class GetTopWatchedContentResponseBody : Exception { diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetTranscodeSessionsErrors.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetTranscodeSessionsErrors.cs index bf390eb..205b95f 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetTranscodeSessionsErrors.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetTranscodeSessionsErrors.cs @@ -16,12 +16,12 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors { [JsonProperty("code")] - public double? Code { get; set; } + public long? Code { get; set; } [JsonProperty("message")] public string? Message { get; set; } [JsonProperty("status")] - public double? Status { get; set; } + public long? Status { get; set; } } } \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetTranscodeSessionsResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetTranscodeSessionsResponseBody.cs index 4df2c1e..6b29fea 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetTranscodeSessionsResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetTranscodeSessionsResponseBody.cs @@ -17,7 +17,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using System; /// - /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + /// Bad Request - A parameter was not specified, or was specified incorrectly. /// public class GetTranscodeSessionsResponseBody : Exception { diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetTranscodeSessionsSessionsErrors.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetTranscodeSessionsSessionsErrors.cs new file mode 100644 index 0000000..481eca8 --- /dev/null +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetTranscodeSessionsSessionsErrors.cs @@ -0,0 +1,27 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace LukeHagar.PlexAPI.SDK.Models.Errors +{ + using LukeHagar.PlexAPI.SDK.Utils; + using Newtonsoft.Json; + + public class GetTranscodeSessionsSessionsErrors + { + + [JsonProperty("code")] + public long? Code { get; set; } + + [JsonProperty("message")] + public string? Message { get; set; } + + [JsonProperty("status")] + public long? Status { get; set; } + } +} \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetTranscodeSessionsSessionsResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetTranscodeSessionsSessionsResponseBody.cs new file mode 100644 index 0000000..f0e6f2f --- /dev/null +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetTranscodeSessionsSessionsResponseBody.cs @@ -0,0 +1,34 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace LukeHagar.PlexAPI.SDK.Models.Errors +{ + using LukeHagar.PlexAPI.SDK.Models.Errors; + using LukeHagar.PlexAPI.SDK.Utils; + using Newtonsoft.Json; + using System.Collections.Generic; + using System.Net.Http; + using System; + + /// + /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + /// + public class GetTranscodeSessionsSessionsResponseBody : Exception + { + + [JsonProperty("errors")] + public List? Errors { get; set; } + + /// + /// Raw HTTP response; suitable for custom response parsing + /// + [JsonProperty("-")] + public HttpResponseMessage? RawResponse { get; set; } + } +} \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetTransientTokenAuthenticationErrors.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetTransientTokenAuthenticationErrors.cs new file mode 100644 index 0000000..16df832 --- /dev/null +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetTransientTokenAuthenticationErrors.cs @@ -0,0 +1,27 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace LukeHagar.PlexAPI.SDK.Models.Errors +{ + using LukeHagar.PlexAPI.SDK.Utils; + using Newtonsoft.Json; + + public class GetTransientTokenAuthenticationErrors + { + + [JsonProperty("code")] + public long? Code { get; set; } + + [JsonProperty("message")] + public string? Message { get; set; } + + [JsonProperty("status")] + public long? Status { get; set; } + } +} \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetTransientTokenAuthenticationResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetTransientTokenAuthenticationResponseBody.cs new file mode 100644 index 0000000..6386a52 --- /dev/null +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetTransientTokenAuthenticationResponseBody.cs @@ -0,0 +1,34 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace LukeHagar.PlexAPI.SDK.Models.Errors +{ + using LukeHagar.PlexAPI.SDK.Models.Errors; + using LukeHagar.PlexAPI.SDK.Utils; + using Newtonsoft.Json; + using System.Collections.Generic; + using System.Net.Http; + using System; + + /// + /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + /// + public class GetTransientTokenAuthenticationResponseBody : Exception + { + + [JsonProperty("errors")] + public List? Errors { get; set; } + + /// + /// Raw HTTP response; suitable for custom response parsing + /// + [JsonProperty("-")] + public HttpResponseMessage? RawResponse { get; set; } + } +} \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetTransientTokenErrors.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetTransientTokenErrors.cs index bda26f5..7ea5913 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetTransientTokenErrors.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetTransientTokenErrors.cs @@ -16,12 +16,12 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors { [JsonProperty("code")] - public double? Code { get; set; } + public long? Code { get; set; } [JsonProperty("message")] public string? Message { get; set; } [JsonProperty("status")] - public double? Status { get; set; } + public long? Status { get; set; } } } \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetTransientTokenResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetTransientTokenResponseBody.cs index 2f41072..9db6324 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetTransientTokenResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetTransientTokenResponseBody.cs @@ -17,7 +17,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using System; /// - /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + /// Bad Request - A parameter was not specified, or was specified incorrectly. /// public class GetTransientTokenResponseBody : Exception { diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetUpdateStatusErrors.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetUpdateStatusErrors.cs index 6fa46d7..89a9d9d 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetUpdateStatusErrors.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetUpdateStatusErrors.cs @@ -16,12 +16,12 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors { [JsonProperty("code")] - public double? Code { get; set; } + public long? Code { get; set; } [JsonProperty("message")] public string? Message { get; set; } [JsonProperty("status")] - public double? Status { get; set; } + public long? Status { get; set; } } } \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetUpdateStatusResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetUpdateStatusResponseBody.cs index b85169e..5a06447 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetUpdateStatusResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetUpdateStatusResponseBody.cs @@ -17,7 +17,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using System; /// - /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + /// Bad Request - A parameter was not specified, or was specified incorrectly. /// public class GetUpdateStatusResponseBody : Exception { diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetUpdateStatusUpdaterErrors.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetUpdateStatusUpdaterErrors.cs new file mode 100644 index 0000000..496cda9 --- /dev/null +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetUpdateStatusUpdaterErrors.cs @@ -0,0 +1,27 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace LukeHagar.PlexAPI.SDK.Models.Errors +{ + using LukeHagar.PlexAPI.SDK.Utils; + using Newtonsoft.Json; + + public class GetUpdateStatusUpdaterErrors + { + + [JsonProperty("code")] + public long? Code { get; set; } + + [JsonProperty("message")] + public string? Message { get; set; } + + [JsonProperty("status")] + public long? Status { get; set; } + } +} \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetUpdateStatusUpdaterResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetUpdateStatusUpdaterResponseBody.cs new file mode 100644 index 0000000..c971ed2 --- /dev/null +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetUpdateStatusUpdaterResponseBody.cs @@ -0,0 +1,34 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace LukeHagar.PlexAPI.SDK.Models.Errors +{ + using LukeHagar.PlexAPI.SDK.Models.Errors; + using LukeHagar.PlexAPI.SDK.Utils; + using Newtonsoft.Json; + using System.Collections.Generic; + using System.Net.Http; + using System; + + /// + /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + /// + public class GetUpdateStatusUpdaterResponseBody : Exception + { + + [JsonProperty("errors")] + public List? Errors { get; set; } + + /// + /// Raw HTTP response; suitable for custom response parsing + /// + [JsonProperty("-")] + public HttpResponseMessage? RawResponse { get; set; } + } +} \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetUserDetailsAuthenticationErrors.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetUserDetailsAuthenticationErrors.cs new file mode 100644 index 0000000..195cdc2 --- /dev/null +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetUserDetailsAuthenticationErrors.cs @@ -0,0 +1,27 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace LukeHagar.PlexAPI.SDK.Models.Errors +{ + using LukeHagar.PlexAPI.SDK.Utils; + using Newtonsoft.Json; + + public class GetUserDetailsAuthenticationErrors + { + + [JsonProperty("code")] + public long? Code { get; set; } + + [JsonProperty("message")] + public string? Message { get; set; } + + [JsonProperty("status")] + public long? Status { get; set; } + } +} \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetUserDetailsAuthenticationResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetUserDetailsAuthenticationResponseBody.cs new file mode 100644 index 0000000..28e0861 --- /dev/null +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetUserDetailsAuthenticationResponseBody.cs @@ -0,0 +1,34 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace LukeHagar.PlexAPI.SDK.Models.Errors +{ + using LukeHagar.PlexAPI.SDK.Models.Errors; + using LukeHagar.PlexAPI.SDK.Utils; + using Newtonsoft.Json; + using System.Collections.Generic; + using System.Net.Http; + using System; + + /// + /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + /// + public class GetUserDetailsAuthenticationResponseBody : Exception + { + + [JsonProperty("errors")] + public List? Errors { get; set; } + + /// + /// Raw HTTP response; suitable for custom response parsing + /// + [JsonProperty("-")] + public HttpResponseMessage? RawResponse { get; set; } + } +} \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetUserDetailsErrors.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetUserDetailsErrors.cs index c4883a9..b817fdb 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetUserDetailsErrors.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetUserDetailsErrors.cs @@ -16,12 +16,12 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors { [JsonProperty("code")] - public double? Code { get; set; } + public long? Code { get; set; } [JsonProperty("message")] public string? Message { get; set; } [JsonProperty("status")] - public double? Status { get; set; } + public long? Status { get; set; } } } \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetUserDetailsResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetUserDetailsResponseBody.cs index 758b7e3..e722413 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetUserDetailsResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetUserDetailsResponseBody.cs @@ -17,7 +17,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using System; /// - /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + /// Bad Request - A parameter was not specified, or was specified incorrectly. /// public class GetUserDetailsResponseBody : Exception { diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetUserFriendsErrors.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetUserFriendsErrors.cs index 3cf63d7..add5ba4 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetUserFriendsErrors.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetUserFriendsErrors.cs @@ -16,12 +16,12 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors { [JsonProperty("code")] - public double? Code { get; set; } + public long? Code { get; set; } [JsonProperty("message")] public string? Message { get; set; } [JsonProperty("status")] - public double? Status { get; set; } + public long? Status { get; set; } } } \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetUserFriendsPlexErrors.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetUserFriendsPlexErrors.cs new file mode 100644 index 0000000..6f3c32a --- /dev/null +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetUserFriendsPlexErrors.cs @@ -0,0 +1,27 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace LukeHagar.PlexAPI.SDK.Models.Errors +{ + using LukeHagar.PlexAPI.SDK.Utils; + using Newtonsoft.Json; + + public class GetUserFriendsPlexErrors + { + + [JsonProperty("code")] + public long? Code { get; set; } + + [JsonProperty("message")] + public string? Message { get; set; } + + [JsonProperty("status")] + public long? Status { get; set; } + } +} \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetUserFriendsPlexResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetUserFriendsPlexResponseBody.cs new file mode 100644 index 0000000..c25d92a --- /dev/null +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetUserFriendsPlexResponseBody.cs @@ -0,0 +1,34 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace LukeHagar.PlexAPI.SDK.Models.Errors +{ + using LukeHagar.PlexAPI.SDK.Models.Errors; + using LukeHagar.PlexAPI.SDK.Utils; + using Newtonsoft.Json; + using System.Collections.Generic; + using System.Net.Http; + using System; + + /// + /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + /// + public class GetUserFriendsPlexResponseBody : Exception + { + + [JsonProperty("errors")] + public List? Errors { get; set; } + + /// + /// Raw HTTP response; suitable for custom response parsing + /// + [JsonProperty("-")] + public HttpResponseMessage? RawResponse { get; set; } + } +} \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetUserFriendsResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetUserFriendsResponseBody.cs index cd39e6a..4d5ff5e 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetUserFriendsResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetUserFriendsResponseBody.cs @@ -17,7 +17,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using System; /// - /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + /// Bad Request - A parameter was not specified, or was specified incorrectly. /// public class GetUserFriendsResponseBody : Exception { diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetWatchListErrors.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetWatchListErrors.cs index 41d42da..5d0ed6a 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetWatchListErrors.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetWatchListErrors.cs @@ -16,12 +16,12 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors { [JsonProperty("code")] - public double? Code { get; set; } + public long? Code { get; set; } [JsonProperty("message")] public string? Message { get; set; } [JsonProperty("status")] - public double? Status { get; set; } + public long? Status { get; set; } } } \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetWatchListResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetWatchListResponseBody.cs index 0afbb9d..8c14727 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetWatchListResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetWatchListResponseBody.cs @@ -17,7 +17,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using System; /// - /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + /// Bad Request - A parameter was not specified, or was specified incorrectly. /// public class GetWatchListResponseBody : Exception { diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetWatchListWatchlistErrors.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetWatchListWatchlistErrors.cs new file mode 100644 index 0000000..3e253bc --- /dev/null +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetWatchListWatchlistErrors.cs @@ -0,0 +1,27 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace LukeHagar.PlexAPI.SDK.Models.Errors +{ + using LukeHagar.PlexAPI.SDK.Utils; + using Newtonsoft.Json; + + public class GetWatchListWatchlistErrors + { + + [JsonProperty("code")] + public long? Code { get; set; } + + [JsonProperty("message")] + public string? Message { get; set; } + + [JsonProperty("status")] + public long? Status { get; set; } + } +} \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetWatchListWatchlistResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetWatchListWatchlistResponseBody.cs new file mode 100644 index 0000000..114010b --- /dev/null +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetWatchListWatchlistResponseBody.cs @@ -0,0 +1,34 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace LukeHagar.PlexAPI.SDK.Models.Errors +{ + using LukeHagar.PlexAPI.SDK.Models.Errors; + using LukeHagar.PlexAPI.SDK.Utils; + using Newtonsoft.Json; + using System.Collections.Generic; + using System.Net.Http; + using System; + + /// + /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + /// + public class GetWatchListWatchlistResponseBody : Exception + { + + [JsonProperty("errors")] + public List? Errors { get; set; } + + /// + /// Raw HTTP response; suitable for custom response parsing + /// + [JsonProperty("-")] + public HttpResponseMessage? RawResponse { get; set; } + } +} \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/LogLineErrors.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/LogLineErrors.cs index 84453fe..7b64ef7 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/LogLineErrors.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/LogLineErrors.cs @@ -16,12 +16,12 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors { [JsonProperty("code")] - public double? Code { get; set; } + public long? Code { get; set; } [JsonProperty("message")] public string? Message { get; set; } [JsonProperty("status")] - public double? Status { get; set; } + public long? Status { get; set; } } } \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/LogLineLogErrors.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/LogLineLogErrors.cs new file mode 100644 index 0000000..6638664 --- /dev/null +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/LogLineLogErrors.cs @@ -0,0 +1,27 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace LukeHagar.PlexAPI.SDK.Models.Errors +{ + using LukeHagar.PlexAPI.SDK.Utils; + using Newtonsoft.Json; + + public class LogLineLogErrors + { + + [JsonProperty("code")] + public long? Code { get; set; } + + [JsonProperty("message")] + public string? Message { get; set; } + + [JsonProperty("status")] + public long? Status { get; set; } + } +} \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/LogLineLogResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/LogLineLogResponseBody.cs new file mode 100644 index 0000000..d4a7169 --- /dev/null +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/LogLineLogResponseBody.cs @@ -0,0 +1,34 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace LukeHagar.PlexAPI.SDK.Models.Errors +{ + using LukeHagar.PlexAPI.SDK.Models.Errors; + using LukeHagar.PlexAPI.SDK.Utils; + using Newtonsoft.Json; + using System.Collections.Generic; + using System.Net.Http; + using System; + + /// + /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + /// + public class LogLineLogResponseBody : Exception + { + + [JsonProperty("errors")] + public List? Errors { get; set; } + + /// + /// Raw HTTP response; suitable for custom response parsing + /// + [JsonProperty("-")] + public HttpResponseMessage? RawResponse { get; set; } + } +} \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/LogLineResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/LogLineResponseBody.cs index 7e99e50..6c150e8 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/LogLineResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/LogLineResponseBody.cs @@ -17,7 +17,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using System; /// - /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + /// Bad Request - A parameter was not specified, or was specified incorrectly. /// public class LogLineResponseBody : Exception { diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/LogMultiLineErrors.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/LogMultiLineErrors.cs index 5882504..03448ab 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/LogMultiLineErrors.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/LogMultiLineErrors.cs @@ -16,12 +16,12 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors { [JsonProperty("code")] - public double? Code { get; set; } + public long? Code { get; set; } [JsonProperty("message")] public string? Message { get; set; } [JsonProperty("status")] - public double? Status { get; set; } + public long? Status { get; set; } } } \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/LogMultiLineLogErrors.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/LogMultiLineLogErrors.cs new file mode 100644 index 0000000..27eb985 --- /dev/null +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/LogMultiLineLogErrors.cs @@ -0,0 +1,27 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace LukeHagar.PlexAPI.SDK.Models.Errors +{ + using LukeHagar.PlexAPI.SDK.Utils; + using Newtonsoft.Json; + + public class LogMultiLineLogErrors + { + + [JsonProperty("code")] + public long? Code { get; set; } + + [JsonProperty("message")] + public string? Message { get; set; } + + [JsonProperty("status")] + public long? Status { get; set; } + } +} \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/LogMultiLineLogResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/LogMultiLineLogResponseBody.cs new file mode 100644 index 0000000..5f7513d --- /dev/null +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/LogMultiLineLogResponseBody.cs @@ -0,0 +1,34 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace LukeHagar.PlexAPI.SDK.Models.Errors +{ + using LukeHagar.PlexAPI.SDK.Models.Errors; + using LukeHagar.PlexAPI.SDK.Utils; + using Newtonsoft.Json; + using System.Collections.Generic; + using System.Net.Http; + using System; + + /// + /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + /// + public class LogMultiLineLogResponseBody : Exception + { + + [JsonProperty("errors")] + public List? Errors { get; set; } + + /// + /// Raw HTTP response; suitable for custom response parsing + /// + [JsonProperty("-")] + public HttpResponseMessage? RawResponse { get; set; } + } +} \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/LogMultiLineResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/LogMultiLineResponseBody.cs index f7e4e0f..629899a 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/LogMultiLineResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/LogMultiLineResponseBody.cs @@ -17,7 +17,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using System; /// - /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + /// Bad Request - A parameter was not specified, or was specified incorrectly. /// public class LogMultiLineResponseBody : Exception { diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/MarkPlayedErrors.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/MarkPlayedErrors.cs index 93c4bf5..107e35c 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/MarkPlayedErrors.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/MarkPlayedErrors.cs @@ -16,12 +16,12 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors { [JsonProperty("code")] - public double? Code { get; set; } + public long? Code { get; set; } [JsonProperty("message")] public string? Message { get; set; } [JsonProperty("status")] - public double? Status { get; set; } + public long? Status { get; set; } } } \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/MarkPlayedMediaErrors.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/MarkPlayedMediaErrors.cs new file mode 100644 index 0000000..bd9cd4c --- /dev/null +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/MarkPlayedMediaErrors.cs @@ -0,0 +1,27 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace LukeHagar.PlexAPI.SDK.Models.Errors +{ + using LukeHagar.PlexAPI.SDK.Utils; + using Newtonsoft.Json; + + public class MarkPlayedMediaErrors + { + + [JsonProperty("code")] + public long? Code { get; set; } + + [JsonProperty("message")] + public string? Message { get; set; } + + [JsonProperty("status")] + public long? Status { get; set; } + } +} \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/MarkPlayedMediaResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/MarkPlayedMediaResponseBody.cs new file mode 100644 index 0000000..4d3cafd --- /dev/null +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/MarkPlayedMediaResponseBody.cs @@ -0,0 +1,34 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace LukeHagar.PlexAPI.SDK.Models.Errors +{ + using LukeHagar.PlexAPI.SDK.Models.Errors; + using LukeHagar.PlexAPI.SDK.Utils; + using Newtonsoft.Json; + using System.Collections.Generic; + using System.Net.Http; + using System; + + /// + /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + /// + public class MarkPlayedMediaResponseBody : Exception + { + + [JsonProperty("errors")] + public List? Errors { get; set; } + + /// + /// Raw HTTP response; suitable for custom response parsing + /// + [JsonProperty("-")] + public HttpResponseMessage? RawResponse { get; set; } + } +} \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/MarkPlayedResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/MarkPlayedResponseBody.cs index 034e953..26ba11e 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/MarkPlayedResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/MarkPlayedResponseBody.cs @@ -17,7 +17,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using System; /// - /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + /// Bad Request - A parameter was not specified, or was specified incorrectly. /// public class MarkPlayedResponseBody : Exception { diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/MarkUnplayedErrors.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/MarkUnplayedErrors.cs index 8729786..5e2d8e5 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/MarkUnplayedErrors.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/MarkUnplayedErrors.cs @@ -16,12 +16,12 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors { [JsonProperty("code")] - public double? Code { get; set; } + public long? Code { get; set; } [JsonProperty("message")] public string? Message { get; set; } [JsonProperty("status")] - public double? Status { get; set; } + public long? Status { get; set; } } } \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/MarkUnplayedMediaErrors.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/MarkUnplayedMediaErrors.cs new file mode 100644 index 0000000..8cdd056 --- /dev/null +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/MarkUnplayedMediaErrors.cs @@ -0,0 +1,27 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace LukeHagar.PlexAPI.SDK.Models.Errors +{ + using LukeHagar.PlexAPI.SDK.Utils; + using Newtonsoft.Json; + + public class MarkUnplayedMediaErrors + { + + [JsonProperty("code")] + public long? Code { get; set; } + + [JsonProperty("message")] + public string? Message { get; set; } + + [JsonProperty("status")] + public long? Status { get; set; } + } +} \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/MarkUnplayedMediaResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/MarkUnplayedMediaResponseBody.cs new file mode 100644 index 0000000..e040cd8 --- /dev/null +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/MarkUnplayedMediaResponseBody.cs @@ -0,0 +1,34 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace LukeHagar.PlexAPI.SDK.Models.Errors +{ + using LukeHagar.PlexAPI.SDK.Models.Errors; + using LukeHagar.PlexAPI.SDK.Utils; + using Newtonsoft.Json; + using System.Collections.Generic; + using System.Net.Http; + using System; + + /// + /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + /// + public class MarkUnplayedMediaResponseBody : Exception + { + + [JsonProperty("errors")] + public List? Errors { get; set; } + + /// + /// Raw HTTP response; suitable for custom response parsing + /// + [JsonProperty("-")] + public HttpResponseMessage? RawResponse { get; set; } + } +} \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/MarkUnplayedResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/MarkUnplayedResponseBody.cs index 217af44..e5d75e2 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/MarkUnplayedResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/MarkUnplayedResponseBody.cs @@ -17,7 +17,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using System; /// - /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + /// Bad Request - A parameter was not specified, or was specified incorrectly. /// public class MarkUnplayedResponseBody : Exception { diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/PerformSearchErrors.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/PerformSearchErrors.cs index 8a5725d..58fb1f8 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/PerformSearchErrors.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/PerformSearchErrors.cs @@ -16,12 +16,12 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors { [JsonProperty("code")] - public double? Code { get; set; } + public long? Code { get; set; } [JsonProperty("message")] public string? Message { get; set; } [JsonProperty("status")] - public double? Status { get; set; } + public long? Status { get; set; } } } \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/PerformSearchResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/PerformSearchResponseBody.cs index 590ab7a..7b1f3fc 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/PerformSearchResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/PerformSearchResponseBody.cs @@ -17,7 +17,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using System; /// - /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + /// Bad Request - A parameter was not specified, or was specified incorrectly. /// public class PerformSearchResponseBody : Exception { diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/PerformSearchSearchErrors.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/PerformSearchSearchErrors.cs new file mode 100644 index 0000000..762ca15 --- /dev/null +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/PerformSearchSearchErrors.cs @@ -0,0 +1,27 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace LukeHagar.PlexAPI.SDK.Models.Errors +{ + using LukeHagar.PlexAPI.SDK.Utils; + using Newtonsoft.Json; + + public class PerformSearchSearchErrors + { + + [JsonProperty("code")] + public long? Code { get; set; } + + [JsonProperty("message")] + public string? Message { get; set; } + + [JsonProperty("status")] + public long? Status { get; set; } + } +} \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/PerformSearchSearchResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/PerformSearchSearchResponseBody.cs new file mode 100644 index 0000000..bf917ff --- /dev/null +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/PerformSearchSearchResponseBody.cs @@ -0,0 +1,34 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace LukeHagar.PlexAPI.SDK.Models.Errors +{ + using LukeHagar.PlexAPI.SDK.Models.Errors; + using LukeHagar.PlexAPI.SDK.Utils; + using Newtonsoft.Json; + using System.Collections.Generic; + using System.Net.Http; + using System; + + /// + /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + /// + public class PerformSearchSearchResponseBody : Exception + { + + [JsonProperty("errors")] + public List? Errors { get; set; } + + /// + /// Raw HTTP response; suitable for custom response parsing + /// + [JsonProperty("-")] + public HttpResponseMessage? RawResponse { get; set; } + } +} \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/PerformVoiceSearchErrors.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/PerformVoiceSearchErrors.cs index 005760e..7169f25 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/PerformVoiceSearchErrors.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/PerformVoiceSearchErrors.cs @@ -16,12 +16,12 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors { [JsonProperty("code")] - public double? Code { get; set; } + public long? Code { get; set; } [JsonProperty("message")] public string? Message { get; set; } [JsonProperty("status")] - public double? Status { get; set; } + public long? Status { get; set; } } } \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/PerformVoiceSearchResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/PerformVoiceSearchResponseBody.cs index 5bd3d8c..65c2ed0 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/PerformVoiceSearchResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/PerformVoiceSearchResponseBody.cs @@ -17,7 +17,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using System; /// - /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + /// Bad Request - A parameter was not specified, or was specified incorrectly. /// public class PerformVoiceSearchResponseBody : Exception { diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/PerformVoiceSearchSearchErrors.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/PerformVoiceSearchSearchErrors.cs new file mode 100644 index 0000000..0608858 --- /dev/null +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/PerformVoiceSearchSearchErrors.cs @@ -0,0 +1,27 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace LukeHagar.PlexAPI.SDK.Models.Errors +{ + using LukeHagar.PlexAPI.SDK.Utils; + using Newtonsoft.Json; + + public class PerformVoiceSearchSearchErrors + { + + [JsonProperty("code")] + public long? Code { get; set; } + + [JsonProperty("message")] + public string? Message { get; set; } + + [JsonProperty("status")] + public long? Status { get; set; } + } +} \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/PerformVoiceSearchSearchResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/PerformVoiceSearchSearchResponseBody.cs new file mode 100644 index 0000000..416d369 --- /dev/null +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/PerformVoiceSearchSearchResponseBody.cs @@ -0,0 +1,34 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace LukeHagar.PlexAPI.SDK.Models.Errors +{ + using LukeHagar.PlexAPI.SDK.Models.Errors; + using LukeHagar.PlexAPI.SDK.Utils; + using Newtonsoft.Json; + using System.Collections.Generic; + using System.Net.Http; + using System; + + /// + /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + /// + public class PerformVoiceSearchSearchResponseBody : Exception + { + + [JsonProperty("errors")] + public List? Errors { get; set; } + + /// + /// Raw HTTP response; suitable for custom response parsing + /// + [JsonProperty("-")] + public HttpResponseMessage? RawResponse { get; set; } + } +} \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/PostUsersSignInDataAuthenticationErrors.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/PostUsersSignInDataAuthenticationErrors.cs new file mode 100644 index 0000000..871f0ea --- /dev/null +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/PostUsersSignInDataAuthenticationErrors.cs @@ -0,0 +1,27 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace LukeHagar.PlexAPI.SDK.Models.Errors +{ + using LukeHagar.PlexAPI.SDK.Utils; + using Newtonsoft.Json; + + public class PostUsersSignInDataAuthenticationErrors + { + + [JsonProperty("code")] + public long? Code { get; set; } + + [JsonProperty("message")] + public string? Message { get; set; } + + [JsonProperty("status")] + public long? Status { get; set; } + } +} \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/PostUsersSignInDataAuthenticationResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/PostUsersSignInDataAuthenticationResponseBody.cs new file mode 100644 index 0000000..a5cd2d9 --- /dev/null +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/PostUsersSignInDataAuthenticationResponseBody.cs @@ -0,0 +1,34 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace LukeHagar.PlexAPI.SDK.Models.Errors +{ + using LukeHagar.PlexAPI.SDK.Models.Errors; + using LukeHagar.PlexAPI.SDK.Utils; + using Newtonsoft.Json; + using System.Collections.Generic; + using System.Net.Http; + using System; + + /// + /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + /// + public class PostUsersSignInDataAuthenticationResponseBody : Exception + { + + [JsonProperty("errors")] + public List? Errors { get; set; } + + /// + /// Raw HTTP response; suitable for custom response parsing + /// + [JsonProperty("-")] + public HttpResponseMessage? RawResponse { get; set; } + } +} \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/PostUsersSignInDataErrors.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/PostUsersSignInDataErrors.cs index b82f93c..4f03c0a 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/PostUsersSignInDataErrors.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/PostUsersSignInDataErrors.cs @@ -16,12 +16,12 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors { [JsonProperty("code")] - public double? Code { get; set; } + public long? Code { get; set; } [JsonProperty("message")] public string? Message { get; set; } [JsonProperty("status")] - public double? Status { get; set; } + public long? Status { get; set; } } } \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/PostUsersSignInDataResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/PostUsersSignInDataResponseBody.cs index ac70203..5a63753 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/PostUsersSignInDataResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/PostUsersSignInDataResponseBody.cs @@ -17,7 +17,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using System; /// - /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + /// Bad Request - A parameter was not specified, or was specified incorrectly. /// public class PostUsersSignInDataResponseBody : Exception { diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/StartAllTasksButlerErrors.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/StartAllTasksButlerErrors.cs new file mode 100644 index 0000000..cff100f --- /dev/null +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/StartAllTasksButlerErrors.cs @@ -0,0 +1,27 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace LukeHagar.PlexAPI.SDK.Models.Errors +{ + using LukeHagar.PlexAPI.SDK.Utils; + using Newtonsoft.Json; + + public class StartAllTasksButlerErrors + { + + [JsonProperty("code")] + public long? Code { get; set; } + + [JsonProperty("message")] + public string? Message { get; set; } + + [JsonProperty("status")] + public long? Status { get; set; } + } +} \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/StartAllTasksButlerResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/StartAllTasksButlerResponseBody.cs new file mode 100644 index 0000000..c49d1a0 --- /dev/null +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/StartAllTasksButlerResponseBody.cs @@ -0,0 +1,34 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace LukeHagar.PlexAPI.SDK.Models.Errors +{ + using LukeHagar.PlexAPI.SDK.Models.Errors; + using LukeHagar.PlexAPI.SDK.Utils; + using Newtonsoft.Json; + using System.Collections.Generic; + using System.Net.Http; + using System; + + /// + /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + /// + public class StartAllTasksButlerResponseBody : Exception + { + + [JsonProperty("errors")] + public List? Errors { get; set; } + + /// + /// Raw HTTP response; suitable for custom response parsing + /// + [JsonProperty("-")] + public HttpResponseMessage? RawResponse { get; set; } + } +} \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/StartAllTasksErrors.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/StartAllTasksErrors.cs index 47e3a84..8c74fa5 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/StartAllTasksErrors.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/StartAllTasksErrors.cs @@ -16,12 +16,12 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors { [JsonProperty("code")] - public double? Code { get; set; } + public long? Code { get; set; } [JsonProperty("message")] public string? Message { get; set; } [JsonProperty("status")] - public double? Status { get; set; } + public long? Status { get; set; } } } \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/StartAllTasksResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/StartAllTasksResponseBody.cs index b978aec..11ae054 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/StartAllTasksResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/StartAllTasksResponseBody.cs @@ -17,7 +17,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using System; /// - /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + /// Bad Request - A parameter was not specified, or was specified incorrectly. /// public class StartAllTasksResponseBody : Exception { diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/StartTaskButlerErrors.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/StartTaskButlerErrors.cs new file mode 100644 index 0000000..6203512 --- /dev/null +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/StartTaskButlerErrors.cs @@ -0,0 +1,27 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace LukeHagar.PlexAPI.SDK.Models.Errors +{ + using LukeHagar.PlexAPI.SDK.Utils; + using Newtonsoft.Json; + + public class StartTaskButlerErrors + { + + [JsonProperty("code")] + public long? Code { get; set; } + + [JsonProperty("message")] + public string? Message { get; set; } + + [JsonProperty("status")] + public long? Status { get; set; } + } +} \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/StartTaskButlerResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/StartTaskButlerResponseBody.cs new file mode 100644 index 0000000..b20f25c --- /dev/null +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/StartTaskButlerResponseBody.cs @@ -0,0 +1,34 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace LukeHagar.PlexAPI.SDK.Models.Errors +{ + using LukeHagar.PlexAPI.SDK.Models.Errors; + using LukeHagar.PlexAPI.SDK.Utils; + using Newtonsoft.Json; + using System.Collections.Generic; + using System.Net.Http; + using System; + + /// + /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + /// + public class StartTaskButlerResponseBody : Exception + { + + [JsonProperty("errors")] + public List? Errors { get; set; } + + /// + /// Raw HTTP response; suitable for custom response parsing + /// + [JsonProperty("-")] + public HttpResponseMessage? RawResponse { get; set; } + } +} \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/StartTaskErrors.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/StartTaskErrors.cs index 89cc77e..d618b5e 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/StartTaskErrors.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/StartTaskErrors.cs @@ -16,12 +16,12 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors { [JsonProperty("code")] - public double? Code { get; set; } + public long? Code { get; set; } [JsonProperty("message")] public string? Message { get; set; } [JsonProperty("status")] - public double? Status { get; set; } + public long? Status { get; set; } } } \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/StartTaskResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/StartTaskResponseBody.cs index 7ffe831..b307a33 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/StartTaskResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/StartTaskResponseBody.cs @@ -17,7 +17,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using System; /// - /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + /// Bad Request - A parameter was not specified, or was specified incorrectly. /// public class StartTaskResponseBody : Exception { diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/StartUniversalTranscodeErrors.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/StartUniversalTranscodeErrors.cs index 8be9da9..69ddb53 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/StartUniversalTranscodeErrors.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/StartUniversalTranscodeErrors.cs @@ -16,12 +16,12 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors { [JsonProperty("code")] - public double? Code { get; set; } + public long? Code { get; set; } [JsonProperty("message")] public string? Message { get; set; } [JsonProperty("status")] - public double? Status { get; set; } + public long? Status { get; set; } } } \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/StartUniversalTranscodeResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/StartUniversalTranscodeResponseBody.cs index adfa2de..7d0ce16 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/StartUniversalTranscodeResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/StartUniversalTranscodeResponseBody.cs @@ -17,7 +17,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using System; /// - /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + /// Bad Request - A parameter was not specified, or was specified incorrectly. /// public class StartUniversalTranscodeResponseBody : Exception { diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/StartUniversalTranscodeVideoErrors.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/StartUniversalTranscodeVideoErrors.cs new file mode 100644 index 0000000..9df26eb --- /dev/null +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/StartUniversalTranscodeVideoErrors.cs @@ -0,0 +1,27 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace LukeHagar.PlexAPI.SDK.Models.Errors +{ + using LukeHagar.PlexAPI.SDK.Utils; + using Newtonsoft.Json; + + public class StartUniversalTranscodeVideoErrors + { + + [JsonProperty("code")] + public long? Code { get; set; } + + [JsonProperty("message")] + public string? Message { get; set; } + + [JsonProperty("status")] + public long? Status { get; set; } + } +} \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/StartUniversalTranscodeVideoResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/StartUniversalTranscodeVideoResponseBody.cs new file mode 100644 index 0000000..3c81c1a --- /dev/null +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/StartUniversalTranscodeVideoResponseBody.cs @@ -0,0 +1,34 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace LukeHagar.PlexAPI.SDK.Models.Errors +{ + using LukeHagar.PlexAPI.SDK.Models.Errors; + using LukeHagar.PlexAPI.SDK.Utils; + using Newtonsoft.Json; + using System.Collections.Generic; + using System.Net.Http; + using System; + + /// + /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + /// + public class StartUniversalTranscodeVideoResponseBody : Exception + { + + [JsonProperty("errors")] + public List? Errors { get; set; } + + /// + /// Raw HTTP response; suitable for custom response parsing + /// + [JsonProperty("-")] + public HttpResponseMessage? RawResponse { get; set; } + } +} \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/StopAllTasksButlerErrors.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/StopAllTasksButlerErrors.cs new file mode 100644 index 0000000..7758423 --- /dev/null +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/StopAllTasksButlerErrors.cs @@ -0,0 +1,27 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace LukeHagar.PlexAPI.SDK.Models.Errors +{ + using LukeHagar.PlexAPI.SDK.Utils; + using Newtonsoft.Json; + + public class StopAllTasksButlerErrors + { + + [JsonProperty("code")] + public long? Code { get; set; } + + [JsonProperty("message")] + public string? Message { get; set; } + + [JsonProperty("status")] + public long? Status { get; set; } + } +} \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/StopAllTasksButlerResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/StopAllTasksButlerResponseBody.cs new file mode 100644 index 0000000..6d32355 --- /dev/null +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/StopAllTasksButlerResponseBody.cs @@ -0,0 +1,34 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace LukeHagar.PlexAPI.SDK.Models.Errors +{ + using LukeHagar.PlexAPI.SDK.Models.Errors; + using LukeHagar.PlexAPI.SDK.Utils; + using Newtonsoft.Json; + using System.Collections.Generic; + using System.Net.Http; + using System; + + /// + /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + /// + public class StopAllTasksButlerResponseBody : Exception + { + + [JsonProperty("errors")] + public List? Errors { get; set; } + + /// + /// Raw HTTP response; suitable for custom response parsing + /// + [JsonProperty("-")] + public HttpResponseMessage? RawResponse { get; set; } + } +} \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/StopAllTasksErrors.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/StopAllTasksErrors.cs index e856bcf..0002b99 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/StopAllTasksErrors.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/StopAllTasksErrors.cs @@ -16,12 +16,12 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors { [JsonProperty("code")] - public double? Code { get; set; } + public long? Code { get; set; } [JsonProperty("message")] public string? Message { get; set; } [JsonProperty("status")] - public double? Status { get; set; } + public long? Status { get; set; } } } \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/StopAllTasksResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/StopAllTasksResponseBody.cs index b9dbf66..7c05073 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/StopAllTasksResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/StopAllTasksResponseBody.cs @@ -17,7 +17,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using System; /// - /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + /// Bad Request - A parameter was not specified, or was specified incorrectly. /// public class StopAllTasksResponseBody : Exception { diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/StopTaskButlerErrors.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/StopTaskButlerErrors.cs new file mode 100644 index 0000000..1cff33a --- /dev/null +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/StopTaskButlerErrors.cs @@ -0,0 +1,27 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace LukeHagar.PlexAPI.SDK.Models.Errors +{ + using LukeHagar.PlexAPI.SDK.Utils; + using Newtonsoft.Json; + + public class StopTaskButlerErrors + { + + [JsonProperty("code")] + public long? Code { get; set; } + + [JsonProperty("message")] + public string? Message { get; set; } + + [JsonProperty("status")] + public long? Status { get; set; } + } +} \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/StopTaskButlerResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/StopTaskButlerResponseBody.cs new file mode 100644 index 0000000..b2d0b86 --- /dev/null +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/StopTaskButlerResponseBody.cs @@ -0,0 +1,34 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace LukeHagar.PlexAPI.SDK.Models.Errors +{ + using LukeHagar.PlexAPI.SDK.Models.Errors; + using LukeHagar.PlexAPI.SDK.Utils; + using Newtonsoft.Json; + using System.Collections.Generic; + using System.Net.Http; + using System; + + /// + /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + /// + public class StopTaskButlerResponseBody : Exception + { + + [JsonProperty("errors")] + public List? Errors { get; set; } + + /// + /// Raw HTTP response; suitable for custom response parsing + /// + [JsonProperty("-")] + public HttpResponseMessage? RawResponse { get; set; } + } +} \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/StopTaskErrors.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/StopTaskErrors.cs index fed89ba..cff564d 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/StopTaskErrors.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/StopTaskErrors.cs @@ -16,12 +16,12 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors { [JsonProperty("code")] - public double? Code { get; set; } + public long? Code { get; set; } [JsonProperty("message")] public string? Message { get; set; } [JsonProperty("status")] - public double? Status { get; set; } + public long? Status { get; set; } } } \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/StopTaskResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/StopTaskResponseBody.cs index 526db42..d73d695 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/StopTaskResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/StopTaskResponseBody.cs @@ -17,7 +17,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using System; /// - /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + /// Bad Request - A parameter was not specified, or was specified incorrectly. /// public class StopTaskResponseBody : Exception { diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/StopTranscodeSessionErrors.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/StopTranscodeSessionErrors.cs index 6042827..7906a50 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/StopTranscodeSessionErrors.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/StopTranscodeSessionErrors.cs @@ -16,12 +16,12 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors { [JsonProperty("code")] - public double? Code { get; set; } + public long? Code { get; set; } [JsonProperty("message")] public string? Message { get; set; } [JsonProperty("status")] - public double? Status { get; set; } + public long? Status { get; set; } } } \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/StopTranscodeSessionResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/StopTranscodeSessionResponseBody.cs index 6a59e97..3f2ad0d 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/StopTranscodeSessionResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/StopTranscodeSessionResponseBody.cs @@ -17,7 +17,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using System; /// - /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + /// Bad Request - A parameter was not specified, or was specified incorrectly. /// public class StopTranscodeSessionResponseBody : Exception { diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/StopTranscodeSessionSessionsErrors.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/StopTranscodeSessionSessionsErrors.cs new file mode 100644 index 0000000..d9d8d6e --- /dev/null +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/StopTranscodeSessionSessionsErrors.cs @@ -0,0 +1,27 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace LukeHagar.PlexAPI.SDK.Models.Errors +{ + using LukeHagar.PlexAPI.SDK.Utils; + using Newtonsoft.Json; + + public class StopTranscodeSessionSessionsErrors + { + + [JsonProperty("code")] + public long? Code { get; set; } + + [JsonProperty("message")] + public string? Message { get; set; } + + [JsonProperty("status")] + public long? Status { get; set; } + } +} \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/StopTranscodeSessionSessionsResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/StopTranscodeSessionSessionsResponseBody.cs new file mode 100644 index 0000000..5dbfad2 --- /dev/null +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/StopTranscodeSessionSessionsResponseBody.cs @@ -0,0 +1,34 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace LukeHagar.PlexAPI.SDK.Models.Errors +{ + using LukeHagar.PlexAPI.SDK.Models.Errors; + using LukeHagar.PlexAPI.SDK.Utils; + using Newtonsoft.Json; + using System.Collections.Generic; + using System.Net.Http; + using System; + + /// + /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + /// + public class StopTranscodeSessionSessionsResponseBody : Exception + { + + [JsonProperty("errors")] + public List? Errors { get; set; } + + /// + /// Raw HTTP response; suitable for custom response parsing + /// + [JsonProperty("-")] + public HttpResponseMessage? RawResponse { get; set; } + } +} \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/UpdatePlayProgressErrors.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/UpdatePlayProgressErrors.cs index aebc3de..de9c0fb 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/UpdatePlayProgressErrors.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/UpdatePlayProgressErrors.cs @@ -16,12 +16,12 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors { [JsonProperty("code")] - public double? Code { get; set; } + public long? Code { get; set; } [JsonProperty("message")] public string? Message { get; set; } [JsonProperty("status")] - public double? Status { get; set; } + public long? Status { get; set; } } } \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/UpdatePlayProgressMediaErrors.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/UpdatePlayProgressMediaErrors.cs new file mode 100644 index 0000000..d4a3791 --- /dev/null +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/UpdatePlayProgressMediaErrors.cs @@ -0,0 +1,27 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace LukeHagar.PlexAPI.SDK.Models.Errors +{ + using LukeHagar.PlexAPI.SDK.Utils; + using Newtonsoft.Json; + + public class UpdatePlayProgressMediaErrors + { + + [JsonProperty("code")] + public long? Code { get; set; } + + [JsonProperty("message")] + public string? Message { get; set; } + + [JsonProperty("status")] + public long? Status { get; set; } + } +} \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/UpdatePlayProgressMediaResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/UpdatePlayProgressMediaResponseBody.cs new file mode 100644 index 0000000..2dd656a --- /dev/null +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/UpdatePlayProgressMediaResponseBody.cs @@ -0,0 +1,34 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace LukeHagar.PlexAPI.SDK.Models.Errors +{ + using LukeHagar.PlexAPI.SDK.Models.Errors; + using LukeHagar.PlexAPI.SDK.Utils; + using Newtonsoft.Json; + using System.Collections.Generic; + using System.Net.Http; + using System; + + /// + /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + /// + public class UpdatePlayProgressMediaResponseBody : Exception + { + + [JsonProperty("errors")] + public List? Errors { get; set; } + + /// + /// Raw HTTP response; suitable for custom response parsing + /// + [JsonProperty("-")] + public HttpResponseMessage? RawResponse { get; set; } + } +} \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/UpdatePlayProgressResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/UpdatePlayProgressResponseBody.cs index a5c99fa..f4fd8ae 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/UpdatePlayProgressResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/UpdatePlayProgressResponseBody.cs @@ -17,7 +17,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using System; /// - /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + /// Bad Request - A parameter was not specified, or was specified incorrectly. /// public class UpdatePlayProgressResponseBody : Exception { diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/UpdatePlaylistErrors.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/UpdatePlaylistErrors.cs index 660c904..bb08275 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/UpdatePlaylistErrors.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/UpdatePlaylistErrors.cs @@ -16,12 +16,12 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors { [JsonProperty("code")] - public double? Code { get; set; } + public long? Code { get; set; } [JsonProperty("message")] public string? Message { get; set; } [JsonProperty("status")] - public double? Status { get; set; } + public long? Status { get; set; } } } \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/UpdatePlaylistPlaylistsErrors.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/UpdatePlaylistPlaylistsErrors.cs new file mode 100644 index 0000000..ac07100 --- /dev/null +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/UpdatePlaylistPlaylistsErrors.cs @@ -0,0 +1,27 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace LukeHagar.PlexAPI.SDK.Models.Errors +{ + using LukeHagar.PlexAPI.SDK.Utils; + using Newtonsoft.Json; + + public class UpdatePlaylistPlaylistsErrors + { + + [JsonProperty("code")] + public long? Code { get; set; } + + [JsonProperty("message")] + public string? Message { get; set; } + + [JsonProperty("status")] + public long? Status { get; set; } + } +} \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/UpdatePlaylistPlaylistsResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/UpdatePlaylistPlaylistsResponseBody.cs new file mode 100644 index 0000000..847d765 --- /dev/null +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/UpdatePlaylistPlaylistsResponseBody.cs @@ -0,0 +1,34 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace LukeHagar.PlexAPI.SDK.Models.Errors +{ + using LukeHagar.PlexAPI.SDK.Models.Errors; + using LukeHagar.PlexAPI.SDK.Utils; + using Newtonsoft.Json; + using System.Collections.Generic; + using System.Net.Http; + using System; + + /// + /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + /// + public class UpdatePlaylistPlaylistsResponseBody : Exception + { + + [JsonProperty("errors")] + public List? Errors { get; set; } + + /// + /// Raw HTTP response; suitable for custom response parsing + /// + [JsonProperty("-")] + public HttpResponseMessage? RawResponse { get; set; } + } +} \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/UpdatePlaylistResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/UpdatePlaylistResponseBody.cs index d912835..39b5de1 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/UpdatePlaylistResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/UpdatePlaylistResponseBody.cs @@ -17,7 +17,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using System; /// - /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + /// Bad Request - A parameter was not specified, or was specified incorrectly. /// public class UpdatePlaylistResponseBody : Exception { diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/UploadPlaylistErrors.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/UploadPlaylistErrors.cs index 3fdd020..074ac53 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/UploadPlaylistErrors.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/UploadPlaylistErrors.cs @@ -16,12 +16,12 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors { [JsonProperty("code")] - public double? Code { get; set; } + public long? Code { get; set; } [JsonProperty("message")] public string? Message { get; set; } [JsonProperty("status")] - public double? Status { get; set; } + public long? Status { get; set; } } } \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/UploadPlaylistPlaylistsErrors.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/UploadPlaylistPlaylistsErrors.cs new file mode 100644 index 0000000..2fa3c6c --- /dev/null +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/UploadPlaylistPlaylistsErrors.cs @@ -0,0 +1,27 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace LukeHagar.PlexAPI.SDK.Models.Errors +{ + using LukeHagar.PlexAPI.SDK.Utils; + using Newtonsoft.Json; + + public class UploadPlaylistPlaylistsErrors + { + + [JsonProperty("code")] + public long? Code { get; set; } + + [JsonProperty("message")] + public string? Message { get; set; } + + [JsonProperty("status")] + public long? Status { get; set; } + } +} \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/UploadPlaylistPlaylistsResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/UploadPlaylistPlaylistsResponseBody.cs new file mode 100644 index 0000000..afc7b43 --- /dev/null +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/UploadPlaylistPlaylistsResponseBody.cs @@ -0,0 +1,34 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace LukeHagar.PlexAPI.SDK.Models.Errors +{ + using LukeHagar.PlexAPI.SDK.Models.Errors; + using LukeHagar.PlexAPI.SDK.Utils; + using Newtonsoft.Json; + using System.Collections.Generic; + using System.Net.Http; + using System; + + /// + /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + /// + public class UploadPlaylistPlaylistsResponseBody : Exception + { + + [JsonProperty("errors")] + public List? Errors { get; set; } + + /// + /// Raw HTTP response; suitable for custom response parsing + /// + [JsonProperty("-")] + public HttpResponseMessage? RawResponse { get; set; } + } +} \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/UploadPlaylistResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/UploadPlaylistResponseBody.cs index cc91246..0f9d5f8 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/UploadPlaylistResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/UploadPlaylistResponseBody.cs @@ -17,7 +17,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using System; /// - /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + /// Bad Request - A parameter was not specified, or was specified incorrectly. /// public class UploadPlaylistResponseBody : Exception { diff --git a/LukeHagar/PlexAPI/SDK/Models/Requests/GetAllLibrariesDirectory.cs b/LukeHagar/PlexAPI/SDK/Models/Requests/GetAllLibrariesDirectory.cs index 0c299c5..c4dac46 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Requests/GetAllLibrariesDirectory.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Requests/GetAllLibrariesDirectory.cs @@ -60,19 +60,19 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests /// Unix epoch datetime /// [JsonProperty("updatedAt")] - public int? UpdatedAt { get; set; } + public long? UpdatedAt { get; set; } /// /// Unix epoch datetime /// [JsonProperty("createdAt")] - public int? CreatedAt { get; set; } + public long? CreatedAt { get; set; } /// /// Unix epoch datetime /// [JsonProperty("scannedAt")] - public int? ScannedAt { get; set; } + public long? ScannedAt { get; set; } [JsonProperty("content")] public bool? Content { get; set; } diff --git a/LukeHagar/PlexAPI/SDK/Models/Requests/GetUserDetailsUserPlexAccount.cs b/LukeHagar/PlexAPI/SDK/Models/Requests/GetUserDetailsUserPlexAccount.cs index acb1404..965bc37 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Requests/GetUserDetailsUserPlexAccount.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Requests/GetUserDetailsUserPlexAccount.cs @@ -136,10 +136,10 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests public int Id { get; set; } = default!; /// - /// Unix epoch datetime the account joined Plex + /// Unix epoch datetime /// [JsonProperty("joinedAt")] - public int JoinedAt { get; set; } = default!; + public long JoinedAt { get; set; } = default!; /// /// The account locale @@ -182,10 +182,10 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests public bool? Protected { get; set; } = false; /// - /// Unix epoch datetime the authtoken expires + /// Unix epoch datetime /// [JsonProperty("rememberExpiresAt")] - public int RememberExpiresAt { get; set; } = default!; + public long RememberExpiresAt { get; set; } = default!; /// /// If the account is a Plex Home managed user diff --git a/LukeHagar/PlexAPI/SDK/Models/Requests/PastSubscription.cs b/LukeHagar/PlexAPI/SDK/Models/Requests/PastSubscription.cs index 9b7fdc1..25e26d1 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Requests/PastSubscription.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Requests/PastSubscription.cs @@ -23,10 +23,10 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests public string? Mode { get; set; } [JsonProperty("renewsAt", NullValueHandling = NullValueHandling.Include)] - public int? RenewsAt { get; set; } + public long? RenewsAt { get; set; } [JsonProperty("endsAt", NullValueHandling = NullValueHandling.Include)] - public int? EndsAt { get; set; } + public long? EndsAt { get; set; } [JsonProperty("canceled")] public bool? Canceled { get; set; } = false; diff --git a/LukeHagar/PlexAPI/SDK/Models/Requests/PostUsersSignInDataRequestBody.cs b/LukeHagar/PlexAPI/SDK/Models/Requests/PostUsersSignInDataRequestBody.cs index 0ce128d..5532b21 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Requests/PostUsersSignInDataRequestBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Requests/PostUsersSignInDataRequestBody.cs @@ -25,5 +25,8 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests [SpeakeasyMetadata("form:name=rememberMe")] public bool? RememberMe { get; set; } = false; + + [SpeakeasyMetadata("form:name=verificationCode")] + public string? VerificationCode { get; set; } } } \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Requests/PostUsersSignInDataUserPlexAccount.cs b/LukeHagar/PlexAPI/SDK/Models/Requests/PostUsersSignInDataUserPlexAccount.cs index b322688..4caca92 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Requests/PostUsersSignInDataUserPlexAccount.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Requests/PostUsersSignInDataUserPlexAccount.cs @@ -136,10 +136,10 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests public int Id { get; set; } = default!; /// - /// Unix epoch datetime the account joined Plex + /// Unix epoch datetime /// [JsonProperty("joinedAt")] - public int JoinedAt { get; set; } = default!; + public long JoinedAt { get; set; } = default!; /// /// The account locale @@ -182,10 +182,10 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests public bool? Protected { get; set; } = false; /// - /// Unix epoch datetime the authtoken expires + /// Unix epoch datetime /// [JsonProperty("rememberExpiresAt")] - public int RememberExpiresAt { get; set; } = default!; + public long RememberExpiresAt { get; set; } = default!; /// /// If the account is a Plex Home managed user diff --git a/LukeHagar/PlexAPI/SDK/Playlists.cs b/LukeHagar/PlexAPI/SDK/Playlists.cs index 101dae0..93edab6 100644 --- a/LukeHagar/PlexAPI/SDK/Playlists.cs +++ b/LukeHagar/PlexAPI/SDK/Playlists.cs @@ -146,10 +146,10 @@ namespace LukeHagar.PlexAPI.SDK { public SDKConfig SDKConfiguration { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.5.3"; + private const string _sdkVersion = "0.6.0"; private const string _sdkGenVersion = "2.411.9"; private const string _openapiDocVersion = "0.0.3"; - private const string _userAgent = "speakeasy-sdk/csharp 0.5.3 2.411.9 0.0.3 LukeHagar.PlexAPI.SDK"; + private const string _userAgent = "speakeasy-sdk/csharp 0.6.0 2.411.9 0.0.3 LukeHagar.PlexAPI.SDK"; private string _serverUrl = ""; private ISpeakeasyHttpClient _client; private Func? _securitySource; @@ -230,11 +230,7 @@ namespace LukeHagar.PlexAPI.SDK throw new SDKException("Unknown content type received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); } } - else if(responseStatusCode == 400 || responseStatusCode >= 400 && responseStatusCode < 500 || responseStatusCode >= 500 && responseStatusCode < 600) - { - throw new SDKException("API error occurred", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); - } - else if(responseStatusCode == 401) + else if(responseStatusCode == 400) { if(Utilities.IsContentTypeMatch("application/json", contentType)) { @@ -247,6 +243,23 @@ namespace LukeHagar.PlexAPI.SDK throw new SDKException("Unknown content type received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); } } + else if(responseStatusCode == 401) + { + if(Utilities.IsContentTypeMatch("application/json", contentType)) + { + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + obj!.RawResponse = httpResponse; + throw obj!; + } + else + { + throw new SDKException("Unknown content type received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); + } + } + else if(responseStatusCode >= 400 && responseStatusCode < 500 || responseStatusCode >= 500 && responseStatusCode < 600) + { + throw new SDKException("API error occurred", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); + } else { throw new SDKException("Unknown status code received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); @@ -326,11 +339,7 @@ namespace LukeHagar.PlexAPI.SDK throw new SDKException("Unknown content type received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); } } - else if(responseStatusCode == 400 || responseStatusCode >= 400 && responseStatusCode < 500 || responseStatusCode >= 500 && responseStatusCode < 600) - { - throw new SDKException("API error occurred", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); - } - else if(responseStatusCode == 401) + else if(responseStatusCode == 400) { if(Utilities.IsContentTypeMatch("application/json", contentType)) { @@ -343,6 +352,23 @@ namespace LukeHagar.PlexAPI.SDK throw new SDKException("Unknown content type received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); } } + else if(responseStatusCode == 401) + { + if(Utilities.IsContentTypeMatch("application/json", contentType)) + { + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + obj!.RawResponse = httpResponse; + throw obj!; + } + else + { + throw new SDKException("Unknown content type received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); + } + } + else if(responseStatusCode >= 400 && responseStatusCode < 500 || responseStatusCode >= 500 && responseStatusCode < 600) + { + throw new SDKException("API error occurred", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); + } else { throw new SDKException("Unknown status code received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); @@ -421,11 +447,7 @@ namespace LukeHagar.PlexAPI.SDK throw new SDKException("Unknown content type received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); } } - else if(responseStatusCode == 400 || responseStatusCode >= 400 && responseStatusCode < 500 || responseStatusCode >= 500 && responseStatusCode < 600) - { - throw new SDKException("API error occurred", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); - } - else if(responseStatusCode == 401) + else if(responseStatusCode == 400) { if(Utilities.IsContentTypeMatch("application/json", contentType)) { @@ -438,6 +460,23 @@ namespace LukeHagar.PlexAPI.SDK throw new SDKException("Unknown content type received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); } } + else if(responseStatusCode == 401) + { + if(Utilities.IsContentTypeMatch("application/json", contentType)) + { + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + obj!.RawResponse = httpResponse; + throw obj!; + } + else + { + throw new SDKException("Unknown content type received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); + } + } + else if(responseStatusCode >= 400 && responseStatusCode < 500 || responseStatusCode >= 500 && responseStatusCode < 600) + { + throw new SDKException("API error occurred", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); + } else { throw new SDKException("Unknown status code received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); @@ -506,11 +545,7 @@ namespace LukeHagar.PlexAPI.SDK RawResponse = httpResponse }; } - else if(responseStatusCode == 400 || responseStatusCode >= 400 && responseStatusCode < 500 || responseStatusCode >= 500 && responseStatusCode < 600) - { - throw new SDKException("API error occurred", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); - } - else if(responseStatusCode == 401) + else if(responseStatusCode == 400) { if(Utilities.IsContentTypeMatch("application/json", contentType)) { @@ -523,6 +558,23 @@ namespace LukeHagar.PlexAPI.SDK throw new SDKException("Unknown content type received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); } } + else if(responseStatusCode == 401) + { + if(Utilities.IsContentTypeMatch("application/json", contentType)) + { + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + obj!.RawResponse = httpResponse; + throw obj!; + } + else + { + throw new SDKException("Unknown content type received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); + } + } + else if(responseStatusCode >= 400 && responseStatusCode < 500 || responseStatusCode >= 500 && responseStatusCode < 600) + { + throw new SDKException("API error occurred", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); + } else { throw new SDKException("Unknown status code received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); @@ -593,11 +645,7 @@ namespace LukeHagar.PlexAPI.SDK RawResponse = httpResponse }; } - else if(responseStatusCode == 400 || responseStatusCode >= 400 && responseStatusCode < 500 || responseStatusCode >= 500 && responseStatusCode < 600) - { - throw new SDKException("API error occurred", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); - } - else if(responseStatusCode == 401) + else if(responseStatusCode == 400) { if(Utilities.IsContentTypeMatch("application/json", contentType)) { @@ -610,6 +658,23 @@ namespace LukeHagar.PlexAPI.SDK throw new SDKException("Unknown content type received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); } } + else if(responseStatusCode == 401) + { + if(Utilities.IsContentTypeMatch("application/json", contentType)) + { + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + obj!.RawResponse = httpResponse; + throw obj!; + } + else + { + throw new SDKException("Unknown content type received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); + } + } + else if(responseStatusCode >= 400 && responseStatusCode < 500 || responseStatusCode >= 500 && responseStatusCode < 600) + { + throw new SDKException("API error occurred", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); + } else { throw new SDKException("Unknown status code received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); @@ -689,11 +754,7 @@ namespace LukeHagar.PlexAPI.SDK throw new SDKException("Unknown content type received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); } } - else if(responseStatusCode == 400 || responseStatusCode >= 400 && responseStatusCode < 500 || responseStatusCode >= 500 && responseStatusCode < 600) - { - throw new SDKException("API error occurred", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); - } - else if(responseStatusCode == 401) + else if(responseStatusCode == 400) { if(Utilities.IsContentTypeMatch("application/json", contentType)) { @@ -706,6 +767,23 @@ namespace LukeHagar.PlexAPI.SDK throw new SDKException("Unknown content type received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); } } + else if(responseStatusCode == 401) + { + if(Utilities.IsContentTypeMatch("application/json", contentType)) + { + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + obj!.RawResponse = httpResponse; + throw obj!; + } + else + { + throw new SDKException("Unknown content type received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); + } + } + else if(responseStatusCode >= 400 && responseStatusCode < 500 || responseStatusCode >= 500 && responseStatusCode < 600) + { + throw new SDKException("API error occurred", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); + } else { throw new SDKException("Unknown status code received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); @@ -774,11 +852,7 @@ namespace LukeHagar.PlexAPI.SDK RawResponse = httpResponse }; } - else if(responseStatusCode == 400 || responseStatusCode >= 400 && responseStatusCode < 500 || responseStatusCode >= 500 && responseStatusCode < 600) - { - throw new SDKException("API error occurred", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); - } - else if(responseStatusCode == 401) + else if(responseStatusCode == 400) { if(Utilities.IsContentTypeMatch("application/json", contentType)) { @@ -791,6 +865,23 @@ namespace LukeHagar.PlexAPI.SDK throw new SDKException("Unknown content type received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); } } + else if(responseStatusCode == 401) + { + if(Utilities.IsContentTypeMatch("application/json", contentType)) + { + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + obj!.RawResponse = httpResponse; + throw obj!; + } + else + { + throw new SDKException("Unknown content type received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); + } + } + else if(responseStatusCode >= 400 && responseStatusCode < 500 || responseStatusCode >= 500 && responseStatusCode < 600) + { + throw new SDKException("API error occurred", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); + } else { throw new SDKException("Unknown status code received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); @@ -871,11 +962,7 @@ namespace LukeHagar.PlexAPI.SDK throw new SDKException("Unknown content type received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); } } - else if(responseStatusCode == 400 || responseStatusCode >= 400 && responseStatusCode < 500 || responseStatusCode >= 500 && responseStatusCode < 600) - { - throw new SDKException("API error occurred", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); - } - else if(responseStatusCode == 401) + else if(responseStatusCode == 400) { if(Utilities.IsContentTypeMatch("application/json", contentType)) { @@ -888,6 +975,23 @@ namespace LukeHagar.PlexAPI.SDK throw new SDKException("Unknown content type received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); } } + else if(responseStatusCode == 401) + { + if(Utilities.IsContentTypeMatch("application/json", contentType)) + { + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + obj!.RawResponse = httpResponse; + throw obj!; + } + else + { + throw new SDKException("Unknown content type received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); + } + } + else if(responseStatusCode >= 400 && responseStatusCode < 500 || responseStatusCode >= 500 && responseStatusCode < 600) + { + throw new SDKException("API error occurred", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); + } else { throw new SDKException("Unknown status code received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); @@ -957,11 +1061,7 @@ namespace LukeHagar.PlexAPI.SDK RawResponse = httpResponse }; } - else if(responseStatusCode == 400 || responseStatusCode >= 400 && responseStatusCode < 500 || responseStatusCode >= 500 && responseStatusCode < 600) - { - throw new SDKException("API error occurred", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); - } - else if(responseStatusCode == 401) + else if(responseStatusCode == 400) { if(Utilities.IsContentTypeMatch("application/json", contentType)) { @@ -974,6 +1074,23 @@ namespace LukeHagar.PlexAPI.SDK throw new SDKException("Unknown content type received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); } } + else if(responseStatusCode == 401) + { + if(Utilities.IsContentTypeMatch("application/json", contentType)) + { + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + obj!.RawResponse = httpResponse; + throw obj!; + } + else + { + throw new SDKException("Unknown content type received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); + } + } + else if(responseStatusCode >= 400 && responseStatusCode < 500 || responseStatusCode >= 500 && responseStatusCode < 600) + { + throw new SDKException("API error occurred", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); + } else { throw new SDKException("Unknown status code received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); diff --git a/LukeHagar/PlexAPI/SDK/Plex.cs b/LukeHagar/PlexAPI/SDK/Plex.cs index f1c93e4..db551f8 100644 --- a/LukeHagar/PlexAPI/SDK/Plex.cs +++ b/LukeHagar/PlexAPI/SDK/Plex.cs @@ -109,44 +109,44 @@ namespace LukeHagar.PlexAPI.SDK /// List of server URLs available for the getCompanionsData operation. /// public static readonly string[] GetCompanionsDataServerList = { - "https://plex.tv/api/v2", + "https://plex.tv/api/v2/", }; /// /// List of server URLs available for the getUserFriends operation. /// public static readonly string[] GetUserFriendsServerList = { - "https://plex.tv/api/v2", + "https://plex.tv/api/v2/", }; /// /// List of server URLs available for the getGeoData operation. /// public static readonly string[] GetGeoDataServerList = { - "https://plex.tv/api/v2", + "https://plex.tv/api/v2/", }; /// /// List of server URLs available for the get-server-resources operation. /// public static readonly string[] GetServerResourcesServerList = { - "https://plex.tv/api/v2", + "https://plex.tv/api/v2/", }; /// /// List of server URLs available for the getPin operation. /// public static readonly string[] GetPinServerList = { - "https://plex.tv/api/v2", + "https://plex.tv/api/v2/", }; /// /// List of server URLs available for the getTokenByPinId operation. /// public static readonly string[] GetTokenByPinIdServerList = { - "https://plex.tv/api/v2", + "https://plex.tv/api/v2/", }; public SDKConfig SDKConfiguration { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.5.3"; + private const string _sdkVersion = "0.6.0"; private const string _sdkGenVersion = "2.411.9"; private const string _openapiDocVersion = "0.0.3"; - private const string _userAgent = "speakeasy-sdk/csharp 0.5.3 2.411.9 0.0.3 LukeHagar.PlexAPI.SDK"; + private const string _userAgent = "speakeasy-sdk/csharp 0.6.0 2.411.9 0.0.3 LukeHagar.PlexAPI.SDK"; private string _serverUrl = ""; private ISpeakeasyHttpClient _client; private Func? _securitySource; @@ -233,11 +233,7 @@ namespace LukeHagar.PlexAPI.SDK throw new SDKException("Unknown content type received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); } } - else if(responseStatusCode == 400 || responseStatusCode >= 400 && responseStatusCode < 500 || responseStatusCode >= 500 && responseStatusCode < 600) - { - throw new SDKException("API error occurred", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); - } - else if(responseStatusCode == 401) + else if(responseStatusCode == 400) { if(Utilities.IsContentTypeMatch("application/json", contentType)) { @@ -250,6 +246,23 @@ namespace LukeHagar.PlexAPI.SDK throw new SDKException("Unknown content type received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); } } + else if(responseStatusCode == 401) + { + if(Utilities.IsContentTypeMatch("application/json", contentType)) + { + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + obj!.RawResponse = httpResponse; + throw obj!; + } + else + { + throw new SDKException("Unknown content type received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); + } + } + else if(responseStatusCode >= 400 && responseStatusCode < 500 || responseStatusCode >= 500 && responseStatusCode < 600) + { + throw new SDKException("API error occurred", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); + } else { throw new SDKException("Unknown status code received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); @@ -330,11 +343,7 @@ namespace LukeHagar.PlexAPI.SDK throw new SDKException("Unknown content type received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); } } - else if(responseStatusCode == 400 || responseStatusCode >= 400 && responseStatusCode < 500 || responseStatusCode >= 500 && responseStatusCode < 600) - { - throw new SDKException("API error occurred", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); - } - else if(responseStatusCode == 401) + else if(responseStatusCode == 400) { if(Utilities.IsContentTypeMatch("application/json", contentType)) { @@ -347,6 +356,23 @@ namespace LukeHagar.PlexAPI.SDK throw new SDKException("Unknown content type received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); } } + else if(responseStatusCode == 401) + { + if(Utilities.IsContentTypeMatch("application/json", contentType)) + { + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + obj!.RawResponse = httpResponse; + throw obj!; + } + else + { + throw new SDKException("Unknown content type received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); + } + } + else if(responseStatusCode >= 400 && responseStatusCode < 500 || responseStatusCode >= 500 && responseStatusCode < 600) + { + throw new SDKException("API error occurred", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); + } else { throw new SDKException("Unknown status code received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); @@ -422,11 +448,7 @@ namespace LukeHagar.PlexAPI.SDK throw new SDKException("Unknown content type received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); } } - else if(responseStatusCode == 400 || responseStatusCode >= 400 && responseStatusCode < 500 || responseStatusCode >= 500 && responseStatusCode < 600) - { - throw new SDKException("API error occurred", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); - } - else if(responseStatusCode == 401) + else if(responseStatusCode == 400) { if(Utilities.IsContentTypeMatch("application/json", contentType)) { @@ -439,6 +461,23 @@ namespace LukeHagar.PlexAPI.SDK throw new SDKException("Unknown content type received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); } } + else if(responseStatusCode == 401) + { + if(Utilities.IsContentTypeMatch("application/json", contentType)) + { + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + obj!.RawResponse = httpResponse; + throw obj!; + } + else + { + throw new SDKException("Unknown content type received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); + } + } + else if(responseStatusCode >= 400 && responseStatusCode < 500 || responseStatusCode >= 500 && responseStatusCode < 600) + { + throw new SDKException("API error occurred", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); + } else { throw new SDKException("Unknown status code received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); @@ -514,11 +553,7 @@ namespace LukeHagar.PlexAPI.SDK throw new SDKException("Unknown content type received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); } } - else if(responseStatusCode == 400 || responseStatusCode >= 400 && responseStatusCode < 500 || responseStatusCode >= 500 && responseStatusCode < 600) - { - throw new SDKException("API error occurred", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); - } - else if(responseStatusCode == 401) + else if(responseStatusCode == 400) { if(Utilities.IsContentTypeMatch("application/json", contentType)) { @@ -531,6 +566,23 @@ namespace LukeHagar.PlexAPI.SDK throw new SDKException("Unknown content type received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); } } + else if(responseStatusCode == 401) + { + if(Utilities.IsContentTypeMatch("application/json", contentType)) + { + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + obj!.RawResponse = httpResponse; + throw obj!; + } + else + { + throw new SDKException("Unknown content type received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); + } + } + else if(responseStatusCode >= 400 && responseStatusCode < 500 || responseStatusCode >= 500 && responseStatusCode < 600) + { + throw new SDKException("API error occurred", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); + } else { throw new SDKException("Unknown status code received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); @@ -616,11 +668,7 @@ namespace LukeHagar.PlexAPI.SDK throw new SDKException("Unknown content type received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); } } - else if(responseStatusCode == 400 || responseStatusCode >= 400 && responseStatusCode < 500 || responseStatusCode >= 500 && responseStatusCode < 600) - { - throw new SDKException("API error occurred", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); - } - else if(responseStatusCode == 401) + else if(responseStatusCode == 400) { if(Utilities.IsContentTypeMatch("application/json", contentType)) { @@ -633,6 +681,23 @@ namespace LukeHagar.PlexAPI.SDK throw new SDKException("Unknown content type received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); } } + else if(responseStatusCode == 401) + { + if(Utilities.IsContentTypeMatch("application/json", contentType)) + { + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + obj!.RawResponse = httpResponse; + throw obj!; + } + else + { + throw new SDKException("Unknown content type received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); + } + } + else if(responseStatusCode >= 400 && responseStatusCode < 500 || responseStatusCode >= 500 && responseStatusCode < 600) + { + throw new SDKException("API error occurred", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); + } else { throw new SDKException("Unknown status code received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); diff --git a/LukeHagar/PlexAPI/SDK/PlexAPI.cs b/LukeHagar/PlexAPI/SDK/PlexAPI.cs index 96094a9..24948fa 100644 --- a/LukeHagar/PlexAPI/SDK/PlexAPI.cs +++ b/LukeHagar/PlexAPI/SDK/PlexAPI.cs @@ -268,10 +268,10 @@ namespace LukeHagar.PlexAPI.SDK public SDKConfig SDKConfiguration { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.5.3"; + private const string _sdkVersion = "0.6.0"; private const string _sdkGenVersion = "2.411.9"; private const string _openapiDocVersion = "0.0.3"; - private const string _userAgent = "speakeasy-sdk/csharp 0.5.3 2.411.9 0.0.3 LukeHagar.PlexAPI.SDK"; + private const string _userAgent = "speakeasy-sdk/csharp 0.6.0 2.411.9 0.0.3 LukeHagar.PlexAPI.SDK"; private string _serverUrl = ""; private int _serverIndex = 0; private ISpeakeasyHttpClient _client; diff --git a/LukeHagar/PlexAPI/SDK/Search.cs b/LukeHagar/PlexAPI/SDK/Search.cs index 5024163..ecb6c3c 100644 --- a/LukeHagar/PlexAPI/SDK/Search.cs +++ b/LukeHagar/PlexAPI/SDK/Search.cs @@ -87,10 +87,10 @@ namespace LukeHagar.PlexAPI.SDK { public SDKConfig SDKConfiguration { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.5.3"; + private const string _sdkVersion = "0.6.0"; private const string _sdkGenVersion = "2.411.9"; private const string _openapiDocVersion = "0.0.3"; - private const string _userAgent = "speakeasy-sdk/csharp 0.5.3 2.411.9 0.0.3 LukeHagar.PlexAPI.SDK"; + private const string _userAgent = "speakeasy-sdk/csharp 0.6.0 2.411.9 0.0.3 LukeHagar.PlexAPI.SDK"; private string _serverUrl = ""; private ISpeakeasyHttpClient _client; private Func? _securitySource; @@ -167,11 +167,7 @@ namespace LukeHagar.PlexAPI.SDK RawResponse = httpResponse }; } - else if(responseStatusCode == 400 || responseStatusCode >= 400 && responseStatusCode < 500 || responseStatusCode >= 500 && responseStatusCode < 600) - { - throw new SDKException("API error occurred", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); - } - else if(responseStatusCode == 401) + else if(responseStatusCode == 400) { if(Utilities.IsContentTypeMatch("application/json", contentType)) { @@ -184,6 +180,23 @@ namespace LukeHagar.PlexAPI.SDK throw new SDKException("Unknown content type received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); } } + else if(responseStatusCode == 401) + { + if(Utilities.IsContentTypeMatch("application/json", contentType)) + { + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + obj!.RawResponse = httpResponse; + throw obj!; + } + else + { + throw new SDKException("Unknown content type received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); + } + } + else if(responseStatusCode >= 400 && responseStatusCode < 500 || responseStatusCode >= 500 && responseStatusCode < 600) + { + throw new SDKException("API error occurred", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); + } else { throw new SDKException("Unknown status code received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); @@ -254,11 +267,7 @@ namespace LukeHagar.PlexAPI.SDK RawResponse = httpResponse }; } - else if(responseStatusCode == 400 || responseStatusCode >= 400 && responseStatusCode < 500 || responseStatusCode >= 500 && responseStatusCode < 600) - { - throw new SDKException("API error occurred", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); - } - else if(responseStatusCode == 401) + else if(responseStatusCode == 400) { if(Utilities.IsContentTypeMatch("application/json", contentType)) { @@ -271,6 +280,23 @@ namespace LukeHagar.PlexAPI.SDK throw new SDKException("Unknown content type received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); } } + else if(responseStatusCode == 401) + { + if(Utilities.IsContentTypeMatch("application/json", contentType)) + { + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + obj!.RawResponse = httpResponse; + throw obj!; + } + else + { + throw new SDKException("Unknown content type received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); + } + } + else if(responseStatusCode >= 400 && responseStatusCode < 500 || responseStatusCode >= 500 && responseStatusCode < 600) + { + throw new SDKException("API error occurred", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); + } else { throw new SDKException("Unknown status code received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); @@ -349,11 +375,7 @@ namespace LukeHagar.PlexAPI.SDK throw new SDKException("Unknown content type received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); } } - else if(responseStatusCode == 400 || responseStatusCode >= 400 && responseStatusCode < 500 || responseStatusCode >= 500 && responseStatusCode < 600) - { - throw new SDKException("API error occurred", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); - } - else if(responseStatusCode == 401) + else if(responseStatusCode == 400) { if(Utilities.IsContentTypeMatch("application/json", contentType)) { @@ -366,6 +388,23 @@ namespace LukeHagar.PlexAPI.SDK throw new SDKException("Unknown content type received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); } } + else if(responseStatusCode == 401) + { + if(Utilities.IsContentTypeMatch("application/json", contentType)) + { + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + obj!.RawResponse = httpResponse; + throw obj!; + } + else + { + throw new SDKException("Unknown content type received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); + } + } + else if(responseStatusCode >= 400 && responseStatusCode < 500 || responseStatusCode >= 500 && responseStatusCode < 600) + { + throw new SDKException("API error occurred", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); + } else { throw new SDKException("Unknown status code received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); diff --git a/LukeHagar/PlexAPI/SDK/Server.cs b/LukeHagar/PlexAPI/SDK/Server.cs index b2c8d65..086b631 100644 --- a/LukeHagar/PlexAPI/SDK/Server.cs +++ b/LukeHagar/PlexAPI/SDK/Server.cs @@ -126,10 +126,10 @@ namespace LukeHagar.PlexAPI.SDK { public SDKConfig SDKConfiguration { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.5.3"; + private const string _sdkVersion = "0.6.0"; private const string _sdkGenVersion = "2.411.9"; private const string _openapiDocVersion = "0.0.3"; - private const string _userAgent = "speakeasy-sdk/csharp 0.5.3 2.411.9 0.0.3 LukeHagar.PlexAPI.SDK"; + private const string _userAgent = "speakeasy-sdk/csharp 0.6.0 2.411.9 0.0.3 LukeHagar.PlexAPI.SDK"; private string _serverUrl = ""; private ISpeakeasyHttpClient _client; private Func? _securitySource; @@ -211,11 +211,7 @@ namespace LukeHagar.PlexAPI.SDK throw new SDKException("Unknown content type received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); } } - else if(responseStatusCode == 400 || responseStatusCode >= 400 && responseStatusCode < 500 || responseStatusCode >= 500 && responseStatusCode < 600) - { - throw new SDKException("API error occurred", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); - } - else if(responseStatusCode == 401) + else if(responseStatusCode == 400) { if(Utilities.IsContentTypeMatch("application/json", contentType)) { @@ -228,6 +224,23 @@ namespace LukeHagar.PlexAPI.SDK throw new SDKException("Unknown content type received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); } } + else if(responseStatusCode == 401) + { + if(Utilities.IsContentTypeMatch("application/json", contentType)) + { + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + obj!.RawResponse = httpResponse; + throw obj!; + } + else + { + throw new SDKException("Unknown content type received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); + } + } + else if(responseStatusCode >= 400 && responseStatusCode < 500 || responseStatusCode >= 500 && responseStatusCode < 600) + { + throw new SDKException("API error occurred", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); + } else { throw new SDKException("Unknown status code received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); @@ -303,11 +316,7 @@ namespace LukeHagar.PlexAPI.SDK throw new SDKException("Unknown content type received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); } } - else if(responseStatusCode == 400 || responseStatusCode >= 400 && responseStatusCode < 500 || responseStatusCode >= 500 && responseStatusCode < 600) - { - throw new SDKException("API error occurred", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); - } - else if(responseStatusCode == 401) + else if(responseStatusCode == 400) { if(Utilities.IsContentTypeMatch("application/json", contentType)) { @@ -320,6 +329,23 @@ namespace LukeHagar.PlexAPI.SDK throw new SDKException("Unknown content type received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); } } + else if(responseStatusCode == 401) + { + if(Utilities.IsContentTypeMatch("application/json", contentType)) + { + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + obj!.RawResponse = httpResponse; + throw obj!; + } + else + { + throw new SDKException("Unknown content type received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); + } + } + else if(responseStatusCode >= 400 && responseStatusCode < 500 || responseStatusCode >= 500 && responseStatusCode < 600) + { + throw new SDKException("API error occurred", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); + } else { throw new SDKException("Unknown status code received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); @@ -395,11 +421,7 @@ namespace LukeHagar.PlexAPI.SDK throw new SDKException("Unknown content type received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); } } - else if(responseStatusCode == 400 || responseStatusCode >= 400 && responseStatusCode < 500 || responseStatusCode >= 500 && responseStatusCode < 600) - { - throw new SDKException("API error occurred", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); - } - else if(responseStatusCode == 401) + else if(responseStatusCode == 400) { if(Utilities.IsContentTypeMatch("application/json", contentType)) { @@ -412,6 +434,23 @@ namespace LukeHagar.PlexAPI.SDK throw new SDKException("Unknown content type received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); } } + else if(responseStatusCode == 401) + { + if(Utilities.IsContentTypeMatch("application/json", contentType)) + { + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + obj!.RawResponse = httpResponse; + throw obj!; + } + else + { + throw new SDKException("Unknown content type received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); + } + } + else if(responseStatusCode >= 400 && responseStatusCode < 500 || responseStatusCode >= 500 && responseStatusCode < 600) + { + throw new SDKException("API error occurred", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); + } else { throw new SDKException("Unknown status code received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); @@ -487,11 +526,7 @@ namespace LukeHagar.PlexAPI.SDK throw new SDKException("Unknown content type received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); } } - else if(responseStatusCode == 400 || responseStatusCode >= 400 && responseStatusCode < 500 || responseStatusCode >= 500 && responseStatusCode < 600) - { - throw new SDKException("API error occurred", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); - } - else if(responseStatusCode == 401) + else if(responseStatusCode == 400) { if(Utilities.IsContentTypeMatch("application/json", contentType)) { @@ -504,6 +539,23 @@ namespace LukeHagar.PlexAPI.SDK throw new SDKException("Unknown content type received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); } } + else if(responseStatusCode == 401) + { + if(Utilities.IsContentTypeMatch("application/json", contentType)) + { + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + obj!.RawResponse = httpResponse; + throw obj!; + } + else + { + throw new SDKException("Unknown content type received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); + } + } + else if(responseStatusCode >= 400 && responseStatusCode < 500 || responseStatusCode >= 500 && responseStatusCode < 600) + { + throw new SDKException("API error occurred", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); + } else { throw new SDKException("Unknown status code received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); @@ -666,11 +718,7 @@ namespace LukeHagar.PlexAPI.SDK throw new SDKException("Unknown content type received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); } } - else if(responseStatusCode == 400 || responseStatusCode >= 400 && responseStatusCode < 500 || responseStatusCode >= 500 && responseStatusCode < 600) - { - throw new SDKException("API error occurred", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); - } - else if(responseStatusCode == 401) + else if(responseStatusCode == 400) { if(Utilities.IsContentTypeMatch("application/json", contentType)) { @@ -683,6 +731,23 @@ namespace LukeHagar.PlexAPI.SDK throw new SDKException("Unknown content type received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); } } + else if(responseStatusCode == 401) + { + if(Utilities.IsContentTypeMatch("application/json", contentType)) + { + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + obj!.RawResponse = httpResponse; + throw obj!; + } + else + { + throw new SDKException("Unknown content type received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); + } + } + else if(responseStatusCode >= 400 && responseStatusCode < 500 || responseStatusCode >= 500 && responseStatusCode < 600) + { + throw new SDKException("API error occurred", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); + } else { throw new SDKException("Unknown status code received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); @@ -747,11 +812,7 @@ namespace LukeHagar.PlexAPI.SDK RawResponse = httpResponse }; } - else if(responseStatusCode == 400 || responseStatusCode >= 400 && responseStatusCode < 500 || responseStatusCode >= 500 && responseStatusCode < 600) - { - throw new SDKException("API error occurred", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); - } - else if(responseStatusCode == 401) + else if(responseStatusCode == 400) { if(Utilities.IsContentTypeMatch("application/json", contentType)) { @@ -764,6 +825,23 @@ namespace LukeHagar.PlexAPI.SDK throw new SDKException("Unknown content type received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); } } + else if(responseStatusCode == 401) + { + if(Utilities.IsContentTypeMatch("application/json", contentType)) + { + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + obj!.RawResponse = httpResponse; + throw obj!; + } + else + { + throw new SDKException("Unknown content type received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); + } + } + else if(responseStatusCode >= 400 && responseStatusCode < 500 || responseStatusCode >= 500 && responseStatusCode < 600) + { + throw new SDKException("API error occurred", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); + } else { throw new SDKException("Unknown status code received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); @@ -842,11 +920,7 @@ namespace LukeHagar.PlexAPI.SDK throw new SDKException("Unknown content type received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); } } - else if(responseStatusCode == 400 || responseStatusCode >= 400 && responseStatusCode < 500 || responseStatusCode >= 500 && responseStatusCode < 600) - { - throw new SDKException("API error occurred", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); - } - else if(responseStatusCode == 401) + else if(responseStatusCode == 400) { if(Utilities.IsContentTypeMatch("application/json", contentType)) { @@ -859,6 +933,23 @@ namespace LukeHagar.PlexAPI.SDK throw new SDKException("Unknown content type received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); } } + else if(responseStatusCode == 401) + { + if(Utilities.IsContentTypeMatch("application/json", contentType)) + { + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + obj!.RawResponse = httpResponse; + throw obj!; + } + else + { + throw new SDKException("Unknown content type received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); + } + } + else if(responseStatusCode >= 400 && responseStatusCode < 500 || responseStatusCode >= 500 && responseStatusCode < 600) + { + throw new SDKException("API error occurred", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); + } else { throw new SDKException("Unknown status code received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); @@ -934,11 +1025,7 @@ namespace LukeHagar.PlexAPI.SDK throw new SDKException("Unknown content type received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); } } - else if(responseStatusCode == 400 || responseStatusCode >= 400 && responseStatusCode < 500 || responseStatusCode >= 500 && responseStatusCode < 600) - { - throw new SDKException("API error occurred", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); - } - else if(responseStatusCode == 401) + else if(responseStatusCode == 400) { if(Utilities.IsContentTypeMatch("application/json", contentType)) { @@ -951,6 +1038,23 @@ namespace LukeHagar.PlexAPI.SDK throw new SDKException("Unknown content type received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); } } + else if(responseStatusCode == 401) + { + if(Utilities.IsContentTypeMatch("application/json", contentType)) + { + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + obj!.RawResponse = httpResponse; + throw obj!; + } + else + { + throw new SDKException("Unknown content type received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); + } + } + else if(responseStatusCode >= 400 && responseStatusCode < 500 || responseStatusCode >= 500 && responseStatusCode < 600) + { + throw new SDKException("API error occurred", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); + } else { throw new SDKException("Unknown status code received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); diff --git a/LukeHagar/PlexAPI/SDK/Sessions.cs b/LukeHagar/PlexAPI/SDK/Sessions.cs index 8c8f323..35f4ed7 100644 --- a/LukeHagar/PlexAPI/SDK/Sessions.cs +++ b/LukeHagar/PlexAPI/SDK/Sessions.cs @@ -80,10 +80,10 @@ namespace LukeHagar.PlexAPI.SDK { public SDKConfig SDKConfiguration { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.5.3"; + private const string _sdkVersion = "0.6.0"; private const string _sdkGenVersion = "2.411.9"; private const string _openapiDocVersion = "0.0.3"; - private const string _userAgent = "speakeasy-sdk/csharp 0.5.3 2.411.9 0.0.3 LukeHagar.PlexAPI.SDK"; + private const string _userAgent = "speakeasy-sdk/csharp 0.6.0 2.411.9 0.0.3 LukeHagar.PlexAPI.SDK"; private string _serverUrl = ""; private ISpeakeasyHttpClient _client; private Func? _securitySource; @@ -165,11 +165,7 @@ namespace LukeHagar.PlexAPI.SDK throw new SDKException("Unknown content type received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); } } - else if(responseStatusCode == 400 || responseStatusCode >= 400 && responseStatusCode < 500 || responseStatusCode >= 500 && responseStatusCode < 600) - { - throw new SDKException("API error occurred", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); - } - else if(responseStatusCode == 401) + else if(responseStatusCode == 400) { if(Utilities.IsContentTypeMatch("application/json", contentType)) { @@ -182,6 +178,23 @@ namespace LukeHagar.PlexAPI.SDK throw new SDKException("Unknown content type received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); } } + else if(responseStatusCode == 401) + { + if(Utilities.IsContentTypeMatch("application/json", contentType)) + { + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + obj!.RawResponse = httpResponse; + throw obj!; + } + else + { + throw new SDKException("Unknown content type received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); + } + } + else if(responseStatusCode >= 400 && responseStatusCode < 500 || responseStatusCode >= 500 && responseStatusCode < 600) + { + throw new SDKException("API error occurred", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); + } else { throw new SDKException("Unknown status code received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); @@ -263,11 +276,7 @@ namespace LukeHagar.PlexAPI.SDK throw new SDKException("Unknown content type received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); } } - else if(responseStatusCode == 400 || responseStatusCode >= 400 && responseStatusCode < 500 || responseStatusCode >= 500 && responseStatusCode < 600) - { - throw new SDKException("API error occurred", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); - } - else if(responseStatusCode == 401) + else if(responseStatusCode == 400) { if(Utilities.IsContentTypeMatch("application/json", contentType)) { @@ -280,6 +289,23 @@ namespace LukeHagar.PlexAPI.SDK throw new SDKException("Unknown content type received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); } } + else if(responseStatusCode == 401) + { + if(Utilities.IsContentTypeMatch("application/json", contentType)) + { + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + obj!.RawResponse = httpResponse; + throw obj!; + } + else + { + throw new SDKException("Unknown content type received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); + } + } + else if(responseStatusCode >= 400 && responseStatusCode < 500 || responseStatusCode >= 500 && responseStatusCode < 600) + { + throw new SDKException("API error occurred", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); + } else { throw new SDKException("Unknown status code received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); @@ -355,11 +381,7 @@ namespace LukeHagar.PlexAPI.SDK throw new SDKException("Unknown content type received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); } } - else if(responseStatusCode == 400 || responseStatusCode >= 400 && responseStatusCode < 500 || responseStatusCode >= 500 && responseStatusCode < 600) - { - throw new SDKException("API error occurred", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); - } - else if(responseStatusCode == 401) + else if(responseStatusCode == 400) { if(Utilities.IsContentTypeMatch("application/json", contentType)) { @@ -372,6 +394,23 @@ namespace LukeHagar.PlexAPI.SDK throw new SDKException("Unknown content type received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); } } + else if(responseStatusCode == 401) + { + if(Utilities.IsContentTypeMatch("application/json", contentType)) + { + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + obj!.RawResponse = httpResponse; + throw obj!; + } + else + { + throw new SDKException("Unknown content type received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); + } + } + else if(responseStatusCode >= 400 && responseStatusCode < 500 || responseStatusCode >= 500 && responseStatusCode < 600) + { + throw new SDKException("API error occurred", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); + } else { throw new SDKException("Unknown status code received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); @@ -440,11 +479,7 @@ namespace LukeHagar.PlexAPI.SDK RawResponse = httpResponse }; } - else if(responseStatusCode == 400 || responseStatusCode >= 400 && responseStatusCode < 500 || responseStatusCode >= 500 && responseStatusCode < 600) - { - throw new SDKException("API error occurred", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); - } - else if(responseStatusCode == 401) + else if(responseStatusCode == 400) { if(Utilities.IsContentTypeMatch("application/json", contentType)) { @@ -457,6 +492,23 @@ namespace LukeHagar.PlexAPI.SDK throw new SDKException("Unknown content type received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); } } + else if(responseStatusCode == 401) + { + if(Utilities.IsContentTypeMatch("application/json", contentType)) + { + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + obj!.RawResponse = httpResponse; + throw obj!; + } + else + { + throw new SDKException("Unknown content type received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); + } + } + else if(responseStatusCode >= 400 && responseStatusCode < 500 || responseStatusCode >= 500 && responseStatusCode < 600) + { + throw new SDKException("API error occurred", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); + } else { throw new SDKException("Unknown status code received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); diff --git a/LukeHagar/PlexAPI/SDK/Statistics.cs b/LukeHagar/PlexAPI/SDK/Statistics.cs index e15e340..64ba972 100644 --- a/LukeHagar/PlexAPI/SDK/Statistics.cs +++ b/LukeHagar/PlexAPI/SDK/Statistics.cs @@ -71,10 +71,10 @@ namespace LukeHagar.PlexAPI.SDK { public SDKConfig SDKConfiguration { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.5.3"; + private const string _sdkVersion = "0.6.0"; private const string _sdkGenVersion = "2.411.9"; private const string _openapiDocVersion = "0.0.3"; - private const string _userAgent = "speakeasy-sdk/csharp 0.5.3 2.411.9 0.0.3 LukeHagar.PlexAPI.SDK"; + private const string _userAgent = "speakeasy-sdk/csharp 0.6.0 2.411.9 0.0.3 LukeHagar.PlexAPI.SDK"; private string _serverUrl = ""; private ISpeakeasyHttpClient _client; private Func? _securitySource; @@ -159,11 +159,7 @@ namespace LukeHagar.PlexAPI.SDK throw new SDKException("Unknown content type received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); } } - else if(responseStatusCode == 400 || responseStatusCode >= 400 && responseStatusCode < 500 || responseStatusCode >= 500 && responseStatusCode < 600) - { - throw new SDKException("API error occurred", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); - } - else if(responseStatusCode == 401) + else if(responseStatusCode == 400) { if(Utilities.IsContentTypeMatch("application/json", contentType)) { @@ -176,6 +172,23 @@ namespace LukeHagar.PlexAPI.SDK throw new SDKException("Unknown content type received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); } } + else if(responseStatusCode == 401) + { + if(Utilities.IsContentTypeMatch("application/json", contentType)) + { + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + obj!.RawResponse = httpResponse; + throw obj!; + } + else + { + throw new SDKException("Unknown content type received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); + } + } + else if(responseStatusCode >= 400 && responseStatusCode < 500 || responseStatusCode >= 500 && responseStatusCode < 600) + { + throw new SDKException("API error occurred", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); + } else { throw new SDKException("Unknown status code received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); @@ -254,11 +267,7 @@ namespace LukeHagar.PlexAPI.SDK throw new SDKException("Unknown content type received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); } } - else if(responseStatusCode == 400 || responseStatusCode >= 400 && responseStatusCode < 500 || responseStatusCode >= 500 && responseStatusCode < 600) - { - throw new SDKException("API error occurred", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); - } - else if(responseStatusCode == 401) + else if(responseStatusCode == 400) { if(Utilities.IsContentTypeMatch("application/json", contentType)) { @@ -271,6 +280,23 @@ namespace LukeHagar.PlexAPI.SDK throw new SDKException("Unknown content type received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); } } + else if(responseStatusCode == 401) + { + if(Utilities.IsContentTypeMatch("application/json", contentType)) + { + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + obj!.RawResponse = httpResponse; + throw obj!; + } + else + { + throw new SDKException("Unknown content type received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); + } + } + else if(responseStatusCode >= 400 && responseStatusCode < 500 || responseStatusCode >= 500 && responseStatusCode < 600) + { + throw new SDKException("API error occurred", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); + } else { throw new SDKException("Unknown status code received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); @@ -349,11 +375,7 @@ namespace LukeHagar.PlexAPI.SDK throw new SDKException("Unknown content type received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); } } - else if(responseStatusCode == 400 || responseStatusCode >= 400 && responseStatusCode < 500 || responseStatusCode >= 500 && responseStatusCode < 600) - { - throw new SDKException("API error occurred", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); - } - else if(responseStatusCode == 401) + else if(responseStatusCode == 400) { if(Utilities.IsContentTypeMatch("application/json", contentType)) { @@ -366,6 +388,23 @@ namespace LukeHagar.PlexAPI.SDK throw new SDKException("Unknown content type received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); } } + else if(responseStatusCode == 401) + { + if(Utilities.IsContentTypeMatch("application/json", contentType)) + { + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + obj!.RawResponse = httpResponse; + throw obj!; + } + else + { + throw new SDKException("Unknown content type received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); + } + } + else if(responseStatusCode >= 400 && responseStatusCode < 500 || responseStatusCode >= 500 && responseStatusCode < 600) + { + throw new SDKException("API error occurred", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); + } else { throw new SDKException("Unknown status code received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); diff --git a/LukeHagar/PlexAPI/SDK/Updater.cs b/LukeHagar/PlexAPI/SDK/Updater.cs index 0d2300b..d51054e 100644 --- a/LukeHagar/PlexAPI/SDK/Updater.cs +++ b/LukeHagar/PlexAPI/SDK/Updater.cs @@ -74,10 +74,10 @@ namespace LukeHagar.PlexAPI.SDK { public SDKConfig SDKConfiguration { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.5.3"; + private const string _sdkVersion = "0.6.0"; private const string _sdkGenVersion = "2.411.9"; private const string _openapiDocVersion = "0.0.3"; - private const string _userAgent = "speakeasy-sdk/csharp 0.5.3 2.411.9 0.0.3 LukeHagar.PlexAPI.SDK"; + private const string _userAgent = "speakeasy-sdk/csharp 0.6.0 2.411.9 0.0.3 LukeHagar.PlexAPI.SDK"; private string _serverUrl = ""; private ISpeakeasyHttpClient _client; private Func? _securitySource; @@ -159,11 +159,7 @@ namespace LukeHagar.PlexAPI.SDK throw new SDKException("Unknown content type received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); } } - else if(responseStatusCode == 400 || responseStatusCode >= 400 && responseStatusCode < 500 || responseStatusCode >= 500 && responseStatusCode < 600) - { - throw new SDKException("API error occurred", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); - } - else if(responseStatusCode == 401) + else if(responseStatusCode == 400) { if(Utilities.IsContentTypeMatch("application/json", contentType)) { @@ -176,6 +172,23 @@ namespace LukeHagar.PlexAPI.SDK throw new SDKException("Unknown content type received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); } } + else if(responseStatusCode == 401) + { + if(Utilities.IsContentTypeMatch("application/json", contentType)) + { + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + obj!.RawResponse = httpResponse; + throw obj!; + } + else + { + throw new SDKException("Unknown content type received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); + } + } + else if(responseStatusCode >= 400 && responseStatusCode < 500 || responseStatusCode >= 500 && responseStatusCode < 600) + { + throw new SDKException("API error occurred", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); + } else { throw new SDKException("Unknown status code received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); @@ -244,11 +257,7 @@ namespace LukeHagar.PlexAPI.SDK RawResponse = httpResponse }; } - else if(responseStatusCode == 400 || responseStatusCode >= 400 && responseStatusCode < 500 || responseStatusCode >= 500 && responseStatusCode < 600) - { - throw new SDKException("API error occurred", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); - } - else if(responseStatusCode == 401) + else if(responseStatusCode == 400) { if(Utilities.IsContentTypeMatch("application/json", contentType)) { @@ -261,6 +270,23 @@ namespace LukeHagar.PlexAPI.SDK throw new SDKException("Unknown content type received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); } } + else if(responseStatusCode == 401) + { + if(Utilities.IsContentTypeMatch("application/json", contentType)) + { + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + obj!.RawResponse = httpResponse; + throw obj!; + } + else + { + throw new SDKException("Unknown content type received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); + } + } + else if(responseStatusCode >= 400 && responseStatusCode < 500 || responseStatusCode >= 500 && responseStatusCode < 600) + { + throw new SDKException("API error occurred", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); + } else { throw new SDKException("Unknown status code received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); @@ -330,11 +356,7 @@ namespace LukeHagar.PlexAPI.SDK RawResponse = httpResponse }; } - else if(responseStatusCode == 400 || responseStatusCode >= 400 && responseStatusCode < 500 || responseStatusCode == 500 || responseStatusCode >= 500 && responseStatusCode < 600) - { - throw new SDKException("API error occurred", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); - } - else if(responseStatusCode == 401) + else if(responseStatusCode == 400) { if(Utilities.IsContentTypeMatch("application/json", contentType)) { @@ -347,6 +369,23 @@ namespace LukeHagar.PlexAPI.SDK throw new SDKException("Unknown content type received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); } } + else if(responseStatusCode == 401) + { + if(Utilities.IsContentTypeMatch("application/json", contentType)) + { + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + obj!.RawResponse = httpResponse; + throw obj!; + } + else + { + throw new SDKException("Unknown content type received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); + } + } + else if(responseStatusCode >= 400 && responseStatusCode < 500 || responseStatusCode == 500 || responseStatusCode >= 500 && responseStatusCode < 600) + { + throw new SDKException("API error occurred", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); + } else { throw new SDKException("Unknown status code received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); diff --git a/LukeHagar/PlexAPI/SDK/Video.cs b/LukeHagar/PlexAPI/SDK/Video.cs index 0d58db2..50ccf99 100644 --- a/LukeHagar/PlexAPI/SDK/Video.cs +++ b/LukeHagar/PlexAPI/SDK/Video.cs @@ -62,10 +62,10 @@ namespace LukeHagar.PlexAPI.SDK { public SDKConfig SDKConfiguration { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.5.3"; + private const string _sdkVersion = "0.6.0"; private const string _sdkGenVersion = "2.411.9"; private const string _openapiDocVersion = "0.0.3"; - private const string _userAgent = "speakeasy-sdk/csharp 0.5.3 2.411.9 0.0.3 LukeHagar.PlexAPI.SDK"; + private const string _userAgent = "speakeasy-sdk/csharp 0.6.0 2.411.9 0.0.3 LukeHagar.PlexAPI.SDK"; private string _serverUrl = ""; private ISpeakeasyHttpClient _client; private Func? _securitySource; @@ -136,11 +136,7 @@ namespace LukeHagar.PlexAPI.SDK RawResponse = httpResponse }; } - else if(responseStatusCode == 400 || responseStatusCode >= 400 && responseStatusCode < 500 || responseStatusCode >= 500 && responseStatusCode < 600) - { - throw new SDKException("API error occurred", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); - } - else if(responseStatusCode == 401) + else if(responseStatusCode == 400) { if(Utilities.IsContentTypeMatch("application/json", contentType)) { @@ -153,6 +149,23 @@ namespace LukeHagar.PlexAPI.SDK throw new SDKException("Unknown content type received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); } } + else if(responseStatusCode == 401) + { + if(Utilities.IsContentTypeMatch("application/json", contentType)) + { + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + obj!.RawResponse = httpResponse; + throw obj!; + } + else + { + throw new SDKException("Unknown content type received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); + } + } + else if(responseStatusCode >= 400 && responseStatusCode < 500 || responseStatusCode >= 500 && responseStatusCode < 600) + { + throw new SDKException("API error occurred", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); + } else { throw new SDKException("Unknown status code received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); @@ -217,11 +230,7 @@ namespace LukeHagar.PlexAPI.SDK RawResponse = httpResponse }; } - else if(responseStatusCode == 400 || responseStatusCode >= 400 && responseStatusCode < 500 || responseStatusCode >= 500 && responseStatusCode < 600) - { - throw new SDKException("API error occurred", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); - } - else if(responseStatusCode == 401) + else if(responseStatusCode == 400) { if(Utilities.IsContentTypeMatch("application/json", contentType)) { @@ -234,6 +243,23 @@ namespace LukeHagar.PlexAPI.SDK throw new SDKException("Unknown content type received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); } } + else if(responseStatusCode == 401) + { + if(Utilities.IsContentTypeMatch("application/json", contentType)) + { + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + obj!.RawResponse = httpResponse; + throw obj!; + } + else + { + throw new SDKException("Unknown content type received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); + } + } + else if(responseStatusCode >= 400 && responseStatusCode < 500 || responseStatusCode >= 500 && responseStatusCode < 600) + { + throw new SDKException("API error occurred", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); + } else { throw new SDKException("Unknown status code received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); diff --git a/LukeHagar/PlexAPI/SDK/Watchlist.cs b/LukeHagar/PlexAPI/SDK/Watchlist.cs index 0b1baa5..7b1f6c8 100644 --- a/LukeHagar/PlexAPI/SDK/Watchlist.cs +++ b/LukeHagar/PlexAPI/SDK/Watchlist.cs @@ -59,10 +59,10 @@ namespace LukeHagar.PlexAPI.SDK }; public SDKConfig SDKConfiguration { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.5.3"; + private const string _sdkVersion = "0.6.0"; private const string _sdkGenVersion = "2.411.9"; private const string _openapiDocVersion = "0.0.3"; - private const string _userAgent = "speakeasy-sdk/csharp 0.5.3 2.411.9 0.0.3 LukeHagar.PlexAPI.SDK"; + private const string _userAgent = "speakeasy-sdk/csharp 0.6.0 2.411.9 0.0.3 LukeHagar.PlexAPI.SDK"; private string _serverUrl = ""; private ISpeakeasyHttpClient _client; private Func? _securitySource; @@ -148,11 +148,7 @@ namespace LukeHagar.PlexAPI.SDK throw new SDKException("Unknown content type received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); } } - else if(responseStatusCode == 400 || responseStatusCode >= 400 && responseStatusCode < 500 || responseStatusCode >= 500 && responseStatusCode < 600) - { - throw new SDKException("API error occurred", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); - } - else if(responseStatusCode == 401) + else if(responseStatusCode == 400) { if(Utilities.IsContentTypeMatch("application/json", contentType)) { @@ -165,6 +161,23 @@ namespace LukeHagar.PlexAPI.SDK throw new SDKException("Unknown content type received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); } } + else if(responseStatusCode == 401) + { + if(Utilities.IsContentTypeMatch("application/json", contentType)) + { + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + obj!.RawResponse = httpResponse; + throw obj!; + } + else + { + throw new SDKException("Unknown content type received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); + } + } + else if(responseStatusCode >= 400 && responseStatusCode < 500 || responseStatusCode >= 500 && responseStatusCode < 600) + { + throw new SDKException("API error occurred", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); + } else { throw new SDKException("Unknown status code received", responseStatusCode, await httpResponse.Content.ReadAsStringAsync(), httpResponse); diff --git a/NUGET.md b/NUGET.md index c4bbdca..8c17339 100644 --- a/NUGET.md +++ b/NUGET.md @@ -73,10 +73,11 @@ var res = await sdk.Plex.GetServerResourcesAsync(req); Handling errors in this SDK should largely match your expectations. All operations return a response object or thow an exception. If Error objects are specified in your OpenAPI Spec, the SDK will raise the appropriate type. -| Error Object | Status Code | Content Type | -| --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | -| LukeHagar.PlexAPI.SDK.Models.Errors.GetServerCapabilitiesResponseBody | 401 | application/json | -| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | +| Error Object | Status Code | Content Type | +| --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | +| LukeHagar.PlexAPI.SDK.Models.Errors.GetServerCapabilitiesResponseBody | 400 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.GetServerCapabilitiesServerResponseBody | 401 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | ### Example @@ -103,6 +104,10 @@ catch (Exception ex) { // handle exception } + else if (ex is GetServerCapabilitiesServerResponseBody) + { + // handle exception + } else if (ex is LukeHagar.PlexAPI.SDK.Models.Errors.SDKException) { // handle exception @@ -148,7 +153,7 @@ var sdk = new PlexAPI( xPlexClientIdentifier: "gcgzw5rz2xovp84b4vha3a40" ); -var res = await sdk.Plex.GetCompanionsDataAsync(serverUrl: "https://plex.tv/api/v2"); +var res = await sdk.Plex.GetCompanionsDataAsync(serverUrl: "https://plex.tv/api/v2/"); // handle response ``` diff --git a/README.md b/README.md index aeed3d6..1b31ead 100644 --- a/README.md +++ b/README.md @@ -149,7 +149,7 @@ var res = await sdk.Server.GetServerCapabilitiesAsync(); * [GetTransientToken](docs/sdks/authentication/README.md#gettransienttoken) - Get a Transient Token. * [GetSourceConnectionInformation](docs/sdks/authentication/README.md#getsourceconnectioninformation) - Get Source Connection Information * [GetUserDetails](docs/sdks/authentication/README.md#getuserdetails) - Get User Data By Token -* [PostUsersSignInData](docs/sdks/authentication/README.md#postuserssignindata) - Get User SignIn Data +* [PostUsersSignInData](docs/sdks/authentication/README.md#postuserssignindata) - Get User Sign In Data ### [Statistics](docs/sdks/statistics/README.md) @@ -208,7 +208,7 @@ var sdk = new PlexAPI( xPlexClientIdentifier: "gcgzw5rz2xovp84b4vha3a40" ); -var res = await sdk.Plex.GetCompanionsDataAsync(serverUrl: "https://plex.tv/api/v2"); +var res = await sdk.Plex.GetCompanionsDataAsync(serverUrl: "https://plex.tv/api/v2/"); // handle response ``` @@ -293,10 +293,11 @@ var res = await sdk.Plex.GetServerResourcesAsync(req); Handling errors in this SDK should largely match your expectations. All operations return a response object or thow an exception. If Error objects are specified in your OpenAPI Spec, the SDK will raise the appropriate type. -| Error Object | Status Code | Content Type | -| --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | -| LukeHagar.PlexAPI.SDK.Models.Errors.GetServerCapabilitiesResponseBody | 401 | application/json | -| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | +| Error Object | Status Code | Content Type | +| --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | +| LukeHagar.PlexAPI.SDK.Models.Errors.GetServerCapabilitiesResponseBody | 400 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.GetServerCapabilitiesServerResponseBody | 401 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | ### Example @@ -323,6 +324,10 @@ catch (Exception ex) { // handle exception } + else if (ex is GetServerCapabilitiesServerResponseBody) + { + // handle exception + } else if (ex is LukeHagar.PlexAPI.SDK.Models.Errors.SDKException) { // handle exception diff --git a/RELEASES.md b/RELEASES.md index a3e855f..3ad47da 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -114,4 +114,14 @@ Based on: ### Generated - [csharp v0.5.3] . ### Releases -- [NuGet v0.5.3] https://www.nuget.org/packages/LukeHagar.PlexAPI.SDK/0.5.3 - . \ No newline at end of file +- [NuGet v0.5.3] https://www.nuget.org/packages/LukeHagar.PlexAPI.SDK/0.5.3 - . + +## 2024-09-09 00:21:07 +### Changes +Based on: +- OpenAPI Doc +- Speakeasy CLI 1.392.1 (2.411.9) https://github.com/speakeasy-api/speakeasy +### Generated +- [csharp v0.6.0] . +### Releases +- [NuGet v0.6.0] https://www.nuget.org/packages/LukeHagar.PlexAPI.SDK/0.6.0 - . \ No newline at end of file diff --git a/docs/Models/Errors/AddPlaylistContentsErrors.md b/docs/Models/Errors/AddPlaylistContentsErrors.md index 7f79d39..c5707f2 100644 --- a/docs/Models/Errors/AddPlaylistContentsErrors.md +++ b/docs/Models/Errors/AddPlaylistContentsErrors.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | -| `Code` | *double* | :heavy_minus_sign: | N/A | 1001 | -| `Message` | *string* | :heavy_minus_sign: | N/A | User could not be authenticated | -| `Status` | *double* | :heavy_minus_sign: | N/A | 401 | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | +| `Code` | *long* | :heavy_minus_sign: | N/A | 1000 | +| `Message` | *string* | :heavy_minus_sign: | N/A | X-Plex-Client-Identifier is missing | +| `Status` | *long* | :heavy_minus_sign: | N/A | 400 | \ No newline at end of file diff --git a/docs/Models/Errors/AddPlaylistContentsPlaylistsErrors.md b/docs/Models/Errors/AddPlaylistContentsPlaylistsErrors.md new file mode 100644 index 0000000..1af804a --- /dev/null +++ b/docs/Models/Errors/AddPlaylistContentsPlaylistsErrors.md @@ -0,0 +1,10 @@ +# AddPlaylistContentsPlaylistsErrors + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | +| `Code` | *long* | :heavy_minus_sign: | N/A | 1001 | +| `Message` | *string* | :heavy_minus_sign: | N/A | User could not be authenticated | +| `Status` | *long* | :heavy_minus_sign: | N/A | 401 | \ No newline at end of file diff --git a/docs/Models/Errors/AddPlaylistContentsPlaylistsResponseBody.md b/docs/Models/Errors/AddPlaylistContentsPlaylistsResponseBody.md new file mode 100644 index 0000000..cf1b6a4 --- /dev/null +++ b/docs/Models/Errors/AddPlaylistContentsPlaylistsResponseBody.md @@ -0,0 +1,11 @@ +# AddPlaylistContentsPlaylistsResponseBody + +Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | +| `Errors` | List<[AddPlaylistContentsPlaylistsErrors](../../Models/Errors/AddPlaylistContentsPlaylistsErrors.md)> | :heavy_minus_sign: | N/A | +| `RawResponse` | [HttpResponseMessage](https://learn.microsoft.com/en-us/dotnet/api/system.net.http.httpresponsemessage?view=net-5.0) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing | \ No newline at end of file diff --git a/docs/Models/Errors/AddPlaylistContentsResponseBody.md b/docs/Models/Errors/AddPlaylistContentsResponseBody.md index 19949f2..90b3761 100644 --- a/docs/Models/Errors/AddPlaylistContentsResponseBody.md +++ b/docs/Models/Errors/AddPlaylistContentsResponseBody.md @@ -1,6 +1,6 @@ # AddPlaylistContentsResponseBody -Unauthorized - Returned if the X-Plex-Token is missing from the header or query. +Bad Request - A parameter was not specified, or was specified incorrectly. ## Fields diff --git a/docs/Models/Errors/ApplyUpdatesErrors.md b/docs/Models/Errors/ApplyUpdatesErrors.md index c6c3a4e..4a0f0ec 100644 --- a/docs/Models/Errors/ApplyUpdatesErrors.md +++ b/docs/Models/Errors/ApplyUpdatesErrors.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | -| `Code` | *double* | :heavy_minus_sign: | N/A | 1001 | -| `Message` | *string* | :heavy_minus_sign: | N/A | User could not be authenticated | -| `Status` | *double* | :heavy_minus_sign: | N/A | 401 | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | +| `Code` | *long* | :heavy_minus_sign: | N/A | 1000 | +| `Message` | *string* | :heavy_minus_sign: | N/A | X-Plex-Client-Identifier is missing | +| `Status` | *long* | :heavy_minus_sign: | N/A | 400 | \ No newline at end of file diff --git a/docs/Models/Errors/ApplyUpdatesResponseBody.md b/docs/Models/Errors/ApplyUpdatesResponseBody.md index 59d6f07..c48fc16 100644 --- a/docs/Models/Errors/ApplyUpdatesResponseBody.md +++ b/docs/Models/Errors/ApplyUpdatesResponseBody.md @@ -1,6 +1,6 @@ # ApplyUpdatesResponseBody -Unauthorized - Returned if the X-Plex-Token is missing from the header or query. +Bad Request - A parameter was not specified, or was specified incorrectly. ## Fields diff --git a/docs/Models/Errors/ApplyUpdatesUpdaterErrors.md b/docs/Models/Errors/ApplyUpdatesUpdaterErrors.md new file mode 100644 index 0000000..4a6b8e3 --- /dev/null +++ b/docs/Models/Errors/ApplyUpdatesUpdaterErrors.md @@ -0,0 +1,10 @@ +# ApplyUpdatesUpdaterErrors + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | +| `Code` | *long* | :heavy_minus_sign: | N/A | 1001 | +| `Message` | *string* | :heavy_minus_sign: | N/A | User could not be authenticated | +| `Status` | *long* | :heavy_minus_sign: | N/A | 401 | \ No newline at end of file diff --git a/docs/Models/Errors/ApplyUpdatesUpdaterResponseBody.md b/docs/Models/Errors/ApplyUpdatesUpdaterResponseBody.md new file mode 100644 index 0000000..51e3f3f --- /dev/null +++ b/docs/Models/Errors/ApplyUpdatesUpdaterResponseBody.md @@ -0,0 +1,11 @@ +# ApplyUpdatesUpdaterResponseBody + +Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | +| `Errors` | List<[ApplyUpdatesUpdaterErrors](../../Models/Errors/ApplyUpdatesUpdaterErrors.md)> | :heavy_minus_sign: | N/A | +| `RawResponse` | [HttpResponseMessage](https://learn.microsoft.com/en-us/dotnet/api/system.net.http.httpresponsemessage?view=net-5.0) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing | \ No newline at end of file diff --git a/docs/Models/Errors/CancelServerActivitiesActivitiesErrors.md b/docs/Models/Errors/CancelServerActivitiesActivitiesErrors.md new file mode 100644 index 0000000..e3d31ed --- /dev/null +++ b/docs/Models/Errors/CancelServerActivitiesActivitiesErrors.md @@ -0,0 +1,10 @@ +# CancelServerActivitiesActivitiesErrors + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | +| `Code` | *long* | :heavy_minus_sign: | N/A | 1001 | +| `Message` | *string* | :heavy_minus_sign: | N/A | User could not be authenticated | +| `Status` | *long* | :heavy_minus_sign: | N/A | 401 | \ No newline at end of file diff --git a/docs/Models/Errors/CancelServerActivitiesActivitiesResponseBody.md b/docs/Models/Errors/CancelServerActivitiesActivitiesResponseBody.md new file mode 100644 index 0000000..ddb8ea8 --- /dev/null +++ b/docs/Models/Errors/CancelServerActivitiesActivitiesResponseBody.md @@ -0,0 +1,11 @@ +# CancelServerActivitiesActivitiesResponseBody + +Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | +| `Errors` | List<[CancelServerActivitiesActivitiesErrors](../../Models/Errors/CancelServerActivitiesActivitiesErrors.md)> | :heavy_minus_sign: | N/A | +| `RawResponse` | [HttpResponseMessage](https://learn.microsoft.com/en-us/dotnet/api/system.net.http.httpresponsemessage?view=net-5.0) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing | \ No newline at end of file diff --git a/docs/Models/Errors/CancelServerActivitiesErrors.md b/docs/Models/Errors/CancelServerActivitiesErrors.md index 16e1244..7946ef3 100644 --- a/docs/Models/Errors/CancelServerActivitiesErrors.md +++ b/docs/Models/Errors/CancelServerActivitiesErrors.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | -| `Code` | *double* | :heavy_minus_sign: | N/A | 1001 | -| `Message` | *string* | :heavy_minus_sign: | N/A | User could not be authenticated | -| `Status` | *double* | :heavy_minus_sign: | N/A | 401 | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | +| `Code` | *long* | :heavy_minus_sign: | N/A | 1000 | +| `Message` | *string* | :heavy_minus_sign: | N/A | X-Plex-Client-Identifier is missing | +| `Status` | *long* | :heavy_minus_sign: | N/A | 400 | \ No newline at end of file diff --git a/docs/Models/Errors/CancelServerActivitiesResponseBody.md b/docs/Models/Errors/CancelServerActivitiesResponseBody.md index 0726986..bd2300c 100644 --- a/docs/Models/Errors/CancelServerActivitiesResponseBody.md +++ b/docs/Models/Errors/CancelServerActivitiesResponseBody.md @@ -1,6 +1,6 @@ # CancelServerActivitiesResponseBody -Unauthorized - Returned if the X-Plex-Token is missing from the header or query. +Bad Request - A parameter was not specified, or was specified incorrectly. ## Fields diff --git a/docs/Models/Errors/CheckForUpdatesErrors.md b/docs/Models/Errors/CheckForUpdatesErrors.md index b092af3..9ae919c 100644 --- a/docs/Models/Errors/CheckForUpdatesErrors.md +++ b/docs/Models/Errors/CheckForUpdatesErrors.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | -| `Code` | *double* | :heavy_minus_sign: | N/A | 1001 | -| `Message` | *string* | :heavy_minus_sign: | N/A | User could not be authenticated | -| `Status` | *double* | :heavy_minus_sign: | N/A | 401 | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | +| `Code` | *long* | :heavy_minus_sign: | N/A | 1000 | +| `Message` | *string* | :heavy_minus_sign: | N/A | X-Plex-Client-Identifier is missing | +| `Status` | *long* | :heavy_minus_sign: | N/A | 400 | \ No newline at end of file diff --git a/docs/Models/Errors/CheckForUpdatesResponseBody.md b/docs/Models/Errors/CheckForUpdatesResponseBody.md index fbe93f4..c0ff3cc 100644 --- a/docs/Models/Errors/CheckForUpdatesResponseBody.md +++ b/docs/Models/Errors/CheckForUpdatesResponseBody.md @@ -1,6 +1,6 @@ # CheckForUpdatesResponseBody -Unauthorized - Returned if the X-Plex-Token is missing from the header or query. +Bad Request - A parameter was not specified, or was specified incorrectly. ## Fields diff --git a/docs/Models/Errors/CheckForUpdatesUpdaterErrors.md b/docs/Models/Errors/CheckForUpdatesUpdaterErrors.md new file mode 100644 index 0000000..036b379 --- /dev/null +++ b/docs/Models/Errors/CheckForUpdatesUpdaterErrors.md @@ -0,0 +1,10 @@ +# CheckForUpdatesUpdaterErrors + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | +| `Code` | *long* | :heavy_minus_sign: | N/A | 1001 | +| `Message` | *string* | :heavy_minus_sign: | N/A | User could not be authenticated | +| `Status` | *long* | :heavy_minus_sign: | N/A | 401 | \ No newline at end of file diff --git a/docs/Models/Errors/CheckForUpdatesUpdaterResponseBody.md b/docs/Models/Errors/CheckForUpdatesUpdaterResponseBody.md new file mode 100644 index 0000000..41dbefb --- /dev/null +++ b/docs/Models/Errors/CheckForUpdatesUpdaterResponseBody.md @@ -0,0 +1,11 @@ +# CheckForUpdatesUpdaterResponseBody + +Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | +| `Errors` | List<[CheckForUpdatesUpdaterErrors](../../Models/Errors/CheckForUpdatesUpdaterErrors.md)> | :heavy_minus_sign: | N/A | +| `RawResponse` | [HttpResponseMessage](https://learn.microsoft.com/en-us/dotnet/api/system.net.http.httpresponsemessage?view=net-5.0) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing | \ No newline at end of file diff --git a/docs/Models/Errors/ClearPlaylistContentsErrors.md b/docs/Models/Errors/ClearPlaylistContentsErrors.md index 40fce10..4f71871 100644 --- a/docs/Models/Errors/ClearPlaylistContentsErrors.md +++ b/docs/Models/Errors/ClearPlaylistContentsErrors.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | -| `Code` | *double* | :heavy_minus_sign: | N/A | 1001 | -| `Message` | *string* | :heavy_minus_sign: | N/A | User could not be authenticated | -| `Status` | *double* | :heavy_minus_sign: | N/A | 401 | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | +| `Code` | *long* | :heavy_minus_sign: | N/A | 1000 | +| `Message` | *string* | :heavy_minus_sign: | N/A | X-Plex-Client-Identifier is missing | +| `Status` | *long* | :heavy_minus_sign: | N/A | 400 | \ No newline at end of file diff --git a/docs/Models/Errors/ClearPlaylistContentsPlaylistsErrors.md b/docs/Models/Errors/ClearPlaylistContentsPlaylistsErrors.md new file mode 100644 index 0000000..c44822e --- /dev/null +++ b/docs/Models/Errors/ClearPlaylistContentsPlaylistsErrors.md @@ -0,0 +1,10 @@ +# ClearPlaylistContentsPlaylistsErrors + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | +| `Code` | *long* | :heavy_minus_sign: | N/A | 1001 | +| `Message` | *string* | :heavy_minus_sign: | N/A | User could not be authenticated | +| `Status` | *long* | :heavy_minus_sign: | N/A | 401 | \ No newline at end of file diff --git a/docs/Models/Errors/ClearPlaylistContentsPlaylistsResponseBody.md b/docs/Models/Errors/ClearPlaylistContentsPlaylistsResponseBody.md new file mode 100644 index 0000000..93b4123 --- /dev/null +++ b/docs/Models/Errors/ClearPlaylistContentsPlaylistsResponseBody.md @@ -0,0 +1,11 @@ +# ClearPlaylistContentsPlaylistsResponseBody + +Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | +| `Errors` | List<[ClearPlaylistContentsPlaylistsErrors](../../Models/Errors/ClearPlaylistContentsPlaylistsErrors.md)> | :heavy_minus_sign: | N/A | +| `RawResponse` | [HttpResponseMessage](https://learn.microsoft.com/en-us/dotnet/api/system.net.http.httpresponsemessage?view=net-5.0) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing | \ No newline at end of file diff --git a/docs/Models/Errors/ClearPlaylistContentsResponseBody.md b/docs/Models/Errors/ClearPlaylistContentsResponseBody.md index 38c548e..4dad4ea 100644 --- a/docs/Models/Errors/ClearPlaylistContentsResponseBody.md +++ b/docs/Models/Errors/ClearPlaylistContentsResponseBody.md @@ -1,6 +1,6 @@ # ClearPlaylistContentsResponseBody -Unauthorized - Returned if the X-Plex-Token is missing from the header or query. +Bad Request - A parameter was not specified, or was specified incorrectly. ## Fields diff --git a/docs/Models/Errors/CreatePlaylistErrors.md b/docs/Models/Errors/CreatePlaylistErrors.md index 2043d70..f1ff6b8 100644 --- a/docs/Models/Errors/CreatePlaylistErrors.md +++ b/docs/Models/Errors/CreatePlaylistErrors.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | -| `Code` | *double* | :heavy_minus_sign: | N/A | 1001 | -| `Message` | *string* | :heavy_minus_sign: | N/A | User could not be authenticated | -| `Status` | *double* | :heavy_minus_sign: | N/A | 401 | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | +| `Code` | *long* | :heavy_minus_sign: | N/A | 1000 | +| `Message` | *string* | :heavy_minus_sign: | N/A | X-Plex-Client-Identifier is missing | +| `Status` | *long* | :heavy_minus_sign: | N/A | 400 | \ No newline at end of file diff --git a/docs/Models/Errors/CreatePlaylistPlaylistsErrors.md b/docs/Models/Errors/CreatePlaylistPlaylistsErrors.md new file mode 100644 index 0000000..35fb08c --- /dev/null +++ b/docs/Models/Errors/CreatePlaylistPlaylistsErrors.md @@ -0,0 +1,10 @@ +# CreatePlaylistPlaylistsErrors + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | +| `Code` | *long* | :heavy_minus_sign: | N/A | 1001 | +| `Message` | *string* | :heavy_minus_sign: | N/A | User could not be authenticated | +| `Status` | *long* | :heavy_minus_sign: | N/A | 401 | \ No newline at end of file diff --git a/docs/Models/Errors/CreatePlaylistPlaylistsResponseBody.md b/docs/Models/Errors/CreatePlaylistPlaylistsResponseBody.md new file mode 100644 index 0000000..e0aeec9 --- /dev/null +++ b/docs/Models/Errors/CreatePlaylistPlaylistsResponseBody.md @@ -0,0 +1,11 @@ +# CreatePlaylistPlaylistsResponseBody + +Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | +| `Errors` | List<[CreatePlaylistPlaylistsErrors](../../Models/Errors/CreatePlaylistPlaylistsErrors.md)> | :heavy_minus_sign: | N/A | +| `RawResponse` | [HttpResponseMessage](https://learn.microsoft.com/en-us/dotnet/api/system.net.http.httpresponsemessage?view=net-5.0) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing | \ No newline at end of file diff --git a/docs/Models/Errors/CreatePlaylistResponseBody.md b/docs/Models/Errors/CreatePlaylistResponseBody.md index 4f8071c..0428d78 100644 --- a/docs/Models/Errors/CreatePlaylistResponseBody.md +++ b/docs/Models/Errors/CreatePlaylistResponseBody.md @@ -1,6 +1,6 @@ # CreatePlaylistResponseBody -Unauthorized - Returned if the X-Plex-Token is missing from the header or query. +Bad Request - A parameter was not specified, or was specified incorrectly. ## Fields diff --git a/docs/Models/Errors/DeleteLibraryErrors.md b/docs/Models/Errors/DeleteLibraryErrors.md index cf87649..1063692 100644 --- a/docs/Models/Errors/DeleteLibraryErrors.md +++ b/docs/Models/Errors/DeleteLibraryErrors.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | -| `Code` | *double* | :heavy_minus_sign: | N/A | 1001 | -| `Message` | *string* | :heavy_minus_sign: | N/A | User could not be authenticated | -| `Status` | *double* | :heavy_minus_sign: | N/A | 401 | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | +| `Code` | *long* | :heavy_minus_sign: | N/A | 1000 | +| `Message` | *string* | :heavy_minus_sign: | N/A | X-Plex-Client-Identifier is missing | +| `Status` | *long* | :heavy_minus_sign: | N/A | 400 | \ No newline at end of file diff --git a/docs/Models/Errors/DeleteLibraryLibraryErrors.md b/docs/Models/Errors/DeleteLibraryLibraryErrors.md new file mode 100644 index 0000000..8780cbc --- /dev/null +++ b/docs/Models/Errors/DeleteLibraryLibraryErrors.md @@ -0,0 +1,10 @@ +# DeleteLibraryLibraryErrors + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | +| `Code` | *long* | :heavy_minus_sign: | N/A | 1001 | +| `Message` | *string* | :heavy_minus_sign: | N/A | User could not be authenticated | +| `Status` | *long* | :heavy_minus_sign: | N/A | 401 | \ No newline at end of file diff --git a/docs/Models/Errors/DeleteLibraryLibraryResponseBody.md b/docs/Models/Errors/DeleteLibraryLibraryResponseBody.md new file mode 100644 index 0000000..d4efa82 --- /dev/null +++ b/docs/Models/Errors/DeleteLibraryLibraryResponseBody.md @@ -0,0 +1,11 @@ +# DeleteLibraryLibraryResponseBody + +Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | +| `Errors` | List<[DeleteLibraryLibraryErrors](../../Models/Errors/DeleteLibraryLibraryErrors.md)> | :heavy_minus_sign: | N/A | +| `RawResponse` | [HttpResponseMessage](https://learn.microsoft.com/en-us/dotnet/api/system.net.http.httpresponsemessage?view=net-5.0) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing | \ No newline at end of file diff --git a/docs/Models/Errors/DeleteLibraryResponseBody.md b/docs/Models/Errors/DeleteLibraryResponseBody.md index 1abe0d5..048ddc8 100644 --- a/docs/Models/Errors/DeleteLibraryResponseBody.md +++ b/docs/Models/Errors/DeleteLibraryResponseBody.md @@ -1,6 +1,6 @@ # DeleteLibraryResponseBody -Unauthorized - Returned if the X-Plex-Token is missing from the header or query. +Bad Request - A parameter was not specified, or was specified incorrectly. ## Fields diff --git a/docs/Models/Errors/DeletePlaylistErrors.md b/docs/Models/Errors/DeletePlaylistErrors.md index 1dbb6de..63ec66e 100644 --- a/docs/Models/Errors/DeletePlaylistErrors.md +++ b/docs/Models/Errors/DeletePlaylistErrors.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | -| `Code` | *double* | :heavy_minus_sign: | N/A | 1001 | -| `Message` | *string* | :heavy_minus_sign: | N/A | User could not be authenticated | -| `Status` | *double* | :heavy_minus_sign: | N/A | 401 | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | +| `Code` | *long* | :heavy_minus_sign: | N/A | 1000 | +| `Message` | *string* | :heavy_minus_sign: | N/A | X-Plex-Client-Identifier is missing | +| `Status` | *long* | :heavy_minus_sign: | N/A | 400 | \ No newline at end of file diff --git a/docs/Models/Errors/DeletePlaylistPlaylistsErrors.md b/docs/Models/Errors/DeletePlaylistPlaylistsErrors.md new file mode 100644 index 0000000..03e5a73 --- /dev/null +++ b/docs/Models/Errors/DeletePlaylistPlaylistsErrors.md @@ -0,0 +1,10 @@ +# DeletePlaylistPlaylistsErrors + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | +| `Code` | *long* | :heavy_minus_sign: | N/A | 1001 | +| `Message` | *string* | :heavy_minus_sign: | N/A | User could not be authenticated | +| `Status` | *long* | :heavy_minus_sign: | N/A | 401 | \ No newline at end of file diff --git a/docs/Models/Errors/DeletePlaylistPlaylistsResponseBody.md b/docs/Models/Errors/DeletePlaylistPlaylistsResponseBody.md new file mode 100644 index 0000000..f024e55 --- /dev/null +++ b/docs/Models/Errors/DeletePlaylistPlaylistsResponseBody.md @@ -0,0 +1,11 @@ +# DeletePlaylistPlaylistsResponseBody + +Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | +| `Errors` | List<[DeletePlaylistPlaylistsErrors](../../Models/Errors/DeletePlaylistPlaylistsErrors.md)> | :heavy_minus_sign: | N/A | +| `RawResponse` | [HttpResponseMessage](https://learn.microsoft.com/en-us/dotnet/api/system.net.http.httpresponsemessage?view=net-5.0) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing | \ No newline at end of file diff --git a/docs/Models/Errors/DeletePlaylistResponseBody.md b/docs/Models/Errors/DeletePlaylistResponseBody.md index 01c2bd7..2655e2c 100644 --- a/docs/Models/Errors/DeletePlaylistResponseBody.md +++ b/docs/Models/Errors/DeletePlaylistResponseBody.md @@ -1,6 +1,6 @@ # DeletePlaylistResponseBody -Unauthorized - Returned if the X-Plex-Token is missing from the header or query. +Bad Request - A parameter was not specified, or was specified incorrectly. ## Fields diff --git a/docs/Models/Errors/EnablePaperTrailErrors.md b/docs/Models/Errors/EnablePaperTrailErrors.md index bfbce9d..313cc71 100644 --- a/docs/Models/Errors/EnablePaperTrailErrors.md +++ b/docs/Models/Errors/EnablePaperTrailErrors.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | -| `Code` | *double* | :heavy_minus_sign: | N/A | 1001 | -| `Message` | *string* | :heavy_minus_sign: | N/A | User could not be authenticated | -| `Status` | *double* | :heavy_minus_sign: | N/A | 401 | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | +| `Code` | *long* | :heavy_minus_sign: | N/A | 1000 | +| `Message` | *string* | :heavy_minus_sign: | N/A | X-Plex-Client-Identifier is missing | +| `Status` | *long* | :heavy_minus_sign: | N/A | 400 | \ No newline at end of file diff --git a/docs/Models/Errors/EnablePaperTrailLogErrors.md b/docs/Models/Errors/EnablePaperTrailLogErrors.md new file mode 100644 index 0000000..79e0b2d --- /dev/null +++ b/docs/Models/Errors/EnablePaperTrailLogErrors.md @@ -0,0 +1,10 @@ +# EnablePaperTrailLogErrors + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | +| `Code` | *long* | :heavy_minus_sign: | N/A | 1001 | +| `Message` | *string* | :heavy_minus_sign: | N/A | User could not be authenticated | +| `Status` | *long* | :heavy_minus_sign: | N/A | 401 | \ No newline at end of file diff --git a/docs/Models/Errors/EnablePaperTrailLogResponseBody.md b/docs/Models/Errors/EnablePaperTrailLogResponseBody.md new file mode 100644 index 0000000..3d16c8d --- /dev/null +++ b/docs/Models/Errors/EnablePaperTrailLogResponseBody.md @@ -0,0 +1,11 @@ +# EnablePaperTrailLogResponseBody + +Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | +| `Errors` | List<[EnablePaperTrailLogErrors](../../Models/Errors/EnablePaperTrailLogErrors.md)> | :heavy_minus_sign: | N/A | +| `RawResponse` | [HttpResponseMessage](https://learn.microsoft.com/en-us/dotnet/api/system.net.http.httpresponsemessage?view=net-5.0) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing | \ No newline at end of file diff --git a/docs/Models/Errors/EnablePaperTrailResponseBody.md b/docs/Models/Errors/EnablePaperTrailResponseBody.md index 3862a51..9cdd972 100644 --- a/docs/Models/Errors/EnablePaperTrailResponseBody.md +++ b/docs/Models/Errors/EnablePaperTrailResponseBody.md @@ -1,6 +1,6 @@ # EnablePaperTrailResponseBody -Unauthorized - Returned if the X-Plex-Token is missing from the header or query. +Bad Request - A parameter was not specified, or was specified incorrectly. ## Fields diff --git a/docs/Models/Errors/Errors.md b/docs/Models/Errors/Errors.md index 0e0aca1..85ac14b 100644 --- a/docs/Models/Errors/Errors.md +++ b/docs/Models/Errors/Errors.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | -| `Code` | *double* | :heavy_minus_sign: | N/A | 1001 | -| `Message` | *string* | :heavy_minus_sign: | N/A | User could not be authenticated | -| `Status` | *double* | :heavy_minus_sign: | N/A | 401 | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | +| `Code` | *long* | :heavy_minus_sign: | N/A | 1000 | +| `Message` | *string* | :heavy_minus_sign: | N/A | X-Plex-Client-Identifier is missing | +| `Status` | *long* | :heavy_minus_sign: | N/A | 400 | \ No newline at end of file diff --git a/docs/Models/Errors/GetAllLibrariesErrors.md b/docs/Models/Errors/GetAllLibrariesErrors.md index 32ab13d..7db6d34 100644 --- a/docs/Models/Errors/GetAllLibrariesErrors.md +++ b/docs/Models/Errors/GetAllLibrariesErrors.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | -| `Code` | *double* | :heavy_minus_sign: | N/A | 1001 | -| `Message` | *string* | :heavy_minus_sign: | N/A | User could not be authenticated | -| `Status` | *double* | :heavy_minus_sign: | N/A | 401 | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | +| `Code` | *long* | :heavy_minus_sign: | N/A | 1000 | +| `Message` | *string* | :heavy_minus_sign: | N/A | X-Plex-Client-Identifier is missing | +| `Status` | *long* | :heavy_minus_sign: | N/A | 400 | \ No newline at end of file diff --git a/docs/Models/Errors/GetAllLibrariesLibraryErrors.md b/docs/Models/Errors/GetAllLibrariesLibraryErrors.md new file mode 100644 index 0000000..93ceb41 --- /dev/null +++ b/docs/Models/Errors/GetAllLibrariesLibraryErrors.md @@ -0,0 +1,10 @@ +# GetAllLibrariesLibraryErrors + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | +| `Code` | *long* | :heavy_minus_sign: | N/A | 1001 | +| `Message` | *string* | :heavy_minus_sign: | N/A | User could not be authenticated | +| `Status` | *long* | :heavy_minus_sign: | N/A | 401 | \ No newline at end of file diff --git a/docs/Models/Errors/GetAllLibrariesLibraryResponseBody.md b/docs/Models/Errors/GetAllLibrariesLibraryResponseBody.md new file mode 100644 index 0000000..1445ce4 --- /dev/null +++ b/docs/Models/Errors/GetAllLibrariesLibraryResponseBody.md @@ -0,0 +1,11 @@ +# GetAllLibrariesLibraryResponseBody + +Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | +| `Errors` | List<[GetAllLibrariesLibraryErrors](../../Models/Errors/GetAllLibrariesLibraryErrors.md)> | :heavy_minus_sign: | N/A | +| `RawResponse` | [HttpResponseMessage](https://learn.microsoft.com/en-us/dotnet/api/system.net.http.httpresponsemessage?view=net-5.0) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing | \ No newline at end of file diff --git a/docs/Models/Errors/GetAllLibrariesResponseBody.md b/docs/Models/Errors/GetAllLibrariesResponseBody.md index 1abf4ee..b8fc27e 100644 --- a/docs/Models/Errors/GetAllLibrariesResponseBody.md +++ b/docs/Models/Errors/GetAllLibrariesResponseBody.md @@ -1,6 +1,6 @@ # GetAllLibrariesResponseBody -Unauthorized - Returned if the X-Plex-Token is missing from the header or query. +Bad Request - A parameter was not specified, or was specified incorrectly. ## Fields diff --git a/docs/Models/Errors/GetAvailableClientsErrors.md b/docs/Models/Errors/GetAvailableClientsErrors.md index 551594c..dff8b14 100644 --- a/docs/Models/Errors/GetAvailableClientsErrors.md +++ b/docs/Models/Errors/GetAvailableClientsErrors.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | -| `Code` | *double* | :heavy_minus_sign: | N/A | 1001 | -| `Message` | *string* | :heavy_minus_sign: | N/A | User could not be authenticated | -| `Status` | *double* | :heavy_minus_sign: | N/A | 401 | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | +| `Code` | *long* | :heavy_minus_sign: | N/A | 1000 | +| `Message` | *string* | :heavy_minus_sign: | N/A | X-Plex-Client-Identifier is missing | +| `Status` | *long* | :heavy_minus_sign: | N/A | 400 | \ No newline at end of file diff --git a/docs/Models/Errors/GetAvailableClientsResponseBody.md b/docs/Models/Errors/GetAvailableClientsResponseBody.md index c6c12a0..fb17021 100644 --- a/docs/Models/Errors/GetAvailableClientsResponseBody.md +++ b/docs/Models/Errors/GetAvailableClientsResponseBody.md @@ -1,6 +1,6 @@ # GetAvailableClientsResponseBody -Unauthorized - Returned if the X-Plex-Token is missing from the header or query. +Bad Request - A parameter was not specified, or was specified incorrectly. ## Fields diff --git a/docs/Models/Errors/GetAvailableClientsServerErrors.md b/docs/Models/Errors/GetAvailableClientsServerErrors.md new file mode 100644 index 0000000..5c44873 --- /dev/null +++ b/docs/Models/Errors/GetAvailableClientsServerErrors.md @@ -0,0 +1,10 @@ +# GetAvailableClientsServerErrors + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | +| `Code` | *long* | :heavy_minus_sign: | N/A | 1001 | +| `Message` | *string* | :heavy_minus_sign: | N/A | User could not be authenticated | +| `Status` | *long* | :heavy_minus_sign: | N/A | 401 | \ No newline at end of file diff --git a/docs/Models/Errors/GetAvailableClientsServerResponseBody.md b/docs/Models/Errors/GetAvailableClientsServerResponseBody.md new file mode 100644 index 0000000..d8d7950 --- /dev/null +++ b/docs/Models/Errors/GetAvailableClientsServerResponseBody.md @@ -0,0 +1,11 @@ +# GetAvailableClientsServerResponseBody + +Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | +| `Errors` | List<[GetAvailableClientsServerErrors](../../Models/Errors/GetAvailableClientsServerErrors.md)> | :heavy_minus_sign: | N/A | +| `RawResponse` | [HttpResponseMessage](https://learn.microsoft.com/en-us/dotnet/api/system.net.http.httpresponsemessage?view=net-5.0) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing | \ No newline at end of file diff --git a/docs/Models/Errors/GetBandwidthStatisticsErrors.md b/docs/Models/Errors/GetBandwidthStatisticsErrors.md index 1fcd11d..5ae3c0f 100644 --- a/docs/Models/Errors/GetBandwidthStatisticsErrors.md +++ b/docs/Models/Errors/GetBandwidthStatisticsErrors.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | -| `Code` | *double* | :heavy_minus_sign: | N/A | 1001 | -| `Message` | *string* | :heavy_minus_sign: | N/A | User could not be authenticated | -| `Status` | *double* | :heavy_minus_sign: | N/A | 401 | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | +| `Code` | *long* | :heavy_minus_sign: | N/A | 1000 | +| `Message` | *string* | :heavy_minus_sign: | N/A | X-Plex-Client-Identifier is missing | +| `Status` | *long* | :heavy_minus_sign: | N/A | 400 | \ No newline at end of file diff --git a/docs/Models/Errors/GetBandwidthStatisticsResponseBody.md b/docs/Models/Errors/GetBandwidthStatisticsResponseBody.md index 28877b7..2a3475f 100644 --- a/docs/Models/Errors/GetBandwidthStatisticsResponseBody.md +++ b/docs/Models/Errors/GetBandwidthStatisticsResponseBody.md @@ -1,6 +1,6 @@ # GetBandwidthStatisticsResponseBody -Unauthorized - Returned if the X-Plex-Token is missing from the header or query. +Bad Request - A parameter was not specified, or was specified incorrectly. ## Fields diff --git a/docs/Models/Errors/GetBandwidthStatisticsStatisticsErrors.md b/docs/Models/Errors/GetBandwidthStatisticsStatisticsErrors.md new file mode 100644 index 0000000..0c07679 --- /dev/null +++ b/docs/Models/Errors/GetBandwidthStatisticsStatisticsErrors.md @@ -0,0 +1,10 @@ +# GetBandwidthStatisticsStatisticsErrors + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | +| `Code` | *long* | :heavy_minus_sign: | N/A | 1001 | +| `Message` | *string* | :heavy_minus_sign: | N/A | User could not be authenticated | +| `Status` | *long* | :heavy_minus_sign: | N/A | 401 | \ No newline at end of file diff --git a/docs/Models/Errors/GetBandwidthStatisticsStatisticsResponseBody.md b/docs/Models/Errors/GetBandwidthStatisticsStatisticsResponseBody.md new file mode 100644 index 0000000..400b106 --- /dev/null +++ b/docs/Models/Errors/GetBandwidthStatisticsStatisticsResponseBody.md @@ -0,0 +1,11 @@ +# GetBandwidthStatisticsStatisticsResponseBody + +Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | +| `Errors` | List<[GetBandwidthStatisticsStatisticsErrors](../../Models/Errors/GetBandwidthStatisticsStatisticsErrors.md)> | :heavy_minus_sign: | N/A | +| `RawResponse` | [HttpResponseMessage](https://learn.microsoft.com/en-us/dotnet/api/system.net.http.httpresponsemessage?view=net-5.0) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing | \ No newline at end of file diff --git a/docs/Models/Errors/GetBannerImageErrors.md b/docs/Models/Errors/GetBannerImageErrors.md index 8316910..802dcc4 100644 --- a/docs/Models/Errors/GetBannerImageErrors.md +++ b/docs/Models/Errors/GetBannerImageErrors.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | -| `Code` | *double* | :heavy_minus_sign: | N/A | 1001 | -| `Message` | *string* | :heavy_minus_sign: | N/A | User could not be authenticated | -| `Status` | *double* | :heavy_minus_sign: | N/A | 401 | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | +| `Code` | *long* | :heavy_minus_sign: | N/A | 1000 | +| `Message` | *string* | :heavy_minus_sign: | N/A | X-Plex-Client-Identifier is missing | +| `Status` | *long* | :heavy_minus_sign: | N/A | 400 | \ No newline at end of file diff --git a/docs/Models/Errors/GetBannerImageMediaErrors.md b/docs/Models/Errors/GetBannerImageMediaErrors.md new file mode 100644 index 0000000..a6cf1b3 --- /dev/null +++ b/docs/Models/Errors/GetBannerImageMediaErrors.md @@ -0,0 +1,10 @@ +# GetBannerImageMediaErrors + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | +| `Code` | *long* | :heavy_minus_sign: | N/A | 1001 | +| `Message` | *string* | :heavy_minus_sign: | N/A | User could not be authenticated | +| `Status` | *long* | :heavy_minus_sign: | N/A | 401 | \ No newline at end of file diff --git a/docs/Models/Errors/GetBannerImageMediaResponseBody.md b/docs/Models/Errors/GetBannerImageMediaResponseBody.md new file mode 100644 index 0000000..38a1982 --- /dev/null +++ b/docs/Models/Errors/GetBannerImageMediaResponseBody.md @@ -0,0 +1,11 @@ +# GetBannerImageMediaResponseBody + +Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | +| `Errors` | List<[GetBannerImageMediaErrors](../../Models/Errors/GetBannerImageMediaErrors.md)> | :heavy_minus_sign: | N/A | +| `RawResponse` | [HttpResponseMessage](https://learn.microsoft.com/en-us/dotnet/api/system.net.http.httpresponsemessage?view=net-5.0) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing | \ No newline at end of file diff --git a/docs/Models/Errors/GetBannerImageResponseBody.md b/docs/Models/Errors/GetBannerImageResponseBody.md index d6f89f9..989994d 100644 --- a/docs/Models/Errors/GetBannerImageResponseBody.md +++ b/docs/Models/Errors/GetBannerImageResponseBody.md @@ -1,6 +1,6 @@ # GetBannerImageResponseBody -Unauthorized - Returned if the X-Plex-Token is missing from the header or query. +Bad Request - A parameter was not specified, or was specified incorrectly. ## Fields diff --git a/docs/Models/Errors/GetButlerTasksButlerErrors.md b/docs/Models/Errors/GetButlerTasksButlerErrors.md new file mode 100644 index 0000000..32dd0af --- /dev/null +++ b/docs/Models/Errors/GetButlerTasksButlerErrors.md @@ -0,0 +1,10 @@ +# GetButlerTasksButlerErrors + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | +| `Code` | *long* | :heavy_minus_sign: | N/A | 1001 | +| `Message` | *string* | :heavy_minus_sign: | N/A | User could not be authenticated | +| `Status` | *long* | :heavy_minus_sign: | N/A | 401 | \ No newline at end of file diff --git a/docs/Models/Errors/GetButlerTasksButlerResponseBody.md b/docs/Models/Errors/GetButlerTasksButlerResponseBody.md new file mode 100644 index 0000000..0ac0be6 --- /dev/null +++ b/docs/Models/Errors/GetButlerTasksButlerResponseBody.md @@ -0,0 +1,11 @@ +# GetButlerTasksButlerResponseBody + +Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | +| `Errors` | List<[GetButlerTasksButlerErrors](../../Models/Errors/GetButlerTasksButlerErrors.md)> | :heavy_minus_sign: | N/A | +| `RawResponse` | [HttpResponseMessage](https://learn.microsoft.com/en-us/dotnet/api/system.net.http.httpresponsemessage?view=net-5.0) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing | \ No newline at end of file diff --git a/docs/Models/Errors/GetButlerTasksErrors.md b/docs/Models/Errors/GetButlerTasksErrors.md index 4e866ee..537fc6f 100644 --- a/docs/Models/Errors/GetButlerTasksErrors.md +++ b/docs/Models/Errors/GetButlerTasksErrors.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | -| `Code` | *double* | :heavy_minus_sign: | N/A | 1001 | -| `Message` | *string* | :heavy_minus_sign: | N/A | User could not be authenticated | -| `Status` | *double* | :heavy_minus_sign: | N/A | 401 | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | +| `Code` | *long* | :heavy_minus_sign: | N/A | 1000 | +| `Message` | *string* | :heavy_minus_sign: | N/A | X-Plex-Client-Identifier is missing | +| `Status` | *long* | :heavy_minus_sign: | N/A | 400 | \ No newline at end of file diff --git a/docs/Models/Errors/GetButlerTasksResponseBody.md b/docs/Models/Errors/GetButlerTasksResponseBody.md index b0516bf..ec0d683 100644 --- a/docs/Models/Errors/GetButlerTasksResponseBody.md +++ b/docs/Models/Errors/GetButlerTasksResponseBody.md @@ -1,6 +1,6 @@ # GetButlerTasksResponseBody -Unauthorized - Returned if the X-Plex-Token is missing from the header or query. +Bad Request - A parameter was not specified, or was specified incorrectly. ## Fields diff --git a/docs/Models/Errors/GetCompanionsDataErrors.md b/docs/Models/Errors/GetCompanionsDataErrors.md index cd3e516..d336b83 100644 --- a/docs/Models/Errors/GetCompanionsDataErrors.md +++ b/docs/Models/Errors/GetCompanionsDataErrors.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | -| `Code` | *double* | :heavy_minus_sign: | N/A | 1001 | -| `Message` | *string* | :heavy_minus_sign: | N/A | User could not be authenticated | -| `Status` | *double* | :heavy_minus_sign: | N/A | 401 | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | +| `Code` | *long* | :heavy_minus_sign: | N/A | 1000 | +| `Message` | *string* | :heavy_minus_sign: | N/A | X-Plex-Client-Identifier is missing | +| `Status` | *long* | :heavy_minus_sign: | N/A | 400 | \ No newline at end of file diff --git a/docs/Models/Errors/GetCompanionsDataPlexErrors.md b/docs/Models/Errors/GetCompanionsDataPlexErrors.md new file mode 100644 index 0000000..592fbaf --- /dev/null +++ b/docs/Models/Errors/GetCompanionsDataPlexErrors.md @@ -0,0 +1,10 @@ +# GetCompanionsDataPlexErrors + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | +| `Code` | *long* | :heavy_minus_sign: | N/A | 1001 | +| `Message` | *string* | :heavy_minus_sign: | N/A | User could not be authenticated | +| `Status` | *long* | :heavy_minus_sign: | N/A | 401 | \ No newline at end of file diff --git a/docs/Models/Errors/GetCompanionsDataPlexResponseBody.md b/docs/Models/Errors/GetCompanionsDataPlexResponseBody.md new file mode 100644 index 0000000..77dd77e --- /dev/null +++ b/docs/Models/Errors/GetCompanionsDataPlexResponseBody.md @@ -0,0 +1,11 @@ +# GetCompanionsDataPlexResponseBody + +Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | +| `Errors` | List<[GetCompanionsDataPlexErrors](../../Models/Errors/GetCompanionsDataPlexErrors.md)> | :heavy_minus_sign: | N/A | +| `RawResponse` | [HttpResponseMessage](https://learn.microsoft.com/en-us/dotnet/api/system.net.http.httpresponsemessage?view=net-5.0) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing | \ No newline at end of file diff --git a/docs/Models/Errors/GetCompanionsDataResponseBody.md b/docs/Models/Errors/GetCompanionsDataResponseBody.md index 2465548..c1324b6 100644 --- a/docs/Models/Errors/GetCompanionsDataResponseBody.md +++ b/docs/Models/Errors/GetCompanionsDataResponseBody.md @@ -1,6 +1,6 @@ # GetCompanionsDataResponseBody -Unauthorized - Returned if the X-Plex-Token is missing from the header or query. +Bad Request - A parameter was not specified, or was specified incorrectly. ## Fields diff --git a/docs/Models/Errors/GetDevicesErrors.md b/docs/Models/Errors/GetDevicesErrors.md index 03e6511..1daf30a 100644 --- a/docs/Models/Errors/GetDevicesErrors.md +++ b/docs/Models/Errors/GetDevicesErrors.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | -| `Code` | *double* | :heavy_minus_sign: | N/A | 1001 | -| `Message` | *string* | :heavy_minus_sign: | N/A | User could not be authenticated | -| `Status` | *double* | :heavy_minus_sign: | N/A | 401 | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | +| `Code` | *long* | :heavy_minus_sign: | N/A | 1000 | +| `Message` | *string* | :heavy_minus_sign: | N/A | X-Plex-Client-Identifier is missing | +| `Status` | *long* | :heavy_minus_sign: | N/A | 400 | \ No newline at end of file diff --git a/docs/Models/Errors/GetDevicesResponseBody.md b/docs/Models/Errors/GetDevicesResponseBody.md index 0caa133..07770c4 100644 --- a/docs/Models/Errors/GetDevicesResponseBody.md +++ b/docs/Models/Errors/GetDevicesResponseBody.md @@ -1,6 +1,6 @@ # GetDevicesResponseBody -Unauthorized - Returned if the X-Plex-Token is missing from the header or query. +Bad Request - A parameter was not specified, or was specified incorrectly. ## Fields diff --git a/docs/Models/Errors/GetDevicesServerErrors.md b/docs/Models/Errors/GetDevicesServerErrors.md new file mode 100644 index 0000000..1262dc3 --- /dev/null +++ b/docs/Models/Errors/GetDevicesServerErrors.md @@ -0,0 +1,10 @@ +# GetDevicesServerErrors + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | +| `Code` | *long* | :heavy_minus_sign: | N/A | 1001 | +| `Message` | *string* | :heavy_minus_sign: | N/A | User could not be authenticated | +| `Status` | *long* | :heavy_minus_sign: | N/A | 401 | \ No newline at end of file diff --git a/docs/Models/Errors/GetDevicesServerResponseBody.md b/docs/Models/Errors/GetDevicesServerResponseBody.md new file mode 100644 index 0000000..044c8ec --- /dev/null +++ b/docs/Models/Errors/GetDevicesServerResponseBody.md @@ -0,0 +1,11 @@ +# GetDevicesServerResponseBody + +Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | +| `Errors` | List<[GetDevicesServerErrors](../../Models/Errors/GetDevicesServerErrors.md)> | :heavy_minus_sign: | N/A | +| `RawResponse` | [HttpResponseMessage](https://learn.microsoft.com/en-us/dotnet/api/system.net.http.httpresponsemessage?view=net-5.0) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing | \ No newline at end of file diff --git a/docs/Models/Errors/GetFileHashErrors.md b/docs/Models/Errors/GetFileHashErrors.md index 3c42ebe..423c26d 100644 --- a/docs/Models/Errors/GetFileHashErrors.md +++ b/docs/Models/Errors/GetFileHashErrors.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | -| `Code` | *double* | :heavy_minus_sign: | N/A | 1001 | -| `Message` | *string* | :heavy_minus_sign: | N/A | User could not be authenticated | -| `Status` | *double* | :heavy_minus_sign: | N/A | 401 | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | +| `Code` | *long* | :heavy_minus_sign: | N/A | 1000 | +| `Message` | *string* | :heavy_minus_sign: | N/A | X-Plex-Client-Identifier is missing | +| `Status` | *long* | :heavy_minus_sign: | N/A | 400 | \ No newline at end of file diff --git a/docs/Models/Errors/GetFileHashLibraryErrors.md b/docs/Models/Errors/GetFileHashLibraryErrors.md new file mode 100644 index 0000000..5f8ed24 --- /dev/null +++ b/docs/Models/Errors/GetFileHashLibraryErrors.md @@ -0,0 +1,10 @@ +# GetFileHashLibraryErrors + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | +| `Code` | *long* | :heavy_minus_sign: | N/A | 1001 | +| `Message` | *string* | :heavy_minus_sign: | N/A | User could not be authenticated | +| `Status` | *long* | :heavy_minus_sign: | N/A | 401 | \ No newline at end of file diff --git a/docs/Models/Errors/GetFileHashLibraryResponseBody.md b/docs/Models/Errors/GetFileHashLibraryResponseBody.md new file mode 100644 index 0000000..3448d36 --- /dev/null +++ b/docs/Models/Errors/GetFileHashLibraryResponseBody.md @@ -0,0 +1,11 @@ +# GetFileHashLibraryResponseBody + +Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | +| `Errors` | List<[GetFileHashLibraryErrors](../../Models/Errors/GetFileHashLibraryErrors.md)> | :heavy_minus_sign: | N/A | +| `RawResponse` | [HttpResponseMessage](https://learn.microsoft.com/en-us/dotnet/api/system.net.http.httpresponsemessage?view=net-5.0) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing | \ No newline at end of file diff --git a/docs/Models/Errors/GetFileHashResponseBody.md b/docs/Models/Errors/GetFileHashResponseBody.md index 19e3164..7d2d8f7 100644 --- a/docs/Models/Errors/GetFileHashResponseBody.md +++ b/docs/Models/Errors/GetFileHashResponseBody.md @@ -1,6 +1,6 @@ # GetFileHashResponseBody -Unauthorized - Returned if the X-Plex-Token is missing from the header or query. +Bad Request - A parameter was not specified, or was specified incorrectly. ## Fields diff --git a/docs/Models/Errors/GetGeoDataErrors.md b/docs/Models/Errors/GetGeoDataErrors.md index edcd7f5..d9a753e 100644 --- a/docs/Models/Errors/GetGeoDataErrors.md +++ b/docs/Models/Errors/GetGeoDataErrors.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | -| `Code` | *double* | :heavy_minus_sign: | N/A | 1001 | -| `Message` | *string* | :heavy_minus_sign: | N/A | User could not be authenticated | -| `Status` | *double* | :heavy_minus_sign: | N/A | 401 | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | +| `Code` | *long* | :heavy_minus_sign: | N/A | 1000 | +| `Message` | *string* | :heavy_minus_sign: | N/A | X-Plex-Client-Identifier is missing | +| `Status` | *long* | :heavy_minus_sign: | N/A | 400 | \ No newline at end of file diff --git a/docs/Models/Errors/GetGeoDataPlexErrors.md b/docs/Models/Errors/GetGeoDataPlexErrors.md new file mode 100644 index 0000000..e166011 --- /dev/null +++ b/docs/Models/Errors/GetGeoDataPlexErrors.md @@ -0,0 +1,10 @@ +# GetGeoDataPlexErrors + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | +| `Code` | *long* | :heavy_minus_sign: | N/A | 1001 | +| `Message` | *string* | :heavy_minus_sign: | N/A | User could not be authenticated | +| `Status` | *long* | :heavy_minus_sign: | N/A | 401 | \ No newline at end of file diff --git a/docs/Models/Errors/GetGeoDataPlexResponseBody.md b/docs/Models/Errors/GetGeoDataPlexResponseBody.md new file mode 100644 index 0000000..849d3d6 --- /dev/null +++ b/docs/Models/Errors/GetGeoDataPlexResponseBody.md @@ -0,0 +1,11 @@ +# GetGeoDataPlexResponseBody + +Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | +| `Errors` | List<[GetGeoDataPlexErrors](../../Models/Errors/GetGeoDataPlexErrors.md)> | :heavy_minus_sign: | N/A | +| `RawResponse` | [HttpResponseMessage](https://learn.microsoft.com/en-us/dotnet/api/system.net.http.httpresponsemessage?view=net-5.0) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing | \ No newline at end of file diff --git a/docs/Models/Errors/GetGeoDataResponseBody.md b/docs/Models/Errors/GetGeoDataResponseBody.md index 792971c..3a104ce 100644 --- a/docs/Models/Errors/GetGeoDataResponseBody.md +++ b/docs/Models/Errors/GetGeoDataResponseBody.md @@ -1,6 +1,6 @@ # GetGeoDataResponseBody -Unauthorized - Returned if the X-Plex-Token is missing from the header or query. +Bad Request - A parameter was not specified, or was specified incorrectly. ## Fields diff --git a/docs/Models/Errors/GetGlobalHubsErrors.md b/docs/Models/Errors/GetGlobalHubsErrors.md index a2ab67f..c976e7c 100644 --- a/docs/Models/Errors/GetGlobalHubsErrors.md +++ b/docs/Models/Errors/GetGlobalHubsErrors.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | -| `Code` | *double* | :heavy_minus_sign: | N/A | 1001 | -| `Message` | *string* | :heavy_minus_sign: | N/A | User could not be authenticated | -| `Status` | *double* | :heavy_minus_sign: | N/A | 401 | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | +| `Code` | *long* | :heavy_minus_sign: | N/A | 1000 | +| `Message` | *string* | :heavy_minus_sign: | N/A | X-Plex-Client-Identifier is missing | +| `Status` | *long* | :heavy_minus_sign: | N/A | 400 | \ No newline at end of file diff --git a/docs/Models/Errors/GetGlobalHubsHubsErrors.md b/docs/Models/Errors/GetGlobalHubsHubsErrors.md new file mode 100644 index 0000000..e6debf1 --- /dev/null +++ b/docs/Models/Errors/GetGlobalHubsHubsErrors.md @@ -0,0 +1,10 @@ +# GetGlobalHubsHubsErrors + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | +| `Code` | *long* | :heavy_minus_sign: | N/A | 1001 | +| `Message` | *string* | :heavy_minus_sign: | N/A | User could not be authenticated | +| `Status` | *long* | :heavy_minus_sign: | N/A | 401 | \ No newline at end of file diff --git a/docs/Models/Errors/GetGlobalHubsHubsResponseBody.md b/docs/Models/Errors/GetGlobalHubsHubsResponseBody.md new file mode 100644 index 0000000..847c485 --- /dev/null +++ b/docs/Models/Errors/GetGlobalHubsHubsResponseBody.md @@ -0,0 +1,11 @@ +# GetGlobalHubsHubsResponseBody + +Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | +| `Errors` | List<[GetGlobalHubsHubsErrors](../../Models/Errors/GetGlobalHubsHubsErrors.md)> | :heavy_minus_sign: | N/A | +| `RawResponse` | [HttpResponseMessage](https://learn.microsoft.com/en-us/dotnet/api/system.net.http.httpresponsemessage?view=net-5.0) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing | \ No newline at end of file diff --git a/docs/Models/Errors/GetGlobalHubsResponseBody.md b/docs/Models/Errors/GetGlobalHubsResponseBody.md index 81d2733..6a76a23 100644 --- a/docs/Models/Errors/GetGlobalHubsResponseBody.md +++ b/docs/Models/Errors/GetGlobalHubsResponseBody.md @@ -1,6 +1,6 @@ # GetGlobalHubsResponseBody -Unauthorized - Returned if the X-Plex-Token is missing from the header or query. +Bad Request - A parameter was not specified, or was specified incorrectly. ## Fields diff --git a/docs/Models/Errors/GetHomeDataErrors.md b/docs/Models/Errors/GetHomeDataErrors.md index debefa2..ece98ba 100644 --- a/docs/Models/Errors/GetHomeDataErrors.md +++ b/docs/Models/Errors/GetHomeDataErrors.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | -| `Code` | *double* | :heavy_minus_sign: | N/A | 1001 | -| `Message` | *string* | :heavy_minus_sign: | N/A | User could not be authenticated | -| `Status` | *double* | :heavy_minus_sign: | N/A | 401 | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | +| `Code` | *long* | :heavy_minus_sign: | N/A | 1000 | +| `Message` | *string* | :heavy_minus_sign: | N/A | X-Plex-Client-Identifier is missing | +| `Status` | *long* | :heavy_minus_sign: | N/A | 400 | \ No newline at end of file diff --git a/docs/Models/Errors/GetHomeDataPlexErrors.md b/docs/Models/Errors/GetHomeDataPlexErrors.md new file mode 100644 index 0000000..44223ba --- /dev/null +++ b/docs/Models/Errors/GetHomeDataPlexErrors.md @@ -0,0 +1,10 @@ +# GetHomeDataPlexErrors + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | +| `Code` | *long* | :heavy_minus_sign: | N/A | 1001 | +| `Message` | *string* | :heavy_minus_sign: | N/A | User could not be authenticated | +| `Status` | *long* | :heavy_minus_sign: | N/A | 401 | \ No newline at end of file diff --git a/docs/Models/Errors/GetHomeDataPlexResponseBody.md b/docs/Models/Errors/GetHomeDataPlexResponseBody.md new file mode 100644 index 0000000..cf1c78a --- /dev/null +++ b/docs/Models/Errors/GetHomeDataPlexResponseBody.md @@ -0,0 +1,11 @@ +# GetHomeDataPlexResponseBody + +Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | +| `Errors` | List<[GetHomeDataPlexErrors](../../Models/Errors/GetHomeDataPlexErrors.md)> | :heavy_minus_sign: | N/A | +| `RawResponse` | [HttpResponseMessage](https://learn.microsoft.com/en-us/dotnet/api/system.net.http.httpresponsemessage?view=net-5.0) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing | \ No newline at end of file diff --git a/docs/Models/Errors/GetHomeDataResponseBody.md b/docs/Models/Errors/GetHomeDataResponseBody.md index 8e29fe3..47e04bd 100644 --- a/docs/Models/Errors/GetHomeDataResponseBody.md +++ b/docs/Models/Errors/GetHomeDataResponseBody.md @@ -1,6 +1,6 @@ # GetHomeDataResponseBody -Unauthorized - Returned if the X-Plex-Token is missing from the header or query. +Bad Request - A parameter was not specified, or was specified incorrectly. ## Fields diff --git a/docs/Models/Errors/GetLibraryDetailsErrors.md b/docs/Models/Errors/GetLibraryDetailsErrors.md index 93fc014..d3a734e 100644 --- a/docs/Models/Errors/GetLibraryDetailsErrors.md +++ b/docs/Models/Errors/GetLibraryDetailsErrors.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | -| `Code` | *double* | :heavy_minus_sign: | N/A | 1001 | -| `Message` | *string* | :heavy_minus_sign: | N/A | User could not be authenticated | -| `Status` | *double* | :heavy_minus_sign: | N/A | 401 | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | +| `Code` | *long* | :heavy_minus_sign: | N/A | 1000 | +| `Message` | *string* | :heavy_minus_sign: | N/A | X-Plex-Client-Identifier is missing | +| `Status` | *long* | :heavy_minus_sign: | N/A | 400 | \ No newline at end of file diff --git a/docs/Models/Errors/GetLibraryDetailsLibraryErrors.md b/docs/Models/Errors/GetLibraryDetailsLibraryErrors.md new file mode 100644 index 0000000..2002f91 --- /dev/null +++ b/docs/Models/Errors/GetLibraryDetailsLibraryErrors.md @@ -0,0 +1,10 @@ +# GetLibraryDetailsLibraryErrors + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | +| `Code` | *long* | :heavy_minus_sign: | N/A | 1001 | +| `Message` | *string* | :heavy_minus_sign: | N/A | User could not be authenticated | +| `Status` | *long* | :heavy_minus_sign: | N/A | 401 | \ No newline at end of file diff --git a/docs/Models/Errors/GetLibraryDetailsLibraryResponseBody.md b/docs/Models/Errors/GetLibraryDetailsLibraryResponseBody.md new file mode 100644 index 0000000..5e895b3 --- /dev/null +++ b/docs/Models/Errors/GetLibraryDetailsLibraryResponseBody.md @@ -0,0 +1,11 @@ +# GetLibraryDetailsLibraryResponseBody + +Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | +| `Errors` | List<[GetLibraryDetailsLibraryErrors](../../Models/Errors/GetLibraryDetailsLibraryErrors.md)> | :heavy_minus_sign: | N/A | +| `RawResponse` | [HttpResponseMessage](https://learn.microsoft.com/en-us/dotnet/api/system.net.http.httpresponsemessage?view=net-5.0) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing | \ No newline at end of file diff --git a/docs/Models/Errors/GetLibraryDetailsResponseBody.md b/docs/Models/Errors/GetLibraryDetailsResponseBody.md index 3429023..67cb1e6 100644 --- a/docs/Models/Errors/GetLibraryDetailsResponseBody.md +++ b/docs/Models/Errors/GetLibraryDetailsResponseBody.md @@ -1,6 +1,6 @@ # GetLibraryDetailsResponseBody -Unauthorized - Returned if the X-Plex-Token is missing from the header or query. +Bad Request - A parameter was not specified, or was specified incorrectly. ## Fields diff --git a/docs/Models/Errors/GetLibraryHubsErrors.md b/docs/Models/Errors/GetLibraryHubsErrors.md index e31aa20..3e8c533 100644 --- a/docs/Models/Errors/GetLibraryHubsErrors.md +++ b/docs/Models/Errors/GetLibraryHubsErrors.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | -| `Code` | *double* | :heavy_minus_sign: | N/A | 1001 | -| `Message` | *string* | :heavy_minus_sign: | N/A | User could not be authenticated | -| `Status` | *double* | :heavy_minus_sign: | N/A | 401 | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | +| `Code` | *long* | :heavy_minus_sign: | N/A | 1000 | +| `Message` | *string* | :heavy_minus_sign: | N/A | X-Plex-Client-Identifier is missing | +| `Status` | *long* | :heavy_minus_sign: | N/A | 400 | \ No newline at end of file diff --git a/docs/Models/Errors/GetLibraryHubsHubsErrors.md b/docs/Models/Errors/GetLibraryHubsHubsErrors.md new file mode 100644 index 0000000..f29e662 --- /dev/null +++ b/docs/Models/Errors/GetLibraryHubsHubsErrors.md @@ -0,0 +1,10 @@ +# GetLibraryHubsHubsErrors + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | +| `Code` | *long* | :heavy_minus_sign: | N/A | 1001 | +| `Message` | *string* | :heavy_minus_sign: | N/A | User could not be authenticated | +| `Status` | *long* | :heavy_minus_sign: | N/A | 401 | \ No newline at end of file diff --git a/docs/Models/Errors/GetLibraryHubsHubsResponseBody.md b/docs/Models/Errors/GetLibraryHubsHubsResponseBody.md new file mode 100644 index 0000000..86b9a2b --- /dev/null +++ b/docs/Models/Errors/GetLibraryHubsHubsResponseBody.md @@ -0,0 +1,11 @@ +# GetLibraryHubsHubsResponseBody + +Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | +| `Errors` | List<[GetLibraryHubsHubsErrors](../../Models/Errors/GetLibraryHubsHubsErrors.md)> | :heavy_minus_sign: | N/A | +| `RawResponse` | [HttpResponseMessage](https://learn.microsoft.com/en-us/dotnet/api/system.net.http.httpresponsemessage?view=net-5.0) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing | \ No newline at end of file diff --git a/docs/Models/Errors/GetLibraryHubsResponseBody.md b/docs/Models/Errors/GetLibraryHubsResponseBody.md index 92850f0..5902dc8 100644 --- a/docs/Models/Errors/GetLibraryHubsResponseBody.md +++ b/docs/Models/Errors/GetLibraryHubsResponseBody.md @@ -1,6 +1,6 @@ # GetLibraryHubsResponseBody -Unauthorized - Returned if the X-Plex-Token is missing from the header or query. +Bad Request - A parameter was not specified, or was specified incorrectly. ## Fields diff --git a/docs/Models/Errors/GetLibraryItemsErrors.md b/docs/Models/Errors/GetLibraryItemsErrors.md index 2817f7c..0f5c1e8 100644 --- a/docs/Models/Errors/GetLibraryItemsErrors.md +++ b/docs/Models/Errors/GetLibraryItemsErrors.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | -| `Code` | *double* | :heavy_minus_sign: | N/A | 1001 | -| `Message` | *string* | :heavy_minus_sign: | N/A | User could not be authenticated | -| `Status` | *double* | :heavy_minus_sign: | N/A | 401 | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | +| `Code` | *long* | :heavy_minus_sign: | N/A | 1000 | +| `Message` | *string* | :heavy_minus_sign: | N/A | X-Plex-Client-Identifier is missing | +| `Status` | *long* | :heavy_minus_sign: | N/A | 400 | \ No newline at end of file diff --git a/docs/Models/Errors/GetLibraryItemsLibraryErrors.md b/docs/Models/Errors/GetLibraryItemsLibraryErrors.md new file mode 100644 index 0000000..efbdbf6 --- /dev/null +++ b/docs/Models/Errors/GetLibraryItemsLibraryErrors.md @@ -0,0 +1,10 @@ +# GetLibraryItemsLibraryErrors + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | +| `Code` | *long* | :heavy_minus_sign: | N/A | 1001 | +| `Message` | *string* | :heavy_minus_sign: | N/A | User could not be authenticated | +| `Status` | *long* | :heavy_minus_sign: | N/A | 401 | \ No newline at end of file diff --git a/docs/Models/Errors/GetLibraryItemsLibraryResponseBody.md b/docs/Models/Errors/GetLibraryItemsLibraryResponseBody.md new file mode 100644 index 0000000..6ca7e39 --- /dev/null +++ b/docs/Models/Errors/GetLibraryItemsLibraryResponseBody.md @@ -0,0 +1,11 @@ +# GetLibraryItemsLibraryResponseBody + +Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | +| `Errors` | List<[GetLibraryItemsLibraryErrors](../../Models/Errors/GetLibraryItemsLibraryErrors.md)> | :heavy_minus_sign: | N/A | +| `RawResponse` | [HttpResponseMessage](https://learn.microsoft.com/en-us/dotnet/api/system.net.http.httpresponsemessage?view=net-5.0) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing | \ No newline at end of file diff --git a/docs/Models/Errors/GetLibraryItemsResponseBody.md b/docs/Models/Errors/GetLibraryItemsResponseBody.md index c76bec6..bec9c41 100644 --- a/docs/Models/Errors/GetLibraryItemsResponseBody.md +++ b/docs/Models/Errors/GetLibraryItemsResponseBody.md @@ -1,6 +1,6 @@ # GetLibraryItemsResponseBody -Unauthorized - Returned if the X-Plex-Token is missing from the header or query. +Bad Request - A parameter was not specified, or was specified incorrectly. ## Fields diff --git a/docs/Models/Errors/GetMediaProvidersErrors.md b/docs/Models/Errors/GetMediaProvidersErrors.md index 9f05461..35f8fb8 100644 --- a/docs/Models/Errors/GetMediaProvidersErrors.md +++ b/docs/Models/Errors/GetMediaProvidersErrors.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | -| `Code` | *double* | :heavy_minus_sign: | N/A | 1001 | -| `Message` | *string* | :heavy_minus_sign: | N/A | User could not be authenticated | -| `Status` | *double* | :heavy_minus_sign: | N/A | 401 | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | +| `Code` | *long* | :heavy_minus_sign: | N/A | 1000 | +| `Message` | *string* | :heavy_minus_sign: | N/A | X-Plex-Client-Identifier is missing | +| `Status` | *long* | :heavy_minus_sign: | N/A | 400 | \ No newline at end of file diff --git a/docs/Models/Errors/GetMediaProvidersResponseBody.md b/docs/Models/Errors/GetMediaProvidersResponseBody.md index a95ca27..98a0296 100644 --- a/docs/Models/Errors/GetMediaProvidersResponseBody.md +++ b/docs/Models/Errors/GetMediaProvidersResponseBody.md @@ -1,6 +1,6 @@ # GetMediaProvidersResponseBody -Unauthorized - Returned if the X-Plex-Token is missing from the header or query. +Bad Request - A parameter was not specified, or was specified incorrectly. ## Fields diff --git a/docs/Models/Errors/GetMediaProvidersServerErrors.md b/docs/Models/Errors/GetMediaProvidersServerErrors.md new file mode 100644 index 0000000..1b41268 --- /dev/null +++ b/docs/Models/Errors/GetMediaProvidersServerErrors.md @@ -0,0 +1,10 @@ +# GetMediaProvidersServerErrors + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | +| `Code` | *long* | :heavy_minus_sign: | N/A | 1001 | +| `Message` | *string* | :heavy_minus_sign: | N/A | User could not be authenticated | +| `Status` | *long* | :heavy_minus_sign: | N/A | 401 | \ No newline at end of file diff --git a/docs/Models/Errors/GetMediaProvidersServerResponseBody.md b/docs/Models/Errors/GetMediaProvidersServerResponseBody.md new file mode 100644 index 0000000..c15f7f6 --- /dev/null +++ b/docs/Models/Errors/GetMediaProvidersServerResponseBody.md @@ -0,0 +1,11 @@ +# GetMediaProvidersServerResponseBody + +Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | +| `Errors` | List<[GetMediaProvidersServerErrors](../../Models/Errors/GetMediaProvidersServerErrors.md)> | :heavy_minus_sign: | N/A | +| `RawResponse` | [HttpResponseMessage](https://learn.microsoft.com/en-us/dotnet/api/system.net.http.httpresponsemessage?view=net-5.0) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing | \ No newline at end of file diff --git a/docs/Models/Errors/GetMetaDataByRatingKeyErrors.md b/docs/Models/Errors/GetMetaDataByRatingKeyErrors.md index 6bdbdfe..e9054fb 100644 --- a/docs/Models/Errors/GetMetaDataByRatingKeyErrors.md +++ b/docs/Models/Errors/GetMetaDataByRatingKeyErrors.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | -| `Code` | *double* | :heavy_minus_sign: | N/A | 1001 | -| `Message` | *string* | :heavy_minus_sign: | N/A | User could not be authenticated | -| `Status` | *double* | :heavy_minus_sign: | N/A | 401 | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | +| `Code` | *long* | :heavy_minus_sign: | N/A | 1000 | +| `Message` | *string* | :heavy_minus_sign: | N/A | X-Plex-Client-Identifier is missing | +| `Status` | *long* | :heavy_minus_sign: | N/A | 400 | \ No newline at end of file diff --git a/docs/Models/Errors/GetMetaDataByRatingKeyLibraryErrors.md b/docs/Models/Errors/GetMetaDataByRatingKeyLibraryErrors.md new file mode 100644 index 0000000..59b6c41 --- /dev/null +++ b/docs/Models/Errors/GetMetaDataByRatingKeyLibraryErrors.md @@ -0,0 +1,10 @@ +# GetMetaDataByRatingKeyLibraryErrors + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | +| `Code` | *long* | :heavy_minus_sign: | N/A | 1001 | +| `Message` | *string* | :heavy_minus_sign: | N/A | User could not be authenticated | +| `Status` | *long* | :heavy_minus_sign: | N/A | 401 | \ No newline at end of file diff --git a/docs/Models/Errors/GetMetaDataByRatingKeyLibraryResponseBody.md b/docs/Models/Errors/GetMetaDataByRatingKeyLibraryResponseBody.md new file mode 100644 index 0000000..ba196f0 --- /dev/null +++ b/docs/Models/Errors/GetMetaDataByRatingKeyLibraryResponseBody.md @@ -0,0 +1,11 @@ +# GetMetaDataByRatingKeyLibraryResponseBody + +Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | +| `Errors` | List<[GetMetaDataByRatingKeyLibraryErrors](../../Models/Errors/GetMetaDataByRatingKeyLibraryErrors.md)> | :heavy_minus_sign: | N/A | +| `RawResponse` | [HttpResponseMessage](https://learn.microsoft.com/en-us/dotnet/api/system.net.http.httpresponsemessage?view=net-5.0) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing | \ No newline at end of file diff --git a/docs/Models/Errors/GetMetaDataByRatingKeyResponseBody.md b/docs/Models/Errors/GetMetaDataByRatingKeyResponseBody.md index 03ae55c..b987c81 100644 --- a/docs/Models/Errors/GetMetaDataByRatingKeyResponseBody.md +++ b/docs/Models/Errors/GetMetaDataByRatingKeyResponseBody.md @@ -1,6 +1,6 @@ # GetMetaDataByRatingKeyResponseBody -Unauthorized - Returned if the X-Plex-Token is missing from the header or query. +Bad Request - A parameter was not specified, or was specified incorrectly. ## Fields diff --git a/docs/Models/Errors/GetMetadataChildrenErrors.md b/docs/Models/Errors/GetMetadataChildrenErrors.md index 3d73fa8..f30e532 100644 --- a/docs/Models/Errors/GetMetadataChildrenErrors.md +++ b/docs/Models/Errors/GetMetadataChildrenErrors.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | -| `Code` | *double* | :heavy_minus_sign: | N/A | 1001 | -| `Message` | *string* | :heavy_minus_sign: | N/A | User could not be authenticated | -| `Status` | *double* | :heavy_minus_sign: | N/A | 401 | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | +| `Code` | *long* | :heavy_minus_sign: | N/A | 1000 | +| `Message` | *string* | :heavy_minus_sign: | N/A | X-Plex-Client-Identifier is missing | +| `Status` | *long* | :heavy_minus_sign: | N/A | 400 | \ No newline at end of file diff --git a/docs/Models/Errors/GetMetadataChildrenLibraryErrors.md b/docs/Models/Errors/GetMetadataChildrenLibraryErrors.md new file mode 100644 index 0000000..fb495df --- /dev/null +++ b/docs/Models/Errors/GetMetadataChildrenLibraryErrors.md @@ -0,0 +1,10 @@ +# GetMetadataChildrenLibraryErrors + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | +| `Code` | *long* | :heavy_minus_sign: | N/A | 1001 | +| `Message` | *string* | :heavy_minus_sign: | N/A | User could not be authenticated | +| `Status` | *long* | :heavy_minus_sign: | N/A | 401 | \ No newline at end of file diff --git a/docs/Models/Errors/GetMetadataChildrenLibraryResponseBody.md b/docs/Models/Errors/GetMetadataChildrenLibraryResponseBody.md new file mode 100644 index 0000000..113b090 --- /dev/null +++ b/docs/Models/Errors/GetMetadataChildrenLibraryResponseBody.md @@ -0,0 +1,11 @@ +# GetMetadataChildrenLibraryResponseBody + +Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | +| `Errors` | List<[GetMetadataChildrenLibraryErrors](../../Models/Errors/GetMetadataChildrenLibraryErrors.md)> | :heavy_minus_sign: | N/A | +| `RawResponse` | [HttpResponseMessage](https://learn.microsoft.com/en-us/dotnet/api/system.net.http.httpresponsemessage?view=net-5.0) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing | \ No newline at end of file diff --git a/docs/Models/Errors/GetMetadataChildrenResponseBody.md b/docs/Models/Errors/GetMetadataChildrenResponseBody.md index d35e1b4..94305f1 100644 --- a/docs/Models/Errors/GetMetadataChildrenResponseBody.md +++ b/docs/Models/Errors/GetMetadataChildrenResponseBody.md @@ -1,6 +1,6 @@ # GetMetadataChildrenResponseBody -Unauthorized - Returned if the X-Plex-Token is missing from the header or query. +Bad Request - A parameter was not specified, or was specified incorrectly. ## Fields diff --git a/docs/Models/Errors/GetMyPlexAccountErrors.md b/docs/Models/Errors/GetMyPlexAccountErrors.md index 210c7b4..3dc6a95 100644 --- a/docs/Models/Errors/GetMyPlexAccountErrors.md +++ b/docs/Models/Errors/GetMyPlexAccountErrors.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | -| `Code` | *double* | :heavy_minus_sign: | N/A | 1001 | -| `Message` | *string* | :heavy_minus_sign: | N/A | User could not be authenticated | -| `Status` | *double* | :heavy_minus_sign: | N/A | 401 | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | +| `Code` | *long* | :heavy_minus_sign: | N/A | 1000 | +| `Message` | *string* | :heavy_minus_sign: | N/A | X-Plex-Client-Identifier is missing | +| `Status` | *long* | :heavy_minus_sign: | N/A | 400 | \ No newline at end of file diff --git a/docs/Models/Errors/GetMyPlexAccountResponseBody.md b/docs/Models/Errors/GetMyPlexAccountResponseBody.md index 4fd3a40..c2b92d0 100644 --- a/docs/Models/Errors/GetMyPlexAccountResponseBody.md +++ b/docs/Models/Errors/GetMyPlexAccountResponseBody.md @@ -1,6 +1,6 @@ # GetMyPlexAccountResponseBody -Unauthorized - Returned if the X-Plex-Token is missing from the header or query. +Bad Request - A parameter was not specified, or was specified incorrectly. ## Fields diff --git a/docs/Models/Errors/GetMyPlexAccountServerErrors.md b/docs/Models/Errors/GetMyPlexAccountServerErrors.md new file mode 100644 index 0000000..de98eaa --- /dev/null +++ b/docs/Models/Errors/GetMyPlexAccountServerErrors.md @@ -0,0 +1,10 @@ +# GetMyPlexAccountServerErrors + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | +| `Code` | *long* | :heavy_minus_sign: | N/A | 1001 | +| `Message` | *string* | :heavy_minus_sign: | N/A | User could not be authenticated | +| `Status` | *long* | :heavy_minus_sign: | N/A | 401 | \ No newline at end of file diff --git a/docs/Models/Errors/GetMyPlexAccountServerResponseBody.md b/docs/Models/Errors/GetMyPlexAccountServerResponseBody.md new file mode 100644 index 0000000..0ac9d56 --- /dev/null +++ b/docs/Models/Errors/GetMyPlexAccountServerResponseBody.md @@ -0,0 +1,11 @@ +# GetMyPlexAccountServerResponseBody + +Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | +| `Errors` | List<[GetMyPlexAccountServerErrors](../../Models/Errors/GetMyPlexAccountServerErrors.md)> | :heavy_minus_sign: | N/A | +| `RawResponse` | [HttpResponseMessage](https://learn.microsoft.com/en-us/dotnet/api/system.net.http.httpresponsemessage?view=net-5.0) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing | \ No newline at end of file diff --git a/docs/Models/Errors/GetOnDeckErrors.md b/docs/Models/Errors/GetOnDeckErrors.md index 962ef25..084aac5 100644 --- a/docs/Models/Errors/GetOnDeckErrors.md +++ b/docs/Models/Errors/GetOnDeckErrors.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | -| `Code` | *double* | :heavy_minus_sign: | N/A | 1001 | -| `Message` | *string* | :heavy_minus_sign: | N/A | User could not be authenticated | -| `Status` | *double* | :heavy_minus_sign: | N/A | 401 | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | +| `Code` | *long* | :heavy_minus_sign: | N/A | 1000 | +| `Message` | *string* | :heavy_minus_sign: | N/A | X-Plex-Client-Identifier is missing | +| `Status` | *long* | :heavy_minus_sign: | N/A | 400 | \ No newline at end of file diff --git a/docs/Models/Errors/GetOnDeckLibraryErrors.md b/docs/Models/Errors/GetOnDeckLibraryErrors.md new file mode 100644 index 0000000..3c0fa56 --- /dev/null +++ b/docs/Models/Errors/GetOnDeckLibraryErrors.md @@ -0,0 +1,10 @@ +# GetOnDeckLibraryErrors + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | +| `Code` | *long* | :heavy_minus_sign: | N/A | 1001 | +| `Message` | *string* | :heavy_minus_sign: | N/A | User could not be authenticated | +| `Status` | *long* | :heavy_minus_sign: | N/A | 401 | \ No newline at end of file diff --git a/docs/Models/Errors/GetOnDeckLibraryResponseBody.md b/docs/Models/Errors/GetOnDeckLibraryResponseBody.md new file mode 100644 index 0000000..511ec94 --- /dev/null +++ b/docs/Models/Errors/GetOnDeckLibraryResponseBody.md @@ -0,0 +1,11 @@ +# GetOnDeckLibraryResponseBody + +Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | +| `Errors` | List<[GetOnDeckLibraryErrors](../../Models/Errors/GetOnDeckLibraryErrors.md)> | :heavy_minus_sign: | N/A | +| `RawResponse` | [HttpResponseMessage](https://learn.microsoft.com/en-us/dotnet/api/system.net.http.httpresponsemessage?view=net-5.0) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing | \ No newline at end of file diff --git a/docs/Models/Errors/GetOnDeckResponseBody.md b/docs/Models/Errors/GetOnDeckResponseBody.md index 96694c4..a49d142 100644 --- a/docs/Models/Errors/GetOnDeckResponseBody.md +++ b/docs/Models/Errors/GetOnDeckResponseBody.md @@ -1,6 +1,6 @@ # GetOnDeckResponseBody -Unauthorized - Returned if the X-Plex-Token is missing from the header or query. +Bad Request - A parameter was not specified, or was specified incorrectly. ## Fields diff --git a/docs/Models/Errors/GetPlaylistContentsErrors.md b/docs/Models/Errors/GetPlaylistContentsErrors.md index c43243b..b360b19 100644 --- a/docs/Models/Errors/GetPlaylistContentsErrors.md +++ b/docs/Models/Errors/GetPlaylistContentsErrors.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | -| `Code` | *double* | :heavy_minus_sign: | N/A | 1001 | -| `Message` | *string* | :heavy_minus_sign: | N/A | User could not be authenticated | -| `Status` | *double* | :heavy_minus_sign: | N/A | 401 | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | +| `Code` | *long* | :heavy_minus_sign: | N/A | 1000 | +| `Message` | *string* | :heavy_minus_sign: | N/A | X-Plex-Client-Identifier is missing | +| `Status` | *long* | :heavy_minus_sign: | N/A | 400 | \ No newline at end of file diff --git a/docs/Models/Errors/GetPlaylistContentsPlaylistsErrors.md b/docs/Models/Errors/GetPlaylistContentsPlaylistsErrors.md new file mode 100644 index 0000000..9ef5948 --- /dev/null +++ b/docs/Models/Errors/GetPlaylistContentsPlaylistsErrors.md @@ -0,0 +1,10 @@ +# GetPlaylistContentsPlaylistsErrors + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | +| `Code` | *long* | :heavy_minus_sign: | N/A | 1001 | +| `Message` | *string* | :heavy_minus_sign: | N/A | User could not be authenticated | +| `Status` | *long* | :heavy_minus_sign: | N/A | 401 | \ No newline at end of file diff --git a/docs/Models/Errors/GetPlaylistContentsPlaylistsResponseBody.md b/docs/Models/Errors/GetPlaylistContentsPlaylistsResponseBody.md new file mode 100644 index 0000000..d379687 --- /dev/null +++ b/docs/Models/Errors/GetPlaylistContentsPlaylistsResponseBody.md @@ -0,0 +1,11 @@ +# GetPlaylistContentsPlaylistsResponseBody + +Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | +| `Errors` | List<[GetPlaylistContentsPlaylistsErrors](../../Models/Errors/GetPlaylistContentsPlaylistsErrors.md)> | :heavy_minus_sign: | N/A | +| `RawResponse` | [HttpResponseMessage](https://learn.microsoft.com/en-us/dotnet/api/system.net.http.httpresponsemessage?view=net-5.0) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing | \ No newline at end of file diff --git a/docs/Models/Errors/GetPlaylistContentsResponseBody.md b/docs/Models/Errors/GetPlaylistContentsResponseBody.md index 558a1b2..7330d04 100644 --- a/docs/Models/Errors/GetPlaylistContentsResponseBody.md +++ b/docs/Models/Errors/GetPlaylistContentsResponseBody.md @@ -1,6 +1,6 @@ # GetPlaylistContentsResponseBody -Unauthorized - Returned if the X-Plex-Token is missing from the header or query. +Bad Request - A parameter was not specified, or was specified incorrectly. ## Fields diff --git a/docs/Models/Errors/GetPlaylistErrors.md b/docs/Models/Errors/GetPlaylistErrors.md index f7095f0..28591c1 100644 --- a/docs/Models/Errors/GetPlaylistErrors.md +++ b/docs/Models/Errors/GetPlaylistErrors.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | -| `Code` | *double* | :heavy_minus_sign: | N/A | 1001 | -| `Message` | *string* | :heavy_minus_sign: | N/A | User could not be authenticated | -| `Status` | *double* | :heavy_minus_sign: | N/A | 401 | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | +| `Code` | *long* | :heavy_minus_sign: | N/A | 1000 | +| `Message` | *string* | :heavy_minus_sign: | N/A | X-Plex-Client-Identifier is missing | +| `Status` | *long* | :heavy_minus_sign: | N/A | 400 | \ No newline at end of file diff --git a/docs/Models/Errors/GetPlaylistPlaylistsErrors.md b/docs/Models/Errors/GetPlaylistPlaylistsErrors.md new file mode 100644 index 0000000..a8d6a9c --- /dev/null +++ b/docs/Models/Errors/GetPlaylistPlaylistsErrors.md @@ -0,0 +1,10 @@ +# GetPlaylistPlaylistsErrors + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | +| `Code` | *long* | :heavy_minus_sign: | N/A | 1001 | +| `Message` | *string* | :heavy_minus_sign: | N/A | User could not be authenticated | +| `Status` | *long* | :heavy_minus_sign: | N/A | 401 | \ No newline at end of file diff --git a/docs/Models/Errors/GetPlaylistPlaylistsResponseBody.md b/docs/Models/Errors/GetPlaylistPlaylistsResponseBody.md new file mode 100644 index 0000000..603fb1e --- /dev/null +++ b/docs/Models/Errors/GetPlaylistPlaylistsResponseBody.md @@ -0,0 +1,11 @@ +# GetPlaylistPlaylistsResponseBody + +Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | +| `Errors` | List<[GetPlaylistPlaylistsErrors](../../Models/Errors/GetPlaylistPlaylistsErrors.md)> | :heavy_minus_sign: | N/A | +| `RawResponse` | [HttpResponseMessage](https://learn.microsoft.com/en-us/dotnet/api/system.net.http.httpresponsemessage?view=net-5.0) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing | \ No newline at end of file diff --git a/docs/Models/Errors/GetPlaylistResponseBody.md b/docs/Models/Errors/GetPlaylistResponseBody.md index be3538f..ace6aef 100644 --- a/docs/Models/Errors/GetPlaylistResponseBody.md +++ b/docs/Models/Errors/GetPlaylistResponseBody.md @@ -1,6 +1,6 @@ # GetPlaylistResponseBody -Unauthorized - Returned if the X-Plex-Token is missing from the header or query. +Bad Request - A parameter was not specified, or was specified incorrectly. ## Fields diff --git a/docs/Models/Errors/GetPlaylistsErrors.md b/docs/Models/Errors/GetPlaylistsErrors.md index 8930209..f571aae 100644 --- a/docs/Models/Errors/GetPlaylistsErrors.md +++ b/docs/Models/Errors/GetPlaylistsErrors.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | -| `Code` | *double* | :heavy_minus_sign: | N/A | 1001 | -| `Message` | *string* | :heavy_minus_sign: | N/A | User could not be authenticated | -| `Status` | *double* | :heavy_minus_sign: | N/A | 401 | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | +| `Code` | *long* | :heavy_minus_sign: | N/A | 1000 | +| `Message` | *string* | :heavy_minus_sign: | N/A | X-Plex-Client-Identifier is missing | +| `Status` | *long* | :heavy_minus_sign: | N/A | 400 | \ No newline at end of file diff --git a/docs/Models/Errors/GetPlaylistsPlaylistsErrors.md b/docs/Models/Errors/GetPlaylistsPlaylistsErrors.md new file mode 100644 index 0000000..238c3ef --- /dev/null +++ b/docs/Models/Errors/GetPlaylistsPlaylistsErrors.md @@ -0,0 +1,10 @@ +# GetPlaylistsPlaylistsErrors + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | +| `Code` | *long* | :heavy_minus_sign: | N/A | 1001 | +| `Message` | *string* | :heavy_minus_sign: | N/A | User could not be authenticated | +| `Status` | *long* | :heavy_minus_sign: | N/A | 401 | \ No newline at end of file diff --git a/docs/Models/Errors/GetPlaylistsPlaylistsResponseBody.md b/docs/Models/Errors/GetPlaylistsPlaylistsResponseBody.md new file mode 100644 index 0000000..c0aea0a --- /dev/null +++ b/docs/Models/Errors/GetPlaylistsPlaylistsResponseBody.md @@ -0,0 +1,11 @@ +# GetPlaylistsPlaylistsResponseBody + +Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | +| `Errors` | List<[GetPlaylistsPlaylistsErrors](../../Models/Errors/GetPlaylistsPlaylistsErrors.md)> | :heavy_minus_sign: | N/A | +| `RawResponse` | [HttpResponseMessage](https://learn.microsoft.com/en-us/dotnet/api/system.net.http.httpresponsemessage?view=net-5.0) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing | \ No newline at end of file diff --git a/docs/Models/Errors/GetPlaylistsResponseBody.md b/docs/Models/Errors/GetPlaylistsResponseBody.md index cff677f..39c6d04 100644 --- a/docs/Models/Errors/GetPlaylistsResponseBody.md +++ b/docs/Models/Errors/GetPlaylistsResponseBody.md @@ -1,6 +1,6 @@ # GetPlaylistsResponseBody -Unauthorized - Returned if the X-Plex-Token is missing from the header or query. +Bad Request - A parameter was not specified, or was specified incorrectly. ## Fields diff --git a/docs/Models/Errors/GetRecentlyAddedErrors.md b/docs/Models/Errors/GetRecentlyAddedErrors.md index 4714e25..5e6491b 100644 --- a/docs/Models/Errors/GetRecentlyAddedErrors.md +++ b/docs/Models/Errors/GetRecentlyAddedErrors.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | -| `Code` | *double* | :heavy_minus_sign: | N/A | 1001 | -| `Message` | *string* | :heavy_minus_sign: | N/A | User could not be authenticated | -| `Status` | *double* | :heavy_minus_sign: | N/A | 401 | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | +| `Code` | *long* | :heavy_minus_sign: | N/A | 1000 | +| `Message` | *string* | :heavy_minus_sign: | N/A | X-Plex-Client-Identifier is missing | +| `Status` | *long* | :heavy_minus_sign: | N/A | 400 | \ No newline at end of file diff --git a/docs/Models/Errors/GetRecentlyAddedLibraryErrors.md b/docs/Models/Errors/GetRecentlyAddedLibraryErrors.md new file mode 100644 index 0000000..1af2a72 --- /dev/null +++ b/docs/Models/Errors/GetRecentlyAddedLibraryErrors.md @@ -0,0 +1,10 @@ +# GetRecentlyAddedLibraryErrors + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | +| `Code` | *long* | :heavy_minus_sign: | N/A | 1001 | +| `Message` | *string* | :heavy_minus_sign: | N/A | User could not be authenticated | +| `Status` | *long* | :heavy_minus_sign: | N/A | 401 | \ No newline at end of file diff --git a/docs/Models/Errors/GetRecentlyAddedLibraryResponseBody.md b/docs/Models/Errors/GetRecentlyAddedLibraryResponseBody.md new file mode 100644 index 0000000..1b2e0e0 --- /dev/null +++ b/docs/Models/Errors/GetRecentlyAddedLibraryResponseBody.md @@ -0,0 +1,11 @@ +# GetRecentlyAddedLibraryResponseBody + +Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | +| `Errors` | List<[GetRecentlyAddedLibraryErrors](../../Models/Errors/GetRecentlyAddedLibraryErrors.md)> | :heavy_minus_sign: | N/A | +| `RawResponse` | [HttpResponseMessage](https://learn.microsoft.com/en-us/dotnet/api/system.net.http.httpresponsemessage?view=net-5.0) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing | \ No newline at end of file diff --git a/docs/Models/Errors/GetRecentlyAddedResponseBody.md b/docs/Models/Errors/GetRecentlyAddedResponseBody.md index d44a6f7..f4c2185 100644 --- a/docs/Models/Errors/GetRecentlyAddedResponseBody.md +++ b/docs/Models/Errors/GetRecentlyAddedResponseBody.md @@ -1,6 +1,6 @@ # GetRecentlyAddedResponseBody -Unauthorized - Returned if the X-Plex-Token is missing from the header or query. +Bad Request - A parameter was not specified, or was specified incorrectly. ## Fields diff --git a/docs/Models/Errors/GetRefreshLibraryMetadataErrors.md b/docs/Models/Errors/GetRefreshLibraryMetadataErrors.md index f3038fa..e2c8076 100644 --- a/docs/Models/Errors/GetRefreshLibraryMetadataErrors.md +++ b/docs/Models/Errors/GetRefreshLibraryMetadataErrors.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | -| `Code` | *double* | :heavy_minus_sign: | N/A | 1001 | -| `Message` | *string* | :heavy_minus_sign: | N/A | User could not be authenticated | -| `Status` | *double* | :heavy_minus_sign: | N/A | 401 | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | +| `Code` | *long* | :heavy_minus_sign: | N/A | 1000 | +| `Message` | *string* | :heavy_minus_sign: | N/A | X-Plex-Client-Identifier is missing | +| `Status` | *long* | :heavy_minus_sign: | N/A | 400 | \ No newline at end of file diff --git a/docs/Models/Errors/GetRefreshLibraryMetadataLibraryErrors.md b/docs/Models/Errors/GetRefreshLibraryMetadataLibraryErrors.md new file mode 100644 index 0000000..0fcaaab --- /dev/null +++ b/docs/Models/Errors/GetRefreshLibraryMetadataLibraryErrors.md @@ -0,0 +1,10 @@ +# GetRefreshLibraryMetadataLibraryErrors + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | +| `Code` | *long* | :heavy_minus_sign: | N/A | 1001 | +| `Message` | *string* | :heavy_minus_sign: | N/A | User could not be authenticated | +| `Status` | *long* | :heavy_minus_sign: | N/A | 401 | \ No newline at end of file diff --git a/docs/Models/Errors/GetRefreshLibraryMetadataLibraryResponseBody.md b/docs/Models/Errors/GetRefreshLibraryMetadataLibraryResponseBody.md new file mode 100644 index 0000000..b99e0fe --- /dev/null +++ b/docs/Models/Errors/GetRefreshLibraryMetadataLibraryResponseBody.md @@ -0,0 +1,11 @@ +# GetRefreshLibraryMetadataLibraryResponseBody + +Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | +| `Errors` | List<[GetRefreshLibraryMetadataLibraryErrors](../../Models/Errors/GetRefreshLibraryMetadataLibraryErrors.md)> | :heavy_minus_sign: | N/A | +| `RawResponse` | [HttpResponseMessage](https://learn.microsoft.com/en-us/dotnet/api/system.net.http.httpresponsemessage?view=net-5.0) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing | \ No newline at end of file diff --git a/docs/Models/Errors/GetRefreshLibraryMetadataResponseBody.md b/docs/Models/Errors/GetRefreshLibraryMetadataResponseBody.md index f1a3dc4..528615a 100644 --- a/docs/Models/Errors/GetRefreshLibraryMetadataResponseBody.md +++ b/docs/Models/Errors/GetRefreshLibraryMetadataResponseBody.md @@ -1,6 +1,6 @@ # GetRefreshLibraryMetadataResponseBody -Unauthorized - Returned if the X-Plex-Token is missing from the header or query. +Bad Request - A parameter was not specified, or was specified incorrectly. ## Fields diff --git a/docs/Models/Errors/GetResizedPhotoErrors.md b/docs/Models/Errors/GetResizedPhotoErrors.md index 59b8925..ad44b41 100644 --- a/docs/Models/Errors/GetResizedPhotoErrors.md +++ b/docs/Models/Errors/GetResizedPhotoErrors.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | -| `Code` | *double* | :heavy_minus_sign: | N/A | 1001 | -| `Message` | *string* | :heavy_minus_sign: | N/A | User could not be authenticated | -| `Status` | *double* | :heavy_minus_sign: | N/A | 401 | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | +| `Code` | *long* | :heavy_minus_sign: | N/A | 1000 | +| `Message` | *string* | :heavy_minus_sign: | N/A | X-Plex-Client-Identifier is missing | +| `Status` | *long* | :heavy_minus_sign: | N/A | 400 | \ No newline at end of file diff --git a/docs/Models/Errors/GetResizedPhotoResponseBody.md b/docs/Models/Errors/GetResizedPhotoResponseBody.md index 812bc5f..03e8cf0 100644 --- a/docs/Models/Errors/GetResizedPhotoResponseBody.md +++ b/docs/Models/Errors/GetResizedPhotoResponseBody.md @@ -1,6 +1,6 @@ # GetResizedPhotoResponseBody -Unauthorized - Returned if the X-Plex-Token is missing from the header or query. +Bad Request - A parameter was not specified, or was specified incorrectly. ## Fields diff --git a/docs/Models/Errors/GetResizedPhotoServerErrors.md b/docs/Models/Errors/GetResizedPhotoServerErrors.md new file mode 100644 index 0000000..e2be0ab --- /dev/null +++ b/docs/Models/Errors/GetResizedPhotoServerErrors.md @@ -0,0 +1,10 @@ +# GetResizedPhotoServerErrors + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | +| `Code` | *long* | :heavy_minus_sign: | N/A | 1001 | +| `Message` | *string* | :heavy_minus_sign: | N/A | User could not be authenticated | +| `Status` | *long* | :heavy_minus_sign: | N/A | 401 | \ No newline at end of file diff --git a/docs/Models/Errors/GetResizedPhotoServerResponseBody.md b/docs/Models/Errors/GetResizedPhotoServerResponseBody.md new file mode 100644 index 0000000..dd3be41 --- /dev/null +++ b/docs/Models/Errors/GetResizedPhotoServerResponseBody.md @@ -0,0 +1,11 @@ +# GetResizedPhotoServerResponseBody + +Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | +| `Errors` | List<[GetResizedPhotoServerErrors](../../Models/Errors/GetResizedPhotoServerErrors.md)> | :heavy_minus_sign: | N/A | +| `RawResponse` | [HttpResponseMessage](https://learn.microsoft.com/en-us/dotnet/api/system.net.http.httpresponsemessage?view=net-5.0) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing | \ No newline at end of file diff --git a/docs/Models/Errors/GetResourcesStatisticsErrors.md b/docs/Models/Errors/GetResourcesStatisticsErrors.md index 4bf5e86..0f63838 100644 --- a/docs/Models/Errors/GetResourcesStatisticsErrors.md +++ b/docs/Models/Errors/GetResourcesStatisticsErrors.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | -| `Code` | *double* | :heavy_minus_sign: | N/A | 1001 | -| `Message` | *string* | :heavy_minus_sign: | N/A | User could not be authenticated | -| `Status` | *double* | :heavy_minus_sign: | N/A | 401 | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | +| `Code` | *long* | :heavy_minus_sign: | N/A | 1000 | +| `Message` | *string* | :heavy_minus_sign: | N/A | X-Plex-Client-Identifier is missing | +| `Status` | *long* | :heavy_minus_sign: | N/A | 400 | \ No newline at end of file diff --git a/docs/Models/Errors/GetResourcesStatisticsResponseBody.md b/docs/Models/Errors/GetResourcesStatisticsResponseBody.md index a5b9cd2..922779b 100644 --- a/docs/Models/Errors/GetResourcesStatisticsResponseBody.md +++ b/docs/Models/Errors/GetResourcesStatisticsResponseBody.md @@ -1,6 +1,6 @@ # GetResourcesStatisticsResponseBody -Unauthorized - Returned if the X-Plex-Token is missing from the header or query. +Bad Request - A parameter was not specified, or was specified incorrectly. ## Fields diff --git a/docs/Models/Errors/GetResourcesStatisticsStatisticsErrors.md b/docs/Models/Errors/GetResourcesStatisticsStatisticsErrors.md new file mode 100644 index 0000000..d3dd9a5 --- /dev/null +++ b/docs/Models/Errors/GetResourcesStatisticsStatisticsErrors.md @@ -0,0 +1,10 @@ +# GetResourcesStatisticsStatisticsErrors + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | +| `Code` | *long* | :heavy_minus_sign: | N/A | 1001 | +| `Message` | *string* | :heavy_minus_sign: | N/A | User could not be authenticated | +| `Status` | *long* | :heavy_minus_sign: | N/A | 401 | \ No newline at end of file diff --git a/docs/Models/Errors/GetResourcesStatisticsStatisticsResponseBody.md b/docs/Models/Errors/GetResourcesStatisticsStatisticsResponseBody.md new file mode 100644 index 0000000..711aa00 --- /dev/null +++ b/docs/Models/Errors/GetResourcesStatisticsStatisticsResponseBody.md @@ -0,0 +1,11 @@ +# GetResourcesStatisticsStatisticsResponseBody + +Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | +| `Errors` | List<[GetResourcesStatisticsStatisticsErrors](../../Models/Errors/GetResourcesStatisticsStatisticsErrors.md)> | :heavy_minus_sign: | N/A | +| `RawResponse` | [HttpResponseMessage](https://learn.microsoft.com/en-us/dotnet/api/system.net.http.httpresponsemessage?view=net-5.0) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing | \ No newline at end of file diff --git a/docs/Models/Errors/GetSearchLibraryErrors.md b/docs/Models/Errors/GetSearchLibraryErrors.md index d0d0715..02ebcc5 100644 --- a/docs/Models/Errors/GetSearchLibraryErrors.md +++ b/docs/Models/Errors/GetSearchLibraryErrors.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | -| `Code` | *double* | :heavy_minus_sign: | N/A | 1001 | -| `Message` | *string* | :heavy_minus_sign: | N/A | User could not be authenticated | -| `Status` | *double* | :heavy_minus_sign: | N/A | 401 | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | +| `Code` | *long* | :heavy_minus_sign: | N/A | 1000 | +| `Message` | *string* | :heavy_minus_sign: | N/A | X-Plex-Client-Identifier is missing | +| `Status` | *long* | :heavy_minus_sign: | N/A | 400 | \ No newline at end of file diff --git a/docs/Models/Errors/GetSearchLibraryLibraryErrors.md b/docs/Models/Errors/GetSearchLibraryLibraryErrors.md new file mode 100644 index 0000000..0da0a3a --- /dev/null +++ b/docs/Models/Errors/GetSearchLibraryLibraryErrors.md @@ -0,0 +1,10 @@ +# GetSearchLibraryLibraryErrors + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | +| `Code` | *long* | :heavy_minus_sign: | N/A | 1001 | +| `Message` | *string* | :heavy_minus_sign: | N/A | User could not be authenticated | +| `Status` | *long* | :heavy_minus_sign: | N/A | 401 | \ No newline at end of file diff --git a/docs/Models/Errors/GetSearchLibraryLibraryResponseBody.md b/docs/Models/Errors/GetSearchLibraryLibraryResponseBody.md new file mode 100644 index 0000000..a7e440c --- /dev/null +++ b/docs/Models/Errors/GetSearchLibraryLibraryResponseBody.md @@ -0,0 +1,11 @@ +# GetSearchLibraryLibraryResponseBody + +Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | +| `Errors` | List<[GetSearchLibraryLibraryErrors](../../Models/Errors/GetSearchLibraryLibraryErrors.md)> | :heavy_minus_sign: | N/A | +| `RawResponse` | [HttpResponseMessage](https://learn.microsoft.com/en-us/dotnet/api/system.net.http.httpresponsemessage?view=net-5.0) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing | \ No newline at end of file diff --git a/docs/Models/Errors/GetSearchLibraryResponseBody.md b/docs/Models/Errors/GetSearchLibraryResponseBody.md index 5945287..d8cbfed 100644 --- a/docs/Models/Errors/GetSearchLibraryResponseBody.md +++ b/docs/Models/Errors/GetSearchLibraryResponseBody.md @@ -1,6 +1,6 @@ # GetSearchLibraryResponseBody -Unauthorized - Returned if the X-Plex-Token is missing from the header or query. +Bad Request - A parameter was not specified, or was specified incorrectly. ## Fields diff --git a/docs/Models/Errors/GetSearchResultsErrors.md b/docs/Models/Errors/GetSearchResultsErrors.md index 2845659..df8077b 100644 --- a/docs/Models/Errors/GetSearchResultsErrors.md +++ b/docs/Models/Errors/GetSearchResultsErrors.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | -| `Code` | *double* | :heavy_minus_sign: | N/A | 1001 | -| `Message` | *string* | :heavy_minus_sign: | N/A | User could not be authenticated | -| `Status` | *double* | :heavy_minus_sign: | N/A | 401 | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | +| `Code` | *long* | :heavy_minus_sign: | N/A | 1000 | +| `Message` | *string* | :heavy_minus_sign: | N/A | X-Plex-Client-Identifier is missing | +| `Status` | *long* | :heavy_minus_sign: | N/A | 400 | \ No newline at end of file diff --git a/docs/Models/Errors/GetSearchResultsResponseBody.md b/docs/Models/Errors/GetSearchResultsResponseBody.md index 76ffb60..e24d433 100644 --- a/docs/Models/Errors/GetSearchResultsResponseBody.md +++ b/docs/Models/Errors/GetSearchResultsResponseBody.md @@ -1,6 +1,6 @@ # GetSearchResultsResponseBody -Unauthorized - Returned if the X-Plex-Token is missing from the header or query. +Bad Request - A parameter was not specified, or was specified incorrectly. ## Fields diff --git a/docs/Models/Errors/GetSearchResultsSearchErrors.md b/docs/Models/Errors/GetSearchResultsSearchErrors.md new file mode 100644 index 0000000..a512b75 --- /dev/null +++ b/docs/Models/Errors/GetSearchResultsSearchErrors.md @@ -0,0 +1,10 @@ +# GetSearchResultsSearchErrors + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | +| `Code` | *long* | :heavy_minus_sign: | N/A | 1001 | +| `Message` | *string* | :heavy_minus_sign: | N/A | User could not be authenticated | +| `Status` | *long* | :heavy_minus_sign: | N/A | 401 | \ No newline at end of file diff --git a/docs/Models/Errors/GetSearchResultsSearchResponseBody.md b/docs/Models/Errors/GetSearchResultsSearchResponseBody.md new file mode 100644 index 0000000..0c4faad --- /dev/null +++ b/docs/Models/Errors/GetSearchResultsSearchResponseBody.md @@ -0,0 +1,11 @@ +# GetSearchResultsSearchResponseBody + +Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | +| `Errors` | List<[GetSearchResultsSearchErrors](../../Models/Errors/GetSearchResultsSearchErrors.md)> | :heavy_minus_sign: | N/A | +| `RawResponse` | [HttpResponseMessage](https://learn.microsoft.com/en-us/dotnet/api/system.net.http.httpresponsemessage?view=net-5.0) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing | \ No newline at end of file diff --git a/docs/Models/Errors/GetServerActivitiesActivitiesErrors.md b/docs/Models/Errors/GetServerActivitiesActivitiesErrors.md new file mode 100644 index 0000000..4a8fae0 --- /dev/null +++ b/docs/Models/Errors/GetServerActivitiesActivitiesErrors.md @@ -0,0 +1,10 @@ +# GetServerActivitiesActivitiesErrors + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | +| `Code` | *long* | :heavy_minus_sign: | N/A | 1001 | +| `Message` | *string* | :heavy_minus_sign: | N/A | User could not be authenticated | +| `Status` | *long* | :heavy_minus_sign: | N/A | 401 | \ No newline at end of file diff --git a/docs/Models/Errors/GetServerActivitiesActivitiesResponseBody.md b/docs/Models/Errors/GetServerActivitiesActivitiesResponseBody.md new file mode 100644 index 0000000..4d164a3 --- /dev/null +++ b/docs/Models/Errors/GetServerActivitiesActivitiesResponseBody.md @@ -0,0 +1,11 @@ +# GetServerActivitiesActivitiesResponseBody + +Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | +| `Errors` | List<[GetServerActivitiesActivitiesErrors](../../Models/Errors/GetServerActivitiesActivitiesErrors.md)> | :heavy_minus_sign: | N/A | +| `RawResponse` | [HttpResponseMessage](https://learn.microsoft.com/en-us/dotnet/api/system.net.http.httpresponsemessage?view=net-5.0) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing | \ No newline at end of file diff --git a/docs/Models/Errors/GetServerActivitiesErrors.md b/docs/Models/Errors/GetServerActivitiesErrors.md index db2b54d..2708af6 100644 --- a/docs/Models/Errors/GetServerActivitiesErrors.md +++ b/docs/Models/Errors/GetServerActivitiesErrors.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | -| `Code` | *double* | :heavy_minus_sign: | N/A | 1001 | -| `Message` | *string* | :heavy_minus_sign: | N/A | User could not be authenticated | -| `Status` | *double* | :heavy_minus_sign: | N/A | 401 | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | +| `Code` | *long* | :heavy_minus_sign: | N/A | 1000 | +| `Message` | *string* | :heavy_minus_sign: | N/A | X-Plex-Client-Identifier is missing | +| `Status` | *long* | :heavy_minus_sign: | N/A | 400 | \ No newline at end of file diff --git a/docs/Models/Errors/GetServerActivitiesResponseBody.md b/docs/Models/Errors/GetServerActivitiesResponseBody.md index 344d9f3..2cc738f 100644 --- a/docs/Models/Errors/GetServerActivitiesResponseBody.md +++ b/docs/Models/Errors/GetServerActivitiesResponseBody.md @@ -1,6 +1,6 @@ # GetServerActivitiesResponseBody -Unauthorized - Returned if the X-Plex-Token is missing from the header or query. +Bad Request - A parameter was not specified, or was specified incorrectly. ## Fields diff --git a/docs/Models/Errors/GetServerCapabilitiesErrors.md b/docs/Models/Errors/GetServerCapabilitiesErrors.md new file mode 100644 index 0000000..1d12413 --- /dev/null +++ b/docs/Models/Errors/GetServerCapabilitiesErrors.md @@ -0,0 +1,10 @@ +# GetServerCapabilitiesErrors + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | +| `Code` | *long* | :heavy_minus_sign: | N/A | 1001 | +| `Message` | *string* | :heavy_minus_sign: | N/A | User could not be authenticated | +| `Status` | *long* | :heavy_minus_sign: | N/A | 401 | \ No newline at end of file diff --git a/docs/Models/Errors/GetServerCapabilitiesResponseBody.md b/docs/Models/Errors/GetServerCapabilitiesResponseBody.md index 18526b3..e74cfdb 100644 --- a/docs/Models/Errors/GetServerCapabilitiesResponseBody.md +++ b/docs/Models/Errors/GetServerCapabilitiesResponseBody.md @@ -1,6 +1,6 @@ # GetServerCapabilitiesResponseBody -Unauthorized - Returned if the X-Plex-Token is missing from the header or query. +Bad Request - A parameter was not specified, or was specified incorrectly. ## Fields diff --git a/docs/Models/Errors/GetServerCapabilitiesServerResponseBody.md b/docs/Models/Errors/GetServerCapabilitiesServerResponseBody.md new file mode 100644 index 0000000..4cf9ba9 --- /dev/null +++ b/docs/Models/Errors/GetServerCapabilitiesServerResponseBody.md @@ -0,0 +1,11 @@ +# GetServerCapabilitiesServerResponseBody + +Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | +| `Errors` | List<[GetServerCapabilitiesErrors](../../Models/Errors/GetServerCapabilitiesErrors.md)> | :heavy_minus_sign: | N/A | +| `RawResponse` | [HttpResponseMessage](https://learn.microsoft.com/en-us/dotnet/api/system.net.http.httpresponsemessage?view=net-5.0) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing | \ No newline at end of file diff --git a/docs/Models/Errors/GetServerListErrors.md b/docs/Models/Errors/GetServerListErrors.md index a77fd57..52b0454 100644 --- a/docs/Models/Errors/GetServerListErrors.md +++ b/docs/Models/Errors/GetServerListErrors.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | -| `Code` | *double* | :heavy_minus_sign: | N/A | 1001 | -| `Message` | *string* | :heavy_minus_sign: | N/A | User could not be authenticated | -| `Status` | *double* | :heavy_minus_sign: | N/A | 401 | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | +| `Code` | *long* | :heavy_minus_sign: | N/A | 1000 | +| `Message` | *string* | :heavy_minus_sign: | N/A | X-Plex-Client-Identifier is missing | +| `Status` | *long* | :heavy_minus_sign: | N/A | 400 | \ No newline at end of file diff --git a/docs/Models/Errors/GetServerListResponseBody.md b/docs/Models/Errors/GetServerListResponseBody.md index 9ee8c5c..c70567c 100644 --- a/docs/Models/Errors/GetServerListResponseBody.md +++ b/docs/Models/Errors/GetServerListResponseBody.md @@ -1,6 +1,6 @@ # GetServerListResponseBody -Unauthorized - Returned if the X-Plex-Token is missing from the header or query. +Bad Request - A parameter was not specified, or was specified incorrectly. ## Fields diff --git a/docs/Models/Errors/GetServerListServerErrors.md b/docs/Models/Errors/GetServerListServerErrors.md new file mode 100644 index 0000000..6753289 --- /dev/null +++ b/docs/Models/Errors/GetServerListServerErrors.md @@ -0,0 +1,10 @@ +# GetServerListServerErrors + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | +| `Code` | *long* | :heavy_minus_sign: | N/A | 1001 | +| `Message` | *string* | :heavy_minus_sign: | N/A | User could not be authenticated | +| `Status` | *long* | :heavy_minus_sign: | N/A | 401 | \ No newline at end of file diff --git a/docs/Models/Errors/GetServerListServerResponseBody.md b/docs/Models/Errors/GetServerListServerResponseBody.md new file mode 100644 index 0000000..6c9076d --- /dev/null +++ b/docs/Models/Errors/GetServerListServerResponseBody.md @@ -0,0 +1,11 @@ +# GetServerListServerResponseBody + +Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | +| `Errors` | List<[GetServerListServerErrors](../../Models/Errors/GetServerListServerErrors.md)> | :heavy_minus_sign: | N/A | +| `RawResponse` | [HttpResponseMessage](https://learn.microsoft.com/en-us/dotnet/api/system.net.http.httpresponsemessage?view=net-5.0) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing | \ No newline at end of file diff --git a/docs/Models/Errors/GetServerPreferencesErrors.md b/docs/Models/Errors/GetServerPreferencesErrors.md index 3793746..be86efd 100644 --- a/docs/Models/Errors/GetServerPreferencesErrors.md +++ b/docs/Models/Errors/GetServerPreferencesErrors.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | -| `Code` | *double* | :heavy_minus_sign: | N/A | 1001 | -| `Message` | *string* | :heavy_minus_sign: | N/A | User could not be authenticated | -| `Status` | *double* | :heavy_minus_sign: | N/A | 401 | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | +| `Code` | *long* | :heavy_minus_sign: | N/A | 1000 | +| `Message` | *string* | :heavy_minus_sign: | N/A | X-Plex-Client-Identifier is missing | +| `Status` | *long* | :heavy_minus_sign: | N/A | 400 | \ No newline at end of file diff --git a/docs/Models/Errors/GetServerPreferencesResponseBody.md b/docs/Models/Errors/GetServerPreferencesResponseBody.md index 6fed619..f56f599 100644 --- a/docs/Models/Errors/GetServerPreferencesResponseBody.md +++ b/docs/Models/Errors/GetServerPreferencesResponseBody.md @@ -1,6 +1,6 @@ # GetServerPreferencesResponseBody -Unauthorized - Returned if the X-Plex-Token is missing from the header or query. +Bad Request - A parameter was not specified, or was specified incorrectly. ## Fields diff --git a/docs/Models/Errors/GetServerPreferencesServerErrors.md b/docs/Models/Errors/GetServerPreferencesServerErrors.md new file mode 100644 index 0000000..4798a78 --- /dev/null +++ b/docs/Models/Errors/GetServerPreferencesServerErrors.md @@ -0,0 +1,10 @@ +# GetServerPreferencesServerErrors + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | +| `Code` | *long* | :heavy_minus_sign: | N/A | 1001 | +| `Message` | *string* | :heavy_minus_sign: | N/A | User could not be authenticated | +| `Status` | *long* | :heavy_minus_sign: | N/A | 401 | \ No newline at end of file diff --git a/docs/Models/Errors/GetServerPreferencesServerResponseBody.md b/docs/Models/Errors/GetServerPreferencesServerResponseBody.md new file mode 100644 index 0000000..d181a0b --- /dev/null +++ b/docs/Models/Errors/GetServerPreferencesServerResponseBody.md @@ -0,0 +1,11 @@ +# GetServerPreferencesServerResponseBody + +Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | +| `Errors` | List<[GetServerPreferencesServerErrors](../../Models/Errors/GetServerPreferencesServerErrors.md)> | :heavy_minus_sign: | N/A | +| `RawResponse` | [HttpResponseMessage](https://learn.microsoft.com/en-us/dotnet/api/system.net.http.httpresponsemessage?view=net-5.0) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing | \ No newline at end of file diff --git a/docs/Models/Errors/GetServerResourcesErrors.md b/docs/Models/Errors/GetServerResourcesErrors.md index f55374d..99786af 100644 --- a/docs/Models/Errors/GetServerResourcesErrors.md +++ b/docs/Models/Errors/GetServerResourcesErrors.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | -| `Code` | *double* | :heavy_minus_sign: | N/A | 1001 | -| `Message` | *string* | :heavy_minus_sign: | N/A | User could not be authenticated | -| `Status` | *double* | :heavy_minus_sign: | N/A | 401 | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | +| `Code` | *long* | :heavy_minus_sign: | N/A | 1000 | +| `Message` | *string* | :heavy_minus_sign: | N/A | X-Plex-Client-Identifier is missing | +| `Status` | *long* | :heavy_minus_sign: | N/A | 400 | \ No newline at end of file diff --git a/docs/Models/Errors/GetServerResourcesPlexErrors.md b/docs/Models/Errors/GetServerResourcesPlexErrors.md new file mode 100644 index 0000000..ba10c57 --- /dev/null +++ b/docs/Models/Errors/GetServerResourcesPlexErrors.md @@ -0,0 +1,10 @@ +# GetServerResourcesPlexErrors + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | +| `Code` | *long* | :heavy_minus_sign: | N/A | 1001 | +| `Message` | *string* | :heavy_minus_sign: | N/A | User could not be authenticated | +| `Status` | *long* | :heavy_minus_sign: | N/A | 401 | \ No newline at end of file diff --git a/docs/Models/Errors/GetServerResourcesPlexResponseBody.md b/docs/Models/Errors/GetServerResourcesPlexResponseBody.md new file mode 100644 index 0000000..b82511f --- /dev/null +++ b/docs/Models/Errors/GetServerResourcesPlexResponseBody.md @@ -0,0 +1,11 @@ +# GetServerResourcesPlexResponseBody + +Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | +| `Errors` | List<[GetServerResourcesPlexErrors](../../Models/Errors/GetServerResourcesPlexErrors.md)> | :heavy_minus_sign: | N/A | +| `RawResponse` | [HttpResponseMessage](https://learn.microsoft.com/en-us/dotnet/api/system.net.http.httpresponsemessage?view=net-5.0) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing | \ No newline at end of file diff --git a/docs/Models/Errors/GetServerResourcesResponseBody.md b/docs/Models/Errors/GetServerResourcesResponseBody.md index ce6e260..d79784e 100644 --- a/docs/Models/Errors/GetServerResourcesResponseBody.md +++ b/docs/Models/Errors/GetServerResourcesResponseBody.md @@ -1,6 +1,6 @@ # GetServerResourcesResponseBody -Unauthorized - Returned if the X-Plex-Token is missing from the header or query. +Bad Request - A parameter was not specified, or was specified incorrectly. ## Fields diff --git a/docs/Models/Errors/GetSessionHistoryErrors.md b/docs/Models/Errors/GetSessionHistoryErrors.md index 017669a..37e4911 100644 --- a/docs/Models/Errors/GetSessionHistoryErrors.md +++ b/docs/Models/Errors/GetSessionHistoryErrors.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | -| `Code` | *double* | :heavy_minus_sign: | N/A | 1001 | -| `Message` | *string* | :heavy_minus_sign: | N/A | User could not be authenticated | -| `Status` | *double* | :heavy_minus_sign: | N/A | 401 | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | +| `Code` | *long* | :heavy_minus_sign: | N/A | 1000 | +| `Message` | *string* | :heavy_minus_sign: | N/A | X-Plex-Client-Identifier is missing | +| `Status` | *long* | :heavy_minus_sign: | N/A | 400 | \ No newline at end of file diff --git a/docs/Models/Errors/GetSessionHistoryResponseBody.md b/docs/Models/Errors/GetSessionHistoryResponseBody.md index fedb988..e80baa9 100644 --- a/docs/Models/Errors/GetSessionHistoryResponseBody.md +++ b/docs/Models/Errors/GetSessionHistoryResponseBody.md @@ -1,6 +1,6 @@ # GetSessionHistoryResponseBody -Unauthorized - Returned if the X-Plex-Token is missing from the header or query. +Bad Request - A parameter was not specified, or was specified incorrectly. ## Fields diff --git a/docs/Models/Errors/GetSessionHistorySessionsErrors.md b/docs/Models/Errors/GetSessionHistorySessionsErrors.md new file mode 100644 index 0000000..5e85d9b --- /dev/null +++ b/docs/Models/Errors/GetSessionHistorySessionsErrors.md @@ -0,0 +1,10 @@ +# GetSessionHistorySessionsErrors + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | +| `Code` | *long* | :heavy_minus_sign: | N/A | 1001 | +| `Message` | *string* | :heavy_minus_sign: | N/A | User could not be authenticated | +| `Status` | *long* | :heavy_minus_sign: | N/A | 401 | \ No newline at end of file diff --git a/docs/Models/Errors/GetSessionHistorySessionsResponseBody.md b/docs/Models/Errors/GetSessionHistorySessionsResponseBody.md new file mode 100644 index 0000000..2963a30 --- /dev/null +++ b/docs/Models/Errors/GetSessionHistorySessionsResponseBody.md @@ -0,0 +1,11 @@ +# GetSessionHistorySessionsResponseBody + +Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | +| `Errors` | List<[GetSessionHistorySessionsErrors](../../Models/Errors/GetSessionHistorySessionsErrors.md)> | :heavy_minus_sign: | N/A | +| `RawResponse` | [HttpResponseMessage](https://learn.microsoft.com/en-us/dotnet/api/system.net.http.httpresponsemessage?view=net-5.0) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing | \ No newline at end of file diff --git a/docs/Models/Errors/GetSessionsErrors.md b/docs/Models/Errors/GetSessionsErrors.md index 670cbd6..cefa1f1 100644 --- a/docs/Models/Errors/GetSessionsErrors.md +++ b/docs/Models/Errors/GetSessionsErrors.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | -| `Code` | *double* | :heavy_minus_sign: | N/A | 1001 | -| `Message` | *string* | :heavy_minus_sign: | N/A | User could not be authenticated | -| `Status` | *double* | :heavy_minus_sign: | N/A | 401 | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | +| `Code` | *long* | :heavy_minus_sign: | N/A | 1000 | +| `Message` | *string* | :heavy_minus_sign: | N/A | X-Plex-Client-Identifier is missing | +| `Status` | *long* | :heavy_minus_sign: | N/A | 400 | \ No newline at end of file diff --git a/docs/Models/Errors/GetSessionsResponseBody.md b/docs/Models/Errors/GetSessionsResponseBody.md index eea8352..8798ae4 100644 --- a/docs/Models/Errors/GetSessionsResponseBody.md +++ b/docs/Models/Errors/GetSessionsResponseBody.md @@ -1,6 +1,6 @@ # GetSessionsResponseBody -Unauthorized - Returned if the X-Plex-Token is missing from the header or query. +Bad Request - A parameter was not specified, or was specified incorrectly. ## Fields diff --git a/docs/Models/Errors/GetSessionsSessionsErrors.md b/docs/Models/Errors/GetSessionsSessionsErrors.md new file mode 100644 index 0000000..8b5ee20 --- /dev/null +++ b/docs/Models/Errors/GetSessionsSessionsErrors.md @@ -0,0 +1,10 @@ +# GetSessionsSessionsErrors + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | +| `Code` | *long* | :heavy_minus_sign: | N/A | 1001 | +| `Message` | *string* | :heavy_minus_sign: | N/A | User could not be authenticated | +| `Status` | *long* | :heavy_minus_sign: | N/A | 401 | \ No newline at end of file diff --git a/docs/Models/Errors/GetSessionsSessionsResponseBody.md b/docs/Models/Errors/GetSessionsSessionsResponseBody.md new file mode 100644 index 0000000..7c42be6 --- /dev/null +++ b/docs/Models/Errors/GetSessionsSessionsResponseBody.md @@ -0,0 +1,11 @@ +# GetSessionsSessionsResponseBody + +Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | +| `Errors` | List<[GetSessionsSessionsErrors](../../Models/Errors/GetSessionsSessionsErrors.md)> | :heavy_minus_sign: | N/A | +| `RawResponse` | [HttpResponseMessage](https://learn.microsoft.com/en-us/dotnet/api/system.net.http.httpresponsemessage?view=net-5.0) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing | \ No newline at end of file diff --git a/docs/Models/Errors/GetSourceConnectionInformationAuthenticationErrors.md b/docs/Models/Errors/GetSourceConnectionInformationAuthenticationErrors.md new file mode 100644 index 0000000..ae55a88 --- /dev/null +++ b/docs/Models/Errors/GetSourceConnectionInformationAuthenticationErrors.md @@ -0,0 +1,10 @@ +# GetSourceConnectionInformationAuthenticationErrors + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | +| `Code` | *long* | :heavy_minus_sign: | N/A | 1001 | +| `Message` | *string* | :heavy_minus_sign: | N/A | User could not be authenticated | +| `Status` | *long* | :heavy_minus_sign: | N/A | 401 | \ No newline at end of file diff --git a/docs/Models/Errors/GetSourceConnectionInformationAuthenticationResponseBody.md b/docs/Models/Errors/GetSourceConnectionInformationAuthenticationResponseBody.md new file mode 100644 index 0000000..95b3561 --- /dev/null +++ b/docs/Models/Errors/GetSourceConnectionInformationAuthenticationResponseBody.md @@ -0,0 +1,11 @@ +# GetSourceConnectionInformationAuthenticationResponseBody + +Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------- | +| `Errors` | List<[GetSourceConnectionInformationAuthenticationErrors](../../Models/Errors/GetSourceConnectionInformationAuthenticationErrors.md)> | :heavy_minus_sign: | N/A | +| `RawResponse` | [HttpResponseMessage](https://learn.microsoft.com/en-us/dotnet/api/system.net.http.httpresponsemessage?view=net-5.0) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing | \ No newline at end of file diff --git a/docs/Models/Errors/GetSourceConnectionInformationErrors.md b/docs/Models/Errors/GetSourceConnectionInformationErrors.md index 7c13e45..a5d50f4 100644 --- a/docs/Models/Errors/GetSourceConnectionInformationErrors.md +++ b/docs/Models/Errors/GetSourceConnectionInformationErrors.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | -| `Code` | *double* | :heavy_minus_sign: | N/A | 1001 | -| `Message` | *string* | :heavy_minus_sign: | N/A | User could not be authenticated | -| `Status` | *double* | :heavy_minus_sign: | N/A | 401 | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | +| `Code` | *long* | :heavy_minus_sign: | N/A | 1000 | +| `Message` | *string* | :heavy_minus_sign: | N/A | X-Plex-Client-Identifier is missing | +| `Status` | *long* | :heavy_minus_sign: | N/A | 400 | \ No newline at end of file diff --git a/docs/Models/Errors/GetSourceConnectionInformationResponseBody.md b/docs/Models/Errors/GetSourceConnectionInformationResponseBody.md index 56d797c..0cae18b 100644 --- a/docs/Models/Errors/GetSourceConnectionInformationResponseBody.md +++ b/docs/Models/Errors/GetSourceConnectionInformationResponseBody.md @@ -1,6 +1,6 @@ # GetSourceConnectionInformationResponseBody -Unauthorized - Returned if the X-Plex-Token is missing from the header or query. +Bad Request - A parameter was not specified, or was specified incorrectly. ## Fields diff --git a/docs/Models/Errors/GetStatisticsErrors.md b/docs/Models/Errors/GetStatisticsErrors.md index 63be032..856d545 100644 --- a/docs/Models/Errors/GetStatisticsErrors.md +++ b/docs/Models/Errors/GetStatisticsErrors.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | -| `Code` | *double* | :heavy_minus_sign: | N/A | 1001 | -| `Message` | *string* | :heavy_minus_sign: | N/A | User could not be authenticated | -| `Status` | *double* | :heavy_minus_sign: | N/A | 401 | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | +| `Code` | *long* | :heavy_minus_sign: | N/A | 1000 | +| `Message` | *string* | :heavy_minus_sign: | N/A | X-Plex-Client-Identifier is missing | +| `Status` | *long* | :heavy_minus_sign: | N/A | 400 | \ No newline at end of file diff --git a/docs/Models/Errors/GetStatisticsResponseBody.md b/docs/Models/Errors/GetStatisticsResponseBody.md index 624afa9..ed4c42d 100644 --- a/docs/Models/Errors/GetStatisticsResponseBody.md +++ b/docs/Models/Errors/GetStatisticsResponseBody.md @@ -1,6 +1,6 @@ # GetStatisticsResponseBody -Unauthorized - Returned if the X-Plex-Token is missing from the header or query. +Bad Request - A parameter was not specified, or was specified incorrectly. ## Fields diff --git a/docs/Models/Errors/GetStatisticsStatisticsErrors.md b/docs/Models/Errors/GetStatisticsStatisticsErrors.md new file mode 100644 index 0000000..abf3372 --- /dev/null +++ b/docs/Models/Errors/GetStatisticsStatisticsErrors.md @@ -0,0 +1,10 @@ +# GetStatisticsStatisticsErrors + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | +| `Code` | *long* | :heavy_minus_sign: | N/A | 1001 | +| `Message` | *string* | :heavy_minus_sign: | N/A | User could not be authenticated | +| `Status` | *long* | :heavy_minus_sign: | N/A | 401 | \ No newline at end of file diff --git a/docs/Models/Errors/GetStatisticsStatisticsResponseBody.md b/docs/Models/Errors/GetStatisticsStatisticsResponseBody.md new file mode 100644 index 0000000..2a5b812 --- /dev/null +++ b/docs/Models/Errors/GetStatisticsStatisticsResponseBody.md @@ -0,0 +1,11 @@ +# GetStatisticsStatisticsResponseBody + +Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | +| `Errors` | List<[GetStatisticsStatisticsErrors](../../Models/Errors/GetStatisticsStatisticsErrors.md)> | :heavy_minus_sign: | N/A | +| `RawResponse` | [HttpResponseMessage](https://learn.microsoft.com/en-us/dotnet/api/system.net.http.httpresponsemessage?view=net-5.0) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing | \ No newline at end of file diff --git a/docs/Models/Errors/GetThumbImageErrors.md b/docs/Models/Errors/GetThumbImageErrors.md index a4455bd..1ee4086 100644 --- a/docs/Models/Errors/GetThumbImageErrors.md +++ b/docs/Models/Errors/GetThumbImageErrors.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | -| `Code` | *double* | :heavy_minus_sign: | N/A | 1001 | -| `Message` | *string* | :heavy_minus_sign: | N/A | User could not be authenticated | -| `Status` | *double* | :heavy_minus_sign: | N/A | 401 | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | +| `Code` | *long* | :heavy_minus_sign: | N/A | 1000 | +| `Message` | *string* | :heavy_minus_sign: | N/A | X-Plex-Client-Identifier is missing | +| `Status` | *long* | :heavy_minus_sign: | N/A | 400 | \ No newline at end of file diff --git a/docs/Models/Errors/GetThumbImageMediaErrors.md b/docs/Models/Errors/GetThumbImageMediaErrors.md new file mode 100644 index 0000000..46243b9 --- /dev/null +++ b/docs/Models/Errors/GetThumbImageMediaErrors.md @@ -0,0 +1,10 @@ +# GetThumbImageMediaErrors + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | +| `Code` | *long* | :heavy_minus_sign: | N/A | 1001 | +| `Message` | *string* | :heavy_minus_sign: | N/A | User could not be authenticated | +| `Status` | *long* | :heavy_minus_sign: | N/A | 401 | \ No newline at end of file diff --git a/docs/Models/Errors/GetThumbImageMediaResponseBody.md b/docs/Models/Errors/GetThumbImageMediaResponseBody.md new file mode 100644 index 0000000..0a33273 --- /dev/null +++ b/docs/Models/Errors/GetThumbImageMediaResponseBody.md @@ -0,0 +1,11 @@ +# GetThumbImageMediaResponseBody + +Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | +| `Errors` | List<[GetThumbImageMediaErrors](../../Models/Errors/GetThumbImageMediaErrors.md)> | :heavy_minus_sign: | N/A | +| `RawResponse` | [HttpResponseMessage](https://learn.microsoft.com/en-us/dotnet/api/system.net.http.httpresponsemessage?view=net-5.0) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing | \ No newline at end of file diff --git a/docs/Models/Errors/GetThumbImageResponseBody.md b/docs/Models/Errors/GetThumbImageResponseBody.md index e3fdba2..d138c7d 100644 --- a/docs/Models/Errors/GetThumbImageResponseBody.md +++ b/docs/Models/Errors/GetThumbImageResponseBody.md @@ -1,6 +1,6 @@ # GetThumbImageResponseBody -Unauthorized - Returned if the X-Plex-Token is missing from the header or query. +Bad Request - A parameter was not specified, or was specified incorrectly. ## Fields diff --git a/docs/Models/Errors/GetTimelineErrors.md b/docs/Models/Errors/GetTimelineErrors.md index 2fdbe97..0e013aa 100644 --- a/docs/Models/Errors/GetTimelineErrors.md +++ b/docs/Models/Errors/GetTimelineErrors.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | -| `Code` | *double* | :heavy_minus_sign: | N/A | 1001 | -| `Message` | *string* | :heavy_minus_sign: | N/A | User could not be authenticated | -| `Status` | *double* | :heavy_minus_sign: | N/A | 401 | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | +| `Code` | *long* | :heavy_minus_sign: | N/A | 1000 | +| `Message` | *string* | :heavy_minus_sign: | N/A | X-Plex-Client-Identifier is missing | +| `Status` | *long* | :heavy_minus_sign: | N/A | 400 | \ No newline at end of file diff --git a/docs/Models/Errors/GetTimelineResponseBody.md b/docs/Models/Errors/GetTimelineResponseBody.md index 1a2031d..9080291 100644 --- a/docs/Models/Errors/GetTimelineResponseBody.md +++ b/docs/Models/Errors/GetTimelineResponseBody.md @@ -1,6 +1,6 @@ # GetTimelineResponseBody -Unauthorized - Returned if the X-Plex-Token is missing from the header or query. +Bad Request - A parameter was not specified, or was specified incorrectly. ## Fields diff --git a/docs/Models/Errors/GetTimelineVideoErrors.md b/docs/Models/Errors/GetTimelineVideoErrors.md new file mode 100644 index 0000000..42bceea --- /dev/null +++ b/docs/Models/Errors/GetTimelineVideoErrors.md @@ -0,0 +1,10 @@ +# GetTimelineVideoErrors + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | +| `Code` | *long* | :heavy_minus_sign: | N/A | 1001 | +| `Message` | *string* | :heavy_minus_sign: | N/A | User could not be authenticated | +| `Status` | *long* | :heavy_minus_sign: | N/A | 401 | \ No newline at end of file diff --git a/docs/Models/Errors/GetTimelineVideoResponseBody.md b/docs/Models/Errors/GetTimelineVideoResponseBody.md new file mode 100644 index 0000000..caaed56 --- /dev/null +++ b/docs/Models/Errors/GetTimelineVideoResponseBody.md @@ -0,0 +1,11 @@ +# GetTimelineVideoResponseBody + +Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | +| `Errors` | List<[GetTimelineVideoErrors](../../Models/Errors/GetTimelineVideoErrors.md)> | :heavy_minus_sign: | N/A | +| `RawResponse` | [HttpResponseMessage](https://learn.microsoft.com/en-us/dotnet/api/system.net.http.httpresponsemessage?view=net-5.0) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing | \ No newline at end of file diff --git a/docs/Models/Errors/GetTopWatchedContentErrors.md b/docs/Models/Errors/GetTopWatchedContentErrors.md index 4b9db20..41ad265 100644 --- a/docs/Models/Errors/GetTopWatchedContentErrors.md +++ b/docs/Models/Errors/GetTopWatchedContentErrors.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | -| `Code` | *double* | :heavy_minus_sign: | N/A | 1001 | -| `Message` | *string* | :heavy_minus_sign: | N/A | User could not be authenticated | -| `Status` | *double* | :heavy_minus_sign: | N/A | 401 | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | +| `Code` | *long* | :heavy_minus_sign: | N/A | 1000 | +| `Message` | *string* | :heavy_minus_sign: | N/A | X-Plex-Client-Identifier is missing | +| `Status` | *long* | :heavy_minus_sign: | N/A | 400 | \ No newline at end of file diff --git a/docs/Models/Errors/GetTopWatchedContentLibraryErrors.md b/docs/Models/Errors/GetTopWatchedContentLibraryErrors.md new file mode 100644 index 0000000..554d5aa --- /dev/null +++ b/docs/Models/Errors/GetTopWatchedContentLibraryErrors.md @@ -0,0 +1,10 @@ +# GetTopWatchedContentLibraryErrors + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | +| `Code` | *long* | :heavy_minus_sign: | N/A | 1001 | +| `Message` | *string* | :heavy_minus_sign: | N/A | User could not be authenticated | +| `Status` | *long* | :heavy_minus_sign: | N/A | 401 | \ No newline at end of file diff --git a/docs/Models/Errors/GetTopWatchedContentLibraryResponseBody.md b/docs/Models/Errors/GetTopWatchedContentLibraryResponseBody.md new file mode 100644 index 0000000..3b66b37 --- /dev/null +++ b/docs/Models/Errors/GetTopWatchedContentLibraryResponseBody.md @@ -0,0 +1,11 @@ +# GetTopWatchedContentLibraryResponseBody + +Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | +| `Errors` | List<[GetTopWatchedContentLibraryErrors](../../Models/Errors/GetTopWatchedContentLibraryErrors.md)> | :heavy_minus_sign: | N/A | +| `RawResponse` | [HttpResponseMessage](https://learn.microsoft.com/en-us/dotnet/api/system.net.http.httpresponsemessage?view=net-5.0) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing | \ No newline at end of file diff --git a/docs/Models/Errors/GetTopWatchedContentResponseBody.md b/docs/Models/Errors/GetTopWatchedContentResponseBody.md index 4546379..41e7989 100644 --- a/docs/Models/Errors/GetTopWatchedContentResponseBody.md +++ b/docs/Models/Errors/GetTopWatchedContentResponseBody.md @@ -1,6 +1,6 @@ # GetTopWatchedContentResponseBody -Unauthorized - Returned if the X-Plex-Token is missing from the header or query. +Bad Request - A parameter was not specified, or was specified incorrectly. ## Fields diff --git a/docs/Models/Errors/GetTranscodeSessionsErrors.md b/docs/Models/Errors/GetTranscodeSessionsErrors.md index 05fe588..f73d6df 100644 --- a/docs/Models/Errors/GetTranscodeSessionsErrors.md +++ b/docs/Models/Errors/GetTranscodeSessionsErrors.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | -| `Code` | *double* | :heavy_minus_sign: | N/A | 1001 | -| `Message` | *string* | :heavy_minus_sign: | N/A | User could not be authenticated | -| `Status` | *double* | :heavy_minus_sign: | N/A | 401 | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | +| `Code` | *long* | :heavy_minus_sign: | N/A | 1000 | +| `Message` | *string* | :heavy_minus_sign: | N/A | X-Plex-Client-Identifier is missing | +| `Status` | *long* | :heavy_minus_sign: | N/A | 400 | \ No newline at end of file diff --git a/docs/Models/Errors/GetTranscodeSessionsResponseBody.md b/docs/Models/Errors/GetTranscodeSessionsResponseBody.md index 900c1e9..d38afc9 100644 --- a/docs/Models/Errors/GetTranscodeSessionsResponseBody.md +++ b/docs/Models/Errors/GetTranscodeSessionsResponseBody.md @@ -1,6 +1,6 @@ # GetTranscodeSessionsResponseBody -Unauthorized - Returned if the X-Plex-Token is missing from the header or query. +Bad Request - A parameter was not specified, or was specified incorrectly. ## Fields diff --git a/docs/Models/Errors/GetTranscodeSessionsSessionsErrors.md b/docs/Models/Errors/GetTranscodeSessionsSessionsErrors.md new file mode 100644 index 0000000..e49e094 --- /dev/null +++ b/docs/Models/Errors/GetTranscodeSessionsSessionsErrors.md @@ -0,0 +1,10 @@ +# GetTranscodeSessionsSessionsErrors + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | +| `Code` | *long* | :heavy_minus_sign: | N/A | 1001 | +| `Message` | *string* | :heavy_minus_sign: | N/A | User could not be authenticated | +| `Status` | *long* | :heavy_minus_sign: | N/A | 401 | \ No newline at end of file diff --git a/docs/Models/Errors/GetTranscodeSessionsSessionsResponseBody.md b/docs/Models/Errors/GetTranscodeSessionsSessionsResponseBody.md new file mode 100644 index 0000000..20bd533 --- /dev/null +++ b/docs/Models/Errors/GetTranscodeSessionsSessionsResponseBody.md @@ -0,0 +1,11 @@ +# GetTranscodeSessionsSessionsResponseBody + +Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | +| `Errors` | List<[GetTranscodeSessionsSessionsErrors](../../Models/Errors/GetTranscodeSessionsSessionsErrors.md)> | :heavy_minus_sign: | N/A | +| `RawResponse` | [HttpResponseMessage](https://learn.microsoft.com/en-us/dotnet/api/system.net.http.httpresponsemessage?view=net-5.0) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing | \ No newline at end of file diff --git a/docs/Models/Errors/GetTransientTokenAuthenticationErrors.md b/docs/Models/Errors/GetTransientTokenAuthenticationErrors.md new file mode 100644 index 0000000..10feafd --- /dev/null +++ b/docs/Models/Errors/GetTransientTokenAuthenticationErrors.md @@ -0,0 +1,10 @@ +# GetTransientTokenAuthenticationErrors + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | +| `Code` | *long* | :heavy_minus_sign: | N/A | 1001 | +| `Message` | *string* | :heavy_minus_sign: | N/A | User could not be authenticated | +| `Status` | *long* | :heavy_minus_sign: | N/A | 401 | \ No newline at end of file diff --git a/docs/Models/Errors/GetTransientTokenAuthenticationResponseBody.md b/docs/Models/Errors/GetTransientTokenAuthenticationResponseBody.md new file mode 100644 index 0000000..821e341 --- /dev/null +++ b/docs/Models/Errors/GetTransientTokenAuthenticationResponseBody.md @@ -0,0 +1,11 @@ +# GetTransientTokenAuthenticationResponseBody + +Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | +| `Errors` | List<[GetTransientTokenAuthenticationErrors](../../Models/Errors/GetTransientTokenAuthenticationErrors.md)> | :heavy_minus_sign: | N/A | +| `RawResponse` | [HttpResponseMessage](https://learn.microsoft.com/en-us/dotnet/api/system.net.http.httpresponsemessage?view=net-5.0) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing | \ No newline at end of file diff --git a/docs/Models/Errors/GetTransientTokenErrors.md b/docs/Models/Errors/GetTransientTokenErrors.md index 1a2d4e5..129ac66 100644 --- a/docs/Models/Errors/GetTransientTokenErrors.md +++ b/docs/Models/Errors/GetTransientTokenErrors.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | -| `Code` | *double* | :heavy_minus_sign: | N/A | 1001 | -| `Message` | *string* | :heavy_minus_sign: | N/A | User could not be authenticated | -| `Status` | *double* | :heavy_minus_sign: | N/A | 401 | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | +| `Code` | *long* | :heavy_minus_sign: | N/A | 1000 | +| `Message` | *string* | :heavy_minus_sign: | N/A | X-Plex-Client-Identifier is missing | +| `Status` | *long* | :heavy_minus_sign: | N/A | 400 | \ No newline at end of file diff --git a/docs/Models/Errors/GetTransientTokenResponseBody.md b/docs/Models/Errors/GetTransientTokenResponseBody.md index f252be4..b69db55 100644 --- a/docs/Models/Errors/GetTransientTokenResponseBody.md +++ b/docs/Models/Errors/GetTransientTokenResponseBody.md @@ -1,6 +1,6 @@ # GetTransientTokenResponseBody -Unauthorized - Returned if the X-Plex-Token is missing from the header or query. +Bad Request - A parameter was not specified, or was specified incorrectly. ## Fields diff --git a/docs/Models/Errors/GetUpdateStatusErrors.md b/docs/Models/Errors/GetUpdateStatusErrors.md index 2e7f9da..ce24e93 100644 --- a/docs/Models/Errors/GetUpdateStatusErrors.md +++ b/docs/Models/Errors/GetUpdateStatusErrors.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | -| `Code` | *double* | :heavy_minus_sign: | N/A | 1001 | -| `Message` | *string* | :heavy_minus_sign: | N/A | User could not be authenticated | -| `Status` | *double* | :heavy_minus_sign: | N/A | 401 | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | +| `Code` | *long* | :heavy_minus_sign: | N/A | 1000 | +| `Message` | *string* | :heavy_minus_sign: | N/A | X-Plex-Client-Identifier is missing | +| `Status` | *long* | :heavy_minus_sign: | N/A | 400 | \ No newline at end of file diff --git a/docs/Models/Errors/GetUpdateStatusResponseBody.md b/docs/Models/Errors/GetUpdateStatusResponseBody.md index 48f0cb6..bc53bc7 100644 --- a/docs/Models/Errors/GetUpdateStatusResponseBody.md +++ b/docs/Models/Errors/GetUpdateStatusResponseBody.md @@ -1,6 +1,6 @@ # GetUpdateStatusResponseBody -Unauthorized - Returned if the X-Plex-Token is missing from the header or query. +Bad Request - A parameter was not specified, or was specified incorrectly. ## Fields diff --git a/docs/Models/Errors/GetUpdateStatusUpdaterErrors.md b/docs/Models/Errors/GetUpdateStatusUpdaterErrors.md new file mode 100644 index 0000000..4ffe851 --- /dev/null +++ b/docs/Models/Errors/GetUpdateStatusUpdaterErrors.md @@ -0,0 +1,10 @@ +# GetUpdateStatusUpdaterErrors + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | +| `Code` | *long* | :heavy_minus_sign: | N/A | 1001 | +| `Message` | *string* | :heavy_minus_sign: | N/A | User could not be authenticated | +| `Status` | *long* | :heavy_minus_sign: | N/A | 401 | \ No newline at end of file diff --git a/docs/Models/Errors/GetUpdateStatusUpdaterResponseBody.md b/docs/Models/Errors/GetUpdateStatusUpdaterResponseBody.md new file mode 100644 index 0000000..13eb165 --- /dev/null +++ b/docs/Models/Errors/GetUpdateStatusUpdaterResponseBody.md @@ -0,0 +1,11 @@ +# GetUpdateStatusUpdaterResponseBody + +Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | +| `Errors` | List<[GetUpdateStatusUpdaterErrors](../../Models/Errors/GetUpdateStatusUpdaterErrors.md)> | :heavy_minus_sign: | N/A | +| `RawResponse` | [HttpResponseMessage](https://learn.microsoft.com/en-us/dotnet/api/system.net.http.httpresponsemessage?view=net-5.0) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing | \ No newline at end of file diff --git a/docs/Models/Errors/GetUserDetailsAuthenticationErrors.md b/docs/Models/Errors/GetUserDetailsAuthenticationErrors.md new file mode 100644 index 0000000..2990ac9 --- /dev/null +++ b/docs/Models/Errors/GetUserDetailsAuthenticationErrors.md @@ -0,0 +1,10 @@ +# GetUserDetailsAuthenticationErrors + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | +| `Code` | *long* | :heavy_minus_sign: | N/A | 1001 | +| `Message` | *string* | :heavy_minus_sign: | N/A | User could not be authenticated | +| `Status` | *long* | :heavy_minus_sign: | N/A | 401 | \ No newline at end of file diff --git a/docs/Models/Errors/GetUserDetailsAuthenticationResponseBody.md b/docs/Models/Errors/GetUserDetailsAuthenticationResponseBody.md new file mode 100644 index 0000000..9094a94 --- /dev/null +++ b/docs/Models/Errors/GetUserDetailsAuthenticationResponseBody.md @@ -0,0 +1,11 @@ +# GetUserDetailsAuthenticationResponseBody + +Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | +| `Errors` | List<[GetUserDetailsAuthenticationErrors](../../Models/Errors/GetUserDetailsAuthenticationErrors.md)> | :heavy_minus_sign: | N/A | +| `RawResponse` | [HttpResponseMessage](https://learn.microsoft.com/en-us/dotnet/api/system.net.http.httpresponsemessage?view=net-5.0) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing | \ No newline at end of file diff --git a/docs/Models/Errors/GetUserDetailsErrors.md b/docs/Models/Errors/GetUserDetailsErrors.md index 6db42cc..a9982a5 100644 --- a/docs/Models/Errors/GetUserDetailsErrors.md +++ b/docs/Models/Errors/GetUserDetailsErrors.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | -| `Code` | *double* | :heavy_minus_sign: | N/A | 1001 | -| `Message` | *string* | :heavy_minus_sign: | N/A | User could not be authenticated | -| `Status` | *double* | :heavy_minus_sign: | N/A | 401 | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | +| `Code` | *long* | :heavy_minus_sign: | N/A | 1000 | +| `Message` | *string* | :heavy_minus_sign: | N/A | X-Plex-Client-Identifier is missing | +| `Status` | *long* | :heavy_minus_sign: | N/A | 400 | \ No newline at end of file diff --git a/docs/Models/Errors/GetUserDetailsResponseBody.md b/docs/Models/Errors/GetUserDetailsResponseBody.md index a15602a..927923d 100644 --- a/docs/Models/Errors/GetUserDetailsResponseBody.md +++ b/docs/Models/Errors/GetUserDetailsResponseBody.md @@ -1,6 +1,6 @@ # GetUserDetailsResponseBody -Unauthorized - Returned if the X-Plex-Token is missing from the header or query. +Bad Request - A parameter was not specified, or was specified incorrectly. ## Fields diff --git a/docs/Models/Errors/GetUserFriendsErrors.md b/docs/Models/Errors/GetUserFriendsErrors.md index 263ed3f..2a0988c 100644 --- a/docs/Models/Errors/GetUserFriendsErrors.md +++ b/docs/Models/Errors/GetUserFriendsErrors.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | -| `Code` | *double* | :heavy_minus_sign: | N/A | 1001 | -| `Message` | *string* | :heavy_minus_sign: | N/A | User could not be authenticated | -| `Status` | *double* | :heavy_minus_sign: | N/A | 401 | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | +| `Code` | *long* | :heavy_minus_sign: | N/A | 1000 | +| `Message` | *string* | :heavy_minus_sign: | N/A | X-Plex-Client-Identifier is missing | +| `Status` | *long* | :heavy_minus_sign: | N/A | 400 | \ No newline at end of file diff --git a/docs/Models/Errors/GetUserFriendsPlexErrors.md b/docs/Models/Errors/GetUserFriendsPlexErrors.md new file mode 100644 index 0000000..a13e0f6 --- /dev/null +++ b/docs/Models/Errors/GetUserFriendsPlexErrors.md @@ -0,0 +1,10 @@ +# GetUserFriendsPlexErrors + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | +| `Code` | *long* | :heavy_minus_sign: | N/A | 1001 | +| `Message` | *string* | :heavy_minus_sign: | N/A | User could not be authenticated | +| `Status` | *long* | :heavy_minus_sign: | N/A | 401 | \ No newline at end of file diff --git a/docs/Models/Errors/GetUserFriendsPlexResponseBody.md b/docs/Models/Errors/GetUserFriendsPlexResponseBody.md new file mode 100644 index 0000000..fcb28ac --- /dev/null +++ b/docs/Models/Errors/GetUserFriendsPlexResponseBody.md @@ -0,0 +1,11 @@ +# GetUserFriendsPlexResponseBody + +Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | +| `Errors` | List<[GetUserFriendsPlexErrors](../../Models/Errors/GetUserFriendsPlexErrors.md)> | :heavy_minus_sign: | N/A | +| `RawResponse` | [HttpResponseMessage](https://learn.microsoft.com/en-us/dotnet/api/system.net.http.httpresponsemessage?view=net-5.0) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing | \ No newline at end of file diff --git a/docs/Models/Errors/GetUserFriendsResponseBody.md b/docs/Models/Errors/GetUserFriendsResponseBody.md index 31b6b72..a5f3bf2 100644 --- a/docs/Models/Errors/GetUserFriendsResponseBody.md +++ b/docs/Models/Errors/GetUserFriendsResponseBody.md @@ -1,6 +1,6 @@ # GetUserFriendsResponseBody -Unauthorized - Returned if the X-Plex-Token is missing from the header or query. +Bad Request - A parameter was not specified, or was specified incorrectly. ## Fields diff --git a/docs/Models/Errors/GetWatchListErrors.md b/docs/Models/Errors/GetWatchListErrors.md index 39e759b..4d7551a 100644 --- a/docs/Models/Errors/GetWatchListErrors.md +++ b/docs/Models/Errors/GetWatchListErrors.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | -| `Code` | *double* | :heavy_minus_sign: | N/A | 1001 | -| `Message` | *string* | :heavy_minus_sign: | N/A | User could not be authenticated | -| `Status` | *double* | :heavy_minus_sign: | N/A | 401 | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | +| `Code` | *long* | :heavy_minus_sign: | N/A | 1000 | +| `Message` | *string* | :heavy_minus_sign: | N/A | X-Plex-Client-Identifier is missing | +| `Status` | *long* | :heavy_minus_sign: | N/A | 400 | \ No newline at end of file diff --git a/docs/Models/Errors/GetWatchListResponseBody.md b/docs/Models/Errors/GetWatchListResponseBody.md index 01e08a3..79426b4 100644 --- a/docs/Models/Errors/GetWatchListResponseBody.md +++ b/docs/Models/Errors/GetWatchListResponseBody.md @@ -1,6 +1,6 @@ # GetWatchListResponseBody -Unauthorized - Returned if the X-Plex-Token is missing from the header or query. +Bad Request - A parameter was not specified, or was specified incorrectly. ## Fields diff --git a/docs/Models/Errors/GetWatchListWatchlistErrors.md b/docs/Models/Errors/GetWatchListWatchlistErrors.md new file mode 100644 index 0000000..9fc398e --- /dev/null +++ b/docs/Models/Errors/GetWatchListWatchlistErrors.md @@ -0,0 +1,10 @@ +# GetWatchListWatchlistErrors + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | +| `Code` | *long* | :heavy_minus_sign: | N/A | 1001 | +| `Message` | *string* | :heavy_minus_sign: | N/A | User could not be authenticated | +| `Status` | *long* | :heavy_minus_sign: | N/A | 401 | \ No newline at end of file diff --git a/docs/Models/Errors/GetWatchListWatchlistResponseBody.md b/docs/Models/Errors/GetWatchListWatchlistResponseBody.md new file mode 100644 index 0000000..4666451 --- /dev/null +++ b/docs/Models/Errors/GetWatchListWatchlistResponseBody.md @@ -0,0 +1,11 @@ +# GetWatchListWatchlistResponseBody + +Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | +| `Errors` | List<[GetWatchListWatchlistErrors](../../Models/Errors/GetWatchListWatchlistErrors.md)> | :heavy_minus_sign: | N/A | +| `RawResponse` | [HttpResponseMessage](https://learn.microsoft.com/en-us/dotnet/api/system.net.http.httpresponsemessage?view=net-5.0) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing | \ No newline at end of file diff --git a/docs/Models/Errors/LogLineErrors.md b/docs/Models/Errors/LogLineErrors.md index 0e246a2..ce5db44 100644 --- a/docs/Models/Errors/LogLineErrors.md +++ b/docs/Models/Errors/LogLineErrors.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | -| `Code` | *double* | :heavy_minus_sign: | N/A | 1001 | -| `Message` | *string* | :heavy_minus_sign: | N/A | User could not be authenticated | -| `Status` | *double* | :heavy_minus_sign: | N/A | 401 | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | +| `Code` | *long* | :heavy_minus_sign: | N/A | 1000 | +| `Message` | *string* | :heavy_minus_sign: | N/A | X-Plex-Client-Identifier is missing | +| `Status` | *long* | :heavy_minus_sign: | N/A | 400 | \ No newline at end of file diff --git a/docs/Models/Errors/LogLineLogErrors.md b/docs/Models/Errors/LogLineLogErrors.md new file mode 100644 index 0000000..d494c30 --- /dev/null +++ b/docs/Models/Errors/LogLineLogErrors.md @@ -0,0 +1,10 @@ +# LogLineLogErrors + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | +| `Code` | *long* | :heavy_minus_sign: | N/A | 1001 | +| `Message` | *string* | :heavy_minus_sign: | N/A | User could not be authenticated | +| `Status` | *long* | :heavy_minus_sign: | N/A | 401 | \ No newline at end of file diff --git a/docs/Models/Errors/LogLineLogResponseBody.md b/docs/Models/Errors/LogLineLogResponseBody.md new file mode 100644 index 0000000..9de3379 --- /dev/null +++ b/docs/Models/Errors/LogLineLogResponseBody.md @@ -0,0 +1,11 @@ +# LogLineLogResponseBody + +Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | +| `Errors` | List<[LogLineLogErrors](../../Models/Errors/LogLineLogErrors.md)> | :heavy_minus_sign: | N/A | +| `RawResponse` | [HttpResponseMessage](https://learn.microsoft.com/en-us/dotnet/api/system.net.http.httpresponsemessage?view=net-5.0) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing | \ No newline at end of file diff --git a/docs/Models/Errors/LogLineResponseBody.md b/docs/Models/Errors/LogLineResponseBody.md index b7e0574..224b7a3 100644 --- a/docs/Models/Errors/LogLineResponseBody.md +++ b/docs/Models/Errors/LogLineResponseBody.md @@ -1,6 +1,6 @@ # LogLineResponseBody -Unauthorized - Returned if the X-Plex-Token is missing from the header or query. +Bad Request - A parameter was not specified, or was specified incorrectly. ## Fields diff --git a/docs/Models/Errors/LogMultiLineErrors.md b/docs/Models/Errors/LogMultiLineErrors.md index 42f49b8..2f11e0b 100644 --- a/docs/Models/Errors/LogMultiLineErrors.md +++ b/docs/Models/Errors/LogMultiLineErrors.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | -| `Code` | *double* | :heavy_minus_sign: | N/A | 1001 | -| `Message` | *string* | :heavy_minus_sign: | N/A | User could not be authenticated | -| `Status` | *double* | :heavy_minus_sign: | N/A | 401 | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | +| `Code` | *long* | :heavy_minus_sign: | N/A | 1000 | +| `Message` | *string* | :heavy_minus_sign: | N/A | X-Plex-Client-Identifier is missing | +| `Status` | *long* | :heavy_minus_sign: | N/A | 400 | \ No newline at end of file diff --git a/docs/Models/Errors/LogMultiLineLogErrors.md b/docs/Models/Errors/LogMultiLineLogErrors.md new file mode 100644 index 0000000..92be927 --- /dev/null +++ b/docs/Models/Errors/LogMultiLineLogErrors.md @@ -0,0 +1,10 @@ +# LogMultiLineLogErrors + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | +| `Code` | *long* | :heavy_minus_sign: | N/A | 1001 | +| `Message` | *string* | :heavy_minus_sign: | N/A | User could not be authenticated | +| `Status` | *long* | :heavy_minus_sign: | N/A | 401 | \ No newline at end of file diff --git a/docs/Models/Errors/LogMultiLineLogResponseBody.md b/docs/Models/Errors/LogMultiLineLogResponseBody.md new file mode 100644 index 0000000..ad1bbcd --- /dev/null +++ b/docs/Models/Errors/LogMultiLineLogResponseBody.md @@ -0,0 +1,11 @@ +# LogMultiLineLogResponseBody + +Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | +| `Errors` | List<[LogMultiLineLogErrors](../../Models/Errors/LogMultiLineLogErrors.md)> | :heavy_minus_sign: | N/A | +| `RawResponse` | [HttpResponseMessage](https://learn.microsoft.com/en-us/dotnet/api/system.net.http.httpresponsemessage?view=net-5.0) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing | \ No newline at end of file diff --git a/docs/Models/Errors/LogMultiLineResponseBody.md b/docs/Models/Errors/LogMultiLineResponseBody.md index dc56d92..6200fb5 100644 --- a/docs/Models/Errors/LogMultiLineResponseBody.md +++ b/docs/Models/Errors/LogMultiLineResponseBody.md @@ -1,6 +1,6 @@ # LogMultiLineResponseBody -Unauthorized - Returned if the X-Plex-Token is missing from the header or query. +Bad Request - A parameter was not specified, or was specified incorrectly. ## Fields diff --git a/docs/Models/Errors/MarkPlayedErrors.md b/docs/Models/Errors/MarkPlayedErrors.md index 5dada91..0949a02 100644 --- a/docs/Models/Errors/MarkPlayedErrors.md +++ b/docs/Models/Errors/MarkPlayedErrors.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | -| `Code` | *double* | :heavy_minus_sign: | N/A | 1001 | -| `Message` | *string* | :heavy_minus_sign: | N/A | User could not be authenticated | -| `Status` | *double* | :heavy_minus_sign: | N/A | 401 | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | +| `Code` | *long* | :heavy_minus_sign: | N/A | 1000 | +| `Message` | *string* | :heavy_minus_sign: | N/A | X-Plex-Client-Identifier is missing | +| `Status` | *long* | :heavy_minus_sign: | N/A | 400 | \ No newline at end of file diff --git a/docs/Models/Errors/MarkPlayedMediaErrors.md b/docs/Models/Errors/MarkPlayedMediaErrors.md new file mode 100644 index 0000000..df917b7 --- /dev/null +++ b/docs/Models/Errors/MarkPlayedMediaErrors.md @@ -0,0 +1,10 @@ +# MarkPlayedMediaErrors + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | +| `Code` | *long* | :heavy_minus_sign: | N/A | 1001 | +| `Message` | *string* | :heavy_minus_sign: | N/A | User could not be authenticated | +| `Status` | *long* | :heavy_minus_sign: | N/A | 401 | \ No newline at end of file diff --git a/docs/Models/Errors/MarkPlayedMediaResponseBody.md b/docs/Models/Errors/MarkPlayedMediaResponseBody.md new file mode 100644 index 0000000..25544b7 --- /dev/null +++ b/docs/Models/Errors/MarkPlayedMediaResponseBody.md @@ -0,0 +1,11 @@ +# MarkPlayedMediaResponseBody + +Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | +| `Errors` | List<[MarkPlayedMediaErrors](../../Models/Errors/MarkPlayedMediaErrors.md)> | :heavy_minus_sign: | N/A | +| `RawResponse` | [HttpResponseMessage](https://learn.microsoft.com/en-us/dotnet/api/system.net.http.httpresponsemessage?view=net-5.0) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing | \ No newline at end of file diff --git a/docs/Models/Errors/MarkPlayedResponseBody.md b/docs/Models/Errors/MarkPlayedResponseBody.md index 3afc936..33c86f1 100644 --- a/docs/Models/Errors/MarkPlayedResponseBody.md +++ b/docs/Models/Errors/MarkPlayedResponseBody.md @@ -1,6 +1,6 @@ # MarkPlayedResponseBody -Unauthorized - Returned if the X-Plex-Token is missing from the header or query. +Bad Request - A parameter was not specified, or was specified incorrectly. ## Fields diff --git a/docs/Models/Errors/MarkUnplayedErrors.md b/docs/Models/Errors/MarkUnplayedErrors.md index 66993f3..1d738dc 100644 --- a/docs/Models/Errors/MarkUnplayedErrors.md +++ b/docs/Models/Errors/MarkUnplayedErrors.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | -| `Code` | *double* | :heavy_minus_sign: | N/A | 1001 | -| `Message` | *string* | :heavy_minus_sign: | N/A | User could not be authenticated | -| `Status` | *double* | :heavy_minus_sign: | N/A | 401 | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | +| `Code` | *long* | :heavy_minus_sign: | N/A | 1000 | +| `Message` | *string* | :heavy_minus_sign: | N/A | X-Plex-Client-Identifier is missing | +| `Status` | *long* | :heavy_minus_sign: | N/A | 400 | \ No newline at end of file diff --git a/docs/Models/Errors/MarkUnplayedMediaErrors.md b/docs/Models/Errors/MarkUnplayedMediaErrors.md new file mode 100644 index 0000000..5bb16df --- /dev/null +++ b/docs/Models/Errors/MarkUnplayedMediaErrors.md @@ -0,0 +1,10 @@ +# MarkUnplayedMediaErrors + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | +| `Code` | *long* | :heavy_minus_sign: | N/A | 1001 | +| `Message` | *string* | :heavy_minus_sign: | N/A | User could not be authenticated | +| `Status` | *long* | :heavy_minus_sign: | N/A | 401 | \ No newline at end of file diff --git a/docs/Models/Errors/MarkUnplayedMediaResponseBody.md b/docs/Models/Errors/MarkUnplayedMediaResponseBody.md new file mode 100644 index 0000000..d9588f3 --- /dev/null +++ b/docs/Models/Errors/MarkUnplayedMediaResponseBody.md @@ -0,0 +1,11 @@ +# MarkUnplayedMediaResponseBody + +Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | +| `Errors` | List<[MarkUnplayedMediaErrors](../../Models/Errors/MarkUnplayedMediaErrors.md)> | :heavy_minus_sign: | N/A | +| `RawResponse` | [HttpResponseMessage](https://learn.microsoft.com/en-us/dotnet/api/system.net.http.httpresponsemessage?view=net-5.0) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing | \ No newline at end of file diff --git a/docs/Models/Errors/MarkUnplayedResponseBody.md b/docs/Models/Errors/MarkUnplayedResponseBody.md index a1e91ca..b854ca8 100644 --- a/docs/Models/Errors/MarkUnplayedResponseBody.md +++ b/docs/Models/Errors/MarkUnplayedResponseBody.md @@ -1,6 +1,6 @@ # MarkUnplayedResponseBody -Unauthorized - Returned if the X-Plex-Token is missing from the header or query. +Bad Request - A parameter was not specified, or was specified incorrectly. ## Fields diff --git a/docs/Models/Errors/PerformSearchErrors.md b/docs/Models/Errors/PerformSearchErrors.md index 6846e65..94928a9 100644 --- a/docs/Models/Errors/PerformSearchErrors.md +++ b/docs/Models/Errors/PerformSearchErrors.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | -| `Code` | *double* | :heavy_minus_sign: | N/A | 1001 | -| `Message` | *string* | :heavy_minus_sign: | N/A | User could not be authenticated | -| `Status` | *double* | :heavy_minus_sign: | N/A | 401 | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | +| `Code` | *long* | :heavy_minus_sign: | N/A | 1000 | +| `Message` | *string* | :heavy_minus_sign: | N/A | X-Plex-Client-Identifier is missing | +| `Status` | *long* | :heavy_minus_sign: | N/A | 400 | \ No newline at end of file diff --git a/docs/Models/Errors/PerformSearchResponseBody.md b/docs/Models/Errors/PerformSearchResponseBody.md index 762d65d..43c6c76 100644 --- a/docs/Models/Errors/PerformSearchResponseBody.md +++ b/docs/Models/Errors/PerformSearchResponseBody.md @@ -1,6 +1,6 @@ # PerformSearchResponseBody -Unauthorized - Returned if the X-Plex-Token is missing from the header or query. +Bad Request - A parameter was not specified, or was specified incorrectly. ## Fields diff --git a/docs/Models/Errors/PerformSearchSearchErrors.md b/docs/Models/Errors/PerformSearchSearchErrors.md new file mode 100644 index 0000000..e3ee94e --- /dev/null +++ b/docs/Models/Errors/PerformSearchSearchErrors.md @@ -0,0 +1,10 @@ +# PerformSearchSearchErrors + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | +| `Code` | *long* | :heavy_minus_sign: | N/A | 1001 | +| `Message` | *string* | :heavy_minus_sign: | N/A | User could not be authenticated | +| `Status` | *long* | :heavy_minus_sign: | N/A | 401 | \ No newline at end of file diff --git a/docs/Models/Errors/PerformSearchSearchResponseBody.md b/docs/Models/Errors/PerformSearchSearchResponseBody.md new file mode 100644 index 0000000..c18680b --- /dev/null +++ b/docs/Models/Errors/PerformSearchSearchResponseBody.md @@ -0,0 +1,11 @@ +# PerformSearchSearchResponseBody + +Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | +| `Errors` | List<[PerformSearchSearchErrors](../../Models/Errors/PerformSearchSearchErrors.md)> | :heavy_minus_sign: | N/A | +| `RawResponse` | [HttpResponseMessage](https://learn.microsoft.com/en-us/dotnet/api/system.net.http.httpresponsemessage?view=net-5.0) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing | \ No newline at end of file diff --git a/docs/Models/Errors/PerformVoiceSearchErrors.md b/docs/Models/Errors/PerformVoiceSearchErrors.md index 4565570..a67819b 100644 --- a/docs/Models/Errors/PerformVoiceSearchErrors.md +++ b/docs/Models/Errors/PerformVoiceSearchErrors.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | -| `Code` | *double* | :heavy_minus_sign: | N/A | 1001 | -| `Message` | *string* | :heavy_minus_sign: | N/A | User could not be authenticated | -| `Status` | *double* | :heavy_minus_sign: | N/A | 401 | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | +| `Code` | *long* | :heavy_minus_sign: | N/A | 1000 | +| `Message` | *string* | :heavy_minus_sign: | N/A | X-Plex-Client-Identifier is missing | +| `Status` | *long* | :heavy_minus_sign: | N/A | 400 | \ No newline at end of file diff --git a/docs/Models/Errors/PerformVoiceSearchResponseBody.md b/docs/Models/Errors/PerformVoiceSearchResponseBody.md index a3440b1..e5125a8 100644 --- a/docs/Models/Errors/PerformVoiceSearchResponseBody.md +++ b/docs/Models/Errors/PerformVoiceSearchResponseBody.md @@ -1,6 +1,6 @@ # PerformVoiceSearchResponseBody -Unauthorized - Returned if the X-Plex-Token is missing from the header or query. +Bad Request - A parameter was not specified, or was specified incorrectly. ## Fields diff --git a/docs/Models/Errors/PerformVoiceSearchSearchErrors.md b/docs/Models/Errors/PerformVoiceSearchSearchErrors.md new file mode 100644 index 0000000..a1b2bae --- /dev/null +++ b/docs/Models/Errors/PerformVoiceSearchSearchErrors.md @@ -0,0 +1,10 @@ +# PerformVoiceSearchSearchErrors + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | +| `Code` | *long* | :heavy_minus_sign: | N/A | 1001 | +| `Message` | *string* | :heavy_minus_sign: | N/A | User could not be authenticated | +| `Status` | *long* | :heavy_minus_sign: | N/A | 401 | \ No newline at end of file diff --git a/docs/Models/Errors/PerformVoiceSearchSearchResponseBody.md b/docs/Models/Errors/PerformVoiceSearchSearchResponseBody.md new file mode 100644 index 0000000..3953a68 --- /dev/null +++ b/docs/Models/Errors/PerformVoiceSearchSearchResponseBody.md @@ -0,0 +1,11 @@ +# PerformVoiceSearchSearchResponseBody + +Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | +| `Errors` | List<[PerformVoiceSearchSearchErrors](../../Models/Errors/PerformVoiceSearchSearchErrors.md)> | :heavy_minus_sign: | N/A | +| `RawResponse` | [HttpResponseMessage](https://learn.microsoft.com/en-us/dotnet/api/system.net.http.httpresponsemessage?view=net-5.0) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing | \ No newline at end of file diff --git a/docs/Models/Errors/PostUsersSignInDataAuthenticationErrors.md b/docs/Models/Errors/PostUsersSignInDataAuthenticationErrors.md new file mode 100644 index 0000000..2fb5327 --- /dev/null +++ b/docs/Models/Errors/PostUsersSignInDataAuthenticationErrors.md @@ -0,0 +1,10 @@ +# PostUsersSignInDataAuthenticationErrors + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | +| `Code` | *long* | :heavy_minus_sign: | N/A | 1001 | +| `Message` | *string* | :heavy_minus_sign: | N/A | User could not be authenticated | +| `Status` | *long* | :heavy_minus_sign: | N/A | 401 | \ No newline at end of file diff --git a/docs/Models/Errors/PostUsersSignInDataAuthenticationResponseBody.md b/docs/Models/Errors/PostUsersSignInDataAuthenticationResponseBody.md new file mode 100644 index 0000000..9c26811 --- /dev/null +++ b/docs/Models/Errors/PostUsersSignInDataAuthenticationResponseBody.md @@ -0,0 +1,11 @@ +# PostUsersSignInDataAuthenticationResponseBody + +Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | +| `Errors` | List<[PostUsersSignInDataAuthenticationErrors](../../Models/Errors/PostUsersSignInDataAuthenticationErrors.md)> | :heavy_minus_sign: | N/A | +| `RawResponse` | [HttpResponseMessage](https://learn.microsoft.com/en-us/dotnet/api/system.net.http.httpresponsemessage?view=net-5.0) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing | \ No newline at end of file diff --git a/docs/Models/Errors/PostUsersSignInDataErrors.md b/docs/Models/Errors/PostUsersSignInDataErrors.md index 4b58b44..1f1b4c8 100644 --- a/docs/Models/Errors/PostUsersSignInDataErrors.md +++ b/docs/Models/Errors/PostUsersSignInDataErrors.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | -| `Code` | *double* | :heavy_minus_sign: | N/A | 1001 | -| `Message` | *string* | :heavy_minus_sign: | N/A | User could not be authenticated | -| `Status` | *double* | :heavy_minus_sign: | N/A | 401 | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | +| `Code` | *long* | :heavy_minus_sign: | N/A | 1000 | +| `Message` | *string* | :heavy_minus_sign: | N/A | X-Plex-Client-Identifier is missing | +| `Status` | *long* | :heavy_minus_sign: | N/A | 400 | \ No newline at end of file diff --git a/docs/Models/Errors/PostUsersSignInDataResponseBody.md b/docs/Models/Errors/PostUsersSignInDataResponseBody.md index a8942e7..793f70b 100644 --- a/docs/Models/Errors/PostUsersSignInDataResponseBody.md +++ b/docs/Models/Errors/PostUsersSignInDataResponseBody.md @@ -1,6 +1,6 @@ # PostUsersSignInDataResponseBody -Unauthorized - Returned if the X-Plex-Token is missing from the header or query. +Bad Request - A parameter was not specified, or was specified incorrectly. ## Fields diff --git a/docs/Models/Errors/StartAllTasksButlerErrors.md b/docs/Models/Errors/StartAllTasksButlerErrors.md new file mode 100644 index 0000000..348fcc7 --- /dev/null +++ b/docs/Models/Errors/StartAllTasksButlerErrors.md @@ -0,0 +1,10 @@ +# StartAllTasksButlerErrors + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | +| `Code` | *long* | :heavy_minus_sign: | N/A | 1001 | +| `Message` | *string* | :heavy_minus_sign: | N/A | User could not be authenticated | +| `Status` | *long* | :heavy_minus_sign: | N/A | 401 | \ No newline at end of file diff --git a/docs/Models/Errors/StartAllTasksButlerResponseBody.md b/docs/Models/Errors/StartAllTasksButlerResponseBody.md new file mode 100644 index 0000000..0db0b62 --- /dev/null +++ b/docs/Models/Errors/StartAllTasksButlerResponseBody.md @@ -0,0 +1,11 @@ +# StartAllTasksButlerResponseBody + +Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | +| `Errors` | List<[StartAllTasksButlerErrors](../../Models/Errors/StartAllTasksButlerErrors.md)> | :heavy_minus_sign: | N/A | +| `RawResponse` | [HttpResponseMessage](https://learn.microsoft.com/en-us/dotnet/api/system.net.http.httpresponsemessage?view=net-5.0) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing | \ No newline at end of file diff --git a/docs/Models/Errors/StartAllTasksErrors.md b/docs/Models/Errors/StartAllTasksErrors.md index ae17da8..3f6157d 100644 --- a/docs/Models/Errors/StartAllTasksErrors.md +++ b/docs/Models/Errors/StartAllTasksErrors.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | -| `Code` | *double* | :heavy_minus_sign: | N/A | 1001 | -| `Message` | *string* | :heavy_minus_sign: | N/A | User could not be authenticated | -| `Status` | *double* | :heavy_minus_sign: | N/A | 401 | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | +| `Code` | *long* | :heavy_minus_sign: | N/A | 1000 | +| `Message` | *string* | :heavy_minus_sign: | N/A | X-Plex-Client-Identifier is missing | +| `Status` | *long* | :heavy_minus_sign: | N/A | 400 | \ No newline at end of file diff --git a/docs/Models/Errors/StartAllTasksResponseBody.md b/docs/Models/Errors/StartAllTasksResponseBody.md index 4000f9c..fc76c77 100644 --- a/docs/Models/Errors/StartAllTasksResponseBody.md +++ b/docs/Models/Errors/StartAllTasksResponseBody.md @@ -1,6 +1,6 @@ # StartAllTasksResponseBody -Unauthorized - Returned if the X-Plex-Token is missing from the header or query. +Bad Request - A parameter was not specified, or was specified incorrectly. ## Fields diff --git a/docs/Models/Errors/StartTaskButlerErrors.md b/docs/Models/Errors/StartTaskButlerErrors.md new file mode 100644 index 0000000..e3192b1 --- /dev/null +++ b/docs/Models/Errors/StartTaskButlerErrors.md @@ -0,0 +1,10 @@ +# StartTaskButlerErrors + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | +| `Code` | *long* | :heavy_minus_sign: | N/A | 1001 | +| `Message` | *string* | :heavy_minus_sign: | N/A | User could not be authenticated | +| `Status` | *long* | :heavy_minus_sign: | N/A | 401 | \ No newline at end of file diff --git a/docs/Models/Errors/StartTaskButlerResponseBody.md b/docs/Models/Errors/StartTaskButlerResponseBody.md new file mode 100644 index 0000000..cd31fc2 --- /dev/null +++ b/docs/Models/Errors/StartTaskButlerResponseBody.md @@ -0,0 +1,11 @@ +# StartTaskButlerResponseBody + +Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | +| `Errors` | List<[StartTaskButlerErrors](../../Models/Errors/StartTaskButlerErrors.md)> | :heavy_minus_sign: | N/A | +| `RawResponse` | [HttpResponseMessage](https://learn.microsoft.com/en-us/dotnet/api/system.net.http.httpresponsemessage?view=net-5.0) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing | \ No newline at end of file diff --git a/docs/Models/Errors/StartTaskErrors.md b/docs/Models/Errors/StartTaskErrors.md index 79672cd..4005670 100644 --- a/docs/Models/Errors/StartTaskErrors.md +++ b/docs/Models/Errors/StartTaskErrors.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | -| `Code` | *double* | :heavy_minus_sign: | N/A | 1001 | -| `Message` | *string* | :heavy_minus_sign: | N/A | User could not be authenticated | -| `Status` | *double* | :heavy_minus_sign: | N/A | 401 | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | +| `Code` | *long* | :heavy_minus_sign: | N/A | 1000 | +| `Message` | *string* | :heavy_minus_sign: | N/A | X-Plex-Client-Identifier is missing | +| `Status` | *long* | :heavy_minus_sign: | N/A | 400 | \ No newline at end of file diff --git a/docs/Models/Errors/StartTaskResponseBody.md b/docs/Models/Errors/StartTaskResponseBody.md index 87c8e48..376f3b0 100644 --- a/docs/Models/Errors/StartTaskResponseBody.md +++ b/docs/Models/Errors/StartTaskResponseBody.md @@ -1,6 +1,6 @@ # StartTaskResponseBody -Unauthorized - Returned if the X-Plex-Token is missing from the header or query. +Bad Request - A parameter was not specified, or was specified incorrectly. ## Fields diff --git a/docs/Models/Errors/StartUniversalTranscodeErrors.md b/docs/Models/Errors/StartUniversalTranscodeErrors.md index 74bbd08..01cf2dc 100644 --- a/docs/Models/Errors/StartUniversalTranscodeErrors.md +++ b/docs/Models/Errors/StartUniversalTranscodeErrors.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | -| `Code` | *double* | :heavy_minus_sign: | N/A | 1001 | -| `Message` | *string* | :heavy_minus_sign: | N/A | User could not be authenticated | -| `Status` | *double* | :heavy_minus_sign: | N/A | 401 | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | +| `Code` | *long* | :heavy_minus_sign: | N/A | 1000 | +| `Message` | *string* | :heavy_minus_sign: | N/A | X-Plex-Client-Identifier is missing | +| `Status` | *long* | :heavy_minus_sign: | N/A | 400 | \ No newline at end of file diff --git a/docs/Models/Errors/StartUniversalTranscodeResponseBody.md b/docs/Models/Errors/StartUniversalTranscodeResponseBody.md index b7c69aa..e6bdd18 100644 --- a/docs/Models/Errors/StartUniversalTranscodeResponseBody.md +++ b/docs/Models/Errors/StartUniversalTranscodeResponseBody.md @@ -1,6 +1,6 @@ # StartUniversalTranscodeResponseBody -Unauthorized - Returned if the X-Plex-Token is missing from the header or query. +Bad Request - A parameter was not specified, or was specified incorrectly. ## Fields diff --git a/docs/Models/Errors/StartUniversalTranscodeVideoErrors.md b/docs/Models/Errors/StartUniversalTranscodeVideoErrors.md new file mode 100644 index 0000000..f568db3 --- /dev/null +++ b/docs/Models/Errors/StartUniversalTranscodeVideoErrors.md @@ -0,0 +1,10 @@ +# StartUniversalTranscodeVideoErrors + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | +| `Code` | *long* | :heavy_minus_sign: | N/A | 1001 | +| `Message` | *string* | :heavy_minus_sign: | N/A | User could not be authenticated | +| `Status` | *long* | :heavy_minus_sign: | N/A | 401 | \ No newline at end of file diff --git a/docs/Models/Errors/StartUniversalTranscodeVideoResponseBody.md b/docs/Models/Errors/StartUniversalTranscodeVideoResponseBody.md new file mode 100644 index 0000000..28679eb --- /dev/null +++ b/docs/Models/Errors/StartUniversalTranscodeVideoResponseBody.md @@ -0,0 +1,11 @@ +# StartUniversalTranscodeVideoResponseBody + +Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | +| `Errors` | List<[StartUniversalTranscodeVideoErrors](../../Models/Errors/StartUniversalTranscodeVideoErrors.md)> | :heavy_minus_sign: | N/A | +| `RawResponse` | [HttpResponseMessage](https://learn.microsoft.com/en-us/dotnet/api/system.net.http.httpresponsemessage?view=net-5.0) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing | \ No newline at end of file diff --git a/docs/Models/Errors/StopAllTasksButlerErrors.md b/docs/Models/Errors/StopAllTasksButlerErrors.md new file mode 100644 index 0000000..7b038ad --- /dev/null +++ b/docs/Models/Errors/StopAllTasksButlerErrors.md @@ -0,0 +1,10 @@ +# StopAllTasksButlerErrors + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | +| `Code` | *long* | :heavy_minus_sign: | N/A | 1001 | +| `Message` | *string* | :heavy_minus_sign: | N/A | User could not be authenticated | +| `Status` | *long* | :heavy_minus_sign: | N/A | 401 | \ No newline at end of file diff --git a/docs/Models/Errors/StopAllTasksButlerResponseBody.md b/docs/Models/Errors/StopAllTasksButlerResponseBody.md new file mode 100644 index 0000000..c9046c4 --- /dev/null +++ b/docs/Models/Errors/StopAllTasksButlerResponseBody.md @@ -0,0 +1,11 @@ +# StopAllTasksButlerResponseBody + +Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | +| `Errors` | List<[StopAllTasksButlerErrors](../../Models/Errors/StopAllTasksButlerErrors.md)> | :heavy_minus_sign: | N/A | +| `RawResponse` | [HttpResponseMessage](https://learn.microsoft.com/en-us/dotnet/api/system.net.http.httpresponsemessage?view=net-5.0) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing | \ No newline at end of file diff --git a/docs/Models/Errors/StopAllTasksErrors.md b/docs/Models/Errors/StopAllTasksErrors.md index 05da726..0f30bec 100644 --- a/docs/Models/Errors/StopAllTasksErrors.md +++ b/docs/Models/Errors/StopAllTasksErrors.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | -| `Code` | *double* | :heavy_minus_sign: | N/A | 1001 | -| `Message` | *string* | :heavy_minus_sign: | N/A | User could not be authenticated | -| `Status` | *double* | :heavy_minus_sign: | N/A | 401 | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | +| `Code` | *long* | :heavy_minus_sign: | N/A | 1000 | +| `Message` | *string* | :heavy_minus_sign: | N/A | X-Plex-Client-Identifier is missing | +| `Status` | *long* | :heavy_minus_sign: | N/A | 400 | \ No newline at end of file diff --git a/docs/Models/Errors/StopAllTasksResponseBody.md b/docs/Models/Errors/StopAllTasksResponseBody.md index 9a5230b..4fd2a79 100644 --- a/docs/Models/Errors/StopAllTasksResponseBody.md +++ b/docs/Models/Errors/StopAllTasksResponseBody.md @@ -1,6 +1,6 @@ # StopAllTasksResponseBody -Unauthorized - Returned if the X-Plex-Token is missing from the header or query. +Bad Request - A parameter was not specified, or was specified incorrectly. ## Fields diff --git a/docs/Models/Errors/StopTaskButlerErrors.md b/docs/Models/Errors/StopTaskButlerErrors.md new file mode 100644 index 0000000..45465fb --- /dev/null +++ b/docs/Models/Errors/StopTaskButlerErrors.md @@ -0,0 +1,10 @@ +# StopTaskButlerErrors + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | +| `Code` | *long* | :heavy_minus_sign: | N/A | 1001 | +| `Message` | *string* | :heavy_minus_sign: | N/A | User could not be authenticated | +| `Status` | *long* | :heavy_minus_sign: | N/A | 401 | \ No newline at end of file diff --git a/docs/Models/Errors/StopTaskButlerResponseBody.md b/docs/Models/Errors/StopTaskButlerResponseBody.md new file mode 100644 index 0000000..6859661 --- /dev/null +++ b/docs/Models/Errors/StopTaskButlerResponseBody.md @@ -0,0 +1,11 @@ +# StopTaskButlerResponseBody + +Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | +| `Errors` | List<[StopTaskButlerErrors](../../Models/Errors/StopTaskButlerErrors.md)> | :heavy_minus_sign: | N/A | +| `RawResponse` | [HttpResponseMessage](https://learn.microsoft.com/en-us/dotnet/api/system.net.http.httpresponsemessage?view=net-5.0) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing | \ No newline at end of file diff --git a/docs/Models/Errors/StopTaskErrors.md b/docs/Models/Errors/StopTaskErrors.md index d589f9d..2050be3 100644 --- a/docs/Models/Errors/StopTaskErrors.md +++ b/docs/Models/Errors/StopTaskErrors.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | -| `Code` | *double* | :heavy_minus_sign: | N/A | 1001 | -| `Message` | *string* | :heavy_minus_sign: | N/A | User could not be authenticated | -| `Status` | *double* | :heavy_minus_sign: | N/A | 401 | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | +| `Code` | *long* | :heavy_minus_sign: | N/A | 1000 | +| `Message` | *string* | :heavy_minus_sign: | N/A | X-Plex-Client-Identifier is missing | +| `Status` | *long* | :heavy_minus_sign: | N/A | 400 | \ No newline at end of file diff --git a/docs/Models/Errors/StopTaskResponseBody.md b/docs/Models/Errors/StopTaskResponseBody.md index 20b4aa9..6441e61 100644 --- a/docs/Models/Errors/StopTaskResponseBody.md +++ b/docs/Models/Errors/StopTaskResponseBody.md @@ -1,6 +1,6 @@ # StopTaskResponseBody -Unauthorized - Returned if the X-Plex-Token is missing from the header or query. +Bad Request - A parameter was not specified, or was specified incorrectly. ## Fields diff --git a/docs/Models/Errors/StopTranscodeSessionErrors.md b/docs/Models/Errors/StopTranscodeSessionErrors.md index 2ed901d..f2d5915 100644 --- a/docs/Models/Errors/StopTranscodeSessionErrors.md +++ b/docs/Models/Errors/StopTranscodeSessionErrors.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | -| `Code` | *double* | :heavy_minus_sign: | N/A | 1001 | -| `Message` | *string* | :heavy_minus_sign: | N/A | User could not be authenticated | -| `Status` | *double* | :heavy_minus_sign: | N/A | 401 | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | +| `Code` | *long* | :heavy_minus_sign: | N/A | 1000 | +| `Message` | *string* | :heavy_minus_sign: | N/A | X-Plex-Client-Identifier is missing | +| `Status` | *long* | :heavy_minus_sign: | N/A | 400 | \ No newline at end of file diff --git a/docs/Models/Errors/StopTranscodeSessionResponseBody.md b/docs/Models/Errors/StopTranscodeSessionResponseBody.md index 2451f8a..de41144 100644 --- a/docs/Models/Errors/StopTranscodeSessionResponseBody.md +++ b/docs/Models/Errors/StopTranscodeSessionResponseBody.md @@ -1,6 +1,6 @@ # StopTranscodeSessionResponseBody -Unauthorized - Returned if the X-Plex-Token is missing from the header or query. +Bad Request - A parameter was not specified, or was specified incorrectly. ## Fields diff --git a/docs/Models/Errors/StopTranscodeSessionSessionsErrors.md b/docs/Models/Errors/StopTranscodeSessionSessionsErrors.md new file mode 100644 index 0000000..7f4dc55 --- /dev/null +++ b/docs/Models/Errors/StopTranscodeSessionSessionsErrors.md @@ -0,0 +1,10 @@ +# StopTranscodeSessionSessionsErrors + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | +| `Code` | *long* | :heavy_minus_sign: | N/A | 1001 | +| `Message` | *string* | :heavy_minus_sign: | N/A | User could not be authenticated | +| `Status` | *long* | :heavy_minus_sign: | N/A | 401 | \ No newline at end of file diff --git a/docs/Models/Errors/StopTranscodeSessionSessionsResponseBody.md b/docs/Models/Errors/StopTranscodeSessionSessionsResponseBody.md new file mode 100644 index 0000000..cddb3b5 --- /dev/null +++ b/docs/Models/Errors/StopTranscodeSessionSessionsResponseBody.md @@ -0,0 +1,11 @@ +# StopTranscodeSessionSessionsResponseBody + +Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | +| `Errors` | List<[StopTranscodeSessionSessionsErrors](../../Models/Errors/StopTranscodeSessionSessionsErrors.md)> | :heavy_minus_sign: | N/A | +| `RawResponse` | [HttpResponseMessage](https://learn.microsoft.com/en-us/dotnet/api/system.net.http.httpresponsemessage?view=net-5.0) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing | \ No newline at end of file diff --git a/docs/Models/Errors/UpdatePlayProgressErrors.md b/docs/Models/Errors/UpdatePlayProgressErrors.md index 88c984d..922ffbb 100644 --- a/docs/Models/Errors/UpdatePlayProgressErrors.md +++ b/docs/Models/Errors/UpdatePlayProgressErrors.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | -| `Code` | *double* | :heavy_minus_sign: | N/A | 1001 | -| `Message` | *string* | :heavy_minus_sign: | N/A | User could not be authenticated | -| `Status` | *double* | :heavy_minus_sign: | N/A | 401 | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | +| `Code` | *long* | :heavy_minus_sign: | N/A | 1000 | +| `Message` | *string* | :heavy_minus_sign: | N/A | X-Plex-Client-Identifier is missing | +| `Status` | *long* | :heavy_minus_sign: | N/A | 400 | \ No newline at end of file diff --git a/docs/Models/Errors/UpdatePlayProgressMediaErrors.md b/docs/Models/Errors/UpdatePlayProgressMediaErrors.md new file mode 100644 index 0000000..5564e4b --- /dev/null +++ b/docs/Models/Errors/UpdatePlayProgressMediaErrors.md @@ -0,0 +1,10 @@ +# UpdatePlayProgressMediaErrors + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | +| `Code` | *long* | :heavy_minus_sign: | N/A | 1001 | +| `Message` | *string* | :heavy_minus_sign: | N/A | User could not be authenticated | +| `Status` | *long* | :heavy_minus_sign: | N/A | 401 | \ No newline at end of file diff --git a/docs/Models/Errors/UpdatePlayProgressMediaResponseBody.md b/docs/Models/Errors/UpdatePlayProgressMediaResponseBody.md new file mode 100644 index 0000000..f4889f8 --- /dev/null +++ b/docs/Models/Errors/UpdatePlayProgressMediaResponseBody.md @@ -0,0 +1,11 @@ +# UpdatePlayProgressMediaResponseBody + +Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | +| `Errors` | List<[UpdatePlayProgressMediaErrors](../../Models/Errors/UpdatePlayProgressMediaErrors.md)> | :heavy_minus_sign: | N/A | +| `RawResponse` | [HttpResponseMessage](https://learn.microsoft.com/en-us/dotnet/api/system.net.http.httpresponsemessage?view=net-5.0) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing | \ No newline at end of file diff --git a/docs/Models/Errors/UpdatePlayProgressResponseBody.md b/docs/Models/Errors/UpdatePlayProgressResponseBody.md index 1298d4b..69e124e 100644 --- a/docs/Models/Errors/UpdatePlayProgressResponseBody.md +++ b/docs/Models/Errors/UpdatePlayProgressResponseBody.md @@ -1,6 +1,6 @@ # UpdatePlayProgressResponseBody -Unauthorized - Returned if the X-Plex-Token is missing from the header or query. +Bad Request - A parameter was not specified, or was specified incorrectly. ## Fields diff --git a/docs/Models/Errors/UpdatePlaylistErrors.md b/docs/Models/Errors/UpdatePlaylistErrors.md index ffd9a42..58e6676 100644 --- a/docs/Models/Errors/UpdatePlaylistErrors.md +++ b/docs/Models/Errors/UpdatePlaylistErrors.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | -| `Code` | *double* | :heavy_minus_sign: | N/A | 1001 | -| `Message` | *string* | :heavy_minus_sign: | N/A | User could not be authenticated | -| `Status` | *double* | :heavy_minus_sign: | N/A | 401 | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | +| `Code` | *long* | :heavy_minus_sign: | N/A | 1000 | +| `Message` | *string* | :heavy_minus_sign: | N/A | X-Plex-Client-Identifier is missing | +| `Status` | *long* | :heavy_minus_sign: | N/A | 400 | \ No newline at end of file diff --git a/docs/Models/Errors/UpdatePlaylistPlaylistsErrors.md b/docs/Models/Errors/UpdatePlaylistPlaylistsErrors.md new file mode 100644 index 0000000..78f09a8 --- /dev/null +++ b/docs/Models/Errors/UpdatePlaylistPlaylistsErrors.md @@ -0,0 +1,10 @@ +# UpdatePlaylistPlaylistsErrors + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | +| `Code` | *long* | :heavy_minus_sign: | N/A | 1001 | +| `Message` | *string* | :heavy_minus_sign: | N/A | User could not be authenticated | +| `Status` | *long* | :heavy_minus_sign: | N/A | 401 | \ No newline at end of file diff --git a/docs/Models/Errors/UpdatePlaylistPlaylistsResponseBody.md b/docs/Models/Errors/UpdatePlaylistPlaylistsResponseBody.md new file mode 100644 index 0000000..c689afd --- /dev/null +++ b/docs/Models/Errors/UpdatePlaylistPlaylistsResponseBody.md @@ -0,0 +1,11 @@ +# UpdatePlaylistPlaylistsResponseBody + +Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | +| `Errors` | List<[UpdatePlaylistPlaylistsErrors](../../Models/Errors/UpdatePlaylistPlaylistsErrors.md)> | :heavy_minus_sign: | N/A | +| `RawResponse` | [HttpResponseMessage](https://learn.microsoft.com/en-us/dotnet/api/system.net.http.httpresponsemessage?view=net-5.0) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing | \ No newline at end of file diff --git a/docs/Models/Errors/UpdatePlaylistResponseBody.md b/docs/Models/Errors/UpdatePlaylistResponseBody.md index bcb17df..d38f1ec 100644 --- a/docs/Models/Errors/UpdatePlaylistResponseBody.md +++ b/docs/Models/Errors/UpdatePlaylistResponseBody.md @@ -1,6 +1,6 @@ # UpdatePlaylistResponseBody -Unauthorized - Returned if the X-Plex-Token is missing from the header or query. +Bad Request - A parameter was not specified, or was specified incorrectly. ## Fields diff --git a/docs/Models/Errors/UploadPlaylistErrors.md b/docs/Models/Errors/UploadPlaylistErrors.md index 0d9ae04..8ee51b7 100644 --- a/docs/Models/Errors/UploadPlaylistErrors.md +++ b/docs/Models/Errors/UploadPlaylistErrors.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | -| `Code` | *double* | :heavy_minus_sign: | N/A | 1001 | -| `Message` | *string* | :heavy_minus_sign: | N/A | User could not be authenticated | -| `Status` | *double* | :heavy_minus_sign: | N/A | 401 | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | +| `Code` | *long* | :heavy_minus_sign: | N/A | 1000 | +| `Message` | *string* | :heavy_minus_sign: | N/A | X-Plex-Client-Identifier is missing | +| `Status` | *long* | :heavy_minus_sign: | N/A | 400 | \ No newline at end of file diff --git a/docs/Models/Errors/UploadPlaylistPlaylistsErrors.md b/docs/Models/Errors/UploadPlaylistPlaylistsErrors.md new file mode 100644 index 0000000..c4db812 --- /dev/null +++ b/docs/Models/Errors/UploadPlaylistPlaylistsErrors.md @@ -0,0 +1,10 @@ +# UploadPlaylistPlaylistsErrors + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | +| `Code` | *long* | :heavy_minus_sign: | N/A | 1001 | +| `Message` | *string* | :heavy_minus_sign: | N/A | User could not be authenticated | +| `Status` | *long* | :heavy_minus_sign: | N/A | 401 | \ No newline at end of file diff --git a/docs/Models/Errors/UploadPlaylistPlaylistsResponseBody.md b/docs/Models/Errors/UploadPlaylistPlaylistsResponseBody.md new file mode 100644 index 0000000..80147d4 --- /dev/null +++ b/docs/Models/Errors/UploadPlaylistPlaylistsResponseBody.md @@ -0,0 +1,11 @@ +# UploadPlaylistPlaylistsResponseBody + +Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | +| `Errors` | List<[UploadPlaylistPlaylistsErrors](../../Models/Errors/UploadPlaylistPlaylistsErrors.md)> | :heavy_minus_sign: | N/A | +| `RawResponse` | [HttpResponseMessage](https://learn.microsoft.com/en-us/dotnet/api/system.net.http.httpresponsemessage?view=net-5.0) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing | \ No newline at end of file diff --git a/docs/Models/Errors/UploadPlaylistResponseBody.md b/docs/Models/Errors/UploadPlaylistResponseBody.md index 62bd349..11b7056 100644 --- a/docs/Models/Errors/UploadPlaylistResponseBody.md +++ b/docs/Models/Errors/UploadPlaylistResponseBody.md @@ -1,6 +1,6 @@ # UploadPlaylistResponseBody -Unauthorized - Returned if the X-Plex-Token is missing from the header or query. +Bad Request - A parameter was not specified, or was specified incorrectly. ## Fields diff --git a/docs/Models/Requests/GetAllLibrariesDirectory.md b/docs/Models/Requests/GetAllLibrariesDirectory.md index 8699177..f02234a 100644 --- a/docs/Models/Requests/GetAllLibrariesDirectory.md +++ b/docs/Models/Requests/GetAllLibrariesDirectory.md @@ -18,9 +18,9 @@ | `Scanner` | *string* | :heavy_minus_sign: | N/A | Plex Movie | | `Language` | *string* | :heavy_minus_sign: | N/A | en-US | | `Uuid` | *string* | :heavy_minus_sign: | N/A | 322a231a-b7f7-49f5-920f-14c61199cd30 | -| `UpdatedAt` | *int* | :heavy_minus_sign: | Unix epoch datetime | 1556281940 | -| `CreatedAt` | *int* | :heavy_minus_sign: | Unix epoch datetime | 1556281940 | -| `ScannedAt` | *int* | :heavy_minus_sign: | Unix epoch datetime | 1556281940 | +| `UpdatedAt` | *long* | :heavy_minus_sign: | Unix epoch datetime | 1556281940 | +| `CreatedAt` | *long* | :heavy_minus_sign: | Unix epoch datetime | 1556281940 | +| `ScannedAt` | *long* | :heavy_minus_sign: | Unix epoch datetime | 1556281940 | | `Content` | *bool* | :heavy_minus_sign: | N/A | true | | `Directory` | *bool* | :heavy_minus_sign: | N/A | true | | `ContentChangedAt` | *int* | :heavy_minus_sign: | N/A | 3192854 | diff --git a/docs/Models/Requests/GetUserDetailsUserPlexAccount.md b/docs/Models/Requests/GetUserDetailsUserPlexAccount.md index 9ce1afe..6460aa1 100644 --- a/docs/Models/Requests/GetUserDetailsUserPlexAccount.md +++ b/docs/Models/Requests/GetUserDetailsUserPlexAccount.md @@ -26,7 +26,7 @@ Logged in user details | `HomeAdmin` | *bool* | :heavy_minus_sign: | If the account is the Plex Home admin | | | `HomeSize` | *int* | :heavy_check_mark: | The number of accounts in the Plex Home | 1 | | `Id` | *int* | :heavy_check_mark: | The Plex account ID | 13692262 | -| `JoinedAt` | *int* | :heavy_check_mark: | Unix epoch datetime the account joined Plex | 1721154902 | +| `JoinedAt` | *long* | :heavy_check_mark: | Unix epoch datetime | 1556281940 | | `Locale` | *string* | :heavy_check_mark: | The account locale | | | `MailingListActive` | *bool* | :heavy_minus_sign: | If you are subscribed to the Plex newsletter | | | `MailingListStatus` | [MailingListStatus](../../Models/Requests/MailingListStatus.md) | :heavy_check_mark: | Your current mailing list status | | @@ -34,7 +34,7 @@ Logged in user details | ~~`Pin`~~ | *string* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

[Might be removed] The hashed Plex Home PIN | | | `Profile` | [UserProfile](../../Models/Requests/UserProfile.md) | :heavy_check_mark: | N/A | | | `Protected` | *bool* | :heavy_minus_sign: | If the account has a Plex Home PIN enabled | | -| `RememberExpiresAt` | *int* | :heavy_check_mark: | Unix epoch datetime the authtoken expires | 1722364046 | +| `RememberExpiresAt` | *long* | :heavy_check_mark: | Unix epoch datetime | 1556281940 | | `Restricted` | *bool* | :heavy_minus_sign: | If the account is a Plex Home managed user | | | `Roles` | List<*string*> | :heavy_minus_sign: | [Might be removed] List of account roles. Plexpass membership listed here | | | `ScrobbleTypes` | *string* | :heavy_check_mark: | Unknown | | diff --git a/docs/Models/Requests/PastSubscription.md b/docs/Models/Requests/PastSubscription.md index b45a26e..07fa2c4 100644 --- a/docs/Models/Requests/PastSubscription.md +++ b/docs/Models/Requests/PastSubscription.md @@ -7,8 +7,8 @@ | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | | `Id` | *string* | :heavy_check_mark: | N/A | | | `Mode` | *string* | :heavy_check_mark: | N/A | | -| `RenewsAt` | *int* | :heavy_check_mark: | N/A | 1556281940 | -| `EndsAt` | *int* | :heavy_check_mark: | N/A | 1556281940 | +| `RenewsAt` | *long* | :heavy_check_mark: | N/A | 1556281940 | +| `EndsAt` | *long* | :heavy_check_mark: | N/A | 1556281940 | | `Canceled` | *bool* | :heavy_minus_sign: | N/A | false | | `GracePeriod` | *bool* | :heavy_minus_sign: | N/A | false | | `OnHold` | *bool* | :heavy_minus_sign: | N/A | false | diff --git a/docs/Models/Requests/PostUsersSignInDataRequestBody.md b/docs/Models/Requests/PostUsersSignInDataRequestBody.md index 49fad9f..cc21d2d 100644 --- a/docs/Models/Requests/PostUsersSignInDataRequestBody.md +++ b/docs/Models/Requests/PostUsersSignInDataRequestBody.md @@ -9,4 +9,5 @@ Login credentials | ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | | `Login` | *string* | :heavy_check_mark: | N/A | username@email.com | | `Password` | *string* | :heavy_check_mark: | N/A | password123 | -| `RememberMe` | *bool* | :heavy_minus_sign: | N/A | | \ No newline at end of file +| `RememberMe` | *bool* | :heavy_minus_sign: | N/A | | +| `VerificationCode` | *string* | :heavy_minus_sign: | N/A | 123456 | \ No newline at end of file diff --git a/docs/Models/Requests/PostUsersSignInDataUserPlexAccount.md b/docs/Models/Requests/PostUsersSignInDataUserPlexAccount.md index 77fa5fd..8fa3f40 100644 --- a/docs/Models/Requests/PostUsersSignInDataUserPlexAccount.md +++ b/docs/Models/Requests/PostUsersSignInDataUserPlexAccount.md @@ -26,7 +26,7 @@ Returns the user account data with a valid auth token | `HomeAdmin` | *bool* | :heavy_minus_sign: | If the account is the Plex Home admin | | | `HomeSize` | *int* | :heavy_check_mark: | The number of accounts in the Plex Home | 1 | | `Id` | *int* | :heavy_check_mark: | The Plex account ID | 13692262 | -| `JoinedAt` | *int* | :heavy_check_mark: | Unix epoch datetime the account joined Plex | 1721154902 | +| `JoinedAt` | *long* | :heavy_check_mark: | Unix epoch datetime | 1556281940 | | `Locale` | *string* | :heavy_check_mark: | The account locale | | | `MailingListActive` | *bool* | :heavy_minus_sign: | If you are subscribed to the Plex newsletter | | | `MailingListStatus` | [PostUsersSignInDataMailingListStatus](../../Models/Requests/PostUsersSignInDataMailingListStatus.md) | :heavy_check_mark: | Your current mailing list status | | @@ -34,7 +34,7 @@ Returns the user account data with a valid auth token | ~~`Pin`~~ | *string* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

[Might be removed] The hashed Plex Home PIN | | | `Profile` | [PostUsersSignInDataUserProfile](../../Models/Requests/PostUsersSignInDataUserProfile.md) | :heavy_check_mark: | N/A | | | `Protected` | *bool* | :heavy_minus_sign: | If the account has a Plex Home PIN enabled | | -| `RememberExpiresAt` | *int* | :heavy_check_mark: | Unix epoch datetime the authtoken expires | 1722364046 | +| `RememberExpiresAt` | *long* | :heavy_check_mark: | Unix epoch datetime | 1556281940 | | `Restricted` | *bool* | :heavy_minus_sign: | If the account is a Plex Home managed user | | | `Roles` | List<*string*> | :heavy_minus_sign: | [Might be removed] List of account roles. Plexpass membership listed here | | | `ScrobbleTypes` | *string* | :heavy_check_mark: | Unknown | | diff --git a/docs/sdks/activities/README.md b/docs/sdks/activities/README.md index cca1352..ff74f4e 100644 --- a/docs/sdks/activities/README.md +++ b/docs/sdks/activities/README.md @@ -43,10 +43,11 @@ var res = await sdk.Activities.GetServerActivitiesAsync(); ### Errors -| Error Object | Status Code | Content Type | -| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | -| LukeHagar.PlexAPI.SDK.Models.Errors.GetServerActivitiesResponseBody | 401 | application/json | -| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | +| Error Object | Status Code | Content Type | +| ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | +| LukeHagar.PlexAPI.SDK.Models.Errors.GetServerActivitiesResponseBody | 400 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.GetServerActivitiesActivitiesResponseBody | 401 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | ## CancelServerActivities @@ -82,7 +83,8 @@ var res = await sdk.Activities.CancelServerActivitiesAsync(activityUUID: "25b71e ### Errors -| Error Object | Status Code | Content Type | -| ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | -| LukeHagar.PlexAPI.SDK.Models.Errors.CancelServerActivitiesResponseBody | 401 | application/json | -| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | +| Error Object | Status Code | Content Type | +| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | +| LukeHagar.PlexAPI.SDK.Models.Errors.CancelServerActivitiesResponseBody | 400 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.CancelServerActivitiesActivitiesResponseBody | 401 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | diff --git a/docs/sdks/authentication/README.md b/docs/sdks/authentication/README.md index 61d03af..a88f828 100644 --- a/docs/sdks/authentication/README.md +++ b/docs/sdks/authentication/README.md @@ -11,7 +11,7 @@ API Calls regarding authentication for Plex Media Server * [GetTransientToken](#gettransienttoken) - Get a Transient Token. * [GetSourceConnectionInformation](#getsourceconnectioninformation) - Get Source Connection Information * [GetUserDetails](#getuserdetails) - Get User Data By Token -* [PostUsersSignInData](#postuserssignindata) - Get User SignIn Data +* [PostUsersSignInData](#postuserssignindata) - Get User Sign In Data ## GetTransientToken @@ -51,10 +51,11 @@ var res = await sdk.Authentication.GetTransientTokenAsync( ### Errors -| Error Object | Status Code | Content Type | -| ----------------------------------------------------------------- | ----------------------------------------------------------------- | ----------------------------------------------------------------- | -| LukeHagar.PlexAPI.SDK.Models.Errors.GetTransientTokenResponseBody | 401 | application/json | -| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | +| Error Object | Status Code | Content Type | +| ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | +| LukeHagar.PlexAPI.SDK.Models.Errors.GetTransientTokenResponseBody | 400 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.GetTransientTokenAuthenticationResponseBody | 401 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | ## GetSourceConnectionInformation @@ -92,10 +93,11 @@ var res = await sdk.Authentication.GetSourceConnectionInformationAsync(source: " ### Errors -| Error Object | Status Code | Content Type | -| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | -| LukeHagar.PlexAPI.SDK.Models.Errors.GetSourceConnectionInformationResponseBody | 401 | application/json | -| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | +| Error Object | Status Code | Content Type | +| -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | +| LukeHagar.PlexAPI.SDK.Models.Errors.GetSourceConnectionInformationResponseBody | 400 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.GetSourceConnectionInformationAuthenticationResponseBody | 401 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | ## GetUserDetails @@ -132,10 +134,11 @@ var res = await sdk.Authentication.GetUserDetailsAsync(xPlexToken: "CV5xoxjTpFKU ### Errors -| Error Object | Status Code | Content Type | -| -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | -| LukeHagar.PlexAPI.SDK.Models.Errors.GetUserDetailsResponseBody | 401 | application/json | -| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | +| Error Object | Status Code | Content Type | +| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | +| LukeHagar.PlexAPI.SDK.Models.Errors.GetUserDetailsResponseBody | 400 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.GetUserDetailsAuthenticationResponseBody | 401 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | ## PostUsersSignInData @@ -156,6 +159,7 @@ var res = await sdk.Authentication.PostUsersSignInDataAsync( requestBody: new PostUsersSignInDataRequestBody() { Login = "username@email.com", Password = "password123", + VerificationCode = "123456", } ); @@ -176,7 +180,8 @@ var res = await sdk.Authentication.PostUsersSignInDataAsync( ### Errors -| Error Object | Status Code | Content Type | -| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | -| LukeHagar.PlexAPI.SDK.Models.Errors.PostUsersSignInDataResponseBody | 401 | application/json | -| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | +| Error Object | Status Code | Content Type | +| --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | +| LukeHagar.PlexAPI.SDK.Models.Errors.PostUsersSignInDataResponseBody | 400 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.PostUsersSignInDataAuthenticationResponseBody | 401 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | diff --git a/docs/sdks/butler/README.md b/docs/sdks/butler/README.md index 3b7f2b7..8ab1ffe 100644 --- a/docs/sdks/butler/README.md +++ b/docs/sdks/butler/README.md @@ -40,10 +40,11 @@ var res = await sdk.Butler.GetButlerTasksAsync(); ### Errors -| Error Object | Status Code | Content Type | -| -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | -| LukeHagar.PlexAPI.SDK.Models.Errors.GetButlerTasksResponseBody | 401 | application/json | -| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | +| Error Object | Status Code | Content Type | +| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | +| LukeHagar.PlexAPI.SDK.Models.Errors.GetButlerTasksResponseBody | 400 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.GetButlerTasksButlerResponseBody | 401 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | ## StartAllTasks @@ -77,10 +78,11 @@ var res = await sdk.Butler.StartAllTasksAsync(); ### Errors -| Error Object | Status Code | Content Type | -| ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | -| LukeHagar.PlexAPI.SDK.Models.Errors.StartAllTasksResponseBody | 401 | application/json | -| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | +| Error Object | Status Code | Content Type | +| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | +| LukeHagar.PlexAPI.SDK.Models.Errors.StartAllTasksResponseBody | 400 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.StartAllTasksButlerResponseBody | 401 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | ## StopAllTasks @@ -110,10 +112,11 @@ var res = await sdk.Butler.StopAllTasksAsync(); ### Errors -| Error Object | Status Code | Content Type | -| ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | -| LukeHagar.PlexAPI.SDK.Models.Errors.StopAllTasksResponseBody | 401 | application/json | -| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | +| Error Object | Status Code | Content Type | +| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | +| LukeHagar.PlexAPI.SDK.Models.Errors.StopAllTasksResponseBody | 400 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.StopAllTasksButlerResponseBody | 401 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | ## StartTask @@ -154,10 +157,11 @@ var res = await sdk.Butler.StartTaskAsync(taskName: LukeHagar.PlexAPI.SDK.Models ### Errors -| Error Object | Status Code | Content Type | -| --------------------------------------------------------- | --------------------------------------------------------- | --------------------------------------------------------- | -| LukeHagar.PlexAPI.SDK.Models.Errors.StartTaskResponseBody | 401 | application/json | -| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | +| Error Object | Status Code | Content Type | +| --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | +| LukeHagar.PlexAPI.SDK.Models.Errors.StartTaskResponseBody | 400 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.StartTaskButlerResponseBody | 401 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | ## StopTask @@ -194,7 +198,8 @@ var res = await sdk.Butler.StopTaskAsync(taskName: LukeHagar.PlexAPI.SDK.Models. ### Errors -| Error Object | Status Code | Content Type | -| -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -| LukeHagar.PlexAPI.SDK.Models.Errors.StopTaskResponseBody | 401 | application/json | -| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | +| Error Object | Status Code | Content Type | +| -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | +| LukeHagar.PlexAPI.SDK.Models.Errors.StopTaskResponseBody | 400 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.StopTaskButlerResponseBody | 401 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | diff --git a/docs/sdks/hubs/README.md b/docs/sdks/hubs/README.md index 92e9f20..e905405 100644 --- a/docs/sdks/hubs/README.md +++ b/docs/sdks/hubs/README.md @@ -48,10 +48,11 @@ var res = await sdk.Hubs.GetGlobalHubsAsync( ### Errors -| Error Object | Status Code | Content Type | -| ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | -| LukeHagar.PlexAPI.SDK.Models.Errors.GetGlobalHubsResponseBody | 401 | application/json | -| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | +| Error Object | Status Code | Content Type | +| ----------------------------------------------------------------- | ----------------------------------------------------------------- | ----------------------------------------------------------------- | +| LukeHagar.PlexAPI.SDK.Models.Errors.GetGlobalHubsResponseBody | 400 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.GetGlobalHubsHubsResponseBody | 401 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | ## GetLibraryHubs @@ -94,7 +95,8 @@ var res = await sdk.Hubs.GetLibraryHubsAsync( ### Errors -| Error Object | Status Code | Content Type | -| -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | -| LukeHagar.PlexAPI.SDK.Models.Errors.GetLibraryHubsResponseBody | 401 | application/json | -| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | +| Error Object | Status Code | Content Type | +| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | +| LukeHagar.PlexAPI.SDK.Models.Errors.GetLibraryHubsResponseBody | 400 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.GetLibraryHubsHubsResponseBody | 401 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | diff --git a/docs/sdks/library/README.md b/docs/sdks/library/README.md index d48260f..d4ed75b 100644 --- a/docs/sdks/library/README.md +++ b/docs/sdks/library/README.md @@ -58,10 +58,11 @@ var res = await sdk.Library.GetFileHashAsync( ### Errors -| Error Object | Status Code | Content Type | -| ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | -| LukeHagar.PlexAPI.SDK.Models.Errors.GetFileHashResponseBody | 401 | application/json | -| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | +| Error Object | Status Code | Content Type | +| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | +| LukeHagar.PlexAPI.SDK.Models.Errors.GetFileHashResponseBody | 400 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.GetFileHashLibraryResponseBody | 401 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | ## GetRecentlyAdded @@ -102,10 +103,11 @@ var res = await sdk.Library.GetRecentlyAddedAsync( ### Errors -| Error Object | Status Code | Content Type | -| ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | -| LukeHagar.PlexAPI.SDK.Models.Errors.GetRecentlyAddedResponseBody | 401 | application/json | -| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | +| Error Object | Status Code | Content Type | +| ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | +| LukeHagar.PlexAPI.SDK.Models.Errors.GetRecentlyAddedResponseBody | 400 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.GetRecentlyAddedLibraryResponseBody | 401 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | ## GetAllLibraries @@ -140,10 +142,11 @@ var res = await sdk.Library.GetAllLibrariesAsync(); ### Errors -| Error Object | Status Code | Content Type | -| --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | -| LukeHagar.PlexAPI.SDK.Models.Errors.GetAllLibrariesResponseBody | 401 | application/json | -| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | +| Error Object | Status Code | Content Type | +| ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | +| LukeHagar.PlexAPI.SDK.Models.Errors.GetAllLibrariesResponseBody | 400 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.GetAllLibrariesLibraryResponseBody | 401 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | ## GetLibraryDetails @@ -222,10 +225,11 @@ var res = await sdk.Library.GetLibraryDetailsAsync( ### Errors -| Error Object | Status Code | Content Type | -| ----------------------------------------------------------------- | ----------------------------------------------------------------- | ----------------------------------------------------------------- | -| LukeHagar.PlexAPI.SDK.Models.Errors.GetLibraryDetailsResponseBody | 401 | application/json | -| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | +| Error Object | Status Code | Content Type | +| ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | +| LukeHagar.PlexAPI.SDK.Models.Errors.GetLibraryDetailsResponseBody | 400 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.GetLibraryDetailsLibraryResponseBody | 401 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | ## DeleteLibrary @@ -261,10 +265,11 @@ var res = await sdk.Library.DeleteLibraryAsync(sectionKey: 9518); ### Errors -| Error Object | Status Code | Content Type | -| ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | -| LukeHagar.PlexAPI.SDK.Models.Errors.DeleteLibraryResponseBody | 401 | application/json | -| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | +| Error Object | Status Code | Content Type | +| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | +| LukeHagar.PlexAPI.SDK.Models.Errors.DeleteLibraryResponseBody | 400 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.DeleteLibraryLibraryResponseBody | 401 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | ## GetLibraryItems @@ -330,10 +335,11 @@ var res = await sdk.Library.GetLibraryItemsAsync(req); ### Errors -| Error Object | Status Code | Content Type | -| --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | -| LukeHagar.PlexAPI.SDK.Models.Errors.GetLibraryItemsResponseBody | 401 | application/json | -| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | +| Error Object | Status Code | Content Type | +| ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | +| LukeHagar.PlexAPI.SDK.Models.Errors.GetLibraryItemsResponseBody | 400 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.GetLibraryItemsLibraryResponseBody | 401 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | ## GetRefreshLibraryMetadata @@ -374,10 +380,11 @@ var res = await sdk.Library.GetRefreshLibraryMetadataAsync( ### Errors -| Error Object | Status Code | Content Type | -| ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | -| LukeHagar.PlexAPI.SDK.Models.Errors.GetRefreshLibraryMetadataResponseBody | 401 | application/json | -| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | +| Error Object | Status Code | Content Type | +| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | +| LukeHagar.PlexAPI.SDK.Models.Errors.GetRefreshLibraryMetadataResponseBody | 400 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.GetRefreshLibraryMetadataLibraryResponseBody | 401 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | ## GetSearchLibrary @@ -435,10 +442,11 @@ var res = await sdk.Library.GetSearchLibraryAsync( ### Errors -| Error Object | Status Code | Content Type | -| ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | -| LukeHagar.PlexAPI.SDK.Models.Errors.GetSearchLibraryResponseBody | 401 | application/json | -| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | +| Error Object | Status Code | Content Type | +| ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | +| LukeHagar.PlexAPI.SDK.Models.Errors.GetSearchLibraryResponseBody | 400 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.GetSearchLibraryLibraryResponseBody | 401 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | ## GetMetaDataByRatingKey @@ -475,10 +483,11 @@ var res = await sdk.Library.GetMetaDataByRatingKeyAsync(ratingKey: 9518); ### Errors -| Error Object | Status Code | Content Type | -| ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | -| LukeHagar.PlexAPI.SDK.Models.Errors.GetMetaDataByRatingKeyResponseBody | 401 | application/json | -| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | +| Error Object | Status Code | Content Type | +| ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | +| LukeHagar.PlexAPI.SDK.Models.Errors.GetMetaDataByRatingKeyResponseBody | 400 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.GetMetaDataByRatingKeyLibraryResponseBody | 401 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | ## GetMetadataChildren @@ -519,10 +528,11 @@ var res = await sdk.Library.GetMetadataChildrenAsync( ### Errors -| Error Object | Status Code | Content Type | -| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | -| LukeHagar.PlexAPI.SDK.Models.Errors.GetMetadataChildrenResponseBody | 401 | application/json | -| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | +| Error Object | Status Code | Content Type | +| -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | +| LukeHagar.PlexAPI.SDK.Models.Errors.GetMetadataChildrenResponseBody | 400 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.GetMetadataChildrenLibraryResponseBody | 401 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | ## GetTopWatchedContent @@ -563,10 +573,11 @@ var res = await sdk.Library.GetTopWatchedContentAsync( ### Errors -| Error Object | Status Code | Content Type | -| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -| LukeHagar.PlexAPI.SDK.Models.Errors.GetTopWatchedContentResponseBody | 401 | application/json | -| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | +| Error Object | Status Code | Content Type | +| --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | +| LukeHagar.PlexAPI.SDK.Models.Errors.GetTopWatchedContentResponseBody | 400 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.GetTopWatchedContentLibraryResponseBody | 401 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | ## GetOnDeck @@ -596,7 +607,8 @@ var res = await sdk.Library.GetOnDeckAsync(); ### Errors -| Error Object | Status Code | Content Type | -| --------------------------------------------------------- | --------------------------------------------------------- | --------------------------------------------------------- | -| LukeHagar.PlexAPI.SDK.Models.Errors.GetOnDeckResponseBody | 401 | application/json | -| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | +| Error Object | Status Code | Content Type | +| ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | +| LukeHagar.PlexAPI.SDK.Models.Errors.GetOnDeckResponseBody | 400 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.GetOnDeckLibraryResponseBody | 401 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | diff --git a/docs/sdks/log/README.md b/docs/sdks/log/README.md index 235027f..51662ea 100644 --- a/docs/sdks/log/README.md +++ b/docs/sdks/log/README.md @@ -52,10 +52,11 @@ var res = await sdk.Log.LogLineAsync( ### Errors -| Error Object | Status Code | Content Type | -| ------------------------------------------------------- | ------------------------------------------------------- | ------------------------------------------------------- | -| LukeHagar.PlexAPI.SDK.Models.Errors.LogLineResponseBody | 401 | application/json | -| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | +| Error Object | Status Code | Content Type | +| ---------------------------------------------------------- | ---------------------------------------------------------- | ---------------------------------------------------------- | +| LukeHagar.PlexAPI.SDK.Models.Errors.LogLineResponseBody | 400 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.LogLineLogResponseBody | 401 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | ## LogMultiLine @@ -115,10 +116,11 @@ var res = await sdk.Log.LogMultiLineAsync(req); ### Errors -| Error Object | Status Code | Content Type | -| ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | -| LukeHagar.PlexAPI.SDK.Models.Errors.LogMultiLineResponseBody | 401 | application/json | -| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | +| Error Object | Status Code | Content Type | +| --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | +| LukeHagar.PlexAPI.SDK.Models.Errors.LogMultiLineResponseBody | 400 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.LogMultiLineLogResponseBody | 401 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | ## EnablePaperTrail @@ -148,7 +150,8 @@ var res = await sdk.Log.EnablePaperTrailAsync(); ### Errors -| Error Object | Status Code | Content Type | -| ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | -| LukeHagar.PlexAPI.SDK.Models.Errors.EnablePaperTrailResponseBody | 401 | application/json | -| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | +| Error Object | Status Code | Content Type | +| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | +| LukeHagar.PlexAPI.SDK.Models.Errors.EnablePaperTrailResponseBody | 400 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.EnablePaperTrailLogResponseBody | 401 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | diff --git a/docs/sdks/media/README.md b/docs/sdks/media/README.md index 50e5c90..28faf10 100644 --- a/docs/sdks/media/README.md +++ b/docs/sdks/media/README.md @@ -47,10 +47,11 @@ var res = await sdk.Media.MarkPlayedAsync(key: 59398D); ### Errors -| Error Object | Status Code | Content Type | -| ---------------------------------------------------------- | ---------------------------------------------------------- | ---------------------------------------------------------- | -| LukeHagar.PlexAPI.SDK.Models.Errors.MarkPlayedResponseBody | 401 | application/json | -| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | +| Error Object | Status Code | Content Type | +| --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | +| LukeHagar.PlexAPI.SDK.Models.Errors.MarkPlayedResponseBody | 400 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.MarkPlayedMediaResponseBody | 401 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | ## MarkUnplayed @@ -86,10 +87,11 @@ var res = await sdk.Media.MarkUnplayedAsync(key: 59398D); ### Errors -| Error Object | Status Code | Content Type | -| ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | -| LukeHagar.PlexAPI.SDK.Models.Errors.MarkUnplayedResponseBody | 401 | application/json | -| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | +| Error Object | Status Code | Content Type | +| ----------------------------------------------------------------- | ----------------------------------------------------------------- | ----------------------------------------------------------------- | +| LukeHagar.PlexAPI.SDK.Models.Errors.MarkUnplayedResponseBody | 400 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.MarkUnplayedMediaResponseBody | 401 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | ## UpdatePlayProgress @@ -132,10 +134,11 @@ var res = await sdk.Media.UpdatePlayProgressAsync( ### Errors -| Error Object | Status Code | Content Type | -| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | -| LukeHagar.PlexAPI.SDK.Models.Errors.UpdatePlayProgressResponseBody | 401 | application/json | -| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | +| Error Object | Status Code | Content Type | +| ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | +| LukeHagar.PlexAPI.SDK.Models.Errors.UpdatePlayProgressResponseBody | 400 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.UpdatePlayProgressMediaResponseBody | 401 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | ## GetBannerImage @@ -180,10 +183,11 @@ var res = await sdk.Media.GetBannerImageAsync(req); ### Errors -| Error Object | Status Code | Content Type | -| -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | -| LukeHagar.PlexAPI.SDK.Models.Errors.GetBannerImageResponseBody | 401 | application/json | -| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | +| Error Object | Status Code | Content Type | +| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | +| LukeHagar.PlexAPI.SDK.Models.Errors.GetBannerImageResponseBody | 400 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.GetBannerImageMediaResponseBody | 401 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | ## GetThumbImage @@ -228,7 +232,8 @@ var res = await sdk.Media.GetThumbImageAsync(req); ### Errors -| Error Object | Status Code | Content Type | -| ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | -| LukeHagar.PlexAPI.SDK.Models.Errors.GetThumbImageResponseBody | 401 | application/json | -| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | +| Error Object | Status Code | Content Type | +| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | +| LukeHagar.PlexAPI.SDK.Models.Errors.GetThumbImageResponseBody | 400 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.GetThumbImageMediaResponseBody | 401 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | diff --git a/docs/sdks/playlists/README.md b/docs/sdks/playlists/README.md index e6547ca..bfcf77a 100644 --- a/docs/sdks/playlists/README.md +++ b/docs/sdks/playlists/README.md @@ -64,10 +64,11 @@ var res = await sdk.Playlists.CreatePlaylistAsync(req); ### Errors -| Error Object | Status Code | Content Type | -| -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | -| LukeHagar.PlexAPI.SDK.Models.Errors.CreatePlaylistResponseBody | 401 | application/json | -| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | +| Error Object | Status Code | Content Type | +| ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | +| LukeHagar.PlexAPI.SDK.Models.Errors.CreatePlaylistResponseBody | 400 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.CreatePlaylistPlaylistsResponseBody | 401 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | ## GetPlaylists @@ -107,10 +108,11 @@ var res = await sdk.Playlists.GetPlaylistsAsync( ### Errors -| Error Object | Status Code | Content Type | -| ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | -| LukeHagar.PlexAPI.SDK.Models.Errors.GetPlaylistsResponseBody | 401 | application/json | -| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | +| Error Object | Status Code | Content Type | +| --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | +| LukeHagar.PlexAPI.SDK.Models.Errors.GetPlaylistsResponseBody | 400 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.GetPlaylistsPlaylistsResponseBody | 401 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | ## GetPlaylist @@ -148,10 +150,11 @@ var res = await sdk.Playlists.GetPlaylistAsync(playlistID: 4109.48D); ### Errors -| Error Object | Status Code | Content Type | -| ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | -| LukeHagar.PlexAPI.SDK.Models.Errors.GetPlaylistResponseBody | 401 | application/json | -| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | +| Error Object | Status Code | Content Type | +| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | +| LukeHagar.PlexAPI.SDK.Models.Errors.GetPlaylistResponseBody | 400 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.GetPlaylistPlaylistsResponseBody | 401 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | ## DeletePlaylist @@ -188,10 +191,11 @@ var res = await sdk.Playlists.DeletePlaylistAsync(playlistID: 216.22D); ### Errors -| Error Object | Status Code | Content Type | -| -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | -| LukeHagar.PlexAPI.SDK.Models.Errors.DeletePlaylistResponseBody | 401 | application/json | -| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | +| Error Object | Status Code | Content Type | +| ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | +| LukeHagar.PlexAPI.SDK.Models.Errors.DeletePlaylistResponseBody | 400 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.DeletePlaylistPlaylistsResponseBody | 401 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | ## UpdatePlaylist @@ -234,10 +238,11 @@ var res = await sdk.Playlists.UpdatePlaylistAsync( ### Errors -| Error Object | Status Code | Content Type | -| -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | -| LukeHagar.PlexAPI.SDK.Models.Errors.UpdatePlaylistResponseBody | 401 | application/json | -| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | +| Error Object | Status Code | Content Type | +| ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | +| LukeHagar.PlexAPI.SDK.Models.Errors.UpdatePlaylistResponseBody | 400 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.UpdatePlaylistPlaylistsResponseBody | 401 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | ## GetPlaylistContents @@ -281,10 +286,11 @@ var res = await sdk.Playlists.GetPlaylistContentsAsync( ### Errors -| Error Object | Status Code | Content Type | -| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | -| LukeHagar.PlexAPI.SDK.Models.Errors.GetPlaylistContentsResponseBody | 401 | application/json | -| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | +| Error Object | Status Code | Content Type | +| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | +| LukeHagar.PlexAPI.SDK.Models.Errors.GetPlaylistContentsResponseBody | 400 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.GetPlaylistContentsPlaylistsResponseBody | 401 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | ## ClearPlaylistContents @@ -321,10 +327,11 @@ var res = await sdk.Playlists.ClearPlaylistContentsAsync(playlistID: 1893.18D); ### Errors -| Error Object | Status Code | Content Type | -| --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | -| LukeHagar.PlexAPI.SDK.Models.Errors.ClearPlaylistContentsResponseBody | 401 | application/json | -| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | +| Error Object | Status Code | Content Type | +| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | +| LukeHagar.PlexAPI.SDK.Models.Errors.ClearPlaylistContentsResponseBody | 400 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.ClearPlaylistContentsPlaylistsResponseBody | 401 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | ## AddPlaylistContents @@ -368,10 +375,11 @@ var res = await sdk.Playlists.AddPlaylistContentsAsync( ### Errors -| Error Object | Status Code | Content Type | -| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | -| LukeHagar.PlexAPI.SDK.Models.Errors.AddPlaylistContentsResponseBody | 401 | application/json | -| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | +| Error Object | Status Code | Content Type | +| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | +| LukeHagar.PlexAPI.SDK.Models.Errors.AddPlaylistContentsResponseBody | 400 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.AddPlaylistContentsPlaylistsResponseBody | 401 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | ## UploadPlaylist @@ -412,7 +420,8 @@ var res = await sdk.Playlists.UploadPlaylistAsync( ### Errors -| Error Object | Status Code | Content Type | -| -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | -| LukeHagar.PlexAPI.SDK.Models.Errors.UploadPlaylistResponseBody | 401 | application/json | -| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | +| Error Object | Status Code | Content Type | +| ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | +| LukeHagar.PlexAPI.SDK.Models.Errors.UploadPlaylistResponseBody | 400 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.UploadPlaylistPlaylistsResponseBody | 401 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | diff --git a/docs/sdks/plex/README.md b/docs/sdks/plex/README.md index 0725ce2..4745e3b 100644 --- a/docs/sdks/plex/README.md +++ b/docs/sdks/plex/README.md @@ -48,10 +48,11 @@ var res = await sdk.Plex.GetCompanionsDataAsync(); ### Errors -| Error Object | Status Code | Content Type | -| ----------------------------------------------------------------- | ----------------------------------------------------------------- | ----------------------------------------------------------------- | -| LukeHagar.PlexAPI.SDK.Models.Errors.GetCompanionsDataResponseBody | 401 | application/json | -| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | +| Error Object | Status Code | Content Type | +| --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | +| LukeHagar.PlexAPI.SDK.Models.Errors.GetCompanionsDataResponseBody | 400 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.GetCompanionsDataPlexResponseBody | 401 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | ## GetUserFriends @@ -86,10 +87,11 @@ var res = await sdk.Plex.GetUserFriendsAsync(); ### Errors -| Error Object | Status Code | Content Type | -| -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | -| LukeHagar.PlexAPI.SDK.Models.Errors.GetUserFriendsResponseBody | 401 | application/json | -| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | +| Error Object | Status Code | Content Type | +| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | +| LukeHagar.PlexAPI.SDK.Models.Errors.GetUserFriendsResponseBody | 400 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.GetUserFriendsPlexResponseBody | 401 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | ## GetGeoData @@ -121,10 +123,11 @@ var res = await sdk.Plex.GetGeoDataAsync(); ### Errors -| Error Object | Status Code | Content Type | -| ---------------------------------------------------------- | ---------------------------------------------------------- | ---------------------------------------------------------- | -| LukeHagar.PlexAPI.SDK.Models.Errors.GetGeoDataResponseBody | 401 | application/json | -| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | +| Error Object | Status Code | Content Type | +| -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | +| LukeHagar.PlexAPI.SDK.Models.Errors.GetGeoDataResponseBody | 400 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.GetGeoDataPlexResponseBody | 401 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | ## GetHomeData @@ -153,10 +156,11 @@ var res = await sdk.Plex.GetHomeDataAsync(); ### Errors -| Error Object | Status Code | Content Type | -| ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | -| LukeHagar.PlexAPI.SDK.Models.Errors.GetHomeDataResponseBody | 401 | application/json | -| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | +| Error Object | Status Code | Content Type | +| --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | +| LukeHagar.PlexAPI.SDK.Models.Errors.GetHomeDataResponseBody | 400 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.GetHomeDataPlexResponseBody | 401 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | ## GetServerResources @@ -200,10 +204,11 @@ var res = await sdk.Plex.GetServerResourcesAsync(req); ### Errors -| Error Object | Status Code | Content Type | -| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | -| LukeHagar.PlexAPI.SDK.Models.Errors.GetServerResourcesResponseBody | 401 | application/json | -| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | +| Error Object | Status Code | Content Type | +| ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | +| LukeHagar.PlexAPI.SDK.Models.Errors.GetServerResourcesResponseBody | 400 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.GetServerResourcesPlexResponseBody | 401 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | ## GetPin diff --git a/docs/sdks/search/README.md b/docs/sdks/search/README.md index b180f77..875cc13 100644 --- a/docs/sdks/search/README.md +++ b/docs/sdks/search/README.md @@ -63,10 +63,11 @@ var res = await sdk.Search.PerformSearchAsync( ### Errors -| Error Object | Status Code | Content Type | -| ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | -| LukeHagar.PlexAPI.SDK.Models.Errors.PerformSearchResponseBody | 401 | application/json | -| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | +| Error Object | Status Code | Content Type | +| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | +| LukeHagar.PlexAPI.SDK.Models.Errors.PerformSearchResponseBody | 400 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.PerformSearchSearchResponseBody | 401 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | ## PerformVoiceSearch @@ -112,10 +113,11 @@ var res = await sdk.Search.PerformVoiceSearchAsync( ### Errors -| Error Object | Status Code | Content Type | -| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | -| LukeHagar.PlexAPI.SDK.Models.Errors.PerformVoiceSearchResponseBody | 401 | application/json | -| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | +| Error Object | Status Code | Content Type | +| ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | +| LukeHagar.PlexAPI.SDK.Models.Errors.PerformVoiceSearchResponseBody | 400 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.PerformVoiceSearchSearchResponseBody | 401 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | ## GetSearchResults @@ -151,7 +153,8 @@ var res = await sdk.Search.GetSearchResultsAsync(query: "110"); ### Errors -| Error Object | Status Code | Content Type | -| ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | -| LukeHagar.PlexAPI.SDK.Models.Errors.GetSearchResultsResponseBody | 401 | application/json | -| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | +| Error Object | Status Code | Content Type | +| ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | +| LukeHagar.PlexAPI.SDK.Models.Errors.GetSearchResultsResponseBody | 400 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.GetSearchResultsSearchResponseBody | 401 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | diff --git a/docs/sdks/server/README.md b/docs/sdks/server/README.md index d9b8748..9a6503c 100644 --- a/docs/sdks/server/README.md +++ b/docs/sdks/server/README.md @@ -44,10 +44,11 @@ var res = await sdk.Server.GetServerCapabilitiesAsync(); ### Errors -| Error Object | Status Code | Content Type | -| --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | -| LukeHagar.PlexAPI.SDK.Models.Errors.GetServerCapabilitiesResponseBody | 401 | application/json | -| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | +| Error Object | Status Code | Content Type | +| --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | +| LukeHagar.PlexAPI.SDK.Models.Errors.GetServerCapabilitiesResponseBody | 400 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.GetServerCapabilitiesServerResponseBody | 401 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | ## GetServerPreferences @@ -76,10 +77,11 @@ var res = await sdk.Server.GetServerPreferencesAsync(); ### Errors -| Error Object | Status Code | Content Type | -| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -| LukeHagar.PlexAPI.SDK.Models.Errors.GetServerPreferencesResponseBody | 401 | application/json | -| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | +| Error Object | Status Code | Content Type | +| -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | +| LukeHagar.PlexAPI.SDK.Models.Errors.GetServerPreferencesResponseBody | 400 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.GetServerPreferencesServerResponseBody | 401 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | ## GetAvailableClients @@ -108,10 +110,11 @@ var res = await sdk.Server.GetAvailableClientsAsync(); ### Errors -| Error Object | Status Code | Content Type | -| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | -| LukeHagar.PlexAPI.SDK.Models.Errors.GetAvailableClientsResponseBody | 401 | application/json | -| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | +| Error Object | Status Code | Content Type | +| ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | +| LukeHagar.PlexAPI.SDK.Models.Errors.GetAvailableClientsResponseBody | 400 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.GetAvailableClientsServerResponseBody | 401 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | ## GetDevices @@ -140,10 +143,11 @@ var res = await sdk.Server.GetDevicesAsync(); ### Errors -| Error Object | Status Code | Content Type | -| ---------------------------------------------------------- | ---------------------------------------------------------- | ---------------------------------------------------------- | -| LukeHagar.PlexAPI.SDK.Models.Errors.GetDevicesResponseBody | 401 | application/json | -| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | +| Error Object | Status Code | Content Type | +| ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | +| LukeHagar.PlexAPI.SDK.Models.Errors.GetDevicesResponseBody | 400 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.GetDevicesServerResponseBody | 401 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | ## GetServerIdentity @@ -201,10 +205,11 @@ var res = await sdk.Server.GetMyPlexAccountAsync(); ### Errors -| Error Object | Status Code | Content Type | -| ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | -| LukeHagar.PlexAPI.SDK.Models.Errors.GetMyPlexAccountResponseBody | 401 | application/json | -| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | +| Error Object | Status Code | Content Type | +| ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | +| LukeHagar.PlexAPI.SDK.Models.Errors.GetMyPlexAccountResponseBody | 400 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.GetMyPlexAccountServerResponseBody | 401 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | ## GetResizedPhoto @@ -251,10 +256,11 @@ var res = await sdk.Server.GetResizedPhotoAsync(req); ### Errors -| Error Object | Status Code | Content Type | -| --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | -| LukeHagar.PlexAPI.SDK.Models.Errors.GetResizedPhotoResponseBody | 401 | application/json | -| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | +| Error Object | Status Code | Content Type | +| --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | +| LukeHagar.PlexAPI.SDK.Models.Errors.GetResizedPhotoResponseBody | 400 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.GetResizedPhotoServerResponseBody | 401 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | ## GetMediaProviders @@ -290,10 +296,11 @@ var res = await sdk.Server.GetMediaProvidersAsync(xPlexToken: "CV5xoxjTpFKUzBTSh ### Errors -| Error Object | Status Code | Content Type | -| ----------------------------------------------------------------- | ----------------------------------------------------------------- | ----------------------------------------------------------------- | -| LukeHagar.PlexAPI.SDK.Models.Errors.GetMediaProvidersResponseBody | 401 | application/json | -| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | +| Error Object | Status Code | Content Type | +| ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | +| LukeHagar.PlexAPI.SDK.Models.Errors.GetMediaProvidersResponseBody | 400 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.GetMediaProvidersServerResponseBody | 401 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | ## GetServerList @@ -322,7 +329,8 @@ var res = await sdk.Server.GetServerListAsync(); ### Errors -| Error Object | Status Code | Content Type | -| ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | -| LukeHagar.PlexAPI.SDK.Models.Errors.GetServerListResponseBody | 401 | application/json | -| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | +| Error Object | Status Code | Content Type | +| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | +| LukeHagar.PlexAPI.SDK.Models.Errors.GetServerListResponseBody | 400 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.GetServerListServerResponseBody | 401 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | diff --git a/docs/sdks/sessions/README.md b/docs/sdks/sessions/README.md index 4d4c6e8..0f92746 100644 --- a/docs/sdks/sessions/README.md +++ b/docs/sdks/sessions/README.md @@ -39,10 +39,11 @@ var res = await sdk.Sessions.GetSessionsAsync(); ### Errors -| Error Object | Status Code | Content Type | -| ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | -| LukeHagar.PlexAPI.SDK.Models.Errors.GetSessionsResponseBody | 401 | application/json | -| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | +| Error Object | Status Code | Content Type | +| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | +| LukeHagar.PlexAPI.SDK.Models.Errors.GetSessionsResponseBody | 400 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.GetSessionsSessionsResponseBody | 401 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | ## GetSessionHistory @@ -86,10 +87,11 @@ var res = await sdk.Sessions.GetSessionHistoryAsync( ### Errors -| Error Object | Status Code | Content Type | -| ----------------------------------------------------------------- | ----------------------------------------------------------------- | ----------------------------------------------------------------- | -| LukeHagar.PlexAPI.SDK.Models.Errors.GetSessionHistoryResponseBody | 401 | application/json | -| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | +| Error Object | Status Code | Content Type | +| ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | +| LukeHagar.PlexAPI.SDK.Models.Errors.GetSessionHistoryResponseBody | 400 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.GetSessionHistorySessionsResponseBody | 401 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | ## GetTranscodeSessions @@ -118,10 +120,11 @@ var res = await sdk.Sessions.GetTranscodeSessionsAsync(); ### Errors -| Error Object | Status Code | Content Type | -| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -| LukeHagar.PlexAPI.SDK.Models.Errors.GetTranscodeSessionsResponseBody | 401 | application/json | -| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | +| Error Object | Status Code | Content Type | +| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | +| LukeHagar.PlexAPI.SDK.Models.Errors.GetTranscodeSessionsResponseBody | 400 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.GetTranscodeSessionsSessionsResponseBody | 401 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | ## StopTranscodeSession @@ -157,7 +160,8 @@ var res = await sdk.Sessions.StopTranscodeSessionAsync(sessionKey: "zz7llzqlx8w9 ### Errors -| Error Object | Status Code | Content Type | -| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -| LukeHagar.PlexAPI.SDK.Models.Errors.StopTranscodeSessionResponseBody | 401 | application/json | -| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | +| Error Object | Status Code | Content Type | +| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | +| LukeHagar.PlexAPI.SDK.Models.Errors.StopTranscodeSessionResponseBody | 400 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.StopTranscodeSessionSessionsResponseBody | 401 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | diff --git a/docs/sdks/statistics/README.md b/docs/sdks/statistics/README.md index 79788f7..61d88fa 100644 --- a/docs/sdks/statistics/README.md +++ b/docs/sdks/statistics/README.md @@ -45,10 +45,11 @@ var res = await sdk.Statistics.GetStatisticsAsync(timespan: 4); ### Errors -| Error Object | Status Code | Content Type | -| ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | -| LukeHagar.PlexAPI.SDK.Models.Errors.GetStatisticsResponseBody | 401 | application/json | -| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | +| Error Object | Status Code | Content Type | +| ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | +| LukeHagar.PlexAPI.SDK.Models.Errors.GetStatisticsResponseBody | 400 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.GetStatisticsStatisticsResponseBody | 401 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | ## GetResourcesStatistics @@ -84,10 +85,11 @@ var res = await sdk.Statistics.GetResourcesStatisticsAsync(timespan: 4); ### Errors -| Error Object | Status Code | Content Type | -| ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | -| LukeHagar.PlexAPI.SDK.Models.Errors.GetResourcesStatisticsResponseBody | 401 | application/json | -| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | +| Error Object | Status Code | Content Type | +| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | +| LukeHagar.PlexAPI.SDK.Models.Errors.GetResourcesStatisticsResponseBody | 400 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.GetResourcesStatisticsStatisticsResponseBody | 401 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | ## GetBandwidthStatistics @@ -123,7 +125,8 @@ var res = await sdk.Statistics.GetBandwidthStatisticsAsync(timespan: 4); ### Errors -| Error Object | Status Code | Content Type | -| ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | -| LukeHagar.PlexAPI.SDK.Models.Errors.GetBandwidthStatisticsResponseBody | 401 | application/json | -| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | +| Error Object | Status Code | Content Type | +| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | +| LukeHagar.PlexAPI.SDK.Models.Errors.GetBandwidthStatisticsResponseBody | 400 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.GetBandwidthStatisticsStatisticsResponseBody | 401 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | diff --git a/docs/sdks/updater/README.md b/docs/sdks/updater/README.md index 8e56186..87f72a3 100644 --- a/docs/sdks/updater/README.md +++ b/docs/sdks/updater/README.md @@ -39,10 +39,11 @@ var res = await sdk.Updater.GetUpdateStatusAsync(); ### Errors -| Error Object | Status Code | Content Type | -| --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | -| LukeHagar.PlexAPI.SDK.Models.Errors.GetUpdateStatusResponseBody | 401 | application/json | -| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | +| Error Object | Status Code | Content Type | +| ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | +| LukeHagar.PlexAPI.SDK.Models.Errors.GetUpdateStatusResponseBody | 400 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.GetUpdateStatusUpdaterResponseBody | 401 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | ## CheckForUpdates @@ -78,10 +79,11 @@ var res = await sdk.Updater.CheckForUpdatesAsync(download: LukeHagar.PlexAPI.SDK ### Errors -| Error Object | Status Code | Content Type | -| --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | -| LukeHagar.PlexAPI.SDK.Models.Errors.CheckForUpdatesResponseBody | 401 | application/json | -| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | +| Error Object | Status Code | Content Type | +| ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | +| LukeHagar.PlexAPI.SDK.Models.Errors.CheckForUpdatesResponseBody | 400 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.CheckForUpdatesUpdaterResponseBody | 401 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | ## ApplyUpdates @@ -122,7 +124,8 @@ var res = await sdk.Updater.ApplyUpdatesAsync( ### Errors -| Error Object | Status Code | Content Type | -| ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | -| LukeHagar.PlexAPI.SDK.Models.Errors.ApplyUpdatesResponseBody | 401 | application/json | -| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | +| Error Object | Status Code | Content Type | +| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | +| LukeHagar.PlexAPI.SDK.Models.Errors.ApplyUpdatesResponseBody | 400 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.ApplyUpdatesUpdaterResponseBody | 401 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | diff --git a/docs/sdks/video/README.md b/docs/sdks/video/README.md index 8038aed..e127a98 100644 --- a/docs/sdks/video/README.md +++ b/docs/sdks/video/README.md @@ -57,10 +57,11 @@ var res = await sdk.Video.GetTimelineAsync(req); ### Errors -| Error Object | Status Code | Content Type | -| ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | -| LukeHagar.PlexAPI.SDK.Models.Errors.GetTimelineResponseBody | 401 | application/json | -| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | +| Error Object | Status Code | Content Type | +| ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | +| LukeHagar.PlexAPI.SDK.Models.Errors.GetTimelineResponseBody | 400 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.GetTimelineVideoResponseBody | 401 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | ## StartUniversalTranscode @@ -115,7 +116,8 @@ var res = await sdk.Video.StartUniversalTranscodeAsync(req); ### Errors -| Error Object | Status Code | Content Type | -| ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | -| LukeHagar.PlexAPI.SDK.Models.Errors.StartUniversalTranscodeResponseBody | 401 | application/json | -| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | +| Error Object | Status Code | Content Type | +| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | +| LukeHagar.PlexAPI.SDK.Models.Errors.StartUniversalTranscodeResponseBody | 400 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.StartUniversalTranscodeVideoResponseBody | 401 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | diff --git a/docs/sdks/watchlist/README.md b/docs/sdks/watchlist/README.md index 99aac6c..64f55c7 100644 --- a/docs/sdks/watchlist/README.md +++ b/docs/sdks/watchlist/README.md @@ -51,7 +51,8 @@ var res = await sdk.Watchlist.GetWatchListAsync(req); ### Errors -| Error Object | Status Code | Content Type | -| ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | -| LukeHagar.PlexAPI.SDK.Models.Errors.GetWatchListResponseBody | 401 | application/json | -| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | +| Error Object | Status Code | Content Type | +| --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | +| LukeHagar.PlexAPI.SDK.Models.Errors.GetWatchListResponseBody | 400 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.GetWatchListWatchlistResponseBody | 401 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* |