From 307bd0f675fa40b87b5891bb8632e6ec54ef3615 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Tue, 10 Sep 2024 00:21:41 +0000 Subject: [PATCH] ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.394.0 --- .speakeasy/gen.lock | 646 +++++++++--------- .speakeasy/gen.yaml | 2 +- .speakeasy/workflow.lock | 10 +- LukeHagar/PlexAPI/SDK/Activities.cs | 16 +- LukeHagar/PlexAPI/SDK/Authentication.cs | 49 +- LukeHagar/PlexAPI/SDK/Butler.cs | 28 +- LukeHagar/PlexAPI/SDK/Hubs.cs | 18 +- LukeHagar/PlexAPI/SDK/Library.cs | 72 +- LukeHagar/PlexAPI/SDK/Log.cs | 18 +- .../PlexAPI/SDK/LukeHagar.PlexAPI.SDK.csproj | 2 +- LukeHagar/PlexAPI/SDK/Media.cs | 26 +- ...dy.cs => AddPlaylistContentsBadRequest.cs} | 2 +- ....cs => AddPlaylistContentsUnauthorized.cs} | 2 +- ...ponseBody.cs => ApplyUpdatesBadRequest.cs} | 2 +- ...nseBody.cs => ApplyUpdatesUnauthorized.cs} | 2 +- ...cs => CancelServerActivitiesBadRequest.cs} | 2 +- ... => CancelServerActivitiesUnauthorized.cs} | 2 +- ...seBody.cs => CheckForUpdatesBadRequest.cs} | 2 +- ...Body.cs => CheckForUpdatesUnauthorized.cs} | 2 +- ....cs => ClearPlaylistContentsBadRequest.cs} | 2 +- ...s => ClearPlaylistContentsUnauthorized.cs} | 2 +- ...nseBody.cs => CreatePlaylistBadRequest.cs} | 2 +- ...eBody.cs => CreatePlaylistUnauthorized.cs} | 2 +- ...onseBody.cs => DeleteLibraryBadRequest.cs} | 2 +- ...seBody.cs => DeleteLibraryUnauthorized.cs} | 2 +- ...nseBody.cs => DeletePlaylistBadRequest.cs} | 2 +- ...eBody.cs => DeletePlaylistUnauthorized.cs} | 2 +- ...eBody.cs => EnablePaperTrailBadRequest.cs} | 2 +- ...ody.cs => EnablePaperTrailUnauthorized.cs} | 2 +- ...seBody.cs => GetAllLibrariesBadRequest.cs} | 2 +- ...Body.cs => GetAllLibrariesUnauthorized.cs} | 2 +- ...dy.cs => GetAvailableClientsBadRequest.cs} | 2 +- ....cs => GetAvailableClientsUnauthorized.cs} | 2 +- ...cs => GetBandwidthStatisticsBadRequest.cs} | 2 +- ... => GetBandwidthStatisticsUnauthorized.cs} | 2 +- ...nseBody.cs => GetBannerImageBadRequest.cs} | 2 +- ...eBody.cs => GetBannerImageUnauthorized.cs} | 2 +- ...nseBody.cs => GetButlerTasksBadRequest.cs} | 2 +- ...eBody.cs => GetButlerTasksUnauthorized.cs} | 2 +- ...Body.cs => GetCompanionsDataBadRequest.cs} | 2 +- ...dy.cs => GetCompanionsDataUnauthorized.cs} | 2 +- ...esponseBody.cs => GetDevicesBadRequest.cs} | 2 +- ...ponseBody.cs => GetDevicesUnauthorized.cs} | 2 +- ...sponseBody.cs => GetFileHashBadRequest.cs} | 2 +- ...onseBody.cs => GetFileHashUnauthorized.cs} | 2 +- ...esponseBody.cs => GetGeoDataBadRequest.cs} | 2 +- ...ponseBody.cs => GetGeoDataUnauthorized.cs} | 2 +- ...onseBody.cs => GetGlobalHubsBadRequest.cs} | 2 +- ...seBody.cs => GetGlobalHubsUnauthorized.cs} | 2 +- ...sponseBody.cs => GetHomeDataBadRequest.cs} | 2 +- ...onseBody.cs => GetHomeDataUnauthorized.cs} | 2 +- ...Body.cs => GetLibraryDetailsBadRequest.cs} | 2 +- ...dy.cs => GetLibraryDetailsUnauthorized.cs} | 2 +- ...nseBody.cs => GetLibraryHubsBadRequest.cs} | 2 +- ...eBody.cs => GetLibraryHubsUnauthorized.cs} | 2 +- ...seBody.cs => GetLibraryItemsBadRequest.cs} | 2 +- ...Body.cs => GetLibraryItemsUnauthorized.cs} | 2 +- ...Body.cs => GetMediaProvidersBadRequest.cs} | 2 +- ...dy.cs => GetMediaProvidersUnauthorized.cs} | 2 +- ...cs => GetMetaDataByRatingKeyBadRequest.cs} | 2 +- ... => GetMetaDataByRatingKeyUnauthorized.cs} | 2 +- ...dy.cs => GetMetadataChildrenBadRequest.cs} | 2 +- ....cs => GetMetadataChildrenUnauthorized.cs} | 2 +- ...eBody.cs => GetMyPlexAccountBadRequest.cs} | 2 +- ...ody.cs => GetMyPlexAccountUnauthorized.cs} | 2 +- ...ResponseBody.cs => GetOnDeckBadRequest.cs} | 2 +- ...sponseBody.cs => GetOnDeckUnauthorized.cs} | 2 +- .../SDK/Models/Errors/GetPinBadRequest.cs | 34 + .../SDK/Models/Errors/GetPinResponseBody.cs | 34 - ...sponseBody.cs => GetPlaylistBadRequest.cs} | 2 +- ...dy.cs => GetPlaylistContentsBadRequest.cs} | 2 +- ....cs => GetPlaylistContentsUnauthorized.cs} | 2 +- ...onseBody.cs => GetPlaylistUnauthorized.cs} | 2 +- ...ponseBody.cs => GetPlaylistsBadRequest.cs} | 2 +- ...nseBody.cs => GetPlaylistsUnauthorized.cs} | 2 +- ...eBody.cs => GetRecentlyAddedBadRequest.cs} | 2 +- ...ody.cs => GetRecentlyAddedUnauthorized.cs} | 2 +- ...=> GetRefreshLibraryMetadataBadRequest.cs} | 2 +- ... GetRefreshLibraryMetadataUnauthorized.cs} | 2 +- ...seBody.cs => GetResizedPhotoBadRequest.cs} | 2 +- ...Body.cs => GetResizedPhotoUnauthorized.cs} | 2 +- ...cs => GetResourcesStatisticsBadRequest.cs} | 2 +- ... => GetResourcesStatisticsUnauthorized.cs} | 2 +- ...eBody.cs => GetSearchLibraryBadRequest.cs} | 2 +- ...ody.cs => GetSearchLibraryUnauthorized.cs} | 2 +- ...eBody.cs => GetSearchResultsBadRequest.cs} | 2 +- ...ody.cs => GetSearchResultsUnauthorized.cs} | 2 +- ...dy.cs => GetServerActivitiesBadRequest.cs} | 2 +- ....cs => GetServerActivitiesUnauthorized.cs} | 2 +- ....cs => GetServerCapabilitiesBadRequest.cs} | 2 +- ...s => GetServerCapabilitiesUnauthorized.cs} | 2 +- ....cs => GetServerIdentityRequestTimeout.cs} | 2 +- ...onseBody.cs => GetServerListBadRequest.cs} | 2 +- ...seBody.cs => GetServerListUnauthorized.cs} | 2 +- ...y.cs => GetServerPreferencesBadRequest.cs} | 2 +- ...cs => GetServerPreferencesUnauthorized.cs} | 2 +- ...ody.cs => GetServerResourcesBadRequest.cs} | 2 +- ...y.cs => GetServerResourcesUnauthorized.cs} | 2 +- ...Body.cs => GetSessionHistoryBadRequest.cs} | 2 +- ...dy.cs => GetSessionHistoryUnauthorized.cs} | 2 +- ...sponseBody.cs => GetSessionsBadRequest.cs} | 2 +- ...onseBody.cs => GetSessionsUnauthorized.cs} | 2 +- ...tSourceConnectionInformationBadRequest.cs} | 2 +- ...ourceConnectionInformationUnauthorized.cs} | 2 +- ...onseBody.cs => GetStatisticsBadRequest.cs} | 2 +- ...seBody.cs => GetStatisticsUnauthorized.cs} | 2 +- ...onseBody.cs => GetThumbImageBadRequest.cs} | 2 +- ...seBody.cs => GetThumbImageUnauthorized.cs} | 2 +- ...sponseBody.cs => GetTimelineBadRequest.cs} | 2 +- ...onseBody.cs => GetTimelineUnauthorized.cs} | 2 +- .../Errors/GetTokenByPinIdBadRequest.cs | 34 + .../Errors/GetTokenByPinIdPlexResponseBody.cs | 34 - .../Errors/GetTokenByPinIdResponseBody.cs | 4 +- ...=> GetTokenDetailsAuthenticationErrors.cs} | 2 +- .../Errors/GetTokenDetailsBadRequest.cs | 34 + ...ailsErrors.cs => GetTokenDetailsErrors.cs} | 2 +- .../Errors/GetTokenDetailsUnauthorized.cs | 34 + ...y.cs => GetTopWatchedContentBadRequest.cs} | 2 +- ...cs => GetTopWatchedContentUnauthorized.cs} | 2 +- ...y.cs => GetTranscodeSessionsBadRequest.cs} | 2 +- ...cs => GetTranscodeSessionsUnauthorized.cs} | 2 +- ...Body.cs => GetTransientTokenBadRequest.cs} | 2 +- ...dy.cs => GetTransientTokenUnauthorized.cs} | 2 +- ...seBody.cs => GetUpdateStatusBadRequest.cs} | 2 +- ...Body.cs => GetUpdateStatusUnauthorized.cs} | 2 +- ...etUserDetailsAuthenticationResponseBody.cs | 34 - .../Errors/GetUserDetailsResponseBody.cs | 34 - ...nseBody.cs => GetUserFriendsBadRequest.cs} | 2 +- ...eBody.cs => GetUserFriendsUnauthorized.cs} | 2 +- ...ponseBody.cs => GetWatchListBadRequest.cs} | 2 +- ...nseBody.cs => GetWatchListUnauthorized.cs} | 2 +- ...neResponseBody.cs => LogLineBadRequest.cs} | 2 +- ...ResponseBody.cs => LogLineUnauthorized.cs} | 2 +- ...ponseBody.cs => LogMultiLineBadRequest.cs} | 2 +- ...nseBody.cs => LogMultiLineUnauthorized.cs} | 2 +- ...esponseBody.cs => MarkPlayedBadRequest.cs} | 2 +- ...ponseBody.cs => MarkPlayedUnauthorized.cs} | 2 +- ...ponseBody.cs => MarkUnplayedBadRequest.cs} | 2 +- ...nseBody.cs => MarkUnplayedUnauthorized.cs} | 2 +- ...onseBody.cs => PerformSearchBadRequest.cs} | 2 +- ...seBody.cs => PerformSearchUnauthorized.cs} | 2 +- ...ody.cs => PerformVoiceSearchBadRequest.cs} | 2 +- ...y.cs => PerformVoiceSearchUnauthorized.cs} | 2 +- ...dy.cs => PostUsersSignInDataBadRequest.cs} | 2 +- ....cs => PostUsersSignInDataUnauthorized.cs} | 2 +- ...onseBody.cs => StartAllTasksBadRequest.cs} | 2 +- ...seBody.cs => StartAllTasksUnauthorized.cs} | 2 +- ...ResponseBody.cs => StartTaskBadRequest.cs} | 2 +- ...sponseBody.cs => StartTaskUnauthorized.cs} | 2 +- ...s => StartUniversalTranscodeBadRequest.cs} | 2 +- ...=> StartUniversalTranscodeUnauthorized.cs} | 2 +- ...ponseBody.cs => StopAllTasksBadRequest.cs} | 2 +- ...nseBody.cs => StopAllTasksUnauthorized.cs} | 2 +- ...kResponseBody.cs => StopTaskBadRequest.cs} | 2 +- ...esponseBody.cs => StopTaskUnauthorized.cs} | 2 +- ...y.cs => StopTranscodeSessionBadRequest.cs} | 2 +- ...cs => StopTranscodeSessionUnauthorized.cs} | 2 +- ...ody.cs => UpdatePlayProgressBadRequest.cs} | 2 +- ...y.cs => UpdatePlayProgressUnauthorized.cs} | 2 +- ...nseBody.cs => UpdatePlaylistBadRequest.cs} | 2 +- ...eBody.cs => UpdatePlaylistUnauthorized.cs} | 2 +- ...nseBody.cs => UploadPlaylistBadRequest.cs} | 2 +- ...eBody.cs => UploadPlaylistUnauthorized.cs} | 2 +- .../Requests/AddPlaylistContentsResponse.cs | 2 +- .../Models/Requests/CreatePlaylistResponse.cs | 2 +- .../Requests/GetAllLibrariesResponse.cs | 2 +- .../Requests/GetAvailableClientsResponse.cs | 2 +- .../GetBandwidthStatisticsResponse.cs | 2 +- .../Models/Requests/GetButlerTasksResponse.cs | 2 +- .../SDK/Models/Requests/GetDevicesResponse.cs | 2 +- .../Models/Requests/GetGlobalHubsResponse.cs | 2 +- .../Models/Requests/GetHomeDataResponse.cs | 2 +- .../Requests/GetLibraryDetailsResponse.cs | 2 +- .../Models/Requests/GetLibraryHubsResponse.cs | 2 +- .../Requests/GetLibraryItemsResponse.cs | 2 +- .../Requests/GetMediaProvidersResponse.cs | 2 +- .../GetMetaDataByRatingKeyResponse.cs | 2 +- .../Requests/GetMetadataChildrenResponse.cs | 2 +- .../Requests/GetMyPlexAccountResponse.cs | 2 +- .../SDK/Models/Requests/GetOnDeckResponse.cs | 2 +- .../Requests/GetPlaylistContentsResponse.cs | 2 +- .../Models/Requests/GetPlaylistResponse.cs | 2 +- .../Models/Requests/GetPlaylistsResponse.cs | 2 +- .../Requests/GetRecentlyAddedResponse.cs | 2 +- .../GetResourcesStatisticsResponse.cs | 2 +- .../Requests/GetSearchLibraryResponse.cs | 2 +- .../Requests/GetSearchResultsResponse.cs | 2 +- .../Requests/GetServerActivitiesResponse.cs | 2 +- .../Requests/GetServerCapabilitiesResponse.cs | 2 +- .../Requests/GetServerIdentityResponse.cs | 2 +- .../Models/Requests/GetServerListResponse.cs | 2 +- .../Requests/GetServerPreferencesResponse.cs | 2 +- .../Requests/GetServerResourcesRequest.cs | 6 - .../Requests/GetSessionHistoryResponse.cs | 2 +- .../Models/Requests/GetSessionsResponse.cs | 2 +- .../Models/Requests/GetStatisticsResponse.cs | 2 +- ...kenDetailsAuthenticationResponseStatus.cs} | 16 +- ...=> GetTokenDetailsAuthenticationStatus.cs} | 16 +- ...Features.cs => GetTokenDetailsFeatures.cs} | 16 +- ...Response.cs => GetTokenDetailsResponse.cs} | 4 +- ...ailsStatus.cs => GetTokenDetailsStatus.cs} | 16 +- ...tion.cs => GetTokenDetailsSubscription.cs} | 6 +- ...t.cs => GetTokenDetailsUserPlexAccount.cs} | 4 +- .../Requests/GetTopWatchedContentResponse.cs | 2 +- .../Requests/GetTranscodeSessionsResponse.cs | 2 +- .../Requests/GetUpdateStatusResponse.cs | 2 +- .../Models/Requests/GetUserDetailsRequest.cs | 23 - .../Models/Requests/GetWatchListResponse.cs | 2 +- .../PlexAPI/SDK/Models/Requests/Services.cs | 2 +- .../SDK/Models/Requests/Subscription.cs | 2 +- LukeHagar/PlexAPI/SDK/Playlists.cs | 52 +- LukeHagar/PlexAPI/SDK/Plex.cs | 47 +- LukeHagar/PlexAPI/SDK/PlexAPI.cs | 9 +- LukeHagar/PlexAPI/SDK/Search.cs | 20 +- LukeHagar/PlexAPI/SDK/Server.cs | 56 +- LukeHagar/PlexAPI/SDK/Sessions.cs | 28 +- LukeHagar/PlexAPI/SDK/Statistics.cs | 24 +- LukeHagar/PlexAPI/SDK/Updater.cs | 20 +- LukeHagar/PlexAPI/SDK/Video.cs | 14 +- LukeHagar/PlexAPI/SDK/Watchlist.cs | 12 +- NUGET.md | 28 +- README.md | 32 +- RELEASES.md | 12 +- ...dy.md => AddPlaylistContentsBadRequest.md} | 2 +- ....md => AddPlaylistContentsUnauthorized.md} | 2 +- ...ponseBody.md => ApplyUpdatesBadRequest.md} | 2 +- ...nseBody.md => ApplyUpdatesUnauthorized.md} | 2 +- ...md => CancelServerActivitiesBadRequest.md} | 2 +- ... => CancelServerActivitiesUnauthorized.md} | 2 +- ...seBody.md => CheckForUpdatesBadRequest.md} | 2 +- ...Body.md => CheckForUpdatesUnauthorized.md} | 2 +- ....md => ClearPlaylistContentsBadRequest.md} | 2 +- ...d => ClearPlaylistContentsUnauthorized.md} | 2 +- ...nseBody.md => CreatePlaylistBadRequest.md} | 2 +- ...eBody.md => CreatePlaylistUnauthorized.md} | 2 +- ...onseBody.md => DeleteLibraryBadRequest.md} | 2 +- ...seBody.md => DeleteLibraryUnauthorized.md} | 2 +- ...nseBody.md => DeletePlaylistBadRequest.md} | 2 +- ...eBody.md => DeletePlaylistUnauthorized.md} | 2 +- ...eBody.md => EnablePaperTrailBadRequest.md} | 2 +- ...ody.md => EnablePaperTrailUnauthorized.md} | 2 +- ...seBody.md => GetAllLibrariesBadRequest.md} | 2 +- ...Body.md => GetAllLibrariesUnauthorized.md} | 2 +- ...dy.md => GetAvailableClientsBadRequest.md} | 2 +- ....md => GetAvailableClientsUnauthorized.md} | 2 +- ...md => GetBandwidthStatisticsBadRequest.md} | 2 +- ... => GetBandwidthStatisticsUnauthorized.md} | 2 +- ...nseBody.md => GetBannerImageBadRequest.md} | 2 +- ...eBody.md => GetBannerImageUnauthorized.md} | 2 +- ...nseBody.md => GetButlerTasksBadRequest.md} | 2 +- ...eBody.md => GetButlerTasksUnauthorized.md} | 2 +- ...Body.md => GetCompanionsDataBadRequest.md} | 2 +- ...dy.md => GetCompanionsDataUnauthorized.md} | 2 +- ...esponseBody.md => GetDevicesBadRequest.md} | 2 +- ...ponseBody.md => GetDevicesUnauthorized.md} | 2 +- ...sponseBody.md => GetFileHashBadRequest.md} | 2 +- ...onseBody.md => GetFileHashUnauthorized.md} | 2 +- ...esponseBody.md => GetGeoDataBadRequest.md} | 2 +- ...ponseBody.md => GetGeoDataUnauthorized.md} | 2 +- ...onseBody.md => GetGlobalHubsBadRequest.md} | 2 +- ...seBody.md => GetGlobalHubsUnauthorized.md} | 2 +- ...sponseBody.md => GetHomeDataBadRequest.md} | 2 +- ...onseBody.md => GetHomeDataUnauthorized.md} | 2 +- ...Body.md => GetLibraryDetailsBadRequest.md} | 2 +- ...dy.md => GetLibraryDetailsUnauthorized.md} | 2 +- ...nseBody.md => GetLibraryHubsBadRequest.md} | 2 +- ...eBody.md => GetLibraryHubsUnauthorized.md} | 2 +- ...seBody.md => GetLibraryItemsBadRequest.md} | 2 +- ...Body.md => GetLibraryItemsUnauthorized.md} | 2 +- ...Body.md => GetMediaProvidersBadRequest.md} | 2 +- ...dy.md => GetMediaProvidersUnauthorized.md} | 2 +- ...md => GetMetaDataByRatingKeyBadRequest.md} | 2 +- ... => GetMetaDataByRatingKeyUnauthorized.md} | 2 +- ...dy.md => GetMetadataChildrenBadRequest.md} | 2 +- ....md => GetMetadataChildrenUnauthorized.md} | 2 +- ...eBody.md => GetMyPlexAccountBadRequest.md} | 2 +- ...ody.md => GetMyPlexAccountUnauthorized.md} | 2 +- ...ResponseBody.md => GetOnDeckBadRequest.md} | 2 +- ...sponseBody.md => GetOnDeckUnauthorized.md} | 2 +- docs/Models/Errors/GetPinBadRequest.md | 11 + docs/Models/Errors/GetPinResponseBody.md | 11 - ...sponseBody.md => GetPlaylistBadRequest.md} | 2 +- ...dy.md => GetPlaylistContentsBadRequest.md} | 2 +- ....md => GetPlaylistContentsUnauthorized.md} | 2 +- ...onseBody.md => GetPlaylistUnauthorized.md} | 2 +- ...ponseBody.md => GetPlaylistsBadRequest.md} | 2 +- ...nseBody.md => GetPlaylistsUnauthorized.md} | 2 +- ...eBody.md => GetRecentlyAddedBadRequest.md} | 2 +- ...ody.md => GetRecentlyAddedUnauthorized.md} | 2 +- ...=> GetRefreshLibraryMetadataBadRequest.md} | 2 +- ... GetRefreshLibraryMetadataUnauthorized.md} | 2 +- ...seBody.md => GetResizedPhotoBadRequest.md} | 2 +- ...Body.md => GetResizedPhotoUnauthorized.md} | 2 +- ...md => GetResourcesStatisticsBadRequest.md} | 2 +- ... => GetResourcesStatisticsUnauthorized.md} | 2 +- ...eBody.md => GetSearchLibraryBadRequest.md} | 2 +- ...ody.md => GetSearchLibraryUnauthorized.md} | 2 +- ...eBody.md => GetSearchResultsBadRequest.md} | 2 +- ...ody.md => GetSearchResultsUnauthorized.md} | 2 +- ...dy.md => GetServerActivitiesBadRequest.md} | 2 +- ....md => GetServerActivitiesUnauthorized.md} | 2 +- ....md => GetServerCapabilitiesBadRequest.md} | 2 +- ...d => GetServerCapabilitiesUnauthorized.md} | 2 +- ....md => GetServerIdentityRequestTimeout.md} | 2 +- ...onseBody.md => GetServerListBadRequest.md} | 2 +- ...seBody.md => GetServerListUnauthorized.md} | 2 +- ...y.md => GetServerPreferencesBadRequest.md} | 2 +- ...md => GetServerPreferencesUnauthorized.md} | 2 +- ...ody.md => GetServerResourcesBadRequest.md} | 2 +- ...y.md => GetServerResourcesUnauthorized.md} | 2 +- ...Body.md => GetSessionHistoryBadRequest.md} | 2 +- ...dy.md => GetSessionHistoryUnauthorized.md} | 2 +- ...sponseBody.md => GetSessionsBadRequest.md} | 2 +- ...onseBody.md => GetSessionsUnauthorized.md} | 2 +- ...tSourceConnectionInformationBadRequest.md} | 2 +- ...ourceConnectionInformationUnauthorized.md} | 2 +- ...onseBody.md => GetStatisticsBadRequest.md} | 2 +- ...seBody.md => GetStatisticsUnauthorized.md} | 2 +- ...onseBody.md => GetThumbImageBadRequest.md} | 2 +- ...seBody.md => GetThumbImageUnauthorized.md} | 2 +- ...sponseBody.md => GetTimelineBadRequest.md} | 2 +- ...onseBody.md => GetTimelineUnauthorized.md} | 2 +- .../Errors/GetTokenByPinIdBadRequest.md | 11 + .../Errors/GetTokenByPinIdPlexResponseBody.md | 11 - .../Errors/GetTokenByPinIdResponseBody.md | 4 +- ...=> GetTokenDetailsAuthenticationErrors.md} | 2 +- .../Errors/GetTokenDetailsBadRequest.md | 11 + ...ailsErrors.md => GetTokenDetailsErrors.md} | 2 +- .../Errors/GetTokenDetailsUnauthorized.md | 11 + ...y.md => GetTopWatchedContentBadRequest.md} | 2 +- ...md => GetTopWatchedContentUnauthorized.md} | 2 +- ...y.md => GetTranscodeSessionsBadRequest.md} | 2 +- ...md => GetTranscodeSessionsUnauthorized.md} | 2 +- ...Body.md => GetTransientTokenBadRequest.md} | 2 +- ...dy.md => GetTransientTokenUnauthorized.md} | 2 +- ...seBody.md => GetUpdateStatusBadRequest.md} | 2 +- ...Body.md => GetUpdateStatusUnauthorized.md} | 2 +- ...etUserDetailsAuthenticationResponseBody.md | 11 - .../Errors/GetUserDetailsResponseBody.md | 11 - ...nseBody.md => GetUserFriendsBadRequest.md} | 2 +- ...eBody.md => GetUserFriendsUnauthorized.md} | 2 +- ...ponseBody.md => GetWatchListBadRequest.md} | 2 +- ...nseBody.md => GetWatchListUnauthorized.md} | 2 +- ...neResponseBody.md => LogLineBadRequest.md} | 2 +- ...ResponseBody.md => LogLineUnauthorized.md} | 2 +- ...ponseBody.md => LogMultiLineBadRequest.md} | 2 +- ...nseBody.md => LogMultiLineUnauthorized.md} | 2 +- ...esponseBody.md => MarkPlayedBadRequest.md} | 2 +- ...ponseBody.md => MarkPlayedUnauthorized.md} | 2 +- ...ponseBody.md => MarkUnplayedBadRequest.md} | 2 +- ...nseBody.md => MarkUnplayedUnauthorized.md} | 2 +- ...onseBody.md => PerformSearchBadRequest.md} | 2 +- ...seBody.md => PerformSearchUnauthorized.md} | 2 +- ...ody.md => PerformVoiceSearchBadRequest.md} | 2 +- ...y.md => PerformVoiceSearchUnauthorized.md} | 2 +- ...dy.md => PostUsersSignInDataBadRequest.md} | 2 +- ....md => PostUsersSignInDataUnauthorized.md} | 2 +- ...onseBody.md => StartAllTasksBadRequest.md} | 2 +- ...seBody.md => StartAllTasksUnauthorized.md} | 2 +- ...ResponseBody.md => StartTaskBadRequest.md} | 2 +- ...sponseBody.md => StartTaskUnauthorized.md} | 2 +- ...d => StartUniversalTranscodeBadRequest.md} | 2 +- ...=> StartUniversalTranscodeUnauthorized.md} | 2 +- ...ponseBody.md => StopAllTasksBadRequest.md} | 2 +- ...nseBody.md => StopAllTasksUnauthorized.md} | 2 +- ...kResponseBody.md => StopTaskBadRequest.md} | 2 +- ...esponseBody.md => StopTaskUnauthorized.md} | 2 +- ...y.md => StopTranscodeSessionBadRequest.md} | 2 +- ...md => StopTranscodeSessionUnauthorized.md} | 2 +- ...ody.md => UpdatePlayProgressBadRequest.md} | 2 +- ...y.md => UpdatePlayProgressUnauthorized.md} | 2 +- ...nseBody.md => UpdatePlaylistBadRequest.md} | 2 +- ...eBody.md => UpdatePlaylistUnauthorized.md} | 2 +- ...nseBody.md => UploadPlaylistBadRequest.md} | 2 +- ...eBody.md => UploadPlaylistUnauthorized.md} | 2 +- .../Requests/AddPlaylistContentsResponse.md | 2 +- .../Models/Requests/CreatePlaylistResponse.md | 2 +- .../Requests/GetAllLibrariesResponse.md | 2 +- .../Requests/GetAvailableClientsResponse.md | 2 +- .../GetBandwidthStatisticsResponse.md | 2 +- .../Models/Requests/GetButlerTasksResponse.md | 2 +- docs/Models/Requests/GetDevicesResponse.md | 2 +- docs/Models/Requests/GetGlobalHubsResponse.md | 2 +- docs/Models/Requests/GetHomeDataResponse.md | 2 +- .../Requests/GetLibraryDetailsResponse.md | 2 +- .../Models/Requests/GetLibraryHubsResponse.md | 2 +- .../Requests/GetLibraryItemsResponse.md | 2 +- .../Requests/GetMediaProvidersResponse.md | 2 +- .../GetMetaDataByRatingKeyResponse.md | 2 +- .../Requests/GetMetadataChildrenResponse.md | 2 +- .../Requests/GetMyPlexAccountResponse.md | 2 +- docs/Models/Requests/GetOnDeckResponse.md | 2 +- .../Requests/GetPlaylistContentsResponse.md | 2 +- docs/Models/Requests/GetPlaylistResponse.md | 2 +- docs/Models/Requests/GetPlaylistsResponse.md | 2 +- .../Requests/GetRecentlyAddedResponse.md | 2 +- .../GetResourcesStatisticsResponse.md | 2 +- .../Requests/GetSearchLibraryResponse.md | 2 +- .../Requests/GetSearchResultsResponse.md | 2 +- .../Requests/GetServerActivitiesResponse.md | 2 +- .../Requests/GetServerCapabilitiesResponse.md | 2 +- .../Requests/GetServerIdentityResponse.md | 2 +- docs/Models/Requests/GetServerListResponse.md | 2 +- .../Requests/GetServerPreferencesResponse.md | 2 +- .../Requests/GetServerResourcesRequest.md | 1 - .../Requests/GetSessionHistoryResponse.md | 2 +- docs/Models/Requests/GetSessionsResponse.md | 2 +- docs/Models/Requests/GetStatisticsResponse.md | 2 +- ...kenDetailsAuthenticationResponseStatus.md} | 2 +- ...=> GetTokenDetailsAuthenticationStatus.md} | 2 +- ...Features.md => GetTokenDetailsFeatures.md} | 2 +- ...Response.md => GetTokenDetailsResponse.md} | 4 +- ...ailsStatus.md => GetTokenDetailsStatus.md} | 2 +- .../Requests/GetTokenDetailsSubscription.md | 13 + ...t.md => GetTokenDetailsUserPlexAccount.md} | 4 +- .../Requests/GetTopWatchedContentResponse.md | 2 +- .../Requests/GetTranscodeSessionsResponse.md | 2 +- .../Requests/GetUpdateStatusResponse.md | 2 +- docs/Models/Requests/GetUserDetailsRequest.md | 8 - .../Requests/GetUserDetailsSubscription.md | 13 - docs/Models/Requests/GetWatchListResponse.md | 2 +- docs/Models/Requests/Services.md | 14 +- docs/Models/Requests/Subscription.md | 16 +- docs/sdks/activities/README.md | 20 +- docs/sdks/authentication/README.md | 58 +- docs/sdks/butler/README.md | 50 +- docs/sdks/hubs/README.md | 20 +- docs/sdks/library/README.md | 120 ++-- docs/sdks/log/README.md | 30 +- docs/sdks/media/README.md | 50 +- docs/sdks/playlists/README.md | 90 +-- docs/sdks/plex/README.md | 93 +-- docs/sdks/search/README.md | 30 +- docs/sdks/server/README.md | 88 +-- docs/sdks/sessions/README.md | 40 +- docs/sdks/statistics/README.md | 30 +- docs/sdks/updater/README.md | 30 +- docs/sdks/video/README.md | 20 +- docs/sdks/watchlist/README.md | 10 +- 439 files changed, 1638 insertions(+), 1658 deletions(-) rename LukeHagar/PlexAPI/SDK/Models/Errors/{AddPlaylistContentsResponseBody.cs => AddPlaylistContentsBadRequest.cs} (94%) rename LukeHagar/PlexAPI/SDK/Models/Errors/{AddPlaylistContentsPlaylistsResponseBody.cs => AddPlaylistContentsUnauthorized.cs} (94%) rename LukeHagar/PlexAPI/SDK/Models/Errors/{ApplyUpdatesResponseBody.cs => ApplyUpdatesBadRequest.cs} (95%) rename LukeHagar/PlexAPI/SDK/Models/Errors/{ApplyUpdatesUpdaterResponseBody.cs => ApplyUpdatesUnauthorized.cs} (94%) rename LukeHagar/PlexAPI/SDK/Models/Errors/{CancelServerActivitiesResponseBody.cs => CancelServerActivitiesBadRequest.cs} (94%) rename LukeHagar/PlexAPI/SDK/Models/Errors/{CancelServerActivitiesActivitiesResponseBody.cs => CancelServerActivitiesUnauthorized.cs} (93%) rename LukeHagar/PlexAPI/SDK/Models/Errors/{CheckForUpdatesResponseBody.cs => CheckForUpdatesBadRequest.cs} (95%) rename LukeHagar/PlexAPI/SDK/Models/Errors/{CheckForUpdatesUpdaterResponseBody.cs => CheckForUpdatesUnauthorized.cs} (94%) rename LukeHagar/PlexAPI/SDK/Models/Errors/{ClearPlaylistContentsResponseBody.cs => ClearPlaylistContentsBadRequest.cs} (94%) rename LukeHagar/PlexAPI/SDK/Models/Errors/{ClearPlaylistContentsPlaylistsResponseBody.cs => ClearPlaylistContentsUnauthorized.cs} (93%) rename LukeHagar/PlexAPI/SDK/Models/Errors/{CreatePlaylistResponseBody.cs => CreatePlaylistBadRequest.cs} (95%) rename LukeHagar/PlexAPI/SDK/Models/Errors/{CreatePlaylistPlaylistsResponseBody.cs => CreatePlaylistUnauthorized.cs} (94%) rename LukeHagar/PlexAPI/SDK/Models/Errors/{DeleteLibraryResponseBody.cs => DeleteLibraryBadRequest.cs} (95%) rename LukeHagar/PlexAPI/SDK/Models/Errors/{DeleteLibraryLibraryResponseBody.cs => DeleteLibraryUnauthorized.cs} (94%) rename LukeHagar/PlexAPI/SDK/Models/Errors/{DeletePlaylistResponseBody.cs => DeletePlaylistBadRequest.cs} (95%) rename LukeHagar/PlexAPI/SDK/Models/Errors/{DeletePlaylistPlaylistsResponseBody.cs => DeletePlaylistUnauthorized.cs} (94%) rename LukeHagar/PlexAPI/SDK/Models/Errors/{EnablePaperTrailResponseBody.cs => EnablePaperTrailBadRequest.cs} (94%) rename LukeHagar/PlexAPI/SDK/Models/Errors/{EnablePaperTrailLogResponseBody.cs => EnablePaperTrailUnauthorized.cs} (94%) rename LukeHagar/PlexAPI/SDK/Models/Errors/{GetAllLibrariesResponseBody.cs => GetAllLibrariesBadRequest.cs} (95%) rename LukeHagar/PlexAPI/SDK/Models/Errors/{GetAllLibrariesLibraryResponseBody.cs => GetAllLibrariesUnauthorized.cs} (94%) rename LukeHagar/PlexAPI/SDK/Models/Errors/{GetAvailableClientsResponseBody.cs => GetAvailableClientsBadRequest.cs} (94%) rename LukeHagar/PlexAPI/SDK/Models/Errors/{GetAvailableClientsServerResponseBody.cs => GetAvailableClientsUnauthorized.cs} (94%) rename LukeHagar/PlexAPI/SDK/Models/Errors/{GetBandwidthStatisticsResponseBody.cs => GetBandwidthStatisticsBadRequest.cs} (94%) rename LukeHagar/PlexAPI/SDK/Models/Errors/{GetBandwidthStatisticsStatisticsResponseBody.cs => GetBandwidthStatisticsUnauthorized.cs} (93%) rename LukeHagar/PlexAPI/SDK/Models/Errors/{GetBannerImageResponseBody.cs => GetBannerImageBadRequest.cs} (95%) rename LukeHagar/PlexAPI/SDK/Models/Errors/{GetBannerImageMediaResponseBody.cs => GetBannerImageUnauthorized.cs} (94%) rename LukeHagar/PlexAPI/SDK/Models/Errors/{GetButlerTasksResponseBody.cs => GetButlerTasksBadRequest.cs} (95%) rename LukeHagar/PlexAPI/SDK/Models/Errors/{GetButlerTasksButlerResponseBody.cs => GetButlerTasksUnauthorized.cs} (94%) rename LukeHagar/PlexAPI/SDK/Models/Errors/{GetCompanionsDataResponseBody.cs => GetCompanionsDataBadRequest.cs} (94%) rename LukeHagar/PlexAPI/SDK/Models/Errors/{GetCompanionsDataPlexResponseBody.cs => GetCompanionsDataUnauthorized.cs} (94%) rename LukeHagar/PlexAPI/SDK/Models/Errors/{GetDevicesResponseBody.cs => GetDevicesBadRequest.cs} (95%) rename LukeHagar/PlexAPI/SDK/Models/Errors/{GetDevicesServerResponseBody.cs => GetDevicesUnauthorized.cs} (94%) rename LukeHagar/PlexAPI/SDK/Models/Errors/{GetFileHashResponseBody.cs => GetFileHashBadRequest.cs} (95%) rename LukeHagar/PlexAPI/SDK/Models/Errors/{GetFileHashLibraryResponseBody.cs => GetFileHashUnauthorized.cs} (94%) rename LukeHagar/PlexAPI/SDK/Models/Errors/{GetGeoDataResponseBody.cs => GetGeoDataBadRequest.cs} (95%) rename LukeHagar/PlexAPI/SDK/Models/Errors/{GetGeoDataPlexResponseBody.cs => GetGeoDataUnauthorized.cs} (95%) rename LukeHagar/PlexAPI/SDK/Models/Errors/{GetGlobalHubsResponseBody.cs => GetGlobalHubsBadRequest.cs} (95%) rename LukeHagar/PlexAPI/SDK/Models/Errors/{GetGlobalHubsHubsResponseBody.cs => GetGlobalHubsUnauthorized.cs} (94%) rename LukeHagar/PlexAPI/SDK/Models/Errors/{GetHomeDataResponseBody.cs => GetHomeDataBadRequest.cs} (95%) rename LukeHagar/PlexAPI/SDK/Models/Errors/{GetHomeDataPlexResponseBody.cs => GetHomeDataUnauthorized.cs} (95%) rename LukeHagar/PlexAPI/SDK/Models/Errors/{GetLibraryDetailsResponseBody.cs => GetLibraryDetailsBadRequest.cs} (94%) rename LukeHagar/PlexAPI/SDK/Models/Errors/{GetLibraryDetailsLibraryResponseBody.cs => GetLibraryDetailsUnauthorized.cs} (94%) rename LukeHagar/PlexAPI/SDK/Models/Errors/{GetLibraryHubsResponseBody.cs => GetLibraryHubsBadRequest.cs} (95%) rename LukeHagar/PlexAPI/SDK/Models/Errors/{GetLibraryHubsHubsResponseBody.cs => GetLibraryHubsUnauthorized.cs} (94%) rename LukeHagar/PlexAPI/SDK/Models/Errors/{GetLibraryItemsResponseBody.cs => GetLibraryItemsBadRequest.cs} (95%) rename LukeHagar/PlexAPI/SDK/Models/Errors/{GetLibraryItemsLibraryResponseBody.cs => GetLibraryItemsUnauthorized.cs} (94%) rename LukeHagar/PlexAPI/SDK/Models/Errors/{GetMediaProvidersResponseBody.cs => GetMediaProvidersBadRequest.cs} (94%) rename LukeHagar/PlexAPI/SDK/Models/Errors/{GetMediaProvidersServerResponseBody.cs => GetMediaProvidersUnauthorized.cs} (94%) rename LukeHagar/PlexAPI/SDK/Models/Errors/{GetMetaDataByRatingKeyResponseBody.cs => GetMetaDataByRatingKeyBadRequest.cs} (94%) rename LukeHagar/PlexAPI/SDK/Models/Errors/{GetMetaDataByRatingKeyLibraryResponseBody.cs => GetMetaDataByRatingKeyUnauthorized.cs} (93%) rename LukeHagar/PlexAPI/SDK/Models/Errors/{GetMetadataChildrenResponseBody.cs => GetMetadataChildrenBadRequest.cs} (94%) rename LukeHagar/PlexAPI/SDK/Models/Errors/{GetMetadataChildrenLibraryResponseBody.cs => GetMetadataChildrenUnauthorized.cs} (94%) rename LukeHagar/PlexAPI/SDK/Models/Errors/{GetMyPlexAccountResponseBody.cs => GetMyPlexAccountBadRequest.cs} (94%) rename LukeHagar/PlexAPI/SDK/Models/Errors/{GetMyPlexAccountServerResponseBody.cs => GetMyPlexAccountUnauthorized.cs} (94%) rename LukeHagar/PlexAPI/SDK/Models/Errors/{GetOnDeckResponseBody.cs => GetOnDeckBadRequest.cs} (95%) rename LukeHagar/PlexAPI/SDK/Models/Errors/{GetOnDeckLibraryResponseBody.cs => GetOnDeckUnauthorized.cs} (94%) create mode 100644 LukeHagar/PlexAPI/SDK/Models/Errors/GetPinBadRequest.cs delete mode 100644 LukeHagar/PlexAPI/SDK/Models/Errors/GetPinResponseBody.cs rename LukeHagar/PlexAPI/SDK/Models/Errors/{GetPlaylistResponseBody.cs => GetPlaylistBadRequest.cs} (95%) rename LukeHagar/PlexAPI/SDK/Models/Errors/{GetPlaylistContentsResponseBody.cs => GetPlaylistContentsBadRequest.cs} (94%) rename LukeHagar/PlexAPI/SDK/Models/Errors/{GetPlaylistContentsPlaylistsResponseBody.cs => GetPlaylistContentsUnauthorized.cs} (94%) rename LukeHagar/PlexAPI/SDK/Models/Errors/{GetPlaylistPlaylistsResponseBody.cs => GetPlaylistUnauthorized.cs} (94%) rename LukeHagar/PlexAPI/SDK/Models/Errors/{GetPlaylistsResponseBody.cs => GetPlaylistsBadRequest.cs} (95%) rename LukeHagar/PlexAPI/SDK/Models/Errors/{GetPlaylistsPlaylistsResponseBody.cs => GetPlaylistsUnauthorized.cs} (94%) rename LukeHagar/PlexAPI/SDK/Models/Errors/{GetRecentlyAddedResponseBody.cs => GetRecentlyAddedBadRequest.cs} (94%) rename LukeHagar/PlexAPI/SDK/Models/Errors/{GetRecentlyAddedLibraryResponseBody.cs => GetRecentlyAddedUnauthorized.cs} (94%) rename LukeHagar/PlexAPI/SDK/Models/Errors/{GetRefreshLibraryMetadataResponseBody.cs => GetRefreshLibraryMetadataBadRequest.cs} (94%) rename LukeHagar/PlexAPI/SDK/Models/Errors/{GetRefreshLibraryMetadataLibraryResponseBody.cs => GetRefreshLibraryMetadataUnauthorized.cs} (93%) rename LukeHagar/PlexAPI/SDK/Models/Errors/{GetResizedPhotoResponseBody.cs => GetResizedPhotoBadRequest.cs} (95%) rename LukeHagar/PlexAPI/SDK/Models/Errors/{GetResizedPhotoServerResponseBody.cs => GetResizedPhotoUnauthorized.cs} (94%) rename LukeHagar/PlexAPI/SDK/Models/Errors/{GetResourcesStatisticsResponseBody.cs => GetResourcesStatisticsBadRequest.cs} (94%) rename LukeHagar/PlexAPI/SDK/Models/Errors/{GetResourcesStatisticsStatisticsResponseBody.cs => GetResourcesStatisticsUnauthorized.cs} (93%) rename LukeHagar/PlexAPI/SDK/Models/Errors/{GetSearchLibraryResponseBody.cs => GetSearchLibraryBadRequest.cs} (94%) rename LukeHagar/PlexAPI/SDK/Models/Errors/{GetSearchLibraryLibraryResponseBody.cs => GetSearchLibraryUnauthorized.cs} (94%) rename LukeHagar/PlexAPI/SDK/Models/Errors/{GetSearchResultsResponseBody.cs => GetSearchResultsBadRequest.cs} (94%) rename LukeHagar/PlexAPI/SDK/Models/Errors/{GetSearchResultsSearchResponseBody.cs => GetSearchResultsUnauthorized.cs} (94%) rename LukeHagar/PlexAPI/SDK/Models/Errors/{GetServerActivitiesResponseBody.cs => GetServerActivitiesBadRequest.cs} (94%) rename LukeHagar/PlexAPI/SDK/Models/Errors/{GetServerActivitiesActivitiesResponseBody.cs => GetServerActivitiesUnauthorized.cs} (93%) rename LukeHagar/PlexAPI/SDK/Models/Errors/{GetServerCapabilitiesResponseBody.cs => GetServerCapabilitiesBadRequest.cs} (94%) rename LukeHagar/PlexAPI/SDK/Models/Errors/{GetServerCapabilitiesServerResponseBody.cs => GetServerCapabilitiesUnauthorized.cs} (94%) rename LukeHagar/PlexAPI/SDK/Models/Errors/{GetServerIdentityResponseBody.cs => GetServerIdentityRequestTimeout.cs} (94%) rename LukeHagar/PlexAPI/SDK/Models/Errors/{GetServerListResponseBody.cs => GetServerListBadRequest.cs} (95%) rename LukeHagar/PlexAPI/SDK/Models/Errors/{GetServerListServerResponseBody.cs => GetServerListUnauthorized.cs} (94%) rename LukeHagar/PlexAPI/SDK/Models/Errors/{GetServerPreferencesResponseBody.cs => GetServerPreferencesBadRequest.cs} (94%) rename LukeHagar/PlexAPI/SDK/Models/Errors/{GetServerPreferencesServerResponseBody.cs => GetServerPreferencesUnauthorized.cs} (94%) rename LukeHagar/PlexAPI/SDK/Models/Errors/{GetServerResourcesResponseBody.cs => GetServerResourcesBadRequest.cs} (94%) rename LukeHagar/PlexAPI/SDK/Models/Errors/{GetServerResourcesPlexResponseBody.cs => GetServerResourcesUnauthorized.cs} (94%) rename LukeHagar/PlexAPI/SDK/Models/Errors/{GetSessionHistoryResponseBody.cs => GetSessionHistoryBadRequest.cs} (94%) rename LukeHagar/PlexAPI/SDK/Models/Errors/{GetSessionHistorySessionsResponseBody.cs => GetSessionHistoryUnauthorized.cs} (94%) rename LukeHagar/PlexAPI/SDK/Models/Errors/{GetSessionsResponseBody.cs => GetSessionsBadRequest.cs} (95%) rename LukeHagar/PlexAPI/SDK/Models/Errors/{GetSessionsSessionsResponseBody.cs => GetSessionsUnauthorized.cs} (94%) rename LukeHagar/PlexAPI/SDK/Models/Errors/{GetSourceConnectionInformationResponseBody.cs => GetSourceConnectionInformationBadRequest.cs} (93%) rename LukeHagar/PlexAPI/SDK/Models/Errors/{GetSourceConnectionInformationAuthenticationResponseBody.cs => GetSourceConnectionInformationUnauthorized.cs} (92%) rename LukeHagar/PlexAPI/SDK/Models/Errors/{GetStatisticsResponseBody.cs => GetStatisticsBadRequest.cs} (95%) rename LukeHagar/PlexAPI/SDK/Models/Errors/{GetStatisticsStatisticsResponseBody.cs => GetStatisticsUnauthorized.cs} (94%) rename LukeHagar/PlexAPI/SDK/Models/Errors/{GetThumbImageResponseBody.cs => GetThumbImageBadRequest.cs} (95%) rename LukeHagar/PlexAPI/SDK/Models/Errors/{GetThumbImageMediaResponseBody.cs => GetThumbImageUnauthorized.cs} (94%) rename LukeHagar/PlexAPI/SDK/Models/Errors/{GetTimelineResponseBody.cs => GetTimelineBadRequest.cs} (95%) rename LukeHagar/PlexAPI/SDK/Models/Errors/{GetTimelineVideoResponseBody.cs => GetTimelineUnauthorized.cs} (94%) create mode 100644 LukeHagar/PlexAPI/SDK/Models/Errors/GetTokenByPinIdBadRequest.cs delete mode 100644 LukeHagar/PlexAPI/SDK/Models/Errors/GetTokenByPinIdPlexResponseBody.cs rename LukeHagar/PlexAPI/SDK/Models/Errors/{GetUserDetailsAuthenticationErrors.cs => GetTokenDetailsAuthenticationErrors.cs} (93%) create mode 100644 LukeHagar/PlexAPI/SDK/Models/Errors/GetTokenDetailsBadRequest.cs rename LukeHagar/PlexAPI/SDK/Models/Errors/{GetUserDetailsErrors.cs => GetTokenDetailsErrors.cs} (95%) create mode 100644 LukeHagar/PlexAPI/SDK/Models/Errors/GetTokenDetailsUnauthorized.cs rename LukeHagar/PlexAPI/SDK/Models/Errors/{GetTopWatchedContentResponseBody.cs => GetTopWatchedContentBadRequest.cs} (94%) rename LukeHagar/PlexAPI/SDK/Models/Errors/{GetTopWatchedContentLibraryResponseBody.cs => GetTopWatchedContentUnauthorized.cs} (94%) rename LukeHagar/PlexAPI/SDK/Models/Errors/{GetTranscodeSessionsResponseBody.cs => GetTranscodeSessionsBadRequest.cs} (94%) rename LukeHagar/PlexAPI/SDK/Models/Errors/{GetTranscodeSessionsSessionsResponseBody.cs => GetTranscodeSessionsUnauthorized.cs} (94%) rename LukeHagar/PlexAPI/SDK/Models/Errors/{GetTransientTokenResponseBody.cs => GetTransientTokenBadRequest.cs} (94%) rename LukeHagar/PlexAPI/SDK/Models/Errors/{GetTransientTokenAuthenticationResponseBody.cs => GetTransientTokenUnauthorized.cs} (93%) rename LukeHagar/PlexAPI/SDK/Models/Errors/{GetUpdateStatusResponseBody.cs => GetUpdateStatusBadRequest.cs} (95%) rename LukeHagar/PlexAPI/SDK/Models/Errors/{GetUpdateStatusUpdaterResponseBody.cs => GetUpdateStatusUnauthorized.cs} (94%) delete mode 100644 LukeHagar/PlexAPI/SDK/Models/Errors/GetUserDetailsAuthenticationResponseBody.cs delete mode 100644 LukeHagar/PlexAPI/SDK/Models/Errors/GetUserDetailsResponseBody.cs rename LukeHagar/PlexAPI/SDK/Models/Errors/{GetUserFriendsResponseBody.cs => GetUserFriendsBadRequest.cs} (95%) rename LukeHagar/PlexAPI/SDK/Models/Errors/{GetUserFriendsPlexResponseBody.cs => GetUserFriendsUnauthorized.cs} (94%) rename LukeHagar/PlexAPI/SDK/Models/Errors/{GetWatchListResponseBody.cs => GetWatchListBadRequest.cs} (95%) rename LukeHagar/PlexAPI/SDK/Models/Errors/{GetWatchListWatchlistResponseBody.cs => GetWatchListUnauthorized.cs} (94%) rename LukeHagar/PlexAPI/SDK/Models/Errors/{LogLineResponseBody.cs => LogLineBadRequest.cs} (95%) rename LukeHagar/PlexAPI/SDK/Models/Errors/{LogLineLogResponseBody.cs => LogLineUnauthorized.cs} (95%) rename LukeHagar/PlexAPI/SDK/Models/Errors/{LogMultiLineResponseBody.cs => LogMultiLineBadRequest.cs} (95%) rename LukeHagar/PlexAPI/SDK/Models/Errors/{LogMultiLineLogResponseBody.cs => LogMultiLineUnauthorized.cs} (95%) rename LukeHagar/PlexAPI/SDK/Models/Errors/{MarkPlayedResponseBody.cs => MarkPlayedBadRequest.cs} (95%) rename LukeHagar/PlexAPI/SDK/Models/Errors/{MarkPlayedMediaResponseBody.cs => MarkPlayedUnauthorized.cs} (95%) rename LukeHagar/PlexAPI/SDK/Models/Errors/{MarkUnplayedResponseBody.cs => MarkUnplayedBadRequest.cs} (95%) rename LukeHagar/PlexAPI/SDK/Models/Errors/{MarkUnplayedMediaResponseBody.cs => MarkUnplayedUnauthorized.cs} (94%) rename LukeHagar/PlexAPI/SDK/Models/Errors/{PerformSearchResponseBody.cs => PerformSearchBadRequest.cs} (95%) rename LukeHagar/PlexAPI/SDK/Models/Errors/{PerformSearchSearchResponseBody.cs => PerformSearchUnauthorized.cs} (94%) rename LukeHagar/PlexAPI/SDK/Models/Errors/{PerformVoiceSearchResponseBody.cs => PerformVoiceSearchBadRequest.cs} (94%) rename LukeHagar/PlexAPI/SDK/Models/Errors/{PerformVoiceSearchSearchResponseBody.cs => PerformVoiceSearchUnauthorized.cs} (94%) rename LukeHagar/PlexAPI/SDK/Models/Errors/{PostUsersSignInDataResponseBody.cs => PostUsersSignInDataBadRequest.cs} (94%) rename LukeHagar/PlexAPI/SDK/Models/Errors/{PostUsersSignInDataAuthenticationResponseBody.cs => PostUsersSignInDataUnauthorized.cs} (93%) rename LukeHagar/PlexAPI/SDK/Models/Errors/{StartAllTasksResponseBody.cs => StartAllTasksBadRequest.cs} (95%) rename LukeHagar/PlexAPI/SDK/Models/Errors/{StartAllTasksButlerResponseBody.cs => StartAllTasksUnauthorized.cs} (94%) rename LukeHagar/PlexAPI/SDK/Models/Errors/{StartTaskResponseBody.cs => StartTaskBadRequest.cs} (95%) rename LukeHagar/PlexAPI/SDK/Models/Errors/{StartTaskButlerResponseBody.cs => StartTaskUnauthorized.cs} (95%) rename LukeHagar/PlexAPI/SDK/Models/Errors/{StartUniversalTranscodeResponseBody.cs => StartUniversalTranscodeBadRequest.cs} (94%) rename LukeHagar/PlexAPI/SDK/Models/Errors/{StartUniversalTranscodeVideoResponseBody.cs => StartUniversalTranscodeUnauthorized.cs} (94%) rename LukeHagar/PlexAPI/SDK/Models/Errors/{StopAllTasksResponseBody.cs => StopAllTasksBadRequest.cs} (95%) rename LukeHagar/PlexAPI/SDK/Models/Errors/{StopAllTasksButlerResponseBody.cs => StopAllTasksUnauthorized.cs} (94%) rename LukeHagar/PlexAPI/SDK/Models/Errors/{StopTaskResponseBody.cs => StopTaskBadRequest.cs} (95%) rename LukeHagar/PlexAPI/SDK/Models/Errors/{StopTaskButlerResponseBody.cs => StopTaskUnauthorized.cs} (95%) rename LukeHagar/PlexAPI/SDK/Models/Errors/{StopTranscodeSessionResponseBody.cs => StopTranscodeSessionBadRequest.cs} (94%) rename LukeHagar/PlexAPI/SDK/Models/Errors/{StopTranscodeSessionSessionsResponseBody.cs => StopTranscodeSessionUnauthorized.cs} (94%) rename LukeHagar/PlexAPI/SDK/Models/Errors/{UpdatePlayProgressResponseBody.cs => UpdatePlayProgressBadRequest.cs} (94%) rename LukeHagar/PlexAPI/SDK/Models/Errors/{UpdatePlayProgressMediaResponseBody.cs => UpdatePlayProgressUnauthorized.cs} (94%) rename LukeHagar/PlexAPI/SDK/Models/Errors/{UpdatePlaylistResponseBody.cs => UpdatePlaylistBadRequest.cs} (95%) rename LukeHagar/PlexAPI/SDK/Models/Errors/{UpdatePlaylistPlaylistsResponseBody.cs => UpdatePlaylistUnauthorized.cs} (94%) rename LukeHagar/PlexAPI/SDK/Models/Errors/{UploadPlaylistResponseBody.cs => UploadPlaylistBadRequest.cs} (95%) rename LukeHagar/PlexAPI/SDK/Models/Errors/{UploadPlaylistPlaylistsResponseBody.cs => UploadPlaylistUnauthorized.cs} (94%) rename LukeHagar/PlexAPI/SDK/Models/Requests/{GetUserDetailsAuthenticationResponseStatus.cs => GetTokenDetailsAuthenticationResponseStatus.cs} (71%) rename LukeHagar/PlexAPI/SDK/Models/Requests/{GetUserDetailsAuthenticationStatus.cs => GetTokenDetailsAuthenticationStatus.cs} (73%) rename LukeHagar/PlexAPI/SDK/Models/Requests/{GetUserDetailsFeatures.cs => GetTokenDetailsFeatures.cs} (92%) rename LukeHagar/PlexAPI/SDK/Models/Requests/{GetUserDetailsResponse.cs => GetTokenDetailsResponse.cs} (91%) rename LukeHagar/PlexAPI/SDK/Models/Requests/{GetUserDetailsStatus.cs => GetTokenDetailsStatus.cs} (76%) rename LukeHagar/PlexAPI/SDK/Models/Requests/{GetUserDetailsSubscription.cs => GetTokenDetailsSubscription.cs} (89%) rename LukeHagar/PlexAPI/SDK/Models/Requests/{GetUserDetailsUserPlexAccount.cs => GetTokenDetailsUserPlexAccount.cs} (98%) delete mode 100644 LukeHagar/PlexAPI/SDK/Models/Requests/GetUserDetailsRequest.cs rename docs/Models/Errors/{AddPlaylistContentsResponseBody.md => AddPlaylistContentsBadRequest.md} (98%) rename docs/Models/Errors/{AddPlaylistContentsPlaylistsResponseBody.md => AddPlaylistContentsUnauthorized.md} (97%) rename docs/Models/Errors/{ApplyUpdatesResponseBody.md => ApplyUpdatesBadRequest.md} (98%) rename docs/Models/Errors/{ApplyUpdatesUpdaterResponseBody.md => ApplyUpdatesUnauthorized.md} (98%) rename docs/Models/Errors/{CancelServerActivitiesResponseBody.md => CancelServerActivitiesBadRequest.md} (98%) rename docs/Models/Errors/{CancelServerActivitiesActivitiesResponseBody.md => CancelServerActivitiesUnauthorized.md} (97%) rename docs/Models/Errors/{CheckForUpdatesResponseBody.md => CheckForUpdatesBadRequest.md} (98%) rename docs/Models/Errors/{CheckForUpdatesUpdaterResponseBody.md => CheckForUpdatesUnauthorized.md} (98%) rename docs/Models/Errors/{ClearPlaylistContentsResponseBody.md => ClearPlaylistContentsBadRequest.md} (98%) rename docs/Models/Errors/{ClearPlaylistContentsPlaylistsResponseBody.md => ClearPlaylistContentsUnauthorized.md} (97%) rename docs/Models/Errors/{CreatePlaylistResponseBody.md => CreatePlaylistBadRequest.md} (98%) rename docs/Models/Errors/{CreatePlaylistPlaylistsResponseBody.md => CreatePlaylistUnauthorized.md} (98%) rename docs/Models/Errors/{DeleteLibraryResponseBody.md => DeleteLibraryBadRequest.md} (98%) rename docs/Models/Errors/{DeleteLibraryLibraryResponseBody.md => DeleteLibraryUnauthorized.md} (98%) rename docs/Models/Errors/{DeletePlaylistResponseBody.md => DeletePlaylistBadRequest.md} (98%) rename docs/Models/Errors/{DeletePlaylistPlaylistsResponseBody.md => DeletePlaylistUnauthorized.md} (98%) rename docs/Models/Errors/{EnablePaperTrailResponseBody.md => EnablePaperTrailBadRequest.md} (98%) rename docs/Models/Errors/{EnablePaperTrailLogResponseBody.md => EnablePaperTrailUnauthorized.md} (98%) rename docs/Models/Errors/{GetAllLibrariesResponseBody.md => GetAllLibrariesBadRequest.md} (98%) rename docs/Models/Errors/{GetAllLibrariesLibraryResponseBody.md => GetAllLibrariesUnauthorized.md} (98%) rename docs/Models/Errors/{GetAvailableClientsResponseBody.md => GetAvailableClientsBadRequest.md} (98%) rename docs/Models/Errors/{GetAvailableClientsServerResponseBody.md => GetAvailableClientsUnauthorized.md} (98%) rename docs/Models/Errors/{GetBandwidthStatisticsResponseBody.md => GetBandwidthStatisticsBadRequest.md} (98%) rename docs/Models/Errors/{GetBandwidthStatisticsStatisticsResponseBody.md => GetBandwidthStatisticsUnauthorized.md} (97%) rename docs/Models/Errors/{GetBannerImageResponseBody.md => GetBannerImageBadRequest.md} (98%) rename docs/Models/Errors/{GetBannerImageMediaResponseBody.md => GetBannerImageUnauthorized.md} (98%) rename docs/Models/Errors/{GetButlerTasksResponseBody.md => GetButlerTasksBadRequest.md} (98%) rename docs/Models/Errors/{GetButlerTasksButlerResponseBody.md => GetButlerTasksUnauthorized.md} (98%) rename docs/Models/Errors/{GetCompanionsDataResponseBody.md => GetCompanionsDataBadRequest.md} (98%) rename docs/Models/Errors/{GetCompanionsDataPlexResponseBody.md => GetCompanionsDataUnauthorized.md} (98%) rename docs/Models/Errors/{GetDevicesResponseBody.md => GetDevicesBadRequest.md} (98%) rename docs/Models/Errors/{GetDevicesServerResponseBody.md => GetDevicesUnauthorized.md} (98%) rename docs/Models/Errors/{GetFileHashResponseBody.md => GetFileHashBadRequest.md} (98%) rename docs/Models/Errors/{GetFileHashLibraryResponseBody.md => GetFileHashUnauthorized.md} (98%) rename docs/Models/Errors/{GetGeoDataResponseBody.md => GetGeoDataBadRequest.md} (98%) rename docs/Models/Errors/{GetGeoDataPlexResponseBody.md => GetGeoDataUnauthorized.md} (98%) rename docs/Models/Errors/{GetGlobalHubsResponseBody.md => GetGlobalHubsBadRequest.md} (98%) rename docs/Models/Errors/{GetGlobalHubsHubsResponseBody.md => GetGlobalHubsUnauthorized.md} (98%) rename docs/Models/Errors/{GetHomeDataResponseBody.md => GetHomeDataBadRequest.md} (98%) rename docs/Models/Errors/{GetHomeDataPlexResponseBody.md => GetHomeDataUnauthorized.md} (98%) rename docs/Models/Errors/{GetLibraryDetailsResponseBody.md => GetLibraryDetailsBadRequest.md} (98%) rename docs/Models/Errors/{GetLibraryDetailsLibraryResponseBody.md => GetLibraryDetailsUnauthorized.md} (98%) rename docs/Models/Errors/{GetLibraryHubsResponseBody.md => GetLibraryHubsBadRequest.md} (98%) rename docs/Models/Errors/{GetLibraryHubsHubsResponseBody.md => GetLibraryHubsUnauthorized.md} (98%) rename docs/Models/Errors/{GetLibraryItemsResponseBody.md => GetLibraryItemsBadRequest.md} (98%) rename docs/Models/Errors/{GetLibraryItemsLibraryResponseBody.md => GetLibraryItemsUnauthorized.md} (98%) rename docs/Models/Errors/{GetMediaProvidersResponseBody.md => GetMediaProvidersBadRequest.md} (98%) rename docs/Models/Errors/{GetMediaProvidersServerResponseBody.md => GetMediaProvidersUnauthorized.md} (98%) rename docs/Models/Errors/{GetMetaDataByRatingKeyResponseBody.md => GetMetaDataByRatingKeyBadRequest.md} (98%) rename docs/Models/Errors/{GetMetaDataByRatingKeyLibraryResponseBody.md => GetMetaDataByRatingKeyUnauthorized.md} (97%) rename docs/Models/Errors/{GetMetadataChildrenResponseBody.md => GetMetadataChildrenBadRequest.md} (98%) rename docs/Models/Errors/{GetMetadataChildrenLibraryResponseBody.md => GetMetadataChildrenUnauthorized.md} (97%) rename docs/Models/Errors/{GetMyPlexAccountResponseBody.md => GetMyPlexAccountBadRequest.md} (98%) rename docs/Models/Errors/{GetMyPlexAccountServerResponseBody.md => GetMyPlexAccountUnauthorized.md} (98%) rename docs/Models/Errors/{GetOnDeckResponseBody.md => GetOnDeckBadRequest.md} (98%) rename docs/Models/Errors/{GetOnDeckLibraryResponseBody.md => GetOnDeckUnauthorized.md} (98%) create mode 100644 docs/Models/Errors/GetPinBadRequest.md delete mode 100644 docs/Models/Errors/GetPinResponseBody.md rename docs/Models/Errors/{GetPlaylistResponseBody.md => GetPlaylistBadRequest.md} (98%) rename docs/Models/Errors/{GetPlaylistContentsResponseBody.md => GetPlaylistContentsBadRequest.md} (98%) rename docs/Models/Errors/{GetPlaylistContentsPlaylistsResponseBody.md => GetPlaylistContentsUnauthorized.md} (97%) rename docs/Models/Errors/{GetPlaylistPlaylistsResponseBody.md => GetPlaylistUnauthorized.md} (98%) rename docs/Models/Errors/{GetPlaylistsResponseBody.md => GetPlaylistsBadRequest.md} (98%) rename docs/Models/Errors/{GetPlaylistsPlaylistsResponseBody.md => GetPlaylistsUnauthorized.md} (98%) rename docs/Models/Errors/{GetRecentlyAddedResponseBody.md => GetRecentlyAddedBadRequest.md} (98%) rename docs/Models/Errors/{GetRecentlyAddedLibraryResponseBody.md => GetRecentlyAddedUnauthorized.md} (98%) rename docs/Models/Errors/{GetRefreshLibraryMetadataResponseBody.md => GetRefreshLibraryMetadataBadRequest.md} (98%) rename docs/Models/Errors/{GetRefreshLibraryMetadataLibraryResponseBody.md => GetRefreshLibraryMetadataUnauthorized.md} (97%) rename docs/Models/Errors/{GetResizedPhotoResponseBody.md => GetResizedPhotoBadRequest.md} (98%) rename docs/Models/Errors/{GetResizedPhotoServerResponseBody.md => GetResizedPhotoUnauthorized.md} (98%) rename docs/Models/Errors/{GetResourcesStatisticsResponseBody.md => GetResourcesStatisticsBadRequest.md} (98%) rename docs/Models/Errors/{GetResourcesStatisticsStatisticsResponseBody.md => GetResourcesStatisticsUnauthorized.md} (97%) rename docs/Models/Errors/{GetSearchLibraryResponseBody.md => GetSearchLibraryBadRequest.md} (98%) rename docs/Models/Errors/{GetSearchLibraryLibraryResponseBody.md => GetSearchLibraryUnauthorized.md} (98%) rename docs/Models/Errors/{GetSearchResultsResponseBody.md => GetSearchResultsBadRequest.md} (98%) rename docs/Models/Errors/{GetSearchResultsSearchResponseBody.md => GetSearchResultsUnauthorized.md} (98%) rename docs/Models/Errors/{GetServerActivitiesResponseBody.md => GetServerActivitiesBadRequest.md} (98%) rename docs/Models/Errors/{GetServerActivitiesActivitiesResponseBody.md => GetServerActivitiesUnauthorized.md} (97%) rename docs/Models/Errors/{GetServerCapabilitiesResponseBody.md => GetServerCapabilitiesBadRequest.md} (98%) rename docs/Models/Errors/{GetServerCapabilitiesServerResponseBody.md => GetServerCapabilitiesUnauthorized.md} (97%) rename docs/Models/Errors/{GetServerIdentityResponseBody.md => GetServerIdentityRequestTimeout.md} (98%) rename docs/Models/Errors/{GetServerListResponseBody.md => GetServerListBadRequest.md} (98%) rename docs/Models/Errors/{GetServerListServerResponseBody.md => GetServerListUnauthorized.md} (98%) rename docs/Models/Errors/{GetServerPreferencesResponseBody.md => GetServerPreferencesBadRequest.md} (98%) rename docs/Models/Errors/{GetServerPreferencesServerResponseBody.md => GetServerPreferencesUnauthorized.md} (97%) rename docs/Models/Errors/{GetServerResourcesResponseBody.md => GetServerResourcesBadRequest.md} (98%) rename docs/Models/Errors/{GetServerResourcesPlexResponseBody.md => GetServerResourcesUnauthorized.md} (98%) rename docs/Models/Errors/{GetSessionHistoryResponseBody.md => GetSessionHistoryBadRequest.md} (98%) rename docs/Models/Errors/{GetSessionHistorySessionsResponseBody.md => GetSessionHistoryUnauthorized.md} (98%) rename docs/Models/Errors/{GetSessionsResponseBody.md => GetSessionsBadRequest.md} (98%) rename docs/Models/Errors/{GetSessionsSessionsResponseBody.md => GetSessionsUnauthorized.md} (98%) rename docs/Models/Errors/{GetSourceConnectionInformationResponseBody.md => GetSourceConnectionInformationBadRequest.md} (97%) rename docs/Models/Errors/{GetSourceConnectionInformationAuthenticationResponseBody.md => GetSourceConnectionInformationUnauthorized.md} (97%) rename docs/Models/Errors/{GetStatisticsResponseBody.md => GetStatisticsBadRequest.md} (98%) rename docs/Models/Errors/{GetStatisticsStatisticsResponseBody.md => GetStatisticsUnauthorized.md} (98%) rename docs/Models/Errors/{GetThumbImageResponseBody.md => GetThumbImageBadRequest.md} (98%) rename docs/Models/Errors/{GetThumbImageMediaResponseBody.md => GetThumbImageUnauthorized.md} (98%) rename docs/Models/Errors/{GetTimelineResponseBody.md => GetTimelineBadRequest.md} (98%) rename docs/Models/Errors/{GetTimelineVideoResponseBody.md => GetTimelineUnauthorized.md} (98%) create mode 100644 docs/Models/Errors/GetTokenByPinIdBadRequest.md delete mode 100644 docs/Models/Errors/GetTokenByPinIdPlexResponseBody.md rename docs/Models/Errors/{GetUserDetailsAuthenticationErrors.md => GetTokenDetailsAuthenticationErrors.md} (95%) create mode 100644 docs/Models/Errors/GetTokenDetailsBadRequest.md rename docs/Models/Errors/{GetUserDetailsErrors.md => GetTokenDetailsErrors.md} (97%) create mode 100644 docs/Models/Errors/GetTokenDetailsUnauthorized.md rename docs/Models/Errors/{GetTopWatchedContentResponseBody.md => GetTopWatchedContentBadRequest.md} (98%) rename docs/Models/Errors/{GetTopWatchedContentLibraryResponseBody.md => GetTopWatchedContentUnauthorized.md} (97%) rename docs/Models/Errors/{GetTranscodeSessionsResponseBody.md => GetTranscodeSessionsBadRequest.md} (98%) rename docs/Models/Errors/{GetTranscodeSessionsSessionsResponseBody.md => GetTranscodeSessionsUnauthorized.md} (97%) rename docs/Models/Errors/{GetTransientTokenResponseBody.md => GetTransientTokenBadRequest.md} (98%) rename docs/Models/Errors/{GetTransientTokenAuthenticationResponseBody.md => GetTransientTokenUnauthorized.md} (97%) rename docs/Models/Errors/{GetUpdateStatusResponseBody.md => GetUpdateStatusBadRequest.md} (98%) rename docs/Models/Errors/{GetUpdateStatusUpdaterResponseBody.md => GetUpdateStatusUnauthorized.md} (98%) delete mode 100644 docs/Models/Errors/GetUserDetailsAuthenticationResponseBody.md delete mode 100644 docs/Models/Errors/GetUserDetailsResponseBody.md rename docs/Models/Errors/{GetUserFriendsResponseBody.md => GetUserFriendsBadRequest.md} (98%) rename docs/Models/Errors/{GetUserFriendsPlexResponseBody.md => GetUserFriendsUnauthorized.md} (98%) rename docs/Models/Errors/{GetWatchListResponseBody.md => GetWatchListBadRequest.md} (98%) rename docs/Models/Errors/{GetWatchListWatchlistResponseBody.md => GetWatchListUnauthorized.md} (98%) rename docs/Models/Errors/{LogLineResponseBody.md => LogLineBadRequest.md} (98%) rename docs/Models/Errors/{LogLineLogResponseBody.md => LogLineUnauthorized.md} (98%) rename docs/Models/Errors/{LogMultiLineResponseBody.md => LogMultiLineBadRequest.md} (98%) rename docs/Models/Errors/{LogMultiLineLogResponseBody.md => LogMultiLineUnauthorized.md} (98%) rename docs/Models/Errors/{MarkPlayedResponseBody.md => MarkPlayedBadRequest.md} (98%) rename docs/Models/Errors/{MarkPlayedMediaResponseBody.md => MarkPlayedUnauthorized.md} (98%) rename docs/Models/Errors/{MarkUnplayedResponseBody.md => MarkUnplayedBadRequest.md} (98%) rename docs/Models/Errors/{MarkUnplayedMediaResponseBody.md => MarkUnplayedUnauthorized.md} (98%) rename docs/Models/Errors/{PerformSearchResponseBody.md => PerformSearchBadRequest.md} (98%) rename docs/Models/Errors/{PerformSearchSearchResponseBody.md => PerformSearchUnauthorized.md} (98%) rename docs/Models/Errors/{PerformVoiceSearchResponseBody.md => PerformVoiceSearchBadRequest.md} (98%) rename docs/Models/Errors/{PerformVoiceSearchSearchResponseBody.md => PerformVoiceSearchUnauthorized.md} (98%) rename docs/Models/Errors/{PostUsersSignInDataResponseBody.md => PostUsersSignInDataBadRequest.md} (98%) rename docs/Models/Errors/{PostUsersSignInDataAuthenticationResponseBody.md => PostUsersSignInDataUnauthorized.md} (97%) rename docs/Models/Errors/{StartAllTasksResponseBody.md => StartAllTasksBadRequest.md} (98%) rename docs/Models/Errors/{StartAllTasksButlerResponseBody.md => StartAllTasksUnauthorized.md} (98%) rename docs/Models/Errors/{StartTaskResponseBody.md => StartTaskBadRequest.md} (98%) rename docs/Models/Errors/{StartTaskButlerResponseBody.md => StartTaskUnauthorized.md} (98%) rename docs/Models/Errors/{StartUniversalTranscodeResponseBody.md => StartUniversalTranscodeBadRequest.md} (98%) rename docs/Models/Errors/{StartUniversalTranscodeVideoResponseBody.md => StartUniversalTranscodeUnauthorized.md} (97%) rename docs/Models/Errors/{StopAllTasksResponseBody.md => StopAllTasksBadRequest.md} (98%) rename docs/Models/Errors/{StopAllTasksButlerResponseBody.md => StopAllTasksUnauthorized.md} (98%) rename docs/Models/Errors/{StopTaskResponseBody.md => StopTaskBadRequest.md} (98%) rename docs/Models/Errors/{StopTaskButlerResponseBody.md => StopTaskUnauthorized.md} (98%) rename docs/Models/Errors/{StopTranscodeSessionResponseBody.md => StopTranscodeSessionBadRequest.md} (98%) rename docs/Models/Errors/{StopTranscodeSessionSessionsResponseBody.md => StopTranscodeSessionUnauthorized.md} (97%) rename docs/Models/Errors/{UpdatePlayProgressResponseBody.md => UpdatePlayProgressBadRequest.md} (98%) rename docs/Models/Errors/{UpdatePlayProgressMediaResponseBody.md => UpdatePlayProgressUnauthorized.md} (98%) rename docs/Models/Errors/{UpdatePlaylistResponseBody.md => UpdatePlaylistBadRequest.md} (98%) rename docs/Models/Errors/{UpdatePlaylistPlaylistsResponseBody.md => UpdatePlaylistUnauthorized.md} (98%) rename docs/Models/Errors/{UploadPlaylistResponseBody.md => UploadPlaylistBadRequest.md} (98%) rename docs/Models/Errors/{UploadPlaylistPlaylistsResponseBody.md => UploadPlaylistUnauthorized.md} (98%) rename docs/Models/Requests/{GetUserDetailsAuthenticationResponseStatus.md => GetTokenDetailsAuthenticationResponseStatus.md} (78%) rename docs/Models/Requests/{GetUserDetailsAuthenticationStatus.md => GetTokenDetailsAuthenticationStatus.md} (81%) rename docs/Models/Requests/{GetUserDetailsFeatures.md => GetTokenDetailsFeatures.md} (99%) rename docs/Models/Requests/{GetUserDetailsResponse.md => GetTokenDetailsResponse.md} (99%) rename docs/Models/Requests/{GetUserDetailsStatus.md => GetTokenDetailsStatus.md} (82%) create mode 100644 docs/Models/Requests/GetTokenDetailsSubscription.md rename docs/Models/Requests/{GetUserDetailsUserPlexAccount.md => GetTokenDetailsUserPlexAccount.md} (99%) delete mode 100644 docs/Models/Requests/GetUserDetailsRequest.md delete mode 100644 docs/Models/Requests/GetUserDetailsSubscription.md diff --git a/.speakeasy/gen.lock b/.speakeasy/gen.lock index f9460b3..d5949b7 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: 75338df5d596b761fe73fe6ff177a197 + docChecksum: a6fee1797b2da7ccbaf7743772a40b56 docVersion: 0.0.3 - speakeasyVersion: 1.392.1 - generationVersion: 2.411.9 - releaseVersion: 0.6.0 - configChecksum: daa6d2e7013638bcab2dc9041b9f5763 + speakeasyVersion: 1.394.0 + generationVersion: 2.413.0 + releaseVersion: 0.6.1 + configChecksum: db104482bbf604a069965c101252b879 repoURL: https://github.com/LukeHagar/plexcsharp.git repoSubDirectory: . published: true @@ -45,298 +45,298 @@ generatedFiles: - LukeHagar/PlexAPI/SDK/LukeHagar.PlexAPI.SDK.csproj - LukeHagar/PlexAPI/SDK/Media.cs - LukeHagar/PlexAPI/SDK/Models/Components/Security.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/AddPlaylistContentsBadRequest.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/AddPlaylistContentsUnauthorized.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/ApplyUpdatesBadRequest.cs - LukeHagar/PlexAPI/SDK/Models/Errors/ApplyUpdatesErrors.cs - - LukeHagar/PlexAPI/SDK/Models/Errors/ApplyUpdatesResponseBody.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/ApplyUpdatesUnauthorized.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/CancelServerActivitiesBadRequest.cs - LukeHagar/PlexAPI/SDK/Models/Errors/CancelServerActivitiesErrors.cs - - LukeHagar/PlexAPI/SDK/Models/Errors/CancelServerActivitiesResponseBody.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/CancelServerActivitiesUnauthorized.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/CheckForUpdatesBadRequest.cs - LukeHagar/PlexAPI/SDK/Models/Errors/CheckForUpdatesErrors.cs - - LukeHagar/PlexAPI/SDK/Models/Errors/CheckForUpdatesResponseBody.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/CheckForUpdatesUnauthorized.cs - LukeHagar/PlexAPI/SDK/Models/Errors/CheckForUpdatesUpdaterErrors.cs - - LukeHagar/PlexAPI/SDK/Models/Errors/CheckForUpdatesUpdaterResponseBody.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/ClearPlaylistContentsBadRequest.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/ClearPlaylistContentsUnauthorized.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/CreatePlaylistBadRequest.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/CreatePlaylistUnauthorized.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/DeleteLibraryBadRequest.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/DeleteLibraryUnauthorized.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/DeletePlaylistBadRequest.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/DeletePlaylistUnauthorized.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/EnablePaperTrailBadRequest.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/EnablePaperTrailUnauthorized.cs - LukeHagar/PlexAPI/SDK/Models/Errors/Errors.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/GetAllLibrariesBadRequest.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/GetAllLibrariesUnauthorized.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/GetAvailableClientsBadRequest.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/GetAvailableClientsUnauthorized.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/GetBandwidthStatisticsBadRequest.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/GetBandwidthStatisticsUnauthorized.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/GetBannerImageBadRequest.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/GetBannerImageUnauthorized.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/GetButlerTasksBadRequest.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/GetButlerTasksUnauthorized.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/GetCompanionsDataBadRequest.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/GetCompanionsDataUnauthorized.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/GetDevicesBadRequest.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/GetDevicesUnauthorized.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/GetFileHashBadRequest.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/GetFileHashUnauthorized.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/GetGeoDataBadRequest.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/GetGeoDataUnauthorized.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/GetGlobalHubsBadRequest.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/GetGlobalHubsUnauthorized.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/GetHomeDataBadRequest.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/GetHomeDataUnauthorized.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/GetLibraryDetailsBadRequest.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/GetLibraryDetailsUnauthorized.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/GetLibraryHubsBadRequest.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/GetLibraryHubsUnauthorized.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/GetLibraryItemsBadRequest.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/GetLibraryItemsUnauthorized.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/GetMediaProvidersBadRequest.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/GetMediaProvidersUnauthorized.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/GetMetaDataByRatingKeyBadRequest.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/GetMetaDataByRatingKeyUnauthorized.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/GetMetadataChildrenBadRequest.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/GetMetadataChildrenUnauthorized.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/GetMyPlexAccountBadRequest.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/GetMyPlexAccountUnauthorized.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/GetOnDeckBadRequest.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/GetOnDeckUnauthorized.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/GetPinBadRequest.cs - LukeHagar/PlexAPI/SDK/Models/Errors/GetPinErrors.cs - - LukeHagar/PlexAPI/SDK/Models/Errors/GetPinResponseBody.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/GetPlaylistBadRequest.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/GetPlaylistContentsBadRequest.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/GetPlaylistContentsUnauthorized.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/GetPlaylistUnauthorized.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/GetPlaylistsBadRequest.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/GetPlaylistsUnauthorized.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/GetRecentlyAddedBadRequest.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/GetRecentlyAddedUnauthorized.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/GetRefreshLibraryMetadataBadRequest.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/GetRefreshLibraryMetadataUnauthorized.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/GetResizedPhotoBadRequest.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/GetResizedPhotoUnauthorized.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/GetResourcesStatisticsBadRequest.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/GetResourcesStatisticsUnauthorized.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/GetSearchLibraryBadRequest.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/GetSearchLibraryUnauthorized.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/GetSearchResultsBadRequest.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/GetSearchResultsUnauthorized.cs - LukeHagar/PlexAPI/SDK/Models/Errors/GetServerActivitiesActivitiesErrors.cs - - LukeHagar/PlexAPI/SDK/Models/Errors/GetServerActivitiesActivitiesResponseBody.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/GetServerActivitiesBadRequest.cs - LukeHagar/PlexAPI/SDK/Models/Errors/GetServerActivitiesErrors.cs - - LukeHagar/PlexAPI/SDK/Models/Errors/GetServerActivitiesResponseBody.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/GetServerActivitiesUnauthorized.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/GetServerCapabilitiesBadRequest.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/GetServerCapabilitiesUnauthorized.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/GetServerIdentityRequestTimeout.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/GetServerListBadRequest.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/GetServerListUnauthorized.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/GetServerPreferencesBadRequest.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/GetServerPreferencesUnauthorized.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/GetServerResourcesBadRequest.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/GetServerResourcesUnauthorized.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/GetSessionHistoryBadRequest.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/GetSessionHistoryUnauthorized.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/GetSessionsBadRequest.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/GetSessionsUnauthorized.cs - LukeHagar/PlexAPI/SDK/Models/Errors/GetSourceConnectionInformationAuthenticationErrors.cs - - LukeHagar/PlexAPI/SDK/Models/Errors/GetSourceConnectionInformationAuthenticationResponseBody.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/GetSourceConnectionInformationBadRequest.cs - LukeHagar/PlexAPI/SDK/Models/Errors/GetSourceConnectionInformationErrors.cs - - LukeHagar/PlexAPI/SDK/Models/Errors/GetSourceConnectionInformationResponseBody.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/GetSourceConnectionInformationUnauthorized.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/GetStatisticsBadRequest.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/GetStatisticsUnauthorized.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/GetThumbImageBadRequest.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/GetThumbImageUnauthorized.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/GetTimelineBadRequest.cs - LukeHagar/PlexAPI/SDK/Models/Errors/GetTimelineErrors.cs - - LukeHagar/PlexAPI/SDK/Models/Errors/GetTimelineResponseBody.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/GetTimelineUnauthorized.cs - LukeHagar/PlexAPI/SDK/Models/Errors/GetTimelineVideoErrors.cs - - LukeHagar/PlexAPI/SDK/Models/Errors/GetTimelineVideoResponseBody.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/GetTokenByPinIdBadRequest.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/GetTokenDetailsAuthenticationErrors.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/GetTokenDetailsBadRequest.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/GetTokenDetailsErrors.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/GetTokenDetailsUnauthorized.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/GetTopWatchedContentBadRequest.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/GetTopWatchedContentUnauthorized.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/GetTranscodeSessionsBadRequest.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/GetTranscodeSessionsUnauthorized.cs - LukeHagar/PlexAPI/SDK/Models/Errors/GetTransientTokenAuthenticationErrors.cs - - LukeHagar/PlexAPI/SDK/Models/Errors/GetTransientTokenAuthenticationResponseBody.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/GetTransientTokenBadRequest.cs - LukeHagar/PlexAPI/SDK/Models/Errors/GetTransientTokenErrors.cs - - LukeHagar/PlexAPI/SDK/Models/Errors/GetTransientTokenResponseBody.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/GetTransientTokenUnauthorized.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/GetUpdateStatusBadRequest.cs - LukeHagar/PlexAPI/SDK/Models/Errors/GetUpdateStatusErrors.cs - - LukeHagar/PlexAPI/SDK/Models/Errors/GetUpdateStatusResponseBody.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/GetUpdateStatusUnauthorized.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/GetUserFriendsBadRequest.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/GetUserFriendsUnauthorized.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/GetWatchListBadRequest.cs - LukeHagar/PlexAPI/SDK/Models/Errors/GetWatchListErrors.cs - - LukeHagar/PlexAPI/SDK/Models/Errors/GetWatchListResponseBody.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/GetWatchListUnauthorized.cs - LukeHagar/PlexAPI/SDK/Models/Errors/GetWatchListWatchlistErrors.cs - - LukeHagar/PlexAPI/SDK/Models/Errors/GetWatchListWatchlistResponseBody.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/LogLineBadRequest.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/LogLineUnauthorized.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/LogMultiLineBadRequest.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/LogMultiLineUnauthorized.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/MarkPlayedBadRequest.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/MarkPlayedUnauthorized.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/MarkUnplayedBadRequest.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/MarkUnplayedUnauthorized.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/PerformSearchBadRequest.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/PerformSearchUnauthorized.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/PerformVoiceSearchBadRequest.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/PerformVoiceSearchUnauthorized.cs - LukeHagar/PlexAPI/SDK/Models/Errors/PostUsersSignInDataAuthenticationErrors.cs - - LukeHagar/PlexAPI/SDK/Models/Errors/PostUsersSignInDataAuthenticationResponseBody.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/PostUsersSignInDataBadRequest.cs - LukeHagar/PlexAPI/SDK/Models/Errors/PostUsersSignInDataErrors.cs - - LukeHagar/PlexAPI/SDK/Models/Errors/PostUsersSignInDataResponseBody.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/PostUsersSignInDataUnauthorized.cs - LukeHagar/PlexAPI/SDK/Models/Errors/SDKException.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/StartAllTasksBadRequest.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/StartAllTasksUnauthorized.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/StartTaskBadRequest.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/StartTaskUnauthorized.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/StartUniversalTranscodeBadRequest.cs - LukeHagar/PlexAPI/SDK/Models/Errors/StartUniversalTranscodeErrors.cs - - LukeHagar/PlexAPI/SDK/Models/Errors/StartUniversalTranscodeResponseBody.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/StartUniversalTranscodeUnauthorized.cs - LukeHagar/PlexAPI/SDK/Models/Errors/StartUniversalTranscodeVideoErrors.cs - - LukeHagar/PlexAPI/SDK/Models/Errors/StartUniversalTranscodeVideoResponseBody.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/StopAllTasksBadRequest.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/StopAllTasksUnauthorized.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/StopTaskBadRequest.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/StopTaskUnauthorized.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/StopTranscodeSessionBadRequest.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/StopTranscodeSessionUnauthorized.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/UpdatePlayProgressBadRequest.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/UpdatePlayProgressUnauthorized.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/UpdatePlaylistBadRequest.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/UpdatePlaylistUnauthorized.cs + - LukeHagar/PlexAPI/SDK/Models/Errors/UploadPlaylistBadRequest.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/Errors/UploadPlaylistUnauthorized.cs - LukeHagar/PlexAPI/SDK/Models/Requests/Account.cs - LukeHagar/PlexAPI/SDK/Models/Requests/Activity.cs - LukeHagar/PlexAPI/SDK/Models/Requests/AddPlaylistContentsMediaContainer.cs @@ -583,6 +583,13 @@ generatedFiles: - LukeHagar/PlexAPI/SDK/Models/Requests/GetTokenByPinIdGeoData.cs - LukeHagar/PlexAPI/SDK/Models/Requests/GetTokenByPinIdRequest.cs - LukeHagar/PlexAPI/SDK/Models/Requests/GetTokenByPinIdResponse.cs + - LukeHagar/PlexAPI/SDK/Models/Requests/GetTokenDetailsAuthenticationResponseStatus.cs + - LukeHagar/PlexAPI/SDK/Models/Requests/GetTokenDetailsAuthenticationStatus.cs + - LukeHagar/PlexAPI/SDK/Models/Requests/GetTokenDetailsFeatures.cs + - LukeHagar/PlexAPI/SDK/Models/Requests/GetTokenDetailsResponse.cs + - LukeHagar/PlexAPI/SDK/Models/Requests/GetTokenDetailsStatus.cs + - LukeHagar/PlexAPI/SDK/Models/Requests/GetTokenDetailsSubscription.cs + - LukeHagar/PlexAPI/SDK/Models/Requests/GetTokenDetailsUserPlexAccount.cs - LukeHagar/PlexAPI/SDK/Models/Requests/GetTopWatchedContentCountry.cs - LukeHagar/PlexAPI/SDK/Models/Requests/GetTopWatchedContentGenre.cs - LukeHagar/PlexAPI/SDK/Models/Requests/GetTopWatchedContentGuids.cs @@ -602,14 +609,6 @@ generatedFiles: - LukeHagar/PlexAPI/SDK/Models/Requests/GetUpdateStatusMediaContainer.cs - LukeHagar/PlexAPI/SDK/Models/Requests/GetUpdateStatusResponse.cs - LukeHagar/PlexAPI/SDK/Models/Requests/GetUpdateStatusResponseBody.cs - - LukeHagar/PlexAPI/SDK/Models/Requests/GetUserDetailsAuthenticationResponseStatus.cs - - LukeHagar/PlexAPI/SDK/Models/Requests/GetUserDetailsAuthenticationStatus.cs - - LukeHagar/PlexAPI/SDK/Models/Requests/GetUserDetailsFeatures.cs - - LukeHagar/PlexAPI/SDK/Models/Requests/GetUserDetailsRequest.cs - - LukeHagar/PlexAPI/SDK/Models/Requests/GetUserDetailsResponse.cs - - LukeHagar/PlexAPI/SDK/Models/Requests/GetUserDetailsStatus.cs - - LukeHagar/PlexAPI/SDK/Models/Requests/GetUserDetailsSubscription.cs - - LukeHagar/PlexAPI/SDK/Models/Requests/GetUserDetailsUserPlexAccount.cs - LukeHagar/PlexAPI/SDK/Models/Requests/GetUserFriendsResponse.cs - LukeHagar/PlexAPI/SDK/Models/Requests/GetWatchListRequest.cs - LukeHagar/PlexAPI/SDK/Models/Requests/GetWatchListResponse.cs @@ -763,297 +762,297 @@ generatedFiles: - NUGET.md - USAGE.md - docs/Models/Components/Security.md + - docs/Models/Errors/AddPlaylistContentsBadRequest.md - docs/Models/Errors/AddPlaylistContentsErrors.md - docs/Models/Errors/AddPlaylistContentsPlaylistsErrors.md - - docs/Models/Errors/AddPlaylistContentsPlaylistsResponseBody.md - - docs/Models/Errors/AddPlaylistContentsResponseBody.md + - docs/Models/Errors/AddPlaylistContentsUnauthorized.md + - docs/Models/Errors/ApplyUpdatesBadRequest.md - docs/Models/Errors/ApplyUpdatesErrors.md - - docs/Models/Errors/ApplyUpdatesResponseBody.md + - docs/Models/Errors/ApplyUpdatesUnauthorized.md - docs/Models/Errors/ApplyUpdatesUpdaterErrors.md - - docs/Models/Errors/ApplyUpdatesUpdaterResponseBody.md - docs/Models/Errors/CancelServerActivitiesActivitiesErrors.md - - docs/Models/Errors/CancelServerActivitiesActivitiesResponseBody.md + - docs/Models/Errors/CancelServerActivitiesBadRequest.md - docs/Models/Errors/CancelServerActivitiesErrors.md - - docs/Models/Errors/CancelServerActivitiesResponseBody.md + - docs/Models/Errors/CancelServerActivitiesUnauthorized.md + - docs/Models/Errors/CheckForUpdatesBadRequest.md - docs/Models/Errors/CheckForUpdatesErrors.md - - docs/Models/Errors/CheckForUpdatesResponseBody.md + - docs/Models/Errors/CheckForUpdatesUnauthorized.md - docs/Models/Errors/CheckForUpdatesUpdaterErrors.md - - docs/Models/Errors/CheckForUpdatesUpdaterResponseBody.md + - docs/Models/Errors/ClearPlaylistContentsBadRequest.md - docs/Models/Errors/ClearPlaylistContentsErrors.md - docs/Models/Errors/ClearPlaylistContentsPlaylistsErrors.md - - docs/Models/Errors/ClearPlaylistContentsPlaylistsResponseBody.md - - docs/Models/Errors/ClearPlaylistContentsResponseBody.md + - docs/Models/Errors/ClearPlaylistContentsUnauthorized.md + - docs/Models/Errors/CreatePlaylistBadRequest.md - docs/Models/Errors/CreatePlaylistErrors.md - docs/Models/Errors/CreatePlaylistPlaylistsErrors.md - - docs/Models/Errors/CreatePlaylistPlaylistsResponseBody.md - - docs/Models/Errors/CreatePlaylistResponseBody.md + - docs/Models/Errors/CreatePlaylistUnauthorized.md + - docs/Models/Errors/DeleteLibraryBadRequest.md - docs/Models/Errors/DeleteLibraryErrors.md - docs/Models/Errors/DeleteLibraryLibraryErrors.md - - docs/Models/Errors/DeleteLibraryLibraryResponseBody.md - - docs/Models/Errors/DeleteLibraryResponseBody.md + - docs/Models/Errors/DeleteLibraryUnauthorized.md + - docs/Models/Errors/DeletePlaylistBadRequest.md - docs/Models/Errors/DeletePlaylistErrors.md - docs/Models/Errors/DeletePlaylistPlaylistsErrors.md - - docs/Models/Errors/DeletePlaylistPlaylistsResponseBody.md - - docs/Models/Errors/DeletePlaylistResponseBody.md + - docs/Models/Errors/DeletePlaylistUnauthorized.md + - docs/Models/Errors/EnablePaperTrailBadRequest.md - docs/Models/Errors/EnablePaperTrailErrors.md - docs/Models/Errors/EnablePaperTrailLogErrors.md - - docs/Models/Errors/EnablePaperTrailLogResponseBody.md - - docs/Models/Errors/EnablePaperTrailResponseBody.md + - docs/Models/Errors/EnablePaperTrailUnauthorized.md - docs/Models/Errors/Errors.md + - docs/Models/Errors/GetAllLibrariesBadRequest.md - docs/Models/Errors/GetAllLibrariesErrors.md - docs/Models/Errors/GetAllLibrariesLibraryErrors.md - - docs/Models/Errors/GetAllLibrariesLibraryResponseBody.md - - docs/Models/Errors/GetAllLibrariesResponseBody.md + - docs/Models/Errors/GetAllLibrariesUnauthorized.md + - docs/Models/Errors/GetAvailableClientsBadRequest.md - docs/Models/Errors/GetAvailableClientsErrors.md - - docs/Models/Errors/GetAvailableClientsResponseBody.md - docs/Models/Errors/GetAvailableClientsServerErrors.md - - docs/Models/Errors/GetAvailableClientsServerResponseBody.md + - docs/Models/Errors/GetAvailableClientsUnauthorized.md + - docs/Models/Errors/GetBandwidthStatisticsBadRequest.md - docs/Models/Errors/GetBandwidthStatisticsErrors.md - - docs/Models/Errors/GetBandwidthStatisticsResponseBody.md - docs/Models/Errors/GetBandwidthStatisticsStatisticsErrors.md - - docs/Models/Errors/GetBandwidthStatisticsStatisticsResponseBody.md + - docs/Models/Errors/GetBandwidthStatisticsUnauthorized.md + - docs/Models/Errors/GetBannerImageBadRequest.md - docs/Models/Errors/GetBannerImageErrors.md - docs/Models/Errors/GetBannerImageMediaErrors.md - - docs/Models/Errors/GetBannerImageMediaResponseBody.md - - docs/Models/Errors/GetBannerImageResponseBody.md + - docs/Models/Errors/GetBannerImageUnauthorized.md + - docs/Models/Errors/GetButlerTasksBadRequest.md - docs/Models/Errors/GetButlerTasksButlerErrors.md - - docs/Models/Errors/GetButlerTasksButlerResponseBody.md - docs/Models/Errors/GetButlerTasksErrors.md - - docs/Models/Errors/GetButlerTasksResponseBody.md + - docs/Models/Errors/GetButlerTasksUnauthorized.md + - docs/Models/Errors/GetCompanionsDataBadRequest.md - docs/Models/Errors/GetCompanionsDataErrors.md - docs/Models/Errors/GetCompanionsDataPlexErrors.md - - docs/Models/Errors/GetCompanionsDataPlexResponseBody.md - - docs/Models/Errors/GetCompanionsDataResponseBody.md + - docs/Models/Errors/GetCompanionsDataUnauthorized.md + - docs/Models/Errors/GetDevicesBadRequest.md - docs/Models/Errors/GetDevicesErrors.md - - docs/Models/Errors/GetDevicesResponseBody.md - docs/Models/Errors/GetDevicesServerErrors.md - - docs/Models/Errors/GetDevicesServerResponseBody.md + - docs/Models/Errors/GetDevicesUnauthorized.md + - docs/Models/Errors/GetFileHashBadRequest.md - docs/Models/Errors/GetFileHashErrors.md - docs/Models/Errors/GetFileHashLibraryErrors.md - - docs/Models/Errors/GetFileHashLibraryResponseBody.md - - docs/Models/Errors/GetFileHashResponseBody.md + - docs/Models/Errors/GetFileHashUnauthorized.md + - docs/Models/Errors/GetGeoDataBadRequest.md - docs/Models/Errors/GetGeoDataErrors.md - docs/Models/Errors/GetGeoDataPlexErrors.md - - docs/Models/Errors/GetGeoDataPlexResponseBody.md - - docs/Models/Errors/GetGeoDataResponseBody.md + - docs/Models/Errors/GetGeoDataUnauthorized.md + - docs/Models/Errors/GetGlobalHubsBadRequest.md - docs/Models/Errors/GetGlobalHubsErrors.md - docs/Models/Errors/GetGlobalHubsHubsErrors.md - - docs/Models/Errors/GetGlobalHubsHubsResponseBody.md - - docs/Models/Errors/GetGlobalHubsResponseBody.md + - docs/Models/Errors/GetGlobalHubsUnauthorized.md + - docs/Models/Errors/GetHomeDataBadRequest.md - docs/Models/Errors/GetHomeDataErrors.md - docs/Models/Errors/GetHomeDataPlexErrors.md - - docs/Models/Errors/GetHomeDataPlexResponseBody.md - - docs/Models/Errors/GetHomeDataResponseBody.md + - docs/Models/Errors/GetHomeDataUnauthorized.md + - docs/Models/Errors/GetLibraryDetailsBadRequest.md - docs/Models/Errors/GetLibraryDetailsErrors.md - docs/Models/Errors/GetLibraryDetailsLibraryErrors.md - - docs/Models/Errors/GetLibraryDetailsLibraryResponseBody.md - - docs/Models/Errors/GetLibraryDetailsResponseBody.md + - docs/Models/Errors/GetLibraryDetailsUnauthorized.md + - docs/Models/Errors/GetLibraryHubsBadRequest.md - docs/Models/Errors/GetLibraryHubsErrors.md - docs/Models/Errors/GetLibraryHubsHubsErrors.md - - docs/Models/Errors/GetLibraryHubsHubsResponseBody.md - - docs/Models/Errors/GetLibraryHubsResponseBody.md + - docs/Models/Errors/GetLibraryHubsUnauthorized.md + - docs/Models/Errors/GetLibraryItemsBadRequest.md - docs/Models/Errors/GetLibraryItemsErrors.md - docs/Models/Errors/GetLibraryItemsLibraryErrors.md - - docs/Models/Errors/GetLibraryItemsLibraryResponseBody.md - - docs/Models/Errors/GetLibraryItemsResponseBody.md + - docs/Models/Errors/GetLibraryItemsUnauthorized.md + - docs/Models/Errors/GetMediaProvidersBadRequest.md - docs/Models/Errors/GetMediaProvidersErrors.md - - docs/Models/Errors/GetMediaProvidersResponseBody.md - docs/Models/Errors/GetMediaProvidersServerErrors.md - - docs/Models/Errors/GetMediaProvidersServerResponseBody.md + - docs/Models/Errors/GetMediaProvidersUnauthorized.md + - docs/Models/Errors/GetMetaDataByRatingKeyBadRequest.md - docs/Models/Errors/GetMetaDataByRatingKeyErrors.md - docs/Models/Errors/GetMetaDataByRatingKeyLibraryErrors.md - - docs/Models/Errors/GetMetaDataByRatingKeyLibraryResponseBody.md - - docs/Models/Errors/GetMetaDataByRatingKeyResponseBody.md + - docs/Models/Errors/GetMetaDataByRatingKeyUnauthorized.md + - docs/Models/Errors/GetMetadataChildrenBadRequest.md - docs/Models/Errors/GetMetadataChildrenErrors.md - docs/Models/Errors/GetMetadataChildrenLibraryErrors.md - - docs/Models/Errors/GetMetadataChildrenLibraryResponseBody.md - - docs/Models/Errors/GetMetadataChildrenResponseBody.md + - docs/Models/Errors/GetMetadataChildrenUnauthorized.md + - docs/Models/Errors/GetMyPlexAccountBadRequest.md - docs/Models/Errors/GetMyPlexAccountErrors.md - - docs/Models/Errors/GetMyPlexAccountResponseBody.md - docs/Models/Errors/GetMyPlexAccountServerErrors.md - - docs/Models/Errors/GetMyPlexAccountServerResponseBody.md + - docs/Models/Errors/GetMyPlexAccountUnauthorized.md + - docs/Models/Errors/GetOnDeckBadRequest.md - docs/Models/Errors/GetOnDeckErrors.md - docs/Models/Errors/GetOnDeckLibraryErrors.md - - docs/Models/Errors/GetOnDeckLibraryResponseBody.md - - docs/Models/Errors/GetOnDeckResponseBody.md + - docs/Models/Errors/GetOnDeckUnauthorized.md + - docs/Models/Errors/GetPinBadRequest.md - docs/Models/Errors/GetPinErrors.md - - docs/Models/Errors/GetPinResponseBody.md + - docs/Models/Errors/GetPlaylistBadRequest.md + - docs/Models/Errors/GetPlaylistContentsBadRequest.md - docs/Models/Errors/GetPlaylistContentsErrors.md - docs/Models/Errors/GetPlaylistContentsPlaylistsErrors.md - - docs/Models/Errors/GetPlaylistContentsPlaylistsResponseBody.md - - docs/Models/Errors/GetPlaylistContentsResponseBody.md + - docs/Models/Errors/GetPlaylistContentsUnauthorized.md - docs/Models/Errors/GetPlaylistErrors.md - docs/Models/Errors/GetPlaylistPlaylistsErrors.md - - docs/Models/Errors/GetPlaylistPlaylistsResponseBody.md - - docs/Models/Errors/GetPlaylistResponseBody.md + - docs/Models/Errors/GetPlaylistUnauthorized.md + - docs/Models/Errors/GetPlaylistsBadRequest.md - docs/Models/Errors/GetPlaylistsErrors.md - docs/Models/Errors/GetPlaylistsPlaylistsErrors.md - - docs/Models/Errors/GetPlaylistsPlaylistsResponseBody.md - - docs/Models/Errors/GetPlaylistsResponseBody.md + - docs/Models/Errors/GetPlaylistsUnauthorized.md + - docs/Models/Errors/GetRecentlyAddedBadRequest.md - docs/Models/Errors/GetRecentlyAddedErrors.md - docs/Models/Errors/GetRecentlyAddedLibraryErrors.md - - docs/Models/Errors/GetRecentlyAddedLibraryResponseBody.md - - docs/Models/Errors/GetRecentlyAddedResponseBody.md + - docs/Models/Errors/GetRecentlyAddedUnauthorized.md + - docs/Models/Errors/GetRefreshLibraryMetadataBadRequest.md - docs/Models/Errors/GetRefreshLibraryMetadataErrors.md - docs/Models/Errors/GetRefreshLibraryMetadataLibraryErrors.md - - docs/Models/Errors/GetRefreshLibraryMetadataLibraryResponseBody.md - - docs/Models/Errors/GetRefreshLibraryMetadataResponseBody.md + - docs/Models/Errors/GetRefreshLibraryMetadataUnauthorized.md + - docs/Models/Errors/GetResizedPhotoBadRequest.md - docs/Models/Errors/GetResizedPhotoErrors.md - - docs/Models/Errors/GetResizedPhotoResponseBody.md - docs/Models/Errors/GetResizedPhotoServerErrors.md - - docs/Models/Errors/GetResizedPhotoServerResponseBody.md + - docs/Models/Errors/GetResizedPhotoUnauthorized.md + - docs/Models/Errors/GetResourcesStatisticsBadRequest.md - docs/Models/Errors/GetResourcesStatisticsErrors.md - - docs/Models/Errors/GetResourcesStatisticsResponseBody.md - docs/Models/Errors/GetResourcesStatisticsStatisticsErrors.md - - docs/Models/Errors/GetResourcesStatisticsStatisticsResponseBody.md + - docs/Models/Errors/GetResourcesStatisticsUnauthorized.md + - docs/Models/Errors/GetSearchLibraryBadRequest.md - docs/Models/Errors/GetSearchLibraryErrors.md - docs/Models/Errors/GetSearchLibraryLibraryErrors.md - - docs/Models/Errors/GetSearchLibraryLibraryResponseBody.md - - docs/Models/Errors/GetSearchLibraryResponseBody.md + - docs/Models/Errors/GetSearchLibraryUnauthorized.md + - docs/Models/Errors/GetSearchResultsBadRequest.md - docs/Models/Errors/GetSearchResultsErrors.md - - docs/Models/Errors/GetSearchResultsResponseBody.md - docs/Models/Errors/GetSearchResultsSearchErrors.md - - docs/Models/Errors/GetSearchResultsSearchResponseBody.md + - docs/Models/Errors/GetSearchResultsUnauthorized.md - docs/Models/Errors/GetServerActivitiesActivitiesErrors.md - - docs/Models/Errors/GetServerActivitiesActivitiesResponseBody.md + - docs/Models/Errors/GetServerActivitiesBadRequest.md - docs/Models/Errors/GetServerActivitiesErrors.md - - docs/Models/Errors/GetServerActivitiesResponseBody.md + - docs/Models/Errors/GetServerActivitiesUnauthorized.md + - docs/Models/Errors/GetServerCapabilitiesBadRequest.md - docs/Models/Errors/GetServerCapabilitiesErrors.md - - docs/Models/Errors/GetServerCapabilitiesResponseBody.md - - docs/Models/Errors/GetServerCapabilitiesServerResponseBody.md - - docs/Models/Errors/GetServerIdentityResponseBody.md + - docs/Models/Errors/GetServerCapabilitiesUnauthorized.md + - docs/Models/Errors/GetServerIdentityRequestTimeout.md + - docs/Models/Errors/GetServerListBadRequest.md - docs/Models/Errors/GetServerListErrors.md - - docs/Models/Errors/GetServerListResponseBody.md - docs/Models/Errors/GetServerListServerErrors.md - - docs/Models/Errors/GetServerListServerResponseBody.md + - docs/Models/Errors/GetServerListUnauthorized.md + - docs/Models/Errors/GetServerPreferencesBadRequest.md - docs/Models/Errors/GetServerPreferencesErrors.md - - docs/Models/Errors/GetServerPreferencesResponseBody.md - docs/Models/Errors/GetServerPreferencesServerErrors.md - - docs/Models/Errors/GetServerPreferencesServerResponseBody.md + - docs/Models/Errors/GetServerPreferencesUnauthorized.md + - docs/Models/Errors/GetServerResourcesBadRequest.md - docs/Models/Errors/GetServerResourcesErrors.md - docs/Models/Errors/GetServerResourcesPlexErrors.md - - docs/Models/Errors/GetServerResourcesPlexResponseBody.md - - docs/Models/Errors/GetServerResourcesResponseBody.md + - docs/Models/Errors/GetServerResourcesUnauthorized.md + - docs/Models/Errors/GetSessionHistoryBadRequest.md - docs/Models/Errors/GetSessionHistoryErrors.md - - docs/Models/Errors/GetSessionHistoryResponseBody.md - docs/Models/Errors/GetSessionHistorySessionsErrors.md - - docs/Models/Errors/GetSessionHistorySessionsResponseBody.md + - docs/Models/Errors/GetSessionHistoryUnauthorized.md + - docs/Models/Errors/GetSessionsBadRequest.md - docs/Models/Errors/GetSessionsErrors.md - - docs/Models/Errors/GetSessionsResponseBody.md - docs/Models/Errors/GetSessionsSessionsErrors.md - - docs/Models/Errors/GetSessionsSessionsResponseBody.md + - docs/Models/Errors/GetSessionsUnauthorized.md - docs/Models/Errors/GetSourceConnectionInformationAuthenticationErrors.md - - docs/Models/Errors/GetSourceConnectionInformationAuthenticationResponseBody.md + - docs/Models/Errors/GetSourceConnectionInformationBadRequest.md - docs/Models/Errors/GetSourceConnectionInformationErrors.md - - docs/Models/Errors/GetSourceConnectionInformationResponseBody.md + - docs/Models/Errors/GetSourceConnectionInformationUnauthorized.md + - docs/Models/Errors/GetStatisticsBadRequest.md - docs/Models/Errors/GetStatisticsErrors.md - - docs/Models/Errors/GetStatisticsResponseBody.md - docs/Models/Errors/GetStatisticsStatisticsErrors.md - - docs/Models/Errors/GetStatisticsStatisticsResponseBody.md + - docs/Models/Errors/GetStatisticsUnauthorized.md + - docs/Models/Errors/GetThumbImageBadRequest.md - docs/Models/Errors/GetThumbImageErrors.md - docs/Models/Errors/GetThumbImageMediaErrors.md - - docs/Models/Errors/GetThumbImageMediaResponseBody.md - - docs/Models/Errors/GetThumbImageResponseBody.md + - docs/Models/Errors/GetThumbImageUnauthorized.md + - docs/Models/Errors/GetTimelineBadRequest.md - docs/Models/Errors/GetTimelineErrors.md - - docs/Models/Errors/GetTimelineResponseBody.md + - docs/Models/Errors/GetTimelineUnauthorized.md - docs/Models/Errors/GetTimelineVideoErrors.md - - docs/Models/Errors/GetTimelineVideoResponseBody.md + - docs/Models/Errors/GetTokenByPinIdBadRequest.md - docs/Models/Errors/GetTokenByPinIdErrors.md - docs/Models/Errors/GetTokenByPinIdPlexErrors.md - - docs/Models/Errors/GetTokenByPinIdPlexResponseBody.md - docs/Models/Errors/GetTokenByPinIdResponseBody.md + - docs/Models/Errors/GetTokenDetailsAuthenticationErrors.md + - docs/Models/Errors/GetTokenDetailsBadRequest.md + - docs/Models/Errors/GetTokenDetailsErrors.md + - docs/Models/Errors/GetTokenDetailsUnauthorized.md + - docs/Models/Errors/GetTopWatchedContentBadRequest.md - docs/Models/Errors/GetTopWatchedContentErrors.md - docs/Models/Errors/GetTopWatchedContentLibraryErrors.md - - docs/Models/Errors/GetTopWatchedContentLibraryResponseBody.md - - docs/Models/Errors/GetTopWatchedContentResponseBody.md + - docs/Models/Errors/GetTopWatchedContentUnauthorized.md + - docs/Models/Errors/GetTranscodeSessionsBadRequest.md - docs/Models/Errors/GetTranscodeSessionsErrors.md - - docs/Models/Errors/GetTranscodeSessionsResponseBody.md - docs/Models/Errors/GetTranscodeSessionsSessionsErrors.md - - docs/Models/Errors/GetTranscodeSessionsSessionsResponseBody.md + - docs/Models/Errors/GetTranscodeSessionsUnauthorized.md - docs/Models/Errors/GetTransientTokenAuthenticationErrors.md - - docs/Models/Errors/GetTransientTokenAuthenticationResponseBody.md + - docs/Models/Errors/GetTransientTokenBadRequest.md - docs/Models/Errors/GetTransientTokenErrors.md - - docs/Models/Errors/GetTransientTokenResponseBody.md + - docs/Models/Errors/GetTransientTokenUnauthorized.md + - docs/Models/Errors/GetUpdateStatusBadRequest.md - docs/Models/Errors/GetUpdateStatusErrors.md - - docs/Models/Errors/GetUpdateStatusResponseBody.md + - docs/Models/Errors/GetUpdateStatusUnauthorized.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/GetUserFriendsBadRequest.md - docs/Models/Errors/GetUserFriendsErrors.md - docs/Models/Errors/GetUserFriendsPlexErrors.md - - docs/Models/Errors/GetUserFriendsPlexResponseBody.md - - docs/Models/Errors/GetUserFriendsResponseBody.md + - docs/Models/Errors/GetUserFriendsUnauthorized.md + - docs/Models/Errors/GetWatchListBadRequest.md - docs/Models/Errors/GetWatchListErrors.md - - docs/Models/Errors/GetWatchListResponseBody.md + - docs/Models/Errors/GetWatchListUnauthorized.md - docs/Models/Errors/GetWatchListWatchlistErrors.md - - docs/Models/Errors/GetWatchListWatchlistResponseBody.md + - docs/Models/Errors/LogLineBadRequest.md - docs/Models/Errors/LogLineErrors.md - docs/Models/Errors/LogLineLogErrors.md - - docs/Models/Errors/LogLineLogResponseBody.md - - docs/Models/Errors/LogLineResponseBody.md + - docs/Models/Errors/LogLineUnauthorized.md + - docs/Models/Errors/LogMultiLineBadRequest.md - docs/Models/Errors/LogMultiLineErrors.md - docs/Models/Errors/LogMultiLineLogErrors.md - - docs/Models/Errors/LogMultiLineLogResponseBody.md - - docs/Models/Errors/LogMultiLineResponseBody.md + - docs/Models/Errors/LogMultiLineUnauthorized.md + - docs/Models/Errors/MarkPlayedBadRequest.md - docs/Models/Errors/MarkPlayedErrors.md - docs/Models/Errors/MarkPlayedMediaErrors.md - - docs/Models/Errors/MarkPlayedMediaResponseBody.md - - docs/Models/Errors/MarkPlayedResponseBody.md + - docs/Models/Errors/MarkPlayedUnauthorized.md + - docs/Models/Errors/MarkUnplayedBadRequest.md - docs/Models/Errors/MarkUnplayedErrors.md - docs/Models/Errors/MarkUnplayedMediaErrors.md - - docs/Models/Errors/MarkUnplayedMediaResponseBody.md - - docs/Models/Errors/MarkUnplayedResponseBody.md + - docs/Models/Errors/MarkUnplayedUnauthorized.md + - docs/Models/Errors/PerformSearchBadRequest.md - docs/Models/Errors/PerformSearchErrors.md - - docs/Models/Errors/PerformSearchResponseBody.md - docs/Models/Errors/PerformSearchSearchErrors.md - - docs/Models/Errors/PerformSearchSearchResponseBody.md + - docs/Models/Errors/PerformSearchUnauthorized.md + - docs/Models/Errors/PerformVoiceSearchBadRequest.md - docs/Models/Errors/PerformVoiceSearchErrors.md - - docs/Models/Errors/PerformVoiceSearchResponseBody.md - docs/Models/Errors/PerformVoiceSearchSearchErrors.md - - docs/Models/Errors/PerformVoiceSearchSearchResponseBody.md + - docs/Models/Errors/PerformVoiceSearchUnauthorized.md - docs/Models/Errors/PostUsersSignInDataAuthenticationErrors.md - - docs/Models/Errors/PostUsersSignInDataAuthenticationResponseBody.md + - docs/Models/Errors/PostUsersSignInDataBadRequest.md - docs/Models/Errors/PostUsersSignInDataErrors.md - - docs/Models/Errors/PostUsersSignInDataResponseBody.md + - docs/Models/Errors/PostUsersSignInDataUnauthorized.md + - docs/Models/Errors/StartAllTasksBadRequest.md - docs/Models/Errors/StartAllTasksButlerErrors.md - - docs/Models/Errors/StartAllTasksButlerResponseBody.md - docs/Models/Errors/StartAllTasksErrors.md - - docs/Models/Errors/StartAllTasksResponseBody.md + - docs/Models/Errors/StartAllTasksUnauthorized.md + - docs/Models/Errors/StartTaskBadRequest.md - docs/Models/Errors/StartTaskButlerErrors.md - - docs/Models/Errors/StartTaskButlerResponseBody.md - docs/Models/Errors/StartTaskErrors.md - - docs/Models/Errors/StartTaskResponseBody.md + - docs/Models/Errors/StartTaskUnauthorized.md + - docs/Models/Errors/StartUniversalTranscodeBadRequest.md - docs/Models/Errors/StartUniversalTranscodeErrors.md - - docs/Models/Errors/StartUniversalTranscodeResponseBody.md + - docs/Models/Errors/StartUniversalTranscodeUnauthorized.md - docs/Models/Errors/StartUniversalTranscodeVideoErrors.md - - docs/Models/Errors/StartUniversalTranscodeVideoResponseBody.md + - docs/Models/Errors/StopAllTasksBadRequest.md - docs/Models/Errors/StopAllTasksButlerErrors.md - - docs/Models/Errors/StopAllTasksButlerResponseBody.md - docs/Models/Errors/StopAllTasksErrors.md - - docs/Models/Errors/StopAllTasksResponseBody.md + - docs/Models/Errors/StopAllTasksUnauthorized.md + - docs/Models/Errors/StopTaskBadRequest.md - docs/Models/Errors/StopTaskButlerErrors.md - - docs/Models/Errors/StopTaskButlerResponseBody.md - docs/Models/Errors/StopTaskErrors.md - - docs/Models/Errors/StopTaskResponseBody.md + - docs/Models/Errors/StopTaskUnauthorized.md + - docs/Models/Errors/StopTranscodeSessionBadRequest.md - docs/Models/Errors/StopTranscodeSessionErrors.md - - docs/Models/Errors/StopTranscodeSessionResponseBody.md - docs/Models/Errors/StopTranscodeSessionSessionsErrors.md - - docs/Models/Errors/StopTranscodeSessionSessionsResponseBody.md + - docs/Models/Errors/StopTranscodeSessionUnauthorized.md + - docs/Models/Errors/UpdatePlayProgressBadRequest.md - docs/Models/Errors/UpdatePlayProgressErrors.md - docs/Models/Errors/UpdatePlayProgressMediaErrors.md - - docs/Models/Errors/UpdatePlayProgressMediaResponseBody.md - - docs/Models/Errors/UpdatePlayProgressResponseBody.md + - docs/Models/Errors/UpdatePlayProgressUnauthorized.md + - docs/Models/Errors/UpdatePlaylistBadRequest.md - docs/Models/Errors/UpdatePlaylistErrors.md - docs/Models/Errors/UpdatePlaylistPlaylistsErrors.md - - docs/Models/Errors/UpdatePlaylistPlaylistsResponseBody.md - - docs/Models/Errors/UpdatePlaylistResponseBody.md + - docs/Models/Errors/UpdatePlaylistUnauthorized.md + - docs/Models/Errors/UploadPlaylistBadRequest.md - docs/Models/Errors/UploadPlaylistErrors.md - docs/Models/Errors/UploadPlaylistPlaylistsErrors.md - - docs/Models/Errors/UploadPlaylistPlaylistsResponseBody.md - - docs/Models/Errors/UploadPlaylistResponseBody.md + - docs/Models/Errors/UploadPlaylistUnauthorized.md - docs/Models/Requests/Account.md - docs/Models/Requests/Activity.md - docs/Models/Requests/AddPlaylistContentsMediaContainer.md @@ -1300,6 +1299,13 @@ generatedFiles: - docs/Models/Requests/GetTokenByPinIdGeoData.md - docs/Models/Requests/GetTokenByPinIdRequest.md - docs/Models/Requests/GetTokenByPinIdResponse.md + - docs/Models/Requests/GetTokenDetailsAuthenticationResponseStatus.md + - docs/Models/Requests/GetTokenDetailsAuthenticationStatus.md + - docs/Models/Requests/GetTokenDetailsFeatures.md + - docs/Models/Requests/GetTokenDetailsResponse.md + - docs/Models/Requests/GetTokenDetailsStatus.md + - docs/Models/Requests/GetTokenDetailsSubscription.md + - docs/Models/Requests/GetTokenDetailsUserPlexAccount.md - docs/Models/Requests/GetTopWatchedContentCountry.md - docs/Models/Requests/GetTopWatchedContentGenre.md - docs/Models/Requests/GetTopWatchedContentGuids.md @@ -1319,14 +1325,6 @@ generatedFiles: - docs/Models/Requests/GetUpdateStatusMediaContainer.md - docs/Models/Requests/GetUpdateStatusResponse.md - docs/Models/Requests/GetUpdateStatusResponseBody.md - - docs/Models/Requests/GetUserDetailsAuthenticationResponseStatus.md - - docs/Models/Requests/GetUserDetailsAuthenticationStatus.md - - docs/Models/Requests/GetUserDetailsFeatures.md - - docs/Models/Requests/GetUserDetailsRequest.md - - docs/Models/Requests/GetUserDetailsResponse.md - - docs/Models/Requests/GetUserDetailsStatus.md - - docs/Models/Requests/GetUserDetailsSubscription.md - - docs/Models/Requests/GetUserDetailsUserPlexAccount.md - docs/Models/Requests/GetUserFriendsResponse.md - docs/Models/Requests/GetWatchListRequest.md - docs/Models/Requests/GetWatchListResponse.md @@ -1602,7 +1600,8 @@ examples: responses: "401": application/json: {"errors": []} - "200": {} + "200": + image/jpeg: "0xE5A1092305" "400": application/json: {"errors": []} get-thumb-image: @@ -1619,7 +1618,8 @@ examples: responses: "401": application/json: {"errors": []} - "200": {} + "200": + image/jpeg: "0x4f576BaCaA" "400": application/json: {"errors": []} getTimeline: @@ -1774,7 +1774,8 @@ examples: responses: "401": application/json: {"errors": []} - "200": {} + "200": + application/json: [] "400": application/json: {"errors": []} getPin: @@ -2396,3 +2397,12 @@ examples: application/json: {"errors": []} "400": application/json: {"errors": []} + getTokenDetails: + speakeasy-default-get-token-details: + responses: + "200": + 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"} + "400": + application/json: {"errors": []} + "401": + application/json: {"errors": []} diff --git a/.speakeasy/gen.yaml b/.speakeasy/gen.yaml index 99ef3c4..6ebc097 100644 --- a/.speakeasy/gen.yaml +++ b/.speakeasy/gen.yaml @@ -12,7 +12,7 @@ generation: auth: oAuth2ClientCredentialsEnabled: true csharp: - version: 0.6.0 + version: 0.6.1 additionalDependencies: [] author: LukeHagar clientServerStatusCodesAsErrors: true diff --git a/.speakeasy/workflow.lock b/.speakeasy/workflow.lock index 77d4f54..f377f60 100644 --- a/.speakeasy/workflow.lock +++ b/.speakeasy/workflow.lock @@ -1,4 +1,4 @@ -speakeasyVersion: 1.392.1 +speakeasyVersion: 1.394.0 sources: my-source: sourceNamespace: my-source @@ -9,8 +9,8 @@ sources: - main plex-api: sourceNamespace: plex-api - sourceRevisionDigest: sha256:06d2bc8083f30b9af5d98573735dcbe4b08efb34abd1829f8ce5d8a4a54f2a7c - sourceBlobDigest: sha256:ce28f3e6f2abc18cde6fb9e41093952eac55be5ad46b47b6f44fcdee1ca77eb2 + sourceRevisionDigest: sha256:289c5a73965c8fa779f32919d1353d0d275163982c0a0f5525ef4146c462a486 + sourceBlobDigest: sha256:f7e2709f52370dff16c1851a7a4e44a89f2e978e9cae335bffc10625950b3bd9 tags: - latest - main @@ -18,8 +18,8 @@ targets: plexcsharp: source: plex-api sourceNamespace: plex-api - sourceRevisionDigest: sha256:06d2bc8083f30b9af5d98573735dcbe4b08efb34abd1829f8ce5d8a4a54f2a7c - sourceBlobDigest: sha256:ce28f3e6f2abc18cde6fb9e41093952eac55be5ad46b47b6f44fcdee1ca77eb2 + sourceRevisionDigest: sha256:289c5a73965c8fa779f32919d1353d0d275163982c0a0f5525ef4146c462a486 + sourceBlobDigest: sha256:f7e2709f52370dff16c1851a7a4e44a89f2e978e9cae335bffc10625950b3bd9 outLocation: /github/workspace/repo workflow: workflowVersion: 1.0.0 diff --git a/LukeHagar/PlexAPI/SDK/Activities.cs b/LukeHagar/PlexAPI/SDK/Activities.cs index 479b81d..9b87c0e 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.6.0"; - private const string _sdkGenVersion = "2.411.9"; + private const string _sdkVersion = "0.6.1"; + private const string _sdkGenVersion = "2.413.0"; private const string _openapiDocVersion = "0.0.3"; - private const string _userAgent = "speakeasy-sdk/csharp 0.6.0 2.411.9 0.0.3 LukeHagar.PlexAPI.SDK"; + private const string _userAgent = "speakeasy-sdk/csharp 0.6.1 2.413.0 0.0.3 LukeHagar.PlexAPI.SDK"; private string _serverUrl = ""; private ISpeakeasyHttpClient _client; private Func? _securitySource; @@ -144,7 +144,7 @@ namespace LukeHagar.PlexAPI.SDK { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); var response = new GetServerActivitiesResponse() { StatusCode = responseStatusCode, @@ -163,7 +163,7 @@ namespace LukeHagar.PlexAPI.SDK { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); obj!.RawResponse = httpResponse; throw obj!; } @@ -176,7 +176,7 @@ namespace LukeHagar.PlexAPI.SDK { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); obj!.RawResponse = httpResponse; throw obj!; } @@ -261,7 +261,7 @@ namespace LukeHagar.PlexAPI.SDK { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); obj!.RawResponse = httpResponse; throw obj!; } @@ -274,7 +274,7 @@ namespace LukeHagar.PlexAPI.SDK { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); obj!.RawResponse = httpResponse; throw obj!; } diff --git a/LukeHagar/PlexAPI/SDK/Authentication.cs b/LukeHagar/PlexAPI/SDK/Authentication.cs index a55c05e..c34f918 100644 --- a/LukeHagar/PlexAPI/SDK/Authentication.cs +++ b/LukeHagar/PlexAPI/SDK/Authentication.cs @@ -33,7 +33,7 @@ namespace LukeHagar.PlexAPI.SDK { /// - /// Get a Transient Token. + /// Get a Transient Token /// /// /// This endpoint provides the caller with a temporary token with the same access level as the caller's token. These tokens are valid for up to 48 hours and are destroyed if the server instance is restarted.
@@ -54,13 +54,13 @@ namespace LukeHagar.PlexAPI.SDK Task GetSourceConnectionInformationAsync(string source); /// - /// Get User Data By Token + /// Get Token Details /// /// /// Get the User data from the provided X-Plex-Token /// /// - Task GetUserDetailsAsync(string xPlexToken, string? serverUrl = null); + Task GetTokenDetailsAsync(string? serverUrl = null); /// /// Get User Sign In Data @@ -82,9 +82,9 @@ namespace LukeHagar.PlexAPI.SDK public class Authentication: IAuthentication { /// - /// List of server URLs available for the getUserDetails operation. + /// List of server URLs available for the getTokenDetails operation. /// - public static readonly string[] GetUserDetailsServerList = { + public static readonly string[] GetTokenDetailsServerList = { "https://plex.tv/api/v2/", }; /// @@ -95,10 +95,10 @@ namespace LukeHagar.PlexAPI.SDK }; public SDKConfig SDKConfiguration { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.6.0"; - private const string _sdkGenVersion = "2.411.9"; + private const string _sdkVersion = "0.6.1"; + private const string _sdkGenVersion = "2.413.0"; private const string _openapiDocVersion = "0.0.3"; - private const string _userAgent = "speakeasy-sdk/csharp 0.6.0 2.411.9 0.0.3 LukeHagar.PlexAPI.SDK"; + private const string _userAgent = "speakeasy-sdk/csharp 0.6.1 2.413.0 0.0.3 LukeHagar.PlexAPI.SDK"; private string _serverUrl = ""; private ISpeakeasyHttpClient _client; private Func? _securitySource; @@ -178,7 +178,7 @@ namespace LukeHagar.PlexAPI.SDK { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); obj!.RawResponse = httpResponse; throw obj!; } @@ -191,7 +191,7 @@ namespace LukeHagar.PlexAPI.SDK { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); obj!.RawResponse = httpResponse; throw obj!; } @@ -276,7 +276,7 @@ namespace LukeHagar.PlexAPI.SDK { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); obj!.RawResponse = httpResponse; throw obj!; } @@ -289,7 +289,7 @@ namespace LukeHagar.PlexAPI.SDK { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); obj!.RawResponse = httpResponse; throw obj!; } @@ -308,19 +308,16 @@ namespace LukeHagar.PlexAPI.SDK } } - public async Task GetUserDetailsAsync(string xPlexToken, string? serverUrl = null) + public async Task GetTokenDetailsAsync(string? serverUrl = null) { - var request = new GetUserDetailsRequest() - { - XPlexToken = xPlexToken, - }; - string baseUrl = Utilities.TemplateUrl(GetUserDetailsServerList[0], new Dictionary(){ + string baseUrl = Utilities.TemplateUrl(GetTokenDetailsServerList[0], new Dictionary(){ }); if (serverUrl != null) { baseUrl = serverUrl; } - var urlString = URLBuilder.Build(baseUrl, "/user", request); + + var urlString = baseUrl + "/user"; var httpRequest = new HttpRequestMessage(HttpMethod.Get, urlString); httpRequest.Headers.Add("user-agent", _userAgent); @@ -330,7 +327,7 @@ namespace LukeHagar.PlexAPI.SDK httpRequest = new SecurityMetadata(_securitySource).Apply(httpRequest); } - var hookCtx = new HookContext("getUserDetails", null, _securitySource); + var hookCtx = new HookContext("getTokenDetails", null, _securitySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); @@ -370,8 +367,8 @@ namespace LukeHagar.PlexAPI.SDK { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); - var response = new GetUserDetailsResponse() + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + var response = new GetTokenDetailsResponse() { StatusCode = responseStatusCode, ContentType = contentType, @@ -389,7 +386,7 @@ namespace LukeHagar.PlexAPI.SDK { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); obj!.RawResponse = httpResponse; throw obj!; } @@ -402,7 +399,7 @@ namespace LukeHagar.PlexAPI.SDK { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); obj!.RawResponse = httpResponse; throw obj!; } @@ -506,7 +503,7 @@ namespace LukeHagar.PlexAPI.SDK { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); obj!.RawResponse = httpResponse; throw obj!; } @@ -519,7 +516,7 @@ namespace LukeHagar.PlexAPI.SDK { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); obj!.RawResponse = httpResponse; throw obj!; } diff --git a/LukeHagar/PlexAPI/SDK/Butler.cs b/LukeHagar/PlexAPI/SDK/Butler.cs index d33ddf6..6a0e550 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.6.0"; - private const string _sdkGenVersion = "2.411.9"; + private const string _sdkVersion = "0.6.1"; + private const string _sdkGenVersion = "2.413.0"; private const string _openapiDocVersion = "0.0.3"; - private const string _userAgent = "speakeasy-sdk/csharp 0.6.0 2.411.9 0.0.3 LukeHagar.PlexAPI.SDK"; + private const string _userAgent = "speakeasy-sdk/csharp 0.6.1 2.413.0 0.0.3 LukeHagar.PlexAPI.SDK"; private string _serverUrl = ""; private ISpeakeasyHttpClient _client; private Func? _securitySource; @@ -171,7 +171,7 @@ namespace LukeHagar.PlexAPI.SDK { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); var response = new GetButlerTasksResponse() { StatusCode = responseStatusCode, @@ -190,7 +190,7 @@ namespace LukeHagar.PlexAPI.SDK { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); obj!.RawResponse = httpResponse; throw obj!; } @@ -203,7 +203,7 @@ namespace LukeHagar.PlexAPI.SDK { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); obj!.RawResponse = httpResponse; throw obj!; } @@ -285,7 +285,7 @@ namespace LukeHagar.PlexAPI.SDK { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); obj!.RawResponse = httpResponse; throw obj!; } @@ -298,7 +298,7 @@ namespace LukeHagar.PlexAPI.SDK { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); obj!.RawResponse = httpResponse; throw obj!; } @@ -380,7 +380,7 @@ namespace LukeHagar.PlexAPI.SDK { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); obj!.RawResponse = httpResponse; throw obj!; } @@ -393,7 +393,7 @@ namespace LukeHagar.PlexAPI.SDK { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); obj!.RawResponse = httpResponse; throw obj!; } @@ -478,7 +478,7 @@ namespace LukeHagar.PlexAPI.SDK { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); obj!.RawResponse = httpResponse; throw obj!; } @@ -491,7 +491,7 @@ namespace LukeHagar.PlexAPI.SDK { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); obj!.RawResponse = httpResponse; throw obj!; } @@ -576,7 +576,7 @@ namespace LukeHagar.PlexAPI.SDK { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); obj!.RawResponse = httpResponse; throw obj!; } @@ -589,7 +589,7 @@ namespace LukeHagar.PlexAPI.SDK { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); obj!.RawResponse = httpResponse; throw obj!; } diff --git a/LukeHagar/PlexAPI/SDK/Hubs.cs b/LukeHagar/PlexAPI/SDK/Hubs.cs index a8fcc12..48ccf9f 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.6.0"; - private const string _sdkGenVersion = "2.411.9"; + private const string _sdkVersion = "0.6.1"; + private const string _sdkGenVersion = "2.413.0"; private const string _openapiDocVersion = "0.0.3"; - private const string _userAgent = "speakeasy-sdk/csharp 0.6.0 2.411.9 0.0.3 LukeHagar.PlexAPI.SDK"; + private const string _userAgent = "speakeasy-sdk/csharp 0.6.1 2.413.0 0.0.3 LukeHagar.PlexAPI.SDK"; private string _serverUrl = ""; private ISpeakeasyHttpClient _client; private Func? _securitySource; @@ -137,7 +137,7 @@ namespace LukeHagar.PlexAPI.SDK { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); var response = new GetGlobalHubsResponse() { StatusCode = responseStatusCode, @@ -156,7 +156,7 @@ namespace LukeHagar.PlexAPI.SDK { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); obj!.RawResponse = httpResponse; throw obj!; } @@ -169,7 +169,7 @@ namespace LukeHagar.PlexAPI.SDK { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); obj!.RawResponse = httpResponse; throw obj!; } @@ -247,7 +247,7 @@ namespace LukeHagar.PlexAPI.SDK { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); var response = new GetLibraryHubsResponse() { StatusCode = responseStatusCode, @@ -266,7 +266,7 @@ namespace LukeHagar.PlexAPI.SDK { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); obj!.RawResponse = httpResponse; throw obj!; } @@ -279,7 +279,7 @@ namespace LukeHagar.PlexAPI.SDK { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); obj!.RawResponse = httpResponse; throw obj!; } diff --git a/LukeHagar/PlexAPI/SDK/Library.cs b/LukeHagar/PlexAPI/SDK/Library.cs index 65ebdb7..e87501e 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.6.0"; - private const string _sdkGenVersion = "2.411.9"; + private const string _sdkVersion = "0.6.1"; + private const string _sdkGenVersion = "2.413.0"; private const string _openapiDocVersion = "0.0.3"; - private const string _userAgent = "speakeasy-sdk/csharp 0.6.0 2.411.9 0.0.3 LukeHagar.PlexAPI.SDK"; + private const string _userAgent = "speakeasy-sdk/csharp 0.6.1 2.413.0 0.0.3 LukeHagar.PlexAPI.SDK"; private string _serverUrl = ""; private ISpeakeasyHttpClient _client; private Func? _securitySource; @@ -324,7 +324,7 @@ namespace LukeHagar.PlexAPI.SDK { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); obj!.RawResponse = httpResponse; throw obj!; } @@ -337,7 +337,7 @@ namespace LukeHagar.PlexAPI.SDK { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); obj!.RawResponse = httpResponse; throw obj!; } @@ -414,7 +414,7 @@ namespace LukeHagar.PlexAPI.SDK { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); var response = new GetRecentlyAddedResponse() { StatusCode = responseStatusCode, @@ -433,7 +433,7 @@ namespace LukeHagar.PlexAPI.SDK { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); obj!.RawResponse = httpResponse; throw obj!; } @@ -446,7 +446,7 @@ namespace LukeHagar.PlexAPI.SDK { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); obj!.RawResponse = httpResponse; throw obj!; } @@ -519,7 +519,7 @@ namespace LukeHagar.PlexAPI.SDK { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); var response = new GetAllLibrariesResponse() { StatusCode = responseStatusCode, @@ -538,7 +538,7 @@ namespace LukeHagar.PlexAPI.SDK { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); obj!.RawResponse = httpResponse; throw obj!; } @@ -551,7 +551,7 @@ namespace LukeHagar.PlexAPI.SDK { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); obj!.RawResponse = httpResponse; throw obj!; } @@ -628,7 +628,7 @@ namespace LukeHagar.PlexAPI.SDK { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); var response = new GetLibraryDetailsResponse() { StatusCode = responseStatusCode, @@ -647,7 +647,7 @@ namespace LukeHagar.PlexAPI.SDK { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); obj!.RawResponse = httpResponse; throw obj!; } @@ -660,7 +660,7 @@ namespace LukeHagar.PlexAPI.SDK { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); obj!.RawResponse = httpResponse; throw obj!; } @@ -745,7 +745,7 @@ namespace LukeHagar.PlexAPI.SDK { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); obj!.RawResponse = httpResponse; throw obj!; } @@ -758,7 +758,7 @@ namespace LukeHagar.PlexAPI.SDK { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); obj!.RawResponse = httpResponse; throw obj!; } @@ -830,7 +830,7 @@ namespace LukeHagar.PlexAPI.SDK { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); var response = new GetLibraryItemsResponse() { StatusCode = responseStatusCode, @@ -849,7 +849,7 @@ namespace LukeHagar.PlexAPI.SDK { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); obj!.RawResponse = httpResponse; throw obj!; } @@ -862,7 +862,7 @@ namespace LukeHagar.PlexAPI.SDK { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); obj!.RawResponse = httpResponse; throw obj!; } @@ -948,7 +948,7 @@ namespace LukeHagar.PlexAPI.SDK { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); obj!.RawResponse = httpResponse; throw obj!; } @@ -961,7 +961,7 @@ namespace LukeHagar.PlexAPI.SDK { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); obj!.RawResponse = httpResponse; throw obj!; } @@ -1038,7 +1038,7 @@ namespace LukeHagar.PlexAPI.SDK { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); var response = new GetSearchLibraryResponse() { StatusCode = responseStatusCode, @@ -1057,7 +1057,7 @@ namespace LukeHagar.PlexAPI.SDK { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); obj!.RawResponse = httpResponse; throw obj!; } @@ -1070,7 +1070,7 @@ namespace LukeHagar.PlexAPI.SDK { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); obj!.RawResponse = httpResponse; throw obj!; } @@ -1146,7 +1146,7 @@ namespace LukeHagar.PlexAPI.SDK { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); var response = new GetMetaDataByRatingKeyResponse() { StatusCode = responseStatusCode, @@ -1165,7 +1165,7 @@ namespace LukeHagar.PlexAPI.SDK { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); obj!.RawResponse = httpResponse; throw obj!; } @@ -1178,7 +1178,7 @@ namespace LukeHagar.PlexAPI.SDK { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); obj!.RawResponse = httpResponse; throw obj!; } @@ -1255,7 +1255,7 @@ namespace LukeHagar.PlexAPI.SDK { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); var response = new GetMetadataChildrenResponse() { StatusCode = responseStatusCode, @@ -1274,7 +1274,7 @@ namespace LukeHagar.PlexAPI.SDK { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); obj!.RawResponse = httpResponse; throw obj!; } @@ -1287,7 +1287,7 @@ namespace LukeHagar.PlexAPI.SDK { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); obj!.RawResponse = httpResponse; throw obj!; } @@ -1364,7 +1364,7 @@ namespace LukeHagar.PlexAPI.SDK { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); var response = new GetTopWatchedContentResponse() { StatusCode = responseStatusCode, @@ -1383,7 +1383,7 @@ namespace LukeHagar.PlexAPI.SDK { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); obj!.RawResponse = httpResponse; throw obj!; } @@ -1396,7 +1396,7 @@ namespace LukeHagar.PlexAPI.SDK { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); obj!.RawResponse = httpResponse; throw obj!; } @@ -1469,7 +1469,7 @@ namespace LukeHagar.PlexAPI.SDK { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); var response = new GetOnDeckResponse() { StatusCode = responseStatusCode, @@ -1488,7 +1488,7 @@ namespace LukeHagar.PlexAPI.SDK { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); obj!.RawResponse = httpResponse; throw obj!; } @@ -1501,7 +1501,7 @@ namespace LukeHagar.PlexAPI.SDK { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); obj!.RawResponse = httpResponse; throw obj!; } diff --git a/LukeHagar/PlexAPI/SDK/Log.cs b/LukeHagar/PlexAPI/SDK/Log.cs index c8d439d..952f0ca 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.6.0"; - private const string _sdkGenVersion = "2.411.9"; + private const string _sdkVersion = "0.6.1"; + private const string _sdkGenVersion = "2.413.0"; private const string _openapiDocVersion = "0.0.3"; - private const string _userAgent = "speakeasy-sdk/csharp 0.6.0 2.411.9 0.0.3 LukeHagar.PlexAPI.SDK"; + private const string _userAgent = "speakeasy-sdk/csharp 0.6.1 2.413.0 0.0.3 LukeHagar.PlexAPI.SDK"; private string _serverUrl = ""; private ISpeakeasyHttpClient _client; private Func? _securitySource; @@ -178,7 +178,7 @@ namespace LukeHagar.PlexAPI.SDK { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); obj!.RawResponse = httpResponse; throw obj!; } @@ -191,7 +191,7 @@ namespace LukeHagar.PlexAPI.SDK { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); obj!.RawResponse = httpResponse; throw obj!; } @@ -279,7 +279,7 @@ namespace LukeHagar.PlexAPI.SDK { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); obj!.RawResponse = httpResponse; throw obj!; } @@ -292,7 +292,7 @@ namespace LukeHagar.PlexAPI.SDK { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); obj!.RawResponse = httpResponse; throw obj!; } @@ -374,7 +374,7 @@ namespace LukeHagar.PlexAPI.SDK { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); obj!.RawResponse = httpResponse; throw obj!; } @@ -387,7 +387,7 @@ namespace LukeHagar.PlexAPI.SDK { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); obj!.RawResponse = httpResponse; throw obj!; } diff --git a/LukeHagar/PlexAPI/SDK/LukeHagar.PlexAPI.SDK.csproj b/LukeHagar/PlexAPI/SDK/LukeHagar.PlexAPI.SDK.csproj index 34dbd6f..73a8f36 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.6.0 + 0.6.1 net8.0 LukeHagar Copyright (c) LukeHagar 2024 diff --git a/LukeHagar/PlexAPI/SDK/Media.cs b/LukeHagar/PlexAPI/SDK/Media.cs index a4a4e5f..ee3aa58 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.6.0"; - private const string _sdkGenVersion = "2.411.9"; + private const string _sdkVersion = "0.6.1"; + private const string _sdkGenVersion = "2.413.0"; private const string _openapiDocVersion = "0.0.3"; - private const string _userAgent = "speakeasy-sdk/csharp 0.6.0 2.411.9 0.0.3 LukeHagar.PlexAPI.SDK"; + private const string _userAgent = "speakeasy-sdk/csharp 0.6.1 2.413.0 0.0.3 LukeHagar.PlexAPI.SDK"; private string _serverUrl = ""; private ISpeakeasyHttpClient _client; private Func? _securitySource; @@ -172,7 +172,7 @@ namespace LukeHagar.PlexAPI.SDK { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); obj!.RawResponse = httpResponse; throw obj!; } @@ -185,7 +185,7 @@ namespace LukeHagar.PlexAPI.SDK { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); obj!.RawResponse = httpResponse; throw obj!; } @@ -270,7 +270,7 @@ namespace LukeHagar.PlexAPI.SDK { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); obj!.RawResponse = httpResponse; throw obj!; } @@ -283,7 +283,7 @@ namespace LukeHagar.PlexAPI.SDK { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); obj!.RawResponse = httpResponse; throw obj!; } @@ -370,7 +370,7 @@ namespace LukeHagar.PlexAPI.SDK { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); obj!.RawResponse = httpResponse; throw obj!; } @@ -383,7 +383,7 @@ namespace LukeHagar.PlexAPI.SDK { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); obj!.RawResponse = httpResponse; throw obj!; } @@ -473,7 +473,7 @@ namespace LukeHagar.PlexAPI.SDK { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); obj!.RawResponse = httpResponse; throw obj!; } @@ -486,7 +486,7 @@ namespace LukeHagar.PlexAPI.SDK { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); obj!.RawResponse = httpResponse; throw obj!; } @@ -576,7 +576,7 @@ namespace LukeHagar.PlexAPI.SDK { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); obj!.RawResponse = httpResponse; throw obj!; } @@ -589,7 +589,7 @@ namespace LukeHagar.PlexAPI.SDK { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); obj!.RawResponse = httpResponse; throw obj!; } diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/AddPlaylistContentsResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/AddPlaylistContentsBadRequest.cs similarity index 94% rename from LukeHagar/PlexAPI/SDK/Models/Errors/AddPlaylistContentsResponseBody.cs rename to LukeHagar/PlexAPI/SDK/Models/Errors/AddPlaylistContentsBadRequest.cs index 995ea0a..b027e15 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/AddPlaylistContentsResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/AddPlaylistContentsBadRequest.cs @@ -19,7 +19,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors /// /// Bad Request - A parameter was not specified, or was specified incorrectly. /// - public class AddPlaylistContentsResponseBody : Exception + public class AddPlaylistContentsBadRequest : Exception { [JsonProperty("errors")] diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/AddPlaylistContentsPlaylistsResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/AddPlaylistContentsUnauthorized.cs similarity index 94% rename from LukeHagar/PlexAPI/SDK/Models/Errors/AddPlaylistContentsPlaylistsResponseBody.cs rename to LukeHagar/PlexAPI/SDK/Models/Errors/AddPlaylistContentsUnauthorized.cs index dfb4efc..e906295 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/AddPlaylistContentsPlaylistsResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/AddPlaylistContentsUnauthorized.cs @@ -19,7 +19,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors /// /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. /// - public class AddPlaylistContentsPlaylistsResponseBody : Exception + public class AddPlaylistContentsUnauthorized : Exception { [JsonProperty("errors")] diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/ApplyUpdatesResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/ApplyUpdatesBadRequest.cs similarity index 95% rename from LukeHagar/PlexAPI/SDK/Models/Errors/ApplyUpdatesResponseBody.cs rename to LukeHagar/PlexAPI/SDK/Models/Errors/ApplyUpdatesBadRequest.cs index 87baa86..ac4b92c 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/ApplyUpdatesResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/ApplyUpdatesBadRequest.cs @@ -19,7 +19,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors /// /// Bad Request - A parameter was not specified, or was specified incorrectly. /// - public class ApplyUpdatesResponseBody : Exception + public class ApplyUpdatesBadRequest : Exception { [JsonProperty("errors")] diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/ApplyUpdatesUpdaterResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/ApplyUpdatesUnauthorized.cs similarity index 94% rename from LukeHagar/PlexAPI/SDK/Models/Errors/ApplyUpdatesUpdaterResponseBody.cs rename to LukeHagar/PlexAPI/SDK/Models/Errors/ApplyUpdatesUnauthorized.cs index 4f30eb0..d144a1b 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/ApplyUpdatesUpdaterResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/ApplyUpdatesUnauthorized.cs @@ -19,7 +19,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors /// /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. /// - public class ApplyUpdatesUpdaterResponseBody : Exception + public class ApplyUpdatesUnauthorized : Exception { [JsonProperty("errors")] diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/CancelServerActivitiesResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/CancelServerActivitiesBadRequest.cs similarity index 94% rename from LukeHagar/PlexAPI/SDK/Models/Errors/CancelServerActivitiesResponseBody.cs rename to LukeHagar/PlexAPI/SDK/Models/Errors/CancelServerActivitiesBadRequest.cs index 878120c..9bb084c 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/CancelServerActivitiesResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/CancelServerActivitiesBadRequest.cs @@ -19,7 +19,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors /// /// Bad Request - A parameter was not specified, or was specified incorrectly. /// - public class CancelServerActivitiesResponseBody : Exception + public class CancelServerActivitiesBadRequest : Exception { [JsonProperty("errors")] diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/CancelServerActivitiesActivitiesResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/CancelServerActivitiesUnauthorized.cs similarity index 93% rename from LukeHagar/PlexAPI/SDK/Models/Errors/CancelServerActivitiesActivitiesResponseBody.cs rename to LukeHagar/PlexAPI/SDK/Models/Errors/CancelServerActivitiesUnauthorized.cs index 78c4479..17af327 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/CancelServerActivitiesActivitiesResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/CancelServerActivitiesUnauthorized.cs @@ -19,7 +19,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors /// /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. /// - public class CancelServerActivitiesActivitiesResponseBody : Exception + public class CancelServerActivitiesUnauthorized : Exception { [JsonProperty("errors")] diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/CheckForUpdatesResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/CheckForUpdatesBadRequest.cs similarity index 95% rename from LukeHagar/PlexAPI/SDK/Models/Errors/CheckForUpdatesResponseBody.cs rename to LukeHagar/PlexAPI/SDK/Models/Errors/CheckForUpdatesBadRequest.cs index 23bde90..87b36bb 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/CheckForUpdatesResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/CheckForUpdatesBadRequest.cs @@ -19,7 +19,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors /// /// Bad Request - A parameter was not specified, or was specified incorrectly. /// - public class CheckForUpdatesResponseBody : Exception + public class CheckForUpdatesBadRequest : Exception { [JsonProperty("errors")] diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/CheckForUpdatesUpdaterResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/CheckForUpdatesUnauthorized.cs similarity index 94% rename from LukeHagar/PlexAPI/SDK/Models/Errors/CheckForUpdatesUpdaterResponseBody.cs rename to LukeHagar/PlexAPI/SDK/Models/Errors/CheckForUpdatesUnauthorized.cs index 71868ae..f1532bb 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/CheckForUpdatesUpdaterResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/CheckForUpdatesUnauthorized.cs @@ -19,7 +19,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors /// /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. /// - public class CheckForUpdatesUpdaterResponseBody : Exception + public class CheckForUpdatesUnauthorized : Exception { [JsonProperty("errors")] diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/ClearPlaylistContentsResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/ClearPlaylistContentsBadRequest.cs similarity index 94% rename from LukeHagar/PlexAPI/SDK/Models/Errors/ClearPlaylistContentsResponseBody.cs rename to LukeHagar/PlexAPI/SDK/Models/Errors/ClearPlaylistContentsBadRequest.cs index 453a8de..c247c47 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/ClearPlaylistContentsResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/ClearPlaylistContentsBadRequest.cs @@ -19,7 +19,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors /// /// Bad Request - A parameter was not specified, or was specified incorrectly. /// - public class ClearPlaylistContentsResponseBody : Exception + public class ClearPlaylistContentsBadRequest : Exception { [JsonProperty("errors")] diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/ClearPlaylistContentsPlaylistsResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/ClearPlaylistContentsUnauthorized.cs similarity index 93% rename from LukeHagar/PlexAPI/SDK/Models/Errors/ClearPlaylistContentsPlaylistsResponseBody.cs rename to LukeHagar/PlexAPI/SDK/Models/Errors/ClearPlaylistContentsUnauthorized.cs index 390cfe7..b5c5276 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/ClearPlaylistContentsPlaylistsResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/ClearPlaylistContentsUnauthorized.cs @@ -19,7 +19,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors /// /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. /// - public class ClearPlaylistContentsPlaylistsResponseBody : Exception + public class ClearPlaylistContentsUnauthorized : Exception { [JsonProperty("errors")] diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/CreatePlaylistResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/CreatePlaylistBadRequest.cs similarity index 95% rename from LukeHagar/PlexAPI/SDK/Models/Errors/CreatePlaylistResponseBody.cs rename to LukeHagar/PlexAPI/SDK/Models/Errors/CreatePlaylistBadRequest.cs index 67654f5..a700091 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/CreatePlaylistResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/CreatePlaylistBadRequest.cs @@ -19,7 +19,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors /// /// Bad Request - A parameter was not specified, or was specified incorrectly. /// - public class CreatePlaylistResponseBody : Exception + public class CreatePlaylistBadRequest : Exception { [JsonProperty("errors")] diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/CreatePlaylistPlaylistsResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/CreatePlaylistUnauthorized.cs similarity index 94% rename from LukeHagar/PlexAPI/SDK/Models/Errors/CreatePlaylistPlaylistsResponseBody.cs rename to LukeHagar/PlexAPI/SDK/Models/Errors/CreatePlaylistUnauthorized.cs index 088e90f..7516983 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/CreatePlaylistPlaylistsResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/CreatePlaylistUnauthorized.cs @@ -19,7 +19,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors /// /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. /// - public class CreatePlaylistPlaylistsResponseBody : Exception + public class CreatePlaylistUnauthorized : Exception { [JsonProperty("errors")] diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/DeleteLibraryResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/DeleteLibraryBadRequest.cs similarity index 95% rename from LukeHagar/PlexAPI/SDK/Models/Errors/DeleteLibraryResponseBody.cs rename to LukeHagar/PlexAPI/SDK/Models/Errors/DeleteLibraryBadRequest.cs index 46b71b9..833ad32 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/DeleteLibraryResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/DeleteLibraryBadRequest.cs @@ -19,7 +19,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors /// /// Bad Request - A parameter was not specified, or was specified incorrectly. /// - public class DeleteLibraryResponseBody : Exception + public class DeleteLibraryBadRequest : Exception { [JsonProperty("errors")] diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/DeleteLibraryLibraryResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/DeleteLibraryUnauthorized.cs similarity index 94% rename from LukeHagar/PlexAPI/SDK/Models/Errors/DeleteLibraryLibraryResponseBody.cs rename to LukeHagar/PlexAPI/SDK/Models/Errors/DeleteLibraryUnauthorized.cs index eb69160..48312be 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/DeleteLibraryLibraryResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/DeleteLibraryUnauthorized.cs @@ -19,7 +19,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors /// /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. /// - public class DeleteLibraryLibraryResponseBody : Exception + public class DeleteLibraryUnauthorized : Exception { [JsonProperty("errors")] diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/DeletePlaylistResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/DeletePlaylistBadRequest.cs similarity index 95% rename from LukeHagar/PlexAPI/SDK/Models/Errors/DeletePlaylistResponseBody.cs rename to LukeHagar/PlexAPI/SDK/Models/Errors/DeletePlaylistBadRequest.cs index 0fbc0c9..c95cadb 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/DeletePlaylistResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/DeletePlaylistBadRequest.cs @@ -19,7 +19,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors /// /// Bad Request - A parameter was not specified, or was specified incorrectly. /// - public class DeletePlaylistResponseBody : Exception + public class DeletePlaylistBadRequest : Exception { [JsonProperty("errors")] diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/DeletePlaylistPlaylistsResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/DeletePlaylistUnauthorized.cs similarity index 94% rename from LukeHagar/PlexAPI/SDK/Models/Errors/DeletePlaylistPlaylistsResponseBody.cs rename to LukeHagar/PlexAPI/SDK/Models/Errors/DeletePlaylistUnauthorized.cs index ded620a..9a0daba 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/DeletePlaylistPlaylistsResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/DeletePlaylistUnauthorized.cs @@ -19,7 +19,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors /// /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. /// - public class DeletePlaylistPlaylistsResponseBody : Exception + public class DeletePlaylistUnauthorized : Exception { [JsonProperty("errors")] diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/EnablePaperTrailResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/EnablePaperTrailBadRequest.cs similarity index 94% rename from LukeHagar/PlexAPI/SDK/Models/Errors/EnablePaperTrailResponseBody.cs rename to LukeHagar/PlexAPI/SDK/Models/Errors/EnablePaperTrailBadRequest.cs index 8b4908e..2d8aee3 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/EnablePaperTrailResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/EnablePaperTrailBadRequest.cs @@ -19,7 +19,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors /// /// Bad Request - A parameter was not specified, or was specified incorrectly. /// - public class EnablePaperTrailResponseBody : Exception + public class EnablePaperTrailBadRequest : Exception { [JsonProperty("errors")] diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/EnablePaperTrailLogResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/EnablePaperTrailUnauthorized.cs similarity index 94% rename from LukeHagar/PlexAPI/SDK/Models/Errors/EnablePaperTrailLogResponseBody.cs rename to LukeHagar/PlexAPI/SDK/Models/Errors/EnablePaperTrailUnauthorized.cs index 2de87d1..a39d657 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/EnablePaperTrailLogResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/EnablePaperTrailUnauthorized.cs @@ -19,7 +19,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors /// /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. /// - public class EnablePaperTrailLogResponseBody : Exception + public class EnablePaperTrailUnauthorized : Exception { [JsonProperty("errors")] diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetAllLibrariesResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetAllLibrariesBadRequest.cs similarity index 95% rename from LukeHagar/PlexAPI/SDK/Models/Errors/GetAllLibrariesResponseBody.cs rename to LukeHagar/PlexAPI/SDK/Models/Errors/GetAllLibrariesBadRequest.cs index 14e9014..d793c9e 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetAllLibrariesResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetAllLibrariesBadRequest.cs @@ -19,7 +19,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors /// /// Bad Request - A parameter was not specified, or was specified incorrectly. /// - public class GetAllLibrariesResponseBody : Exception + public class GetAllLibrariesBadRequest : Exception { [JsonProperty("errors")] diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetAllLibrariesLibraryResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetAllLibrariesUnauthorized.cs similarity index 94% rename from LukeHagar/PlexAPI/SDK/Models/Errors/GetAllLibrariesLibraryResponseBody.cs rename to LukeHagar/PlexAPI/SDK/Models/Errors/GetAllLibrariesUnauthorized.cs index 5805e75..d495ab5 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetAllLibrariesLibraryResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetAllLibrariesUnauthorized.cs @@ -19,7 +19,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors /// /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. /// - public class GetAllLibrariesLibraryResponseBody : Exception + public class GetAllLibrariesUnauthorized : Exception { [JsonProperty("errors")] diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetAvailableClientsResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetAvailableClientsBadRequest.cs similarity index 94% rename from LukeHagar/PlexAPI/SDK/Models/Errors/GetAvailableClientsResponseBody.cs rename to LukeHagar/PlexAPI/SDK/Models/Errors/GetAvailableClientsBadRequest.cs index ff62632..de34ec6 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetAvailableClientsResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetAvailableClientsBadRequest.cs @@ -19,7 +19,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors /// /// Bad Request - A parameter was not specified, or was specified incorrectly. /// - public class GetAvailableClientsResponseBody : Exception + public class GetAvailableClientsBadRequest : Exception { [JsonProperty("errors")] diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetAvailableClientsServerResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetAvailableClientsUnauthorized.cs similarity index 94% rename from LukeHagar/PlexAPI/SDK/Models/Errors/GetAvailableClientsServerResponseBody.cs rename to LukeHagar/PlexAPI/SDK/Models/Errors/GetAvailableClientsUnauthorized.cs index 2fd0868..ef4f76d 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetAvailableClientsServerResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetAvailableClientsUnauthorized.cs @@ -19,7 +19,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors /// /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. /// - public class GetAvailableClientsServerResponseBody : Exception + public class GetAvailableClientsUnauthorized : Exception { [JsonProperty("errors")] diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetBandwidthStatisticsResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetBandwidthStatisticsBadRequest.cs similarity index 94% rename from LukeHagar/PlexAPI/SDK/Models/Errors/GetBandwidthStatisticsResponseBody.cs rename to LukeHagar/PlexAPI/SDK/Models/Errors/GetBandwidthStatisticsBadRequest.cs index 48f0189..dabc8b8 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetBandwidthStatisticsResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetBandwidthStatisticsBadRequest.cs @@ -19,7 +19,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors /// /// Bad Request - A parameter was not specified, or was specified incorrectly. /// - public class GetBandwidthStatisticsResponseBody : Exception + public class GetBandwidthStatisticsBadRequest : Exception { [JsonProperty("errors")] diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetBandwidthStatisticsStatisticsResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetBandwidthStatisticsUnauthorized.cs similarity index 93% rename from LukeHagar/PlexAPI/SDK/Models/Errors/GetBandwidthStatisticsStatisticsResponseBody.cs rename to LukeHagar/PlexAPI/SDK/Models/Errors/GetBandwidthStatisticsUnauthorized.cs index 1a6f536..557869b 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetBandwidthStatisticsStatisticsResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetBandwidthStatisticsUnauthorized.cs @@ -19,7 +19,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors /// /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. /// - public class GetBandwidthStatisticsStatisticsResponseBody : Exception + public class GetBandwidthStatisticsUnauthorized : Exception { [JsonProperty("errors")] diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetBannerImageResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetBannerImageBadRequest.cs similarity index 95% rename from LukeHagar/PlexAPI/SDK/Models/Errors/GetBannerImageResponseBody.cs rename to LukeHagar/PlexAPI/SDK/Models/Errors/GetBannerImageBadRequest.cs index a1bf8e5..3755855 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetBannerImageResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetBannerImageBadRequest.cs @@ -19,7 +19,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors /// /// Bad Request - A parameter was not specified, or was specified incorrectly. /// - public class GetBannerImageResponseBody : Exception + public class GetBannerImageBadRequest : Exception { [JsonProperty("errors")] diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetBannerImageMediaResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetBannerImageUnauthorized.cs similarity index 94% rename from LukeHagar/PlexAPI/SDK/Models/Errors/GetBannerImageMediaResponseBody.cs rename to LukeHagar/PlexAPI/SDK/Models/Errors/GetBannerImageUnauthorized.cs index bcbd838..18770b6 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetBannerImageMediaResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetBannerImageUnauthorized.cs @@ -19,7 +19,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors /// /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. /// - public class GetBannerImageMediaResponseBody : Exception + public class GetBannerImageUnauthorized : Exception { [JsonProperty("errors")] diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetButlerTasksResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetButlerTasksBadRequest.cs similarity index 95% rename from LukeHagar/PlexAPI/SDK/Models/Errors/GetButlerTasksResponseBody.cs rename to LukeHagar/PlexAPI/SDK/Models/Errors/GetButlerTasksBadRequest.cs index 0908fdb..ffa6022 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetButlerTasksResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetButlerTasksBadRequest.cs @@ -19,7 +19,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors /// /// Bad Request - A parameter was not specified, or was specified incorrectly. /// - public class GetButlerTasksResponseBody : Exception + public class GetButlerTasksBadRequest : Exception { [JsonProperty("errors")] diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetButlerTasksButlerResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetButlerTasksUnauthorized.cs similarity index 94% rename from LukeHagar/PlexAPI/SDK/Models/Errors/GetButlerTasksButlerResponseBody.cs rename to LukeHagar/PlexAPI/SDK/Models/Errors/GetButlerTasksUnauthorized.cs index 6b6f476..8a375e1 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetButlerTasksButlerResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetButlerTasksUnauthorized.cs @@ -19,7 +19,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors /// /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. /// - public class GetButlerTasksButlerResponseBody : Exception + public class GetButlerTasksUnauthorized : Exception { [JsonProperty("errors")] diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetCompanionsDataResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetCompanionsDataBadRequest.cs similarity index 94% rename from LukeHagar/PlexAPI/SDK/Models/Errors/GetCompanionsDataResponseBody.cs rename to LukeHagar/PlexAPI/SDK/Models/Errors/GetCompanionsDataBadRequest.cs index 8065a99..067cf86 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetCompanionsDataResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetCompanionsDataBadRequest.cs @@ -19,7 +19,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors /// /// Bad Request - A parameter was not specified, or was specified incorrectly. /// - public class GetCompanionsDataResponseBody : Exception + public class GetCompanionsDataBadRequest : Exception { [JsonProperty("errors")] diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetCompanionsDataPlexResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetCompanionsDataUnauthorized.cs similarity index 94% rename from LukeHagar/PlexAPI/SDK/Models/Errors/GetCompanionsDataPlexResponseBody.cs rename to LukeHagar/PlexAPI/SDK/Models/Errors/GetCompanionsDataUnauthorized.cs index 2f46142..67fc8db 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetCompanionsDataPlexResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetCompanionsDataUnauthorized.cs @@ -19,7 +19,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors /// /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. /// - public class GetCompanionsDataPlexResponseBody : Exception + public class GetCompanionsDataUnauthorized : Exception { [JsonProperty("errors")] diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetDevicesResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetDevicesBadRequest.cs similarity index 95% rename from LukeHagar/PlexAPI/SDK/Models/Errors/GetDevicesResponseBody.cs rename to LukeHagar/PlexAPI/SDK/Models/Errors/GetDevicesBadRequest.cs index 806c70d..22d3a5a 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetDevicesResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetDevicesBadRequest.cs @@ -19,7 +19,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors /// /// Bad Request - A parameter was not specified, or was specified incorrectly. /// - public class GetDevicesResponseBody : Exception + public class GetDevicesBadRequest : Exception { [JsonProperty("errors")] diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetDevicesServerResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetDevicesUnauthorized.cs similarity index 94% rename from LukeHagar/PlexAPI/SDK/Models/Errors/GetDevicesServerResponseBody.cs rename to LukeHagar/PlexAPI/SDK/Models/Errors/GetDevicesUnauthorized.cs index a5e2e4c..8421696 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetDevicesServerResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetDevicesUnauthorized.cs @@ -19,7 +19,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors /// /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. /// - public class GetDevicesServerResponseBody : Exception + public class GetDevicesUnauthorized : Exception { [JsonProperty("errors")] diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetFileHashResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetFileHashBadRequest.cs similarity index 95% rename from LukeHagar/PlexAPI/SDK/Models/Errors/GetFileHashResponseBody.cs rename to LukeHagar/PlexAPI/SDK/Models/Errors/GetFileHashBadRequest.cs index c223647..61f1271 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetFileHashResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetFileHashBadRequest.cs @@ -19,7 +19,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors /// /// Bad Request - A parameter was not specified, or was specified incorrectly. /// - public class GetFileHashResponseBody : Exception + public class GetFileHashBadRequest : Exception { [JsonProperty("errors")] diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetFileHashLibraryResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetFileHashUnauthorized.cs similarity index 94% rename from LukeHagar/PlexAPI/SDK/Models/Errors/GetFileHashLibraryResponseBody.cs rename to LukeHagar/PlexAPI/SDK/Models/Errors/GetFileHashUnauthorized.cs index e5552f8..0efcc56 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetFileHashLibraryResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetFileHashUnauthorized.cs @@ -19,7 +19,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors /// /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. /// - public class GetFileHashLibraryResponseBody : Exception + public class GetFileHashUnauthorized : Exception { [JsonProperty("errors")] diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetGeoDataResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetGeoDataBadRequest.cs similarity index 95% rename from LukeHagar/PlexAPI/SDK/Models/Errors/GetGeoDataResponseBody.cs rename to LukeHagar/PlexAPI/SDK/Models/Errors/GetGeoDataBadRequest.cs index c0d3882..fc20597 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetGeoDataResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetGeoDataBadRequest.cs @@ -19,7 +19,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors /// /// Bad Request - A parameter was not specified, or was specified incorrectly. /// - public class GetGeoDataResponseBody : Exception + public class GetGeoDataBadRequest : Exception { [JsonProperty("errors")] diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetGeoDataPlexResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetGeoDataUnauthorized.cs similarity index 95% rename from LukeHagar/PlexAPI/SDK/Models/Errors/GetGeoDataPlexResponseBody.cs rename to LukeHagar/PlexAPI/SDK/Models/Errors/GetGeoDataUnauthorized.cs index 9bd6742..0674e43 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetGeoDataPlexResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetGeoDataUnauthorized.cs @@ -19,7 +19,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors /// /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. /// - public class GetGeoDataPlexResponseBody : Exception + public class GetGeoDataUnauthorized : Exception { [JsonProperty("errors")] diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetGlobalHubsResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetGlobalHubsBadRequest.cs similarity index 95% rename from LukeHagar/PlexAPI/SDK/Models/Errors/GetGlobalHubsResponseBody.cs rename to LukeHagar/PlexAPI/SDK/Models/Errors/GetGlobalHubsBadRequest.cs index b773b63..f1df666 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetGlobalHubsResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetGlobalHubsBadRequest.cs @@ -19,7 +19,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors /// /// Bad Request - A parameter was not specified, or was specified incorrectly. /// - public class GetGlobalHubsResponseBody : Exception + public class GetGlobalHubsBadRequest : Exception { [JsonProperty("errors")] diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetGlobalHubsHubsResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetGlobalHubsUnauthorized.cs similarity index 94% rename from LukeHagar/PlexAPI/SDK/Models/Errors/GetGlobalHubsHubsResponseBody.cs rename to LukeHagar/PlexAPI/SDK/Models/Errors/GetGlobalHubsUnauthorized.cs index ff3546e..56d8d9d 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetGlobalHubsHubsResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetGlobalHubsUnauthorized.cs @@ -19,7 +19,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors /// /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. /// - public class GetGlobalHubsHubsResponseBody : Exception + public class GetGlobalHubsUnauthorized : Exception { [JsonProperty("errors")] diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetHomeDataResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetHomeDataBadRequest.cs similarity index 95% rename from LukeHagar/PlexAPI/SDK/Models/Errors/GetHomeDataResponseBody.cs rename to LukeHagar/PlexAPI/SDK/Models/Errors/GetHomeDataBadRequest.cs index ac7cbd7..b32b946 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetHomeDataResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetHomeDataBadRequest.cs @@ -19,7 +19,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors /// /// Bad Request - A parameter was not specified, or was specified incorrectly. /// - public class GetHomeDataResponseBody : Exception + public class GetHomeDataBadRequest : Exception { [JsonProperty("errors")] diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetHomeDataPlexResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetHomeDataUnauthorized.cs similarity index 95% rename from LukeHagar/PlexAPI/SDK/Models/Errors/GetHomeDataPlexResponseBody.cs rename to LukeHagar/PlexAPI/SDK/Models/Errors/GetHomeDataUnauthorized.cs index f78aa52..79b0cb1 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetHomeDataPlexResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetHomeDataUnauthorized.cs @@ -19,7 +19,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors /// /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. /// - public class GetHomeDataPlexResponseBody : Exception + public class GetHomeDataUnauthorized : Exception { [JsonProperty("errors")] diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetLibraryDetailsResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetLibraryDetailsBadRequest.cs similarity index 94% rename from LukeHagar/PlexAPI/SDK/Models/Errors/GetLibraryDetailsResponseBody.cs rename to LukeHagar/PlexAPI/SDK/Models/Errors/GetLibraryDetailsBadRequest.cs index 815ea87..b4404d8 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetLibraryDetailsResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetLibraryDetailsBadRequest.cs @@ -19,7 +19,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors /// /// Bad Request - A parameter was not specified, or was specified incorrectly. /// - public class GetLibraryDetailsResponseBody : Exception + public class GetLibraryDetailsBadRequest : Exception { [JsonProperty("errors")] diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetLibraryDetailsLibraryResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetLibraryDetailsUnauthorized.cs similarity index 94% rename from LukeHagar/PlexAPI/SDK/Models/Errors/GetLibraryDetailsLibraryResponseBody.cs rename to LukeHagar/PlexAPI/SDK/Models/Errors/GetLibraryDetailsUnauthorized.cs index 41e4389..b571e06 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetLibraryDetailsLibraryResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetLibraryDetailsUnauthorized.cs @@ -19,7 +19,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors /// /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. /// - public class GetLibraryDetailsLibraryResponseBody : Exception + public class GetLibraryDetailsUnauthorized : Exception { [JsonProperty("errors")] diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetLibraryHubsResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetLibraryHubsBadRequest.cs similarity index 95% rename from LukeHagar/PlexAPI/SDK/Models/Errors/GetLibraryHubsResponseBody.cs rename to LukeHagar/PlexAPI/SDK/Models/Errors/GetLibraryHubsBadRequest.cs index 41bc5d5..09ddbd2 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetLibraryHubsResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetLibraryHubsBadRequest.cs @@ -19,7 +19,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors /// /// Bad Request - A parameter was not specified, or was specified incorrectly. /// - public class GetLibraryHubsResponseBody : Exception + public class GetLibraryHubsBadRequest : Exception { [JsonProperty("errors")] diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetLibraryHubsHubsResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetLibraryHubsUnauthorized.cs similarity index 94% rename from LukeHagar/PlexAPI/SDK/Models/Errors/GetLibraryHubsHubsResponseBody.cs rename to LukeHagar/PlexAPI/SDK/Models/Errors/GetLibraryHubsUnauthorized.cs index c7e47b9..d1232c9 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetLibraryHubsHubsResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetLibraryHubsUnauthorized.cs @@ -19,7 +19,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors /// /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. /// - public class GetLibraryHubsHubsResponseBody : Exception + public class GetLibraryHubsUnauthorized : Exception { [JsonProperty("errors")] diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetLibraryItemsResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetLibraryItemsBadRequest.cs similarity index 95% rename from LukeHagar/PlexAPI/SDK/Models/Errors/GetLibraryItemsResponseBody.cs rename to LukeHagar/PlexAPI/SDK/Models/Errors/GetLibraryItemsBadRequest.cs index d36fdf5..2c22cef 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetLibraryItemsResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetLibraryItemsBadRequest.cs @@ -19,7 +19,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors /// /// Bad Request - A parameter was not specified, or was specified incorrectly. /// - public class GetLibraryItemsResponseBody : Exception + public class GetLibraryItemsBadRequest : Exception { [JsonProperty("errors")] diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetLibraryItemsLibraryResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetLibraryItemsUnauthorized.cs similarity index 94% rename from LukeHagar/PlexAPI/SDK/Models/Errors/GetLibraryItemsLibraryResponseBody.cs rename to LukeHagar/PlexAPI/SDK/Models/Errors/GetLibraryItemsUnauthorized.cs index 895ee4f..47fd10b 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetLibraryItemsLibraryResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetLibraryItemsUnauthorized.cs @@ -19,7 +19,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors /// /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. /// - public class GetLibraryItemsLibraryResponseBody : Exception + public class GetLibraryItemsUnauthorized : Exception { [JsonProperty("errors")] diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetMediaProvidersResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetMediaProvidersBadRequest.cs similarity index 94% rename from LukeHagar/PlexAPI/SDK/Models/Errors/GetMediaProvidersResponseBody.cs rename to LukeHagar/PlexAPI/SDK/Models/Errors/GetMediaProvidersBadRequest.cs index f53f80d..0745731 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetMediaProvidersResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetMediaProvidersBadRequest.cs @@ -19,7 +19,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors /// /// Bad Request - A parameter was not specified, or was specified incorrectly. /// - public class GetMediaProvidersResponseBody : Exception + public class GetMediaProvidersBadRequest : Exception { [JsonProperty("errors")] diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetMediaProvidersServerResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetMediaProvidersUnauthorized.cs similarity index 94% rename from LukeHagar/PlexAPI/SDK/Models/Errors/GetMediaProvidersServerResponseBody.cs rename to LukeHagar/PlexAPI/SDK/Models/Errors/GetMediaProvidersUnauthorized.cs index 7ab5e07..0c35e9c 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetMediaProvidersServerResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetMediaProvidersUnauthorized.cs @@ -19,7 +19,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors /// /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. /// - public class GetMediaProvidersServerResponseBody : Exception + public class GetMediaProvidersUnauthorized : Exception { [JsonProperty("errors")] diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetMetaDataByRatingKeyResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetMetaDataByRatingKeyBadRequest.cs similarity index 94% rename from LukeHagar/PlexAPI/SDK/Models/Errors/GetMetaDataByRatingKeyResponseBody.cs rename to LukeHagar/PlexAPI/SDK/Models/Errors/GetMetaDataByRatingKeyBadRequest.cs index 75f1ba0..ad125c9 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetMetaDataByRatingKeyResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetMetaDataByRatingKeyBadRequest.cs @@ -19,7 +19,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors /// /// Bad Request - A parameter was not specified, or was specified incorrectly. /// - public class GetMetaDataByRatingKeyResponseBody : Exception + public class GetMetaDataByRatingKeyBadRequest : Exception { [JsonProperty("errors")] diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetMetaDataByRatingKeyLibraryResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetMetaDataByRatingKeyUnauthorized.cs similarity index 93% rename from LukeHagar/PlexAPI/SDK/Models/Errors/GetMetaDataByRatingKeyLibraryResponseBody.cs rename to LukeHagar/PlexAPI/SDK/Models/Errors/GetMetaDataByRatingKeyUnauthorized.cs index c4bc13a..64b8a11 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetMetaDataByRatingKeyLibraryResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetMetaDataByRatingKeyUnauthorized.cs @@ -19,7 +19,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors /// /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. /// - public class GetMetaDataByRatingKeyLibraryResponseBody : Exception + public class GetMetaDataByRatingKeyUnauthorized : Exception { [JsonProperty("errors")] diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetMetadataChildrenResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetMetadataChildrenBadRequest.cs similarity index 94% rename from LukeHagar/PlexAPI/SDK/Models/Errors/GetMetadataChildrenResponseBody.cs rename to LukeHagar/PlexAPI/SDK/Models/Errors/GetMetadataChildrenBadRequest.cs index 5b48aef..fec6c9a 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetMetadataChildrenResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetMetadataChildrenBadRequest.cs @@ -19,7 +19,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors /// /// Bad Request - A parameter was not specified, or was specified incorrectly. /// - public class GetMetadataChildrenResponseBody : Exception + public class GetMetadataChildrenBadRequest : Exception { [JsonProperty("errors")] diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetMetadataChildrenLibraryResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetMetadataChildrenUnauthorized.cs similarity index 94% rename from LukeHagar/PlexAPI/SDK/Models/Errors/GetMetadataChildrenLibraryResponseBody.cs rename to LukeHagar/PlexAPI/SDK/Models/Errors/GetMetadataChildrenUnauthorized.cs index 4f1ed78..c395bbd 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetMetadataChildrenLibraryResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetMetadataChildrenUnauthorized.cs @@ -19,7 +19,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors /// /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. /// - public class GetMetadataChildrenLibraryResponseBody : Exception + public class GetMetadataChildrenUnauthorized : Exception { [JsonProperty("errors")] diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetMyPlexAccountResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetMyPlexAccountBadRequest.cs similarity index 94% rename from LukeHagar/PlexAPI/SDK/Models/Errors/GetMyPlexAccountResponseBody.cs rename to LukeHagar/PlexAPI/SDK/Models/Errors/GetMyPlexAccountBadRequest.cs index dfb4167..ea98c54 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetMyPlexAccountResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetMyPlexAccountBadRequest.cs @@ -19,7 +19,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors /// /// Bad Request - A parameter was not specified, or was specified incorrectly. /// - public class GetMyPlexAccountResponseBody : Exception + public class GetMyPlexAccountBadRequest : Exception { [JsonProperty("errors")] diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetMyPlexAccountServerResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetMyPlexAccountUnauthorized.cs similarity index 94% rename from LukeHagar/PlexAPI/SDK/Models/Errors/GetMyPlexAccountServerResponseBody.cs rename to LukeHagar/PlexAPI/SDK/Models/Errors/GetMyPlexAccountUnauthorized.cs index e915e16..b88a034 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetMyPlexAccountServerResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetMyPlexAccountUnauthorized.cs @@ -19,7 +19,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors /// /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. /// - public class GetMyPlexAccountServerResponseBody : Exception + public class GetMyPlexAccountUnauthorized : Exception { [JsonProperty("errors")] diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetOnDeckResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetOnDeckBadRequest.cs similarity index 95% rename from LukeHagar/PlexAPI/SDK/Models/Errors/GetOnDeckResponseBody.cs rename to LukeHagar/PlexAPI/SDK/Models/Errors/GetOnDeckBadRequest.cs index 729fe36..402b435 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetOnDeckResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetOnDeckBadRequest.cs @@ -19,7 +19,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors /// /// Bad Request - A parameter was not specified, or was specified incorrectly. /// - public class GetOnDeckResponseBody : Exception + public class GetOnDeckBadRequest : Exception { [JsonProperty("errors")] diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetOnDeckLibraryResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetOnDeckUnauthorized.cs similarity index 94% rename from LukeHagar/PlexAPI/SDK/Models/Errors/GetOnDeckLibraryResponseBody.cs rename to LukeHagar/PlexAPI/SDK/Models/Errors/GetOnDeckUnauthorized.cs index c6d7260..935d2ac 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetOnDeckLibraryResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetOnDeckUnauthorized.cs @@ -19,7 +19,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors /// /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. /// - public class GetOnDeckLibraryResponseBody : Exception + public class GetOnDeckUnauthorized : Exception { [JsonProperty("errors")] diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetPinBadRequest.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetPinBadRequest.cs new file mode 100644 index 0000000..60835c2 --- /dev/null +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetPinBadRequest.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; + + /// + /// Bad Request - A parameter was not specified, or was specified incorrectly. + /// + public class GetPinBadRequest : 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/GetPinResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetPinResponseBody.cs deleted file mode 100644 index f5ab504..0000000 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetPinResponseBody.cs +++ /dev/null @@ -1,34 +0,0 @@ -//------------------------------------------------------------------------------ -// -// 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; - - /// - /// Bad Request response when the X-Plex-Client-Identifier is missing - /// - public class GetPinResponseBody : 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/GetPlaylistBadRequest.cs similarity index 95% rename from LukeHagar/PlexAPI/SDK/Models/Errors/GetPlaylistResponseBody.cs rename to LukeHagar/PlexAPI/SDK/Models/Errors/GetPlaylistBadRequest.cs index f82dc74..bb0dd59 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetPlaylistResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetPlaylistBadRequest.cs @@ -19,7 +19,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors /// /// Bad Request - A parameter was not specified, or was specified incorrectly. /// - public class GetPlaylistResponseBody : Exception + public class GetPlaylistBadRequest : Exception { [JsonProperty("errors")] diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetPlaylistContentsResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetPlaylistContentsBadRequest.cs similarity index 94% rename from LukeHagar/PlexAPI/SDK/Models/Errors/GetPlaylistContentsResponseBody.cs rename to LukeHagar/PlexAPI/SDK/Models/Errors/GetPlaylistContentsBadRequest.cs index 662d7fa..46abe8e 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetPlaylistContentsResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetPlaylistContentsBadRequest.cs @@ -19,7 +19,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors /// /// Bad Request - A parameter was not specified, or was specified incorrectly. /// - public class GetPlaylistContentsResponseBody : Exception + public class GetPlaylistContentsBadRequest : Exception { [JsonProperty("errors")] diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetPlaylistContentsPlaylistsResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetPlaylistContentsUnauthorized.cs similarity index 94% rename from LukeHagar/PlexAPI/SDK/Models/Errors/GetPlaylistContentsPlaylistsResponseBody.cs rename to LukeHagar/PlexAPI/SDK/Models/Errors/GetPlaylistContentsUnauthorized.cs index eafed01..5c20d73 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetPlaylistContentsPlaylistsResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetPlaylistContentsUnauthorized.cs @@ -19,7 +19,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors /// /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. /// - public class GetPlaylistContentsPlaylistsResponseBody : Exception + public class GetPlaylistContentsUnauthorized : Exception { [JsonProperty("errors")] diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetPlaylistPlaylistsResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetPlaylistUnauthorized.cs similarity index 94% rename from LukeHagar/PlexAPI/SDK/Models/Errors/GetPlaylistPlaylistsResponseBody.cs rename to LukeHagar/PlexAPI/SDK/Models/Errors/GetPlaylistUnauthorized.cs index 294c3e3..d2e0e66 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetPlaylistPlaylistsResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetPlaylistUnauthorized.cs @@ -19,7 +19,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors /// /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. /// - public class GetPlaylistPlaylistsResponseBody : Exception + public class GetPlaylistUnauthorized : Exception { [JsonProperty("errors")] diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetPlaylistsResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetPlaylistsBadRequest.cs similarity index 95% rename from LukeHagar/PlexAPI/SDK/Models/Errors/GetPlaylistsResponseBody.cs rename to LukeHagar/PlexAPI/SDK/Models/Errors/GetPlaylistsBadRequest.cs index 9af1968..6357457 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetPlaylistsResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetPlaylistsBadRequest.cs @@ -19,7 +19,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors /// /// Bad Request - A parameter was not specified, or was specified incorrectly. /// - public class GetPlaylistsResponseBody : Exception + public class GetPlaylistsBadRequest : Exception { [JsonProperty("errors")] diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetPlaylistsPlaylistsResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetPlaylistsUnauthorized.cs similarity index 94% rename from LukeHagar/PlexAPI/SDK/Models/Errors/GetPlaylistsPlaylistsResponseBody.cs rename to LukeHagar/PlexAPI/SDK/Models/Errors/GetPlaylistsUnauthorized.cs index 871a1a8..3a1bceb 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetPlaylistsPlaylistsResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetPlaylistsUnauthorized.cs @@ -19,7 +19,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors /// /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. /// - public class GetPlaylistsPlaylistsResponseBody : Exception + public class GetPlaylistsUnauthorized : Exception { [JsonProperty("errors")] diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetRecentlyAddedResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetRecentlyAddedBadRequest.cs similarity index 94% rename from LukeHagar/PlexAPI/SDK/Models/Errors/GetRecentlyAddedResponseBody.cs rename to LukeHagar/PlexAPI/SDK/Models/Errors/GetRecentlyAddedBadRequest.cs index e3a5559..432c4f4 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetRecentlyAddedResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetRecentlyAddedBadRequest.cs @@ -19,7 +19,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors /// /// Bad Request - A parameter was not specified, or was specified incorrectly. /// - public class GetRecentlyAddedResponseBody : Exception + public class GetRecentlyAddedBadRequest : Exception { [JsonProperty("errors")] diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetRecentlyAddedLibraryResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetRecentlyAddedUnauthorized.cs similarity index 94% rename from LukeHagar/PlexAPI/SDK/Models/Errors/GetRecentlyAddedLibraryResponseBody.cs rename to LukeHagar/PlexAPI/SDK/Models/Errors/GetRecentlyAddedUnauthorized.cs index ec7990b..d55daaa 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetRecentlyAddedLibraryResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetRecentlyAddedUnauthorized.cs @@ -19,7 +19,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors /// /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. /// - public class GetRecentlyAddedLibraryResponseBody : Exception + public class GetRecentlyAddedUnauthorized : Exception { [JsonProperty("errors")] diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetRefreshLibraryMetadataResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetRefreshLibraryMetadataBadRequest.cs similarity index 94% rename from LukeHagar/PlexAPI/SDK/Models/Errors/GetRefreshLibraryMetadataResponseBody.cs rename to LukeHagar/PlexAPI/SDK/Models/Errors/GetRefreshLibraryMetadataBadRequest.cs index a67d832..e754abd 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetRefreshLibraryMetadataResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetRefreshLibraryMetadataBadRequest.cs @@ -19,7 +19,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors /// /// Bad Request - A parameter was not specified, or was specified incorrectly. /// - public class GetRefreshLibraryMetadataResponseBody : Exception + public class GetRefreshLibraryMetadataBadRequest : Exception { [JsonProperty("errors")] diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetRefreshLibraryMetadataLibraryResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetRefreshLibraryMetadataUnauthorized.cs similarity index 93% rename from LukeHagar/PlexAPI/SDK/Models/Errors/GetRefreshLibraryMetadataLibraryResponseBody.cs rename to LukeHagar/PlexAPI/SDK/Models/Errors/GetRefreshLibraryMetadataUnauthorized.cs index 58967a8..68911f3 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetRefreshLibraryMetadataLibraryResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetRefreshLibraryMetadataUnauthorized.cs @@ -19,7 +19,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors /// /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. /// - public class GetRefreshLibraryMetadataLibraryResponseBody : Exception + public class GetRefreshLibraryMetadataUnauthorized : Exception { [JsonProperty("errors")] diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetResizedPhotoResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetResizedPhotoBadRequest.cs similarity index 95% rename from LukeHagar/PlexAPI/SDK/Models/Errors/GetResizedPhotoResponseBody.cs rename to LukeHagar/PlexAPI/SDK/Models/Errors/GetResizedPhotoBadRequest.cs index 36ee9a7..b6037bb 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetResizedPhotoResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetResizedPhotoBadRequest.cs @@ -19,7 +19,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors /// /// Bad Request - A parameter was not specified, or was specified incorrectly. /// - public class GetResizedPhotoResponseBody : Exception + public class GetResizedPhotoBadRequest : Exception { [JsonProperty("errors")] diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetResizedPhotoServerResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetResizedPhotoUnauthorized.cs similarity index 94% rename from LukeHagar/PlexAPI/SDK/Models/Errors/GetResizedPhotoServerResponseBody.cs rename to LukeHagar/PlexAPI/SDK/Models/Errors/GetResizedPhotoUnauthorized.cs index 8b67508..ebce50f 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetResizedPhotoServerResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetResizedPhotoUnauthorized.cs @@ -19,7 +19,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors /// /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. /// - public class GetResizedPhotoServerResponseBody : Exception + public class GetResizedPhotoUnauthorized : Exception { [JsonProperty("errors")] diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetResourcesStatisticsResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetResourcesStatisticsBadRequest.cs similarity index 94% rename from LukeHagar/PlexAPI/SDK/Models/Errors/GetResourcesStatisticsResponseBody.cs rename to LukeHagar/PlexAPI/SDK/Models/Errors/GetResourcesStatisticsBadRequest.cs index 7d7a7fb..0db83f2 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetResourcesStatisticsResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetResourcesStatisticsBadRequest.cs @@ -19,7 +19,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors /// /// Bad Request - A parameter was not specified, or was specified incorrectly. /// - public class GetResourcesStatisticsResponseBody : Exception + public class GetResourcesStatisticsBadRequest : Exception { [JsonProperty("errors")] diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetResourcesStatisticsStatisticsResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetResourcesStatisticsUnauthorized.cs similarity index 93% rename from LukeHagar/PlexAPI/SDK/Models/Errors/GetResourcesStatisticsStatisticsResponseBody.cs rename to LukeHagar/PlexAPI/SDK/Models/Errors/GetResourcesStatisticsUnauthorized.cs index edecc25..97ee67e 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetResourcesStatisticsStatisticsResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetResourcesStatisticsUnauthorized.cs @@ -19,7 +19,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors /// /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. /// - public class GetResourcesStatisticsStatisticsResponseBody : Exception + public class GetResourcesStatisticsUnauthorized : Exception { [JsonProperty("errors")] diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetSearchLibraryResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetSearchLibraryBadRequest.cs similarity index 94% rename from LukeHagar/PlexAPI/SDK/Models/Errors/GetSearchLibraryResponseBody.cs rename to LukeHagar/PlexAPI/SDK/Models/Errors/GetSearchLibraryBadRequest.cs index da08786..0e9be51 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetSearchLibraryResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetSearchLibraryBadRequest.cs @@ -19,7 +19,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors /// /// Bad Request - A parameter was not specified, or was specified incorrectly. /// - public class GetSearchLibraryResponseBody : Exception + public class GetSearchLibraryBadRequest : Exception { [JsonProperty("errors")] diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetSearchLibraryLibraryResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetSearchLibraryUnauthorized.cs similarity index 94% rename from LukeHagar/PlexAPI/SDK/Models/Errors/GetSearchLibraryLibraryResponseBody.cs rename to LukeHagar/PlexAPI/SDK/Models/Errors/GetSearchLibraryUnauthorized.cs index 5c7a453..81b2e45 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetSearchLibraryLibraryResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetSearchLibraryUnauthorized.cs @@ -19,7 +19,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors /// /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. /// - public class GetSearchLibraryLibraryResponseBody : Exception + public class GetSearchLibraryUnauthorized : Exception { [JsonProperty("errors")] diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetSearchResultsResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetSearchResultsBadRequest.cs similarity index 94% rename from LukeHagar/PlexAPI/SDK/Models/Errors/GetSearchResultsResponseBody.cs rename to LukeHagar/PlexAPI/SDK/Models/Errors/GetSearchResultsBadRequest.cs index b1df51e..b86e4b3 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetSearchResultsResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetSearchResultsBadRequest.cs @@ -19,7 +19,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors /// /// Bad Request - A parameter was not specified, or was specified incorrectly. /// - public class GetSearchResultsResponseBody : Exception + public class GetSearchResultsBadRequest : Exception { [JsonProperty("errors")] diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetSearchResultsSearchResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetSearchResultsUnauthorized.cs similarity index 94% rename from LukeHagar/PlexAPI/SDK/Models/Errors/GetSearchResultsSearchResponseBody.cs rename to LukeHagar/PlexAPI/SDK/Models/Errors/GetSearchResultsUnauthorized.cs index 5b9ff6d..099b1cf 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetSearchResultsSearchResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetSearchResultsUnauthorized.cs @@ -19,7 +19,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors /// /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. /// - public class GetSearchResultsSearchResponseBody : Exception + public class GetSearchResultsUnauthorized : Exception { [JsonProperty("errors")] diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetServerActivitiesResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetServerActivitiesBadRequest.cs similarity index 94% rename from LukeHagar/PlexAPI/SDK/Models/Errors/GetServerActivitiesResponseBody.cs rename to LukeHagar/PlexAPI/SDK/Models/Errors/GetServerActivitiesBadRequest.cs index 9c4d75e..dddde0f 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetServerActivitiesResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetServerActivitiesBadRequest.cs @@ -19,7 +19,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors /// /// Bad Request - A parameter was not specified, or was specified incorrectly. /// - public class GetServerActivitiesResponseBody : Exception + public class GetServerActivitiesBadRequest : Exception { [JsonProperty("errors")] diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetServerActivitiesActivitiesResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetServerActivitiesUnauthorized.cs similarity index 93% rename from LukeHagar/PlexAPI/SDK/Models/Errors/GetServerActivitiesActivitiesResponseBody.cs rename to LukeHagar/PlexAPI/SDK/Models/Errors/GetServerActivitiesUnauthorized.cs index f2dda17..be954d9 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetServerActivitiesActivitiesResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetServerActivitiesUnauthorized.cs @@ -19,7 +19,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors /// /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. /// - public class GetServerActivitiesActivitiesResponseBody : Exception + public class GetServerActivitiesUnauthorized : Exception { [JsonProperty("errors")] diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetServerCapabilitiesResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetServerCapabilitiesBadRequest.cs similarity index 94% rename from LukeHagar/PlexAPI/SDK/Models/Errors/GetServerCapabilitiesResponseBody.cs rename to LukeHagar/PlexAPI/SDK/Models/Errors/GetServerCapabilitiesBadRequest.cs index 57277e7..cd6930d 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetServerCapabilitiesResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetServerCapabilitiesBadRequest.cs @@ -19,7 +19,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors /// /// Bad Request - A parameter was not specified, or was specified incorrectly. /// - public class GetServerCapabilitiesResponseBody : Exception + public class GetServerCapabilitiesBadRequest : Exception { [JsonProperty("errors")] diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetServerCapabilitiesServerResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetServerCapabilitiesUnauthorized.cs similarity index 94% rename from LukeHagar/PlexAPI/SDK/Models/Errors/GetServerCapabilitiesServerResponseBody.cs rename to LukeHagar/PlexAPI/SDK/Models/Errors/GetServerCapabilitiesUnauthorized.cs index 787b732..07036cb 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetServerCapabilitiesServerResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetServerCapabilitiesUnauthorized.cs @@ -19,7 +19,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors /// /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. /// - public class GetServerCapabilitiesServerResponseBody : Exception + public class GetServerCapabilitiesUnauthorized : Exception { [JsonProperty("errors")] diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetServerIdentityResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetServerIdentityRequestTimeout.cs similarity index 94% rename from LukeHagar/PlexAPI/SDK/Models/Errors/GetServerIdentityResponseBody.cs rename to LukeHagar/PlexAPI/SDK/Models/Errors/GetServerIdentityRequestTimeout.cs index 155bf16..aa4a298 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetServerIdentityResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetServerIdentityRequestTimeout.cs @@ -17,7 +17,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors /// /// Request Timeout /// - public class GetServerIdentityResponseBody : Exception + public class GetServerIdentityRequestTimeout : Exception { [JsonProperty("code")] diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetServerListResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetServerListBadRequest.cs similarity index 95% rename from LukeHagar/PlexAPI/SDK/Models/Errors/GetServerListResponseBody.cs rename to LukeHagar/PlexAPI/SDK/Models/Errors/GetServerListBadRequest.cs index ef5d82a..7b4487b 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetServerListResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetServerListBadRequest.cs @@ -19,7 +19,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors /// /// Bad Request - A parameter was not specified, or was specified incorrectly. /// - public class GetServerListResponseBody : Exception + public class GetServerListBadRequest : Exception { [JsonProperty("errors")] diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetServerListServerResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetServerListUnauthorized.cs similarity index 94% rename from LukeHagar/PlexAPI/SDK/Models/Errors/GetServerListServerResponseBody.cs rename to LukeHagar/PlexAPI/SDK/Models/Errors/GetServerListUnauthorized.cs index 724c3bd..e9ddcc0 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetServerListServerResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetServerListUnauthorized.cs @@ -19,7 +19,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors /// /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. /// - public class GetServerListServerResponseBody : Exception + public class GetServerListUnauthorized : Exception { [JsonProperty("errors")] diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetServerPreferencesResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetServerPreferencesBadRequest.cs similarity index 94% rename from LukeHagar/PlexAPI/SDK/Models/Errors/GetServerPreferencesResponseBody.cs rename to LukeHagar/PlexAPI/SDK/Models/Errors/GetServerPreferencesBadRequest.cs index 08c1d27..be5a130 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetServerPreferencesResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetServerPreferencesBadRequest.cs @@ -19,7 +19,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors /// /// Bad Request - A parameter was not specified, or was specified incorrectly. /// - public class GetServerPreferencesResponseBody : Exception + public class GetServerPreferencesBadRequest : Exception { [JsonProperty("errors")] diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetServerPreferencesServerResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetServerPreferencesUnauthorized.cs similarity index 94% rename from LukeHagar/PlexAPI/SDK/Models/Errors/GetServerPreferencesServerResponseBody.cs rename to LukeHagar/PlexAPI/SDK/Models/Errors/GetServerPreferencesUnauthorized.cs index 1e8c564..170f16a 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetServerPreferencesServerResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetServerPreferencesUnauthorized.cs @@ -19,7 +19,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors /// /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. /// - public class GetServerPreferencesServerResponseBody : Exception + public class GetServerPreferencesUnauthorized : Exception { [JsonProperty("errors")] diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetServerResourcesResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetServerResourcesBadRequest.cs similarity index 94% rename from LukeHagar/PlexAPI/SDK/Models/Errors/GetServerResourcesResponseBody.cs rename to LukeHagar/PlexAPI/SDK/Models/Errors/GetServerResourcesBadRequest.cs index c2de253..a43a5d3 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetServerResourcesResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetServerResourcesBadRequest.cs @@ -19,7 +19,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors /// /// Bad Request - A parameter was not specified, or was specified incorrectly. /// - public class GetServerResourcesResponseBody : Exception + public class GetServerResourcesBadRequest : Exception { [JsonProperty("errors")] diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetServerResourcesPlexResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetServerResourcesUnauthorized.cs similarity index 94% rename from LukeHagar/PlexAPI/SDK/Models/Errors/GetServerResourcesPlexResponseBody.cs rename to LukeHagar/PlexAPI/SDK/Models/Errors/GetServerResourcesUnauthorized.cs index 3194efd..684fdaa 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetServerResourcesPlexResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetServerResourcesUnauthorized.cs @@ -19,7 +19,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors /// /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. /// - public class GetServerResourcesPlexResponseBody : Exception + public class GetServerResourcesUnauthorized : Exception { [JsonProperty("errors")] diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetSessionHistoryResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetSessionHistoryBadRequest.cs similarity index 94% rename from LukeHagar/PlexAPI/SDK/Models/Errors/GetSessionHistoryResponseBody.cs rename to LukeHagar/PlexAPI/SDK/Models/Errors/GetSessionHistoryBadRequest.cs index 2852754..b51f63e 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetSessionHistoryResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetSessionHistoryBadRequest.cs @@ -19,7 +19,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors /// /// Bad Request - A parameter was not specified, or was specified incorrectly. /// - public class GetSessionHistoryResponseBody : Exception + public class GetSessionHistoryBadRequest : Exception { [JsonProperty("errors")] diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetSessionHistorySessionsResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetSessionHistoryUnauthorized.cs similarity index 94% rename from LukeHagar/PlexAPI/SDK/Models/Errors/GetSessionHistorySessionsResponseBody.cs rename to LukeHagar/PlexAPI/SDK/Models/Errors/GetSessionHistoryUnauthorized.cs index 596dbd4..d28805c 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetSessionHistorySessionsResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetSessionHistoryUnauthorized.cs @@ -19,7 +19,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors /// /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. /// - public class GetSessionHistorySessionsResponseBody : Exception + public class GetSessionHistoryUnauthorized : Exception { [JsonProperty("errors")] diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetSessionsResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetSessionsBadRequest.cs similarity index 95% rename from LukeHagar/PlexAPI/SDK/Models/Errors/GetSessionsResponseBody.cs rename to LukeHagar/PlexAPI/SDK/Models/Errors/GetSessionsBadRequest.cs index f471afc..0b09e7d 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetSessionsResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetSessionsBadRequest.cs @@ -19,7 +19,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors /// /// Bad Request - A parameter was not specified, or was specified incorrectly. /// - public class GetSessionsResponseBody : Exception + public class GetSessionsBadRequest : Exception { [JsonProperty("errors")] diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetSessionsSessionsResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetSessionsUnauthorized.cs similarity index 94% rename from LukeHagar/PlexAPI/SDK/Models/Errors/GetSessionsSessionsResponseBody.cs rename to LukeHagar/PlexAPI/SDK/Models/Errors/GetSessionsUnauthorized.cs index 77eb77f..a84dc7e 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetSessionsSessionsResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetSessionsUnauthorized.cs @@ -19,7 +19,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors /// /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. /// - public class GetSessionsSessionsResponseBody : Exception + public class GetSessionsUnauthorized : Exception { [JsonProperty("errors")] diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetSourceConnectionInformationResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetSourceConnectionInformationBadRequest.cs similarity index 93% rename from LukeHagar/PlexAPI/SDK/Models/Errors/GetSourceConnectionInformationResponseBody.cs rename to LukeHagar/PlexAPI/SDK/Models/Errors/GetSourceConnectionInformationBadRequest.cs index c363d28..f723833 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetSourceConnectionInformationResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetSourceConnectionInformationBadRequest.cs @@ -19,7 +19,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors /// /// Bad Request - A parameter was not specified, or was specified incorrectly. /// - public class GetSourceConnectionInformationResponseBody : Exception + public class GetSourceConnectionInformationBadRequest : Exception { [JsonProperty("errors")] diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetSourceConnectionInformationAuthenticationResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetSourceConnectionInformationUnauthorized.cs similarity index 92% rename from LukeHagar/PlexAPI/SDK/Models/Errors/GetSourceConnectionInformationAuthenticationResponseBody.cs rename to LukeHagar/PlexAPI/SDK/Models/Errors/GetSourceConnectionInformationUnauthorized.cs index 15a2353..2421926 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetSourceConnectionInformationAuthenticationResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetSourceConnectionInformationUnauthorized.cs @@ -19,7 +19,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors /// /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. /// - public class GetSourceConnectionInformationAuthenticationResponseBody : Exception + public class GetSourceConnectionInformationUnauthorized : Exception { [JsonProperty("errors")] diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetStatisticsResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetStatisticsBadRequest.cs similarity index 95% rename from LukeHagar/PlexAPI/SDK/Models/Errors/GetStatisticsResponseBody.cs rename to LukeHagar/PlexAPI/SDK/Models/Errors/GetStatisticsBadRequest.cs index 67e230c..8397a2f 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetStatisticsResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetStatisticsBadRequest.cs @@ -19,7 +19,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors /// /// Bad Request - A parameter was not specified, or was specified incorrectly. /// - public class GetStatisticsResponseBody : Exception + public class GetStatisticsBadRequest : Exception { [JsonProperty("errors")] diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetStatisticsStatisticsResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetStatisticsUnauthorized.cs similarity index 94% rename from LukeHagar/PlexAPI/SDK/Models/Errors/GetStatisticsStatisticsResponseBody.cs rename to LukeHagar/PlexAPI/SDK/Models/Errors/GetStatisticsUnauthorized.cs index 3754f0e..331fc69 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetStatisticsStatisticsResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetStatisticsUnauthorized.cs @@ -19,7 +19,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors /// /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. /// - public class GetStatisticsStatisticsResponseBody : Exception + public class GetStatisticsUnauthorized : Exception { [JsonProperty("errors")] diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetThumbImageResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetThumbImageBadRequest.cs similarity index 95% rename from LukeHagar/PlexAPI/SDK/Models/Errors/GetThumbImageResponseBody.cs rename to LukeHagar/PlexAPI/SDK/Models/Errors/GetThumbImageBadRequest.cs index 8ad97de..2723c95 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetThumbImageResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetThumbImageBadRequest.cs @@ -19,7 +19,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors /// /// Bad Request - A parameter was not specified, or was specified incorrectly. /// - public class GetThumbImageResponseBody : Exception + public class GetThumbImageBadRequest : Exception { [JsonProperty("errors")] diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetThumbImageMediaResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetThumbImageUnauthorized.cs similarity index 94% rename from LukeHagar/PlexAPI/SDK/Models/Errors/GetThumbImageMediaResponseBody.cs rename to LukeHagar/PlexAPI/SDK/Models/Errors/GetThumbImageUnauthorized.cs index 53632c4..1e4caa0 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetThumbImageMediaResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetThumbImageUnauthorized.cs @@ -19,7 +19,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors /// /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. /// - public class GetThumbImageMediaResponseBody : Exception + public class GetThumbImageUnauthorized : Exception { [JsonProperty("errors")] diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetTimelineResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetTimelineBadRequest.cs similarity index 95% rename from LukeHagar/PlexAPI/SDK/Models/Errors/GetTimelineResponseBody.cs rename to LukeHagar/PlexAPI/SDK/Models/Errors/GetTimelineBadRequest.cs index c5169e1..d1fab8f 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetTimelineResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetTimelineBadRequest.cs @@ -19,7 +19,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors /// /// Bad Request - A parameter was not specified, or was specified incorrectly. /// - public class GetTimelineResponseBody : Exception + public class GetTimelineBadRequest : Exception { [JsonProperty("errors")] diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetTimelineVideoResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetTimelineUnauthorized.cs similarity index 94% rename from LukeHagar/PlexAPI/SDK/Models/Errors/GetTimelineVideoResponseBody.cs rename to LukeHagar/PlexAPI/SDK/Models/Errors/GetTimelineUnauthorized.cs index 56eb031..1ae7fc4 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetTimelineVideoResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetTimelineUnauthorized.cs @@ -19,7 +19,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors /// /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. /// - public class GetTimelineVideoResponseBody : Exception + public class GetTimelineUnauthorized : Exception { [JsonProperty("errors")] diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetTokenByPinIdBadRequest.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetTokenByPinIdBadRequest.cs new file mode 100644 index 0000000..4948524 --- /dev/null +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetTokenByPinIdBadRequest.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; + + /// + /// Bad Request - A parameter was not specified, or was specified incorrectly. + /// + public class GetTokenByPinIdBadRequest : 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/GetTokenByPinIdPlexResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetTokenByPinIdPlexResponseBody.cs deleted file mode 100644 index 5b56d85..0000000 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetTokenByPinIdPlexResponseBody.cs +++ /dev/null @@ -1,34 +0,0 @@ -//------------------------------------------------------------------------------ -// -// 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; - - /// - /// Not Found or Expired - /// - public class GetTokenByPinIdPlexResponseBody : 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/GetTokenByPinIdResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetTokenByPinIdResponseBody.cs index 7b2301c..ddfdab5 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetTokenByPinIdResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetTokenByPinIdResponseBody.cs @@ -17,13 +17,13 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using System; /// - /// Bad Request response when the X-Plex-Client-Identifier is missing + /// Not Found or Expired /// public class GetTokenByPinIdResponseBody : Exception { [JsonProperty("errors")] - public List? Errors { get; set; } + public List? Errors { get; set; } /// /// Raw HTTP response; suitable for custom response parsing diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetUserDetailsAuthenticationErrors.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetTokenDetailsAuthenticationErrors.cs similarity index 93% rename from LukeHagar/PlexAPI/SDK/Models/Errors/GetUserDetailsAuthenticationErrors.cs rename to LukeHagar/PlexAPI/SDK/Models/Errors/GetTokenDetailsAuthenticationErrors.cs index 195cdc2..eedc00e 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetUserDetailsAuthenticationErrors.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetTokenDetailsAuthenticationErrors.cs @@ -12,7 +12,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using LukeHagar.PlexAPI.SDK.Utils; using Newtonsoft.Json; - public class GetUserDetailsAuthenticationErrors + public class GetTokenDetailsAuthenticationErrors { [JsonProperty("code")] diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetTokenDetailsBadRequest.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetTokenDetailsBadRequest.cs new file mode 100644 index 0000000..72807ef --- /dev/null +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetTokenDetailsBadRequest.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; + + /// + /// Bad Request - A parameter was not specified, or was specified incorrectly. + /// + public class GetTokenDetailsBadRequest : 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/GetTokenDetailsErrors.cs similarity index 95% rename from LukeHagar/PlexAPI/SDK/Models/Errors/GetUserDetailsErrors.cs rename to LukeHagar/PlexAPI/SDK/Models/Errors/GetTokenDetailsErrors.cs index b817fdb..aada8f9 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetUserDetailsErrors.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetTokenDetailsErrors.cs @@ -12,7 +12,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors using LukeHagar.PlexAPI.SDK.Utils; using Newtonsoft.Json; - public class GetUserDetailsErrors + public class GetTokenDetailsErrors { [JsonProperty("code")] diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetTokenDetailsUnauthorized.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetTokenDetailsUnauthorized.cs new file mode 100644 index 0000000..6df771d --- /dev/null +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetTokenDetailsUnauthorized.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 GetTokenDetailsUnauthorized : 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/GetTopWatchedContentBadRequest.cs similarity index 94% rename from LukeHagar/PlexAPI/SDK/Models/Errors/GetTopWatchedContentResponseBody.cs rename to LukeHagar/PlexAPI/SDK/Models/Errors/GetTopWatchedContentBadRequest.cs index 6155387..496fee5 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetTopWatchedContentResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetTopWatchedContentBadRequest.cs @@ -19,7 +19,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors /// /// Bad Request - A parameter was not specified, or was specified incorrectly. /// - public class GetTopWatchedContentResponseBody : Exception + public class GetTopWatchedContentBadRequest : Exception { [JsonProperty("errors")] diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetTopWatchedContentLibraryResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetTopWatchedContentUnauthorized.cs similarity index 94% rename from LukeHagar/PlexAPI/SDK/Models/Errors/GetTopWatchedContentLibraryResponseBody.cs rename to LukeHagar/PlexAPI/SDK/Models/Errors/GetTopWatchedContentUnauthorized.cs index 7a246af..0aad964 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetTopWatchedContentLibraryResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetTopWatchedContentUnauthorized.cs @@ -19,7 +19,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors /// /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. /// - public class GetTopWatchedContentLibraryResponseBody : Exception + public class GetTopWatchedContentUnauthorized : Exception { [JsonProperty("errors")] diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetTranscodeSessionsResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetTranscodeSessionsBadRequest.cs similarity index 94% rename from LukeHagar/PlexAPI/SDK/Models/Errors/GetTranscodeSessionsResponseBody.cs rename to LukeHagar/PlexAPI/SDK/Models/Errors/GetTranscodeSessionsBadRequest.cs index 6b29fea..efcc3a3 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetTranscodeSessionsResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetTranscodeSessionsBadRequest.cs @@ -19,7 +19,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors /// /// Bad Request - A parameter was not specified, or was specified incorrectly. /// - public class GetTranscodeSessionsResponseBody : Exception + public class GetTranscodeSessionsBadRequest : Exception { [JsonProperty("errors")] diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetTranscodeSessionsSessionsResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetTranscodeSessionsUnauthorized.cs similarity index 94% rename from LukeHagar/PlexAPI/SDK/Models/Errors/GetTranscodeSessionsSessionsResponseBody.cs rename to LukeHagar/PlexAPI/SDK/Models/Errors/GetTranscodeSessionsUnauthorized.cs index f0e6f2f..7cb85c4 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetTranscodeSessionsSessionsResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetTranscodeSessionsUnauthorized.cs @@ -19,7 +19,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors /// /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. /// - public class GetTranscodeSessionsSessionsResponseBody : Exception + public class GetTranscodeSessionsUnauthorized : Exception { [JsonProperty("errors")] diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetTransientTokenResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetTransientTokenBadRequest.cs similarity index 94% rename from LukeHagar/PlexAPI/SDK/Models/Errors/GetTransientTokenResponseBody.cs rename to LukeHagar/PlexAPI/SDK/Models/Errors/GetTransientTokenBadRequest.cs index 9db6324..171a27f 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetTransientTokenResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetTransientTokenBadRequest.cs @@ -19,7 +19,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors /// /// Bad Request - A parameter was not specified, or was specified incorrectly. /// - public class GetTransientTokenResponseBody : Exception + public class GetTransientTokenBadRequest : Exception { [JsonProperty("errors")] diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetTransientTokenAuthenticationResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetTransientTokenUnauthorized.cs similarity index 93% rename from LukeHagar/PlexAPI/SDK/Models/Errors/GetTransientTokenAuthenticationResponseBody.cs rename to LukeHagar/PlexAPI/SDK/Models/Errors/GetTransientTokenUnauthorized.cs index 6386a52..7e6a9a2 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetTransientTokenAuthenticationResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetTransientTokenUnauthorized.cs @@ -19,7 +19,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors /// /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. /// - public class GetTransientTokenAuthenticationResponseBody : Exception + public class GetTransientTokenUnauthorized : Exception { [JsonProperty("errors")] diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetUpdateStatusResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetUpdateStatusBadRequest.cs similarity index 95% rename from LukeHagar/PlexAPI/SDK/Models/Errors/GetUpdateStatusResponseBody.cs rename to LukeHagar/PlexAPI/SDK/Models/Errors/GetUpdateStatusBadRequest.cs index 5a06447..a7eaa11 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetUpdateStatusResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetUpdateStatusBadRequest.cs @@ -19,7 +19,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors /// /// Bad Request - A parameter was not specified, or was specified incorrectly. /// - public class GetUpdateStatusResponseBody : Exception + public class GetUpdateStatusBadRequest : Exception { [JsonProperty("errors")] diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetUpdateStatusUpdaterResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetUpdateStatusUnauthorized.cs similarity index 94% rename from LukeHagar/PlexAPI/SDK/Models/Errors/GetUpdateStatusUpdaterResponseBody.cs rename to LukeHagar/PlexAPI/SDK/Models/Errors/GetUpdateStatusUnauthorized.cs index c971ed2..bba6804 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetUpdateStatusUpdaterResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetUpdateStatusUnauthorized.cs @@ -19,7 +19,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors /// /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. /// - public class GetUpdateStatusUpdaterResponseBody : Exception + public class GetUpdateStatusUnauthorized : Exception { [JsonProperty("errors")] diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetUserDetailsAuthenticationResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetUserDetailsAuthenticationResponseBody.cs deleted file mode 100644 index 28e0861..0000000 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetUserDetailsAuthenticationResponseBody.cs +++ /dev/null @@ -1,34 +0,0 @@ -//------------------------------------------------------------------------------ -// -// 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/GetUserDetailsResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetUserDetailsResponseBody.cs deleted file mode 100644 index e722413..0000000 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetUserDetailsResponseBody.cs +++ /dev/null @@ -1,34 +0,0 @@ -//------------------------------------------------------------------------------ -// -// 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; - - /// - /// Bad Request - A parameter was not specified, or was specified incorrectly. - /// - public class GetUserDetailsResponseBody : 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/GetUserFriendsBadRequest.cs similarity index 95% rename from LukeHagar/PlexAPI/SDK/Models/Errors/GetUserFriendsResponseBody.cs rename to LukeHagar/PlexAPI/SDK/Models/Errors/GetUserFriendsBadRequest.cs index 4d5ff5e..be00d8c 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetUserFriendsResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetUserFriendsBadRequest.cs @@ -19,7 +19,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors /// /// Bad Request - A parameter was not specified, or was specified incorrectly. /// - public class GetUserFriendsResponseBody : Exception + public class GetUserFriendsBadRequest : Exception { [JsonProperty("errors")] diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetUserFriendsPlexResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetUserFriendsUnauthorized.cs similarity index 94% rename from LukeHagar/PlexAPI/SDK/Models/Errors/GetUserFriendsPlexResponseBody.cs rename to LukeHagar/PlexAPI/SDK/Models/Errors/GetUserFriendsUnauthorized.cs index c25d92a..06548b2 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetUserFriendsPlexResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetUserFriendsUnauthorized.cs @@ -19,7 +19,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors /// /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. /// - public class GetUserFriendsPlexResponseBody : Exception + public class GetUserFriendsUnauthorized : Exception { [JsonProperty("errors")] diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetWatchListResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetWatchListBadRequest.cs similarity index 95% rename from LukeHagar/PlexAPI/SDK/Models/Errors/GetWatchListResponseBody.cs rename to LukeHagar/PlexAPI/SDK/Models/Errors/GetWatchListBadRequest.cs index 8c14727..213b9e9 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetWatchListResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetWatchListBadRequest.cs @@ -19,7 +19,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors /// /// Bad Request - A parameter was not specified, or was specified incorrectly. /// - public class GetWatchListResponseBody : Exception + public class GetWatchListBadRequest : Exception { [JsonProperty("errors")] diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/GetWatchListWatchlistResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/GetWatchListUnauthorized.cs similarity index 94% rename from LukeHagar/PlexAPI/SDK/Models/Errors/GetWatchListWatchlistResponseBody.cs rename to LukeHagar/PlexAPI/SDK/Models/Errors/GetWatchListUnauthorized.cs index 114010b..ddedf02 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/GetWatchListWatchlistResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/GetWatchListUnauthorized.cs @@ -19,7 +19,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors /// /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. /// - public class GetWatchListWatchlistResponseBody : Exception + public class GetWatchListUnauthorized : Exception { [JsonProperty("errors")] diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/LogLineResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/LogLineBadRequest.cs similarity index 95% rename from LukeHagar/PlexAPI/SDK/Models/Errors/LogLineResponseBody.cs rename to LukeHagar/PlexAPI/SDK/Models/Errors/LogLineBadRequest.cs index 6c150e8..a520690 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/LogLineResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/LogLineBadRequest.cs @@ -19,7 +19,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors /// /// Bad Request - A parameter was not specified, or was specified incorrectly. /// - public class LogLineResponseBody : Exception + public class LogLineBadRequest : Exception { [JsonProperty("errors")] diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/LogLineLogResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/LogLineUnauthorized.cs similarity index 95% rename from LukeHagar/PlexAPI/SDK/Models/Errors/LogLineLogResponseBody.cs rename to LukeHagar/PlexAPI/SDK/Models/Errors/LogLineUnauthorized.cs index d4a7169..01abe63 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/LogLineLogResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/LogLineUnauthorized.cs @@ -19,7 +19,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors /// /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. /// - public class LogLineLogResponseBody : Exception + public class LogLineUnauthorized : Exception { [JsonProperty("errors")] diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/LogMultiLineResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/LogMultiLineBadRequest.cs similarity index 95% rename from LukeHagar/PlexAPI/SDK/Models/Errors/LogMultiLineResponseBody.cs rename to LukeHagar/PlexAPI/SDK/Models/Errors/LogMultiLineBadRequest.cs index 629899a..8d83fa1 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/LogMultiLineResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/LogMultiLineBadRequest.cs @@ -19,7 +19,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors /// /// Bad Request - A parameter was not specified, or was specified incorrectly. /// - public class LogMultiLineResponseBody : Exception + public class LogMultiLineBadRequest : Exception { [JsonProperty("errors")] diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/LogMultiLineLogResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/LogMultiLineUnauthorized.cs similarity index 95% rename from LukeHagar/PlexAPI/SDK/Models/Errors/LogMultiLineLogResponseBody.cs rename to LukeHagar/PlexAPI/SDK/Models/Errors/LogMultiLineUnauthorized.cs index 5f7513d..440772d 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/LogMultiLineLogResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/LogMultiLineUnauthorized.cs @@ -19,7 +19,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors /// /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. /// - public class LogMultiLineLogResponseBody : Exception + public class LogMultiLineUnauthorized : Exception { [JsonProperty("errors")] diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/MarkPlayedResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/MarkPlayedBadRequest.cs similarity index 95% rename from LukeHagar/PlexAPI/SDK/Models/Errors/MarkPlayedResponseBody.cs rename to LukeHagar/PlexAPI/SDK/Models/Errors/MarkPlayedBadRequest.cs index 26ba11e..2b4e7ec 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/MarkPlayedResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/MarkPlayedBadRequest.cs @@ -19,7 +19,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors /// /// Bad Request - A parameter was not specified, or was specified incorrectly. /// - public class MarkPlayedResponseBody : Exception + public class MarkPlayedBadRequest : Exception { [JsonProperty("errors")] diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/MarkPlayedMediaResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/MarkPlayedUnauthorized.cs similarity index 95% rename from LukeHagar/PlexAPI/SDK/Models/Errors/MarkPlayedMediaResponseBody.cs rename to LukeHagar/PlexAPI/SDK/Models/Errors/MarkPlayedUnauthorized.cs index 4d3cafd..5bf1370 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/MarkPlayedMediaResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/MarkPlayedUnauthorized.cs @@ -19,7 +19,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors /// /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. /// - public class MarkPlayedMediaResponseBody : Exception + public class MarkPlayedUnauthorized : Exception { [JsonProperty("errors")] diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/MarkUnplayedResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/MarkUnplayedBadRequest.cs similarity index 95% rename from LukeHagar/PlexAPI/SDK/Models/Errors/MarkUnplayedResponseBody.cs rename to LukeHagar/PlexAPI/SDK/Models/Errors/MarkUnplayedBadRequest.cs index e5d75e2..ca1d666 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/MarkUnplayedResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/MarkUnplayedBadRequest.cs @@ -19,7 +19,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors /// /// Bad Request - A parameter was not specified, or was specified incorrectly. /// - public class MarkUnplayedResponseBody : Exception + public class MarkUnplayedBadRequest : Exception { [JsonProperty("errors")] diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/MarkUnplayedMediaResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/MarkUnplayedUnauthorized.cs similarity index 94% rename from LukeHagar/PlexAPI/SDK/Models/Errors/MarkUnplayedMediaResponseBody.cs rename to LukeHagar/PlexAPI/SDK/Models/Errors/MarkUnplayedUnauthorized.cs index e040cd8..42017da 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/MarkUnplayedMediaResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/MarkUnplayedUnauthorized.cs @@ -19,7 +19,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors /// /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. /// - public class MarkUnplayedMediaResponseBody : Exception + public class MarkUnplayedUnauthorized : Exception { [JsonProperty("errors")] diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/PerformSearchResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/PerformSearchBadRequest.cs similarity index 95% rename from LukeHagar/PlexAPI/SDK/Models/Errors/PerformSearchResponseBody.cs rename to LukeHagar/PlexAPI/SDK/Models/Errors/PerformSearchBadRequest.cs index 7b1f3fc..2bb8356 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/PerformSearchResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/PerformSearchBadRequest.cs @@ -19,7 +19,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors /// /// Bad Request - A parameter was not specified, or was specified incorrectly. /// - public class PerformSearchResponseBody : Exception + public class PerformSearchBadRequest : Exception { [JsonProperty("errors")] diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/PerformSearchSearchResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/PerformSearchUnauthorized.cs similarity index 94% rename from LukeHagar/PlexAPI/SDK/Models/Errors/PerformSearchSearchResponseBody.cs rename to LukeHagar/PlexAPI/SDK/Models/Errors/PerformSearchUnauthorized.cs index bf917ff..559b4fa 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/PerformSearchSearchResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/PerformSearchUnauthorized.cs @@ -19,7 +19,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors /// /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. /// - public class PerformSearchSearchResponseBody : Exception + public class PerformSearchUnauthorized : Exception { [JsonProperty("errors")] diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/PerformVoiceSearchResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/PerformVoiceSearchBadRequest.cs similarity index 94% rename from LukeHagar/PlexAPI/SDK/Models/Errors/PerformVoiceSearchResponseBody.cs rename to LukeHagar/PlexAPI/SDK/Models/Errors/PerformVoiceSearchBadRequest.cs index 65c2ed0..d85b373 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/PerformVoiceSearchResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/PerformVoiceSearchBadRequest.cs @@ -19,7 +19,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors /// /// Bad Request - A parameter was not specified, or was specified incorrectly. /// - public class PerformVoiceSearchResponseBody : Exception + public class PerformVoiceSearchBadRequest : Exception { [JsonProperty("errors")] diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/PerformVoiceSearchSearchResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/PerformVoiceSearchUnauthorized.cs similarity index 94% rename from LukeHagar/PlexAPI/SDK/Models/Errors/PerformVoiceSearchSearchResponseBody.cs rename to LukeHagar/PlexAPI/SDK/Models/Errors/PerformVoiceSearchUnauthorized.cs index 416d369..076272a 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/PerformVoiceSearchSearchResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/PerformVoiceSearchUnauthorized.cs @@ -19,7 +19,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors /// /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. /// - public class PerformVoiceSearchSearchResponseBody : Exception + public class PerformVoiceSearchUnauthorized : Exception { [JsonProperty("errors")] diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/PostUsersSignInDataResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/PostUsersSignInDataBadRequest.cs similarity index 94% rename from LukeHagar/PlexAPI/SDK/Models/Errors/PostUsersSignInDataResponseBody.cs rename to LukeHagar/PlexAPI/SDK/Models/Errors/PostUsersSignInDataBadRequest.cs index 5a63753..424b87b 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/PostUsersSignInDataResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/PostUsersSignInDataBadRequest.cs @@ -19,7 +19,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors /// /// Bad Request - A parameter was not specified, or was specified incorrectly. /// - public class PostUsersSignInDataResponseBody : Exception + public class PostUsersSignInDataBadRequest : Exception { [JsonProperty("errors")] diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/PostUsersSignInDataAuthenticationResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/PostUsersSignInDataUnauthorized.cs similarity index 93% rename from LukeHagar/PlexAPI/SDK/Models/Errors/PostUsersSignInDataAuthenticationResponseBody.cs rename to LukeHagar/PlexAPI/SDK/Models/Errors/PostUsersSignInDataUnauthorized.cs index a5cd2d9..c96977c 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/PostUsersSignInDataAuthenticationResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/PostUsersSignInDataUnauthorized.cs @@ -19,7 +19,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors /// /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. /// - public class PostUsersSignInDataAuthenticationResponseBody : Exception + public class PostUsersSignInDataUnauthorized : Exception { [JsonProperty("errors")] diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/StartAllTasksResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/StartAllTasksBadRequest.cs similarity index 95% rename from LukeHagar/PlexAPI/SDK/Models/Errors/StartAllTasksResponseBody.cs rename to LukeHagar/PlexAPI/SDK/Models/Errors/StartAllTasksBadRequest.cs index 11ae054..a17f892 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/StartAllTasksResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/StartAllTasksBadRequest.cs @@ -19,7 +19,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors /// /// Bad Request - A parameter was not specified, or was specified incorrectly. /// - public class StartAllTasksResponseBody : Exception + public class StartAllTasksBadRequest : Exception { [JsonProperty("errors")] diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/StartAllTasksButlerResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/StartAllTasksUnauthorized.cs similarity index 94% rename from LukeHagar/PlexAPI/SDK/Models/Errors/StartAllTasksButlerResponseBody.cs rename to LukeHagar/PlexAPI/SDK/Models/Errors/StartAllTasksUnauthorized.cs index c49d1a0..4e1659c 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/StartAllTasksButlerResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/StartAllTasksUnauthorized.cs @@ -19,7 +19,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors /// /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. /// - public class StartAllTasksButlerResponseBody : Exception + public class StartAllTasksUnauthorized : Exception { [JsonProperty("errors")] diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/StartTaskResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/StartTaskBadRequest.cs similarity index 95% rename from LukeHagar/PlexAPI/SDK/Models/Errors/StartTaskResponseBody.cs rename to LukeHagar/PlexAPI/SDK/Models/Errors/StartTaskBadRequest.cs index b307a33..9db2b64 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/StartTaskResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/StartTaskBadRequest.cs @@ -19,7 +19,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors /// /// Bad Request - A parameter was not specified, or was specified incorrectly. /// - public class StartTaskResponseBody : Exception + public class StartTaskBadRequest : Exception { [JsonProperty("errors")] diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/StartTaskButlerResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/StartTaskUnauthorized.cs similarity index 95% rename from LukeHagar/PlexAPI/SDK/Models/Errors/StartTaskButlerResponseBody.cs rename to LukeHagar/PlexAPI/SDK/Models/Errors/StartTaskUnauthorized.cs index b20f25c..603a50f 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/StartTaskButlerResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/StartTaskUnauthorized.cs @@ -19,7 +19,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors /// /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. /// - public class StartTaskButlerResponseBody : Exception + public class StartTaskUnauthorized : Exception { [JsonProperty("errors")] diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/StartUniversalTranscodeResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/StartUniversalTranscodeBadRequest.cs similarity index 94% rename from LukeHagar/PlexAPI/SDK/Models/Errors/StartUniversalTranscodeResponseBody.cs rename to LukeHagar/PlexAPI/SDK/Models/Errors/StartUniversalTranscodeBadRequest.cs index 7d0ce16..80e8386 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/StartUniversalTranscodeResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/StartUniversalTranscodeBadRequest.cs @@ -19,7 +19,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors /// /// Bad Request - A parameter was not specified, or was specified incorrectly. /// - public class StartUniversalTranscodeResponseBody : Exception + public class StartUniversalTranscodeBadRequest : Exception { [JsonProperty("errors")] diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/StartUniversalTranscodeVideoResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/StartUniversalTranscodeUnauthorized.cs similarity index 94% rename from LukeHagar/PlexAPI/SDK/Models/Errors/StartUniversalTranscodeVideoResponseBody.cs rename to LukeHagar/PlexAPI/SDK/Models/Errors/StartUniversalTranscodeUnauthorized.cs index 3c81c1a..33c4222 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/StartUniversalTranscodeVideoResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/StartUniversalTranscodeUnauthorized.cs @@ -19,7 +19,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors /// /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. /// - public class StartUniversalTranscodeVideoResponseBody : Exception + public class StartUniversalTranscodeUnauthorized : Exception { [JsonProperty("errors")] diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/StopAllTasksResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/StopAllTasksBadRequest.cs similarity index 95% rename from LukeHagar/PlexAPI/SDK/Models/Errors/StopAllTasksResponseBody.cs rename to LukeHagar/PlexAPI/SDK/Models/Errors/StopAllTasksBadRequest.cs index 7c05073..3e5ac00 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/StopAllTasksResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/StopAllTasksBadRequest.cs @@ -19,7 +19,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors /// /// Bad Request - A parameter was not specified, or was specified incorrectly. /// - public class StopAllTasksResponseBody : Exception + public class StopAllTasksBadRequest : Exception { [JsonProperty("errors")] diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/StopAllTasksButlerResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/StopAllTasksUnauthorized.cs similarity index 94% rename from LukeHagar/PlexAPI/SDK/Models/Errors/StopAllTasksButlerResponseBody.cs rename to LukeHagar/PlexAPI/SDK/Models/Errors/StopAllTasksUnauthorized.cs index 6d32355..9af850a 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/StopAllTasksButlerResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/StopAllTasksUnauthorized.cs @@ -19,7 +19,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors /// /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. /// - public class StopAllTasksButlerResponseBody : Exception + public class StopAllTasksUnauthorized : Exception { [JsonProperty("errors")] diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/StopTaskResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/StopTaskBadRequest.cs similarity index 95% rename from LukeHagar/PlexAPI/SDK/Models/Errors/StopTaskResponseBody.cs rename to LukeHagar/PlexAPI/SDK/Models/Errors/StopTaskBadRequest.cs index d73d695..8dee711 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/StopTaskResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/StopTaskBadRequest.cs @@ -19,7 +19,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors /// /// Bad Request - A parameter was not specified, or was specified incorrectly. /// - public class StopTaskResponseBody : Exception + public class StopTaskBadRequest : Exception { [JsonProperty("errors")] diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/StopTaskButlerResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/StopTaskUnauthorized.cs similarity index 95% rename from LukeHagar/PlexAPI/SDK/Models/Errors/StopTaskButlerResponseBody.cs rename to LukeHagar/PlexAPI/SDK/Models/Errors/StopTaskUnauthorized.cs index b2d0b86..e41e317 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/StopTaskButlerResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/StopTaskUnauthorized.cs @@ -19,7 +19,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors /// /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. /// - public class StopTaskButlerResponseBody : Exception + public class StopTaskUnauthorized : Exception { [JsonProperty("errors")] diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/StopTranscodeSessionResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/StopTranscodeSessionBadRequest.cs similarity index 94% rename from LukeHagar/PlexAPI/SDK/Models/Errors/StopTranscodeSessionResponseBody.cs rename to LukeHagar/PlexAPI/SDK/Models/Errors/StopTranscodeSessionBadRequest.cs index 3f2ad0d..ebfa770 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/StopTranscodeSessionResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/StopTranscodeSessionBadRequest.cs @@ -19,7 +19,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors /// /// Bad Request - A parameter was not specified, or was specified incorrectly. /// - public class StopTranscodeSessionResponseBody : Exception + public class StopTranscodeSessionBadRequest : Exception { [JsonProperty("errors")] diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/StopTranscodeSessionSessionsResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/StopTranscodeSessionUnauthorized.cs similarity index 94% rename from LukeHagar/PlexAPI/SDK/Models/Errors/StopTranscodeSessionSessionsResponseBody.cs rename to LukeHagar/PlexAPI/SDK/Models/Errors/StopTranscodeSessionUnauthorized.cs index 5dbfad2..37db328 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/StopTranscodeSessionSessionsResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/StopTranscodeSessionUnauthorized.cs @@ -19,7 +19,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors /// /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. /// - public class StopTranscodeSessionSessionsResponseBody : Exception + public class StopTranscodeSessionUnauthorized : Exception { [JsonProperty("errors")] diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/UpdatePlayProgressResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/UpdatePlayProgressBadRequest.cs similarity index 94% rename from LukeHagar/PlexAPI/SDK/Models/Errors/UpdatePlayProgressResponseBody.cs rename to LukeHagar/PlexAPI/SDK/Models/Errors/UpdatePlayProgressBadRequest.cs index f4fd8ae..03eac12 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/UpdatePlayProgressResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/UpdatePlayProgressBadRequest.cs @@ -19,7 +19,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors /// /// Bad Request - A parameter was not specified, or was specified incorrectly. /// - public class UpdatePlayProgressResponseBody : Exception + public class UpdatePlayProgressBadRequest : Exception { [JsonProperty("errors")] diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/UpdatePlayProgressMediaResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/UpdatePlayProgressUnauthorized.cs similarity index 94% rename from LukeHagar/PlexAPI/SDK/Models/Errors/UpdatePlayProgressMediaResponseBody.cs rename to LukeHagar/PlexAPI/SDK/Models/Errors/UpdatePlayProgressUnauthorized.cs index 2dd656a..314541d 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/UpdatePlayProgressMediaResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/UpdatePlayProgressUnauthorized.cs @@ -19,7 +19,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors /// /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. /// - public class UpdatePlayProgressMediaResponseBody : Exception + public class UpdatePlayProgressUnauthorized : Exception { [JsonProperty("errors")] diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/UpdatePlaylistResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/UpdatePlaylistBadRequest.cs similarity index 95% rename from LukeHagar/PlexAPI/SDK/Models/Errors/UpdatePlaylistResponseBody.cs rename to LukeHagar/PlexAPI/SDK/Models/Errors/UpdatePlaylistBadRequest.cs index 39b5de1..ca05498 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/UpdatePlaylistResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/UpdatePlaylistBadRequest.cs @@ -19,7 +19,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors /// /// Bad Request - A parameter was not specified, or was specified incorrectly. /// - public class UpdatePlaylistResponseBody : Exception + public class UpdatePlaylistBadRequest : Exception { [JsonProperty("errors")] diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/UpdatePlaylistPlaylistsResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/UpdatePlaylistUnauthorized.cs similarity index 94% rename from LukeHagar/PlexAPI/SDK/Models/Errors/UpdatePlaylistPlaylistsResponseBody.cs rename to LukeHagar/PlexAPI/SDK/Models/Errors/UpdatePlaylistUnauthorized.cs index 847d765..0c0421f 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/UpdatePlaylistPlaylistsResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/UpdatePlaylistUnauthorized.cs @@ -19,7 +19,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors /// /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. /// - public class UpdatePlaylistPlaylistsResponseBody : Exception + public class UpdatePlaylistUnauthorized : Exception { [JsonProperty("errors")] diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/UploadPlaylistResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/UploadPlaylistBadRequest.cs similarity index 95% rename from LukeHagar/PlexAPI/SDK/Models/Errors/UploadPlaylistResponseBody.cs rename to LukeHagar/PlexAPI/SDK/Models/Errors/UploadPlaylistBadRequest.cs index 0f9d5f8..8cebecc 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/UploadPlaylistResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/UploadPlaylistBadRequest.cs @@ -19,7 +19,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors /// /// Bad Request - A parameter was not specified, or was specified incorrectly. /// - public class UploadPlaylistResponseBody : Exception + public class UploadPlaylistBadRequest : Exception { [JsonProperty("errors")] diff --git a/LukeHagar/PlexAPI/SDK/Models/Errors/UploadPlaylistPlaylistsResponseBody.cs b/LukeHagar/PlexAPI/SDK/Models/Errors/UploadPlaylistUnauthorized.cs similarity index 94% rename from LukeHagar/PlexAPI/SDK/Models/Errors/UploadPlaylistPlaylistsResponseBody.cs rename to LukeHagar/PlexAPI/SDK/Models/Errors/UploadPlaylistUnauthorized.cs index afc7b43..7fd124e 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Errors/UploadPlaylistPlaylistsResponseBody.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Errors/UploadPlaylistUnauthorized.cs @@ -19,7 +19,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Errors /// /// Unauthorized - Returned if the X-Plex-Token is missing from the header or query. /// - public class UploadPlaylistPlaylistsResponseBody : Exception + public class UploadPlaylistUnauthorized : Exception { [JsonProperty("errors")] diff --git a/LukeHagar/PlexAPI/SDK/Models/Requests/AddPlaylistContentsResponse.cs b/LukeHagar/PlexAPI/SDK/Models/Requests/AddPlaylistContentsResponse.cs index f7a0813..daa8aa5 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Requests/AddPlaylistContentsResponse.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Requests/AddPlaylistContentsResponse.cs @@ -35,6 +35,6 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests /// /// Playlist Updated /// - public Models.Requests.AddPlaylistContentsResponseBody? Object { get; set; } + public AddPlaylistContentsResponseBody? Object { get; set; } } } \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Requests/CreatePlaylistResponse.cs b/LukeHagar/PlexAPI/SDK/Models/Requests/CreatePlaylistResponse.cs index 458881e..8c68139 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Requests/CreatePlaylistResponse.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Requests/CreatePlaylistResponse.cs @@ -35,6 +35,6 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests /// /// returns all playlists /// - public Models.Requests.CreatePlaylistResponseBody? Object { get; set; } + public CreatePlaylistResponseBody? Object { get; set; } } } \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Requests/GetAllLibrariesResponse.cs b/LukeHagar/PlexAPI/SDK/Models/Requests/GetAllLibrariesResponse.cs index 01ea6f2..6f6f4f8 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Requests/GetAllLibrariesResponse.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Requests/GetAllLibrariesResponse.cs @@ -35,6 +35,6 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests /// /// The libraries available on the Server /// - public Models.Requests.GetAllLibrariesResponseBody? Object { get; set; } + public GetAllLibrariesResponseBody? Object { get; set; } } } \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Requests/GetAvailableClientsResponse.cs b/LukeHagar/PlexAPI/SDK/Models/Requests/GetAvailableClientsResponse.cs index 842d982..d425c68 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Requests/GetAvailableClientsResponse.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Requests/GetAvailableClientsResponse.cs @@ -35,6 +35,6 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests /// /// Available Clients /// - public Models.Requests.GetAvailableClientsResponseBody? Object { get; set; } + public GetAvailableClientsResponseBody? Object { get; set; } } } \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Requests/GetBandwidthStatisticsResponse.cs b/LukeHagar/PlexAPI/SDK/Models/Requests/GetBandwidthStatisticsResponse.cs index 8747069..e511248 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Requests/GetBandwidthStatisticsResponse.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Requests/GetBandwidthStatisticsResponse.cs @@ -35,6 +35,6 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests /// /// Bandwidth Statistics /// - public Models.Requests.GetBandwidthStatisticsResponseBody? Object { get; set; } + public GetBandwidthStatisticsResponseBody? Object { get; set; } } } \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Requests/GetButlerTasksResponse.cs b/LukeHagar/PlexAPI/SDK/Models/Requests/GetButlerTasksResponse.cs index 500009f..627e1a4 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Requests/GetButlerTasksResponse.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Requests/GetButlerTasksResponse.cs @@ -35,6 +35,6 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests /// /// All butler tasks /// - public Models.Requests.GetButlerTasksResponseBody? Object { get; set; } + public GetButlerTasksResponseBody? Object { get; set; } } } \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Requests/GetDevicesResponse.cs b/LukeHagar/PlexAPI/SDK/Models/Requests/GetDevicesResponse.cs index c803eb4..b5bfae8 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Requests/GetDevicesResponse.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Requests/GetDevicesResponse.cs @@ -35,6 +35,6 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests /// /// Devices /// - public Models.Requests.GetDevicesResponseBody? Object { get; set; } + public GetDevicesResponseBody? Object { get; set; } } } \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Requests/GetGlobalHubsResponse.cs b/LukeHagar/PlexAPI/SDK/Models/Requests/GetGlobalHubsResponse.cs index 9ac70c6..a208e64 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Requests/GetGlobalHubsResponse.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Requests/GetGlobalHubsResponse.cs @@ -35,6 +35,6 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests /// /// returns global hubs /// - public Models.Requests.GetGlobalHubsResponseBody? Object { get; set; } + public GetGlobalHubsResponseBody? Object { get; set; } } } \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Requests/GetHomeDataResponse.cs b/LukeHagar/PlexAPI/SDK/Models/Requests/GetHomeDataResponse.cs index 697990d..3c992ce 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Requests/GetHomeDataResponse.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Requests/GetHomeDataResponse.cs @@ -35,6 +35,6 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests /// /// Home Data /// - public Models.Requests.GetHomeDataResponseBody? Object { get; set; } + public GetHomeDataResponseBody? Object { get; set; } } } \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Requests/GetLibraryDetailsResponse.cs b/LukeHagar/PlexAPI/SDK/Models/Requests/GetLibraryDetailsResponse.cs index 44f5be7..98d94d7 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Requests/GetLibraryDetailsResponse.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Requests/GetLibraryDetailsResponse.cs @@ -35,6 +35,6 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests /// /// The details of the library /// - public Models.Requests.GetLibraryDetailsResponseBody? Object { get; set; } + public GetLibraryDetailsResponseBody? Object { get; set; } } } \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Requests/GetLibraryHubsResponse.cs b/LukeHagar/PlexAPI/SDK/Models/Requests/GetLibraryHubsResponse.cs index a9cc970..3021c44 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Requests/GetLibraryHubsResponse.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Requests/GetLibraryHubsResponse.cs @@ -35,6 +35,6 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests /// /// The hubs specific to the library /// - public Models.Requests.GetLibraryHubsResponseBody? Object { get; set; } + public GetLibraryHubsResponseBody? Object { get; set; } } } \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Requests/GetLibraryItemsResponse.cs b/LukeHagar/PlexAPI/SDK/Models/Requests/GetLibraryItemsResponse.cs index ed1f1f4..c8a18d0 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Requests/GetLibraryItemsResponse.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Requests/GetLibraryItemsResponse.cs @@ -35,6 +35,6 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests /// /// The contents of the library by section and tag /// - public Models.Requests.GetLibraryItemsResponseBody? Object { get; set; } + public GetLibraryItemsResponseBody? Object { get; set; } } } \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Requests/GetMediaProvidersResponse.cs b/LukeHagar/PlexAPI/SDK/Models/Requests/GetMediaProvidersResponse.cs index ca7ab21..5968fde 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Requests/GetMediaProvidersResponse.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Requests/GetMediaProvidersResponse.cs @@ -35,6 +35,6 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests /// /// Media providers and their features /// - public Models.Requests.GetMediaProvidersResponseBody? Object { get; set; } + public GetMediaProvidersResponseBody? Object { get; set; } } } \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Requests/GetMetaDataByRatingKeyResponse.cs b/LukeHagar/PlexAPI/SDK/Models/Requests/GetMetaDataByRatingKeyResponse.cs index 1d65a7f..407cae5 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Requests/GetMetaDataByRatingKeyResponse.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Requests/GetMetaDataByRatingKeyResponse.cs @@ -35,6 +35,6 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests /// /// The metadata of the library item. /// - public Models.Requests.GetMetaDataByRatingKeyResponseBody? Object { get; set; } + public GetMetaDataByRatingKeyResponseBody? Object { get; set; } } } \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Requests/GetMetadataChildrenResponse.cs b/LukeHagar/PlexAPI/SDK/Models/Requests/GetMetadataChildrenResponse.cs index 8d5affc..b2afb77 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Requests/GetMetadataChildrenResponse.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Requests/GetMetadataChildrenResponse.cs @@ -35,6 +35,6 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests /// /// The children of the library item. /// - public Models.Requests.GetMetadataChildrenResponseBody? Object { get; set; } + public GetMetadataChildrenResponseBody? Object { get; set; } } } \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Requests/GetMyPlexAccountResponse.cs b/LukeHagar/PlexAPI/SDK/Models/Requests/GetMyPlexAccountResponse.cs index f59b6b5..366428a 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Requests/GetMyPlexAccountResponse.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Requests/GetMyPlexAccountResponse.cs @@ -35,6 +35,6 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests /// /// MyPlex Account /// - public Models.Requests.GetMyPlexAccountResponseBody? Object { get; set; } + public GetMyPlexAccountResponseBody? Object { get; set; } } } \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Requests/GetOnDeckResponse.cs b/LukeHagar/PlexAPI/SDK/Models/Requests/GetOnDeckResponse.cs index ef44d56..ddce1d5 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Requests/GetOnDeckResponse.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Requests/GetOnDeckResponse.cs @@ -35,6 +35,6 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests /// /// The on Deck content /// - public Models.Requests.GetOnDeckResponseBody? Object { get; set; } + public GetOnDeckResponseBody? Object { get; set; } } } \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Requests/GetPlaylistContentsResponse.cs b/LukeHagar/PlexAPI/SDK/Models/Requests/GetPlaylistContentsResponse.cs index e858d80..9f1a361 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Requests/GetPlaylistContentsResponse.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Requests/GetPlaylistContentsResponse.cs @@ -35,6 +35,6 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests /// /// The playlist contents /// - public Models.Requests.GetPlaylistContentsResponseBody? Object { get; set; } + public GetPlaylistContentsResponseBody? Object { get; set; } } } \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Requests/GetPlaylistResponse.cs b/LukeHagar/PlexAPI/SDK/Models/Requests/GetPlaylistResponse.cs index 616549a..f671c3f 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Requests/GetPlaylistResponse.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Requests/GetPlaylistResponse.cs @@ -35,6 +35,6 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests /// /// The playlist /// - public Models.Requests.GetPlaylistResponseBody? Object { get; set; } + public GetPlaylistResponseBody? Object { get; set; } } } \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Requests/GetPlaylistsResponse.cs b/LukeHagar/PlexAPI/SDK/Models/Requests/GetPlaylistsResponse.cs index 971f2be..077f956 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Requests/GetPlaylistsResponse.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Requests/GetPlaylistsResponse.cs @@ -35,6 +35,6 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests /// /// returns all playlists /// - public Models.Requests.GetPlaylistsResponseBody? Object { get; set; } + public GetPlaylistsResponseBody? Object { get; set; } } } \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Requests/GetRecentlyAddedResponse.cs b/LukeHagar/PlexAPI/SDK/Models/Requests/GetRecentlyAddedResponse.cs index 81cdd88..8d0af95 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Requests/GetRecentlyAddedResponse.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Requests/GetRecentlyAddedResponse.cs @@ -35,6 +35,6 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests /// /// The recently added content /// - public Models.Requests.GetRecentlyAddedResponseBody? Object { get; set; } + public GetRecentlyAddedResponseBody? Object { get; set; } } } \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Requests/GetResourcesStatisticsResponse.cs b/LukeHagar/PlexAPI/SDK/Models/Requests/GetResourcesStatisticsResponse.cs index 09ac0ee..342f752 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Requests/GetResourcesStatisticsResponse.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Requests/GetResourcesStatisticsResponse.cs @@ -35,6 +35,6 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests /// /// Resource Statistics /// - public Models.Requests.GetResourcesStatisticsResponseBody? Object { get; set; } + public GetResourcesStatisticsResponseBody? Object { get; set; } } } \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Requests/GetSearchLibraryResponse.cs b/LukeHagar/PlexAPI/SDK/Models/Requests/GetSearchLibraryResponse.cs index 6a0662c..dc2ce37 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Requests/GetSearchLibraryResponse.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Requests/GetSearchLibraryResponse.cs @@ -35,6 +35,6 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests /// /// The contents of the library by section and type /// - public Models.Requests.GetSearchLibraryResponseBody? Object { get; set; } + public GetSearchLibraryResponseBody? Object { get; set; } } } \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Requests/GetSearchResultsResponse.cs b/LukeHagar/PlexAPI/SDK/Models/Requests/GetSearchResultsResponse.cs index d80d232..d36d026 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Requests/GetSearchResultsResponse.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Requests/GetSearchResultsResponse.cs @@ -35,6 +35,6 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests /// /// Search Results /// - public Models.Requests.GetSearchResultsResponseBody? Object { get; set; } + public GetSearchResultsResponseBody? Object { get; set; } } } \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Requests/GetServerActivitiesResponse.cs b/LukeHagar/PlexAPI/SDK/Models/Requests/GetServerActivitiesResponse.cs index e34f64c..f785d84 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Requests/GetServerActivitiesResponse.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Requests/GetServerActivitiesResponse.cs @@ -35,6 +35,6 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests /// /// The Server Activities /// - public Models.Requests.GetServerActivitiesResponseBody? Object { get; set; } + public GetServerActivitiesResponseBody? Object { get; set; } } } \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Requests/GetServerCapabilitiesResponse.cs b/LukeHagar/PlexAPI/SDK/Models/Requests/GetServerCapabilitiesResponse.cs index 6ff26e4..e42b6ea 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Requests/GetServerCapabilitiesResponse.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Requests/GetServerCapabilitiesResponse.cs @@ -35,6 +35,6 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests /// /// The Server Capabilities /// - public Models.Requests.GetServerCapabilitiesResponseBody? Object { get; set; } + public GetServerCapabilitiesResponseBody? Object { get; set; } } } \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Requests/GetServerIdentityResponse.cs b/LukeHagar/PlexAPI/SDK/Models/Requests/GetServerIdentityResponse.cs index 0f06a22..8b540b2 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Requests/GetServerIdentityResponse.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Requests/GetServerIdentityResponse.cs @@ -35,6 +35,6 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests /// /// The Server Identity information /// - public Models.Requests.GetServerIdentityResponseBody? Object { get; set; } + public GetServerIdentityResponseBody? Object { get; set; } } } \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Requests/GetServerListResponse.cs b/LukeHagar/PlexAPI/SDK/Models/Requests/GetServerListResponse.cs index fed144b..5bd569e 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Requests/GetServerListResponse.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Requests/GetServerListResponse.cs @@ -35,6 +35,6 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests /// /// List of Servers /// - public Models.Requests.GetServerListResponseBody? Object { get; set; } + public GetServerListResponseBody? Object { get; set; } } } \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Requests/GetServerPreferencesResponse.cs b/LukeHagar/PlexAPI/SDK/Models/Requests/GetServerPreferencesResponse.cs index 0971f58..4e93e01 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Requests/GetServerPreferencesResponse.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Requests/GetServerPreferencesResponse.cs @@ -35,6 +35,6 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests /// /// Server Preferences /// - public Models.Requests.GetServerPreferencesResponseBody? Object { get; set; } + public GetServerPreferencesResponseBody? Object { get; set; } } } \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Requests/GetServerResourcesRequest.cs b/LukeHagar/PlexAPI/SDK/Models/Requests/GetServerResourcesRequest.cs index 553b2e2..b6c2395 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Requests/GetServerResourcesRequest.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Requests/GetServerResourcesRequest.cs @@ -15,12 +15,6 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests public class GetServerResourcesRequest { - /// - /// Plex Authentication Token - /// - [SpeakeasyMetadata("queryParam:style=form,explode=true,name=X-Plex-Token")] - public string XPlexToken { get; set; } = default!; - /// /// The unique identifier for the client application
/// diff --git a/LukeHagar/PlexAPI/SDK/Models/Requests/GetSessionHistoryResponse.cs b/LukeHagar/PlexAPI/SDK/Models/Requests/GetSessionHistoryResponse.cs index 888e34b..707b829 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Requests/GetSessionHistoryResponse.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Requests/GetSessionHistoryResponse.cs @@ -35,6 +35,6 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests /// /// List of Plex Sessions /// - public Models.Requests.GetSessionHistoryResponseBody? Object { get; set; } + public GetSessionHistoryResponseBody? Object { get; set; } } } \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Requests/GetSessionsResponse.cs b/LukeHagar/PlexAPI/SDK/Models/Requests/GetSessionsResponse.cs index 92c5aa5..4d175c3 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Requests/GetSessionsResponse.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Requests/GetSessionsResponse.cs @@ -35,6 +35,6 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests /// /// List of Active Plex Sessions /// - public Models.Requests.GetSessionsResponseBody? Object { get; set; } + public GetSessionsResponseBody? Object { get; set; } } } \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Requests/GetStatisticsResponse.cs b/LukeHagar/PlexAPI/SDK/Models/Requests/GetStatisticsResponse.cs index c2a2281..02b724d 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Requests/GetStatisticsResponse.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Requests/GetStatisticsResponse.cs @@ -35,6 +35,6 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests /// /// Media Statistics /// - public Models.Requests.GetStatisticsResponseBody? Object { get; set; } + public GetStatisticsResponseBody? Object { get; set; } } } \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Requests/GetUserDetailsAuthenticationResponseStatus.cs b/LukeHagar/PlexAPI/SDK/Models/Requests/GetTokenDetailsAuthenticationResponseStatus.cs similarity index 71% rename from LukeHagar/PlexAPI/SDK/Models/Requests/GetUserDetailsAuthenticationResponseStatus.cs rename to LukeHagar/PlexAPI/SDK/Models/Requests/GetTokenDetailsAuthenticationResponseStatus.cs index 0fad117..16bd0e5 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Requests/GetUserDetailsAuthenticationResponseStatus.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Requests/GetTokenDetailsAuthenticationResponseStatus.cs @@ -16,7 +16,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests /// /// String representation of subscriptionActive /// - public enum GetUserDetailsAuthenticationResponseStatus + public enum GetTokenDetailsAuthenticationResponseStatus { [JsonProperty("Inactive")] Inactive, @@ -24,16 +24,16 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests Active, } - public static class GetUserDetailsAuthenticationResponseStatusExtension + public static class GetTokenDetailsAuthenticationResponseStatusExtension { - public static string Value(this GetUserDetailsAuthenticationResponseStatus value) + public static string Value(this GetTokenDetailsAuthenticationResponseStatus value) { return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString())[0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); } - public static GetUserDetailsAuthenticationResponseStatus ToEnum(this string value) + public static GetTokenDetailsAuthenticationResponseStatus ToEnum(this string value) { - foreach(var field in typeof(GetUserDetailsAuthenticationResponseStatus).GetFields()) + foreach(var field in typeof(GetTokenDetailsAuthenticationResponseStatus).GetFields()) { var attributes = field.GetCustomAttributes(typeof(JsonPropertyAttribute), false); if (attributes.Length == 0) @@ -46,14 +46,14 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests { var enumVal = field.GetValue(null); - if (enumVal is GetUserDetailsAuthenticationResponseStatus) + if (enumVal is GetTokenDetailsAuthenticationResponseStatus) { - return (GetUserDetailsAuthenticationResponseStatus)enumVal; + return (GetTokenDetailsAuthenticationResponseStatus)enumVal; } } } - throw new Exception($"Unknown value {value} for enum GetUserDetailsAuthenticationResponseStatus"); + throw new Exception($"Unknown value {value} for enum GetTokenDetailsAuthenticationResponseStatus"); } } diff --git a/LukeHagar/PlexAPI/SDK/Models/Requests/GetUserDetailsAuthenticationStatus.cs b/LukeHagar/PlexAPI/SDK/Models/Requests/GetTokenDetailsAuthenticationStatus.cs similarity index 73% rename from LukeHagar/PlexAPI/SDK/Models/Requests/GetUserDetailsAuthenticationStatus.cs rename to LukeHagar/PlexAPI/SDK/Models/Requests/GetTokenDetailsAuthenticationStatus.cs index e37d6f7..57a9d7c 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Requests/GetUserDetailsAuthenticationStatus.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Requests/GetTokenDetailsAuthenticationStatus.cs @@ -16,7 +16,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests /// /// String representation of subscriptionActive /// - public enum GetUserDetailsAuthenticationStatus + public enum GetTokenDetailsAuthenticationStatus { [JsonProperty("Inactive")] Inactive, @@ -24,16 +24,16 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests Active, } - public static class GetUserDetailsAuthenticationStatusExtension + public static class GetTokenDetailsAuthenticationStatusExtension { - public static string Value(this GetUserDetailsAuthenticationStatus value) + public static string Value(this GetTokenDetailsAuthenticationStatus value) { return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString())[0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); } - public static GetUserDetailsAuthenticationStatus ToEnum(this string value) + public static GetTokenDetailsAuthenticationStatus ToEnum(this string value) { - foreach(var field in typeof(GetUserDetailsAuthenticationStatus).GetFields()) + foreach(var field in typeof(GetTokenDetailsAuthenticationStatus).GetFields()) { var attributes = field.GetCustomAttributes(typeof(JsonPropertyAttribute), false); if (attributes.Length == 0) @@ -46,14 +46,14 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests { var enumVal = field.GetValue(null); - if (enumVal is GetUserDetailsAuthenticationStatus) + if (enumVal is GetTokenDetailsAuthenticationStatus) { - return (GetUserDetailsAuthenticationStatus)enumVal; + return (GetTokenDetailsAuthenticationStatus)enumVal; } } } - throw new Exception($"Unknown value {value} for enum GetUserDetailsAuthenticationStatus"); + throw new Exception($"Unknown value {value} for enum GetTokenDetailsAuthenticationStatus"); } } diff --git a/LukeHagar/PlexAPI/SDK/Models/Requests/GetUserDetailsFeatures.cs b/LukeHagar/PlexAPI/SDK/Models/Requests/GetTokenDetailsFeatures.cs similarity index 92% rename from LukeHagar/PlexAPI/SDK/Models/Requests/GetUserDetailsFeatures.cs rename to LukeHagar/PlexAPI/SDK/Models/Requests/GetTokenDetailsFeatures.cs index 21f5665..e6e4b1e 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Requests/GetUserDetailsFeatures.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Requests/GetTokenDetailsFeatures.cs @@ -13,7 +13,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests using Newtonsoft.Json; using System; - public enum GetUserDetailsFeatures + public enum GetTokenDetailsFeatures { [JsonProperty("Android - Dolby Vision")] AndroidDolbyVision, @@ -135,16 +135,16 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests WebServerDashboard, } - public static class GetUserDetailsFeaturesExtension + public static class GetTokenDetailsFeaturesExtension { - public static string Value(this GetUserDetailsFeatures value) + public static string Value(this GetTokenDetailsFeatures value) { return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString())[0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); } - public static GetUserDetailsFeatures ToEnum(this string value) + public static GetTokenDetailsFeatures ToEnum(this string value) { - foreach(var field in typeof(GetUserDetailsFeatures).GetFields()) + foreach(var field in typeof(GetTokenDetailsFeatures).GetFields()) { var attributes = field.GetCustomAttributes(typeof(JsonPropertyAttribute), false); if (attributes.Length == 0) @@ -157,14 +157,14 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests { var enumVal = field.GetValue(null); - if (enumVal is GetUserDetailsFeatures) + if (enumVal is GetTokenDetailsFeatures) { - return (GetUserDetailsFeatures)enumVal; + return (GetTokenDetailsFeatures)enumVal; } } } - throw new Exception($"Unknown value {value} for enum GetUserDetailsFeatures"); + throw new Exception($"Unknown value {value} for enum GetTokenDetailsFeatures"); } } diff --git a/LukeHagar/PlexAPI/SDK/Models/Requests/GetUserDetailsResponse.cs b/LukeHagar/PlexAPI/SDK/Models/Requests/GetTokenDetailsResponse.cs similarity index 91% rename from LukeHagar/PlexAPI/SDK/Models/Requests/GetUserDetailsResponse.cs rename to LukeHagar/PlexAPI/SDK/Models/Requests/GetTokenDetailsResponse.cs index 36463ee..ce7a0d9 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Requests/GetUserDetailsResponse.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Requests/GetTokenDetailsResponse.cs @@ -14,7 +14,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests using System.Net.Http; using System; - public class GetUserDetailsResponse + public class GetTokenDetailsResponse { /// @@ -35,6 +35,6 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests /// /// Logged in user details /// - public GetUserDetailsUserPlexAccount? UserPlexAccount { get; set; } + public GetTokenDetailsUserPlexAccount? UserPlexAccount { get; set; } } } \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Requests/GetUserDetailsStatus.cs b/LukeHagar/PlexAPI/SDK/Models/Requests/GetTokenDetailsStatus.cs similarity index 76% rename from LukeHagar/PlexAPI/SDK/Models/Requests/GetUserDetailsStatus.cs rename to LukeHagar/PlexAPI/SDK/Models/Requests/GetTokenDetailsStatus.cs index fbfd2f1..8f9070c 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Requests/GetUserDetailsStatus.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Requests/GetTokenDetailsStatus.cs @@ -13,7 +13,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests using Newtonsoft.Json; using System; - public enum GetUserDetailsStatus + public enum GetTokenDetailsStatus { [JsonProperty("online")] Online, @@ -21,16 +21,16 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests Offline, } - public static class GetUserDetailsStatusExtension + public static class GetTokenDetailsStatusExtension { - public static string Value(this GetUserDetailsStatus value) + public static string Value(this GetTokenDetailsStatus value) { return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString())[0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); } - public static GetUserDetailsStatus ToEnum(this string value) + public static GetTokenDetailsStatus ToEnum(this string value) { - foreach(var field in typeof(GetUserDetailsStatus).GetFields()) + foreach(var field in typeof(GetTokenDetailsStatus).GetFields()) { var attributes = field.GetCustomAttributes(typeof(JsonPropertyAttribute), false); if (attributes.Length == 0) @@ -43,14 +43,14 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests { var enumVal = field.GetValue(null); - if (enumVal is GetUserDetailsStatus) + if (enumVal is GetTokenDetailsStatus) { - return (GetUserDetailsStatus)enumVal; + return (GetTokenDetailsStatus)enumVal; } } } - throw new Exception($"Unknown value {value} for enum GetUserDetailsStatus"); + throw new Exception($"Unknown value {value} for enum GetTokenDetailsStatus"); } } diff --git a/LukeHagar/PlexAPI/SDK/Models/Requests/GetUserDetailsSubscription.cs b/LukeHagar/PlexAPI/SDK/Models/Requests/GetTokenDetailsSubscription.cs similarity index 89% rename from LukeHagar/PlexAPI/SDK/Models/Requests/GetUserDetailsSubscription.cs rename to LukeHagar/PlexAPI/SDK/Models/Requests/GetTokenDetailsSubscription.cs index 9cf2aa6..d597097 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Requests/GetUserDetailsSubscription.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Requests/GetTokenDetailsSubscription.cs @@ -14,14 +14,14 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests using Newtonsoft.Json; using System.Collections.Generic; - public class GetUserDetailsSubscription + public class GetTokenDetailsSubscription { /// /// List of features allowed on your Plex Pass subscription /// [JsonProperty("features")] - public List? Features { get; set; } + public List? Features { get; set; } /// /// If the account's Plex Pass subscription is active @@ -39,7 +39,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests /// String representation of subscriptionActive /// [JsonProperty("status")] - public GetUserDetailsAuthenticationResponseStatus? Status { get; set; } + public GetTokenDetailsAuthenticationResponseStatus? Status { get; set; } /// /// Payment service used for your Plex Pass subscription diff --git a/LukeHagar/PlexAPI/SDK/Models/Requests/GetUserDetailsUserPlexAccount.cs b/LukeHagar/PlexAPI/SDK/Models/Requests/GetTokenDetailsUserPlexAccount.cs similarity index 98% rename from LukeHagar/PlexAPI/SDK/Models/Requests/GetUserDetailsUserPlexAccount.cs rename to LukeHagar/PlexAPI/SDK/Models/Requests/GetTokenDetailsUserPlexAccount.cs index 965bc37..ba2a364 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Requests/GetUserDetailsUserPlexAccount.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Requests/GetTokenDetailsUserPlexAccount.cs @@ -18,7 +18,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests /// /// Logged in user details /// - public class GetUserDetailsUserPlexAccount + public class GetTokenDetailsUserPlexAccount { /// @@ -221,7 +221,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests public string? SubscriptionDescription { get; set; } [JsonProperty("subscriptions")] - public List Subscriptions { get; set; } = default!; + public List Subscriptions { get; set; } = default!; /// /// URL of the account thumbnail diff --git a/LukeHagar/PlexAPI/SDK/Models/Requests/GetTopWatchedContentResponse.cs b/LukeHagar/PlexAPI/SDK/Models/Requests/GetTopWatchedContentResponse.cs index 15eb556..f9606fb 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Requests/GetTopWatchedContentResponse.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Requests/GetTopWatchedContentResponse.cs @@ -35,6 +35,6 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests /// /// The metadata of the library item. /// - public Models.Requests.GetTopWatchedContentResponseBody? Object { get; set; } + public GetTopWatchedContentResponseBody? Object { get; set; } } } \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Requests/GetTranscodeSessionsResponse.cs b/LukeHagar/PlexAPI/SDK/Models/Requests/GetTranscodeSessionsResponse.cs index d56dedb..f1e3864 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Requests/GetTranscodeSessionsResponse.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Requests/GetTranscodeSessionsResponse.cs @@ -35,6 +35,6 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests /// /// The Transcode Sessions /// - public Models.Requests.GetTranscodeSessionsResponseBody? Object { get; set; } + public GetTranscodeSessionsResponseBody? Object { get; set; } } } \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Requests/GetUpdateStatusResponse.cs b/LukeHagar/PlexAPI/SDK/Models/Requests/GetUpdateStatusResponse.cs index dea1582..30dd88e 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Requests/GetUpdateStatusResponse.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Requests/GetUpdateStatusResponse.cs @@ -35,6 +35,6 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests /// /// The Server Updates /// - public Models.Requests.GetUpdateStatusResponseBody? Object { get; set; } + public GetUpdateStatusResponseBody? Object { get; set; } } } \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Requests/GetUserDetailsRequest.cs b/LukeHagar/PlexAPI/SDK/Models/Requests/GetUserDetailsRequest.cs deleted file mode 100644 index dcf4243..0000000 --- a/LukeHagar/PlexAPI/SDK/Models/Requests/GetUserDetailsRequest.cs +++ /dev/null @@ -1,23 +0,0 @@ -//------------------------------------------------------------------------------ -// -// 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.Requests -{ - using LukeHagar.PlexAPI.SDK.Utils; - - public class GetUserDetailsRequest - { - - /// - /// Plex Authentication Token - /// - [SpeakeasyMetadata("queryParam:style=form,explode=true,name=X-Plex-Token")] - public string XPlexToken { get; set; } = default!; - } -} \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Requests/GetWatchListResponse.cs b/LukeHagar/PlexAPI/SDK/Models/Requests/GetWatchListResponse.cs index 44c942f..923622a 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Requests/GetWatchListResponse.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Requests/GetWatchListResponse.cs @@ -35,6 +35,6 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests /// /// Watchlist Data /// - public Models.Requests.GetWatchListResponseBody? Object { get; set; } + public GetWatchListResponseBody? Object { get; set; } } } \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Requests/Services.cs b/LukeHagar/PlexAPI/SDK/Models/Requests/Services.cs index 645cb2a..34673df 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Requests/Services.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Requests/Services.cs @@ -29,6 +29,6 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests public string? Secret { get; set; } [JsonProperty("status")] - public GetUserDetailsStatus Status { get; set; } = default!; + public GetTokenDetailsStatus Status { get; set; } = default!; } } \ No newline at end of file diff --git a/LukeHagar/PlexAPI/SDK/Models/Requests/Subscription.cs b/LukeHagar/PlexAPI/SDK/Models/Requests/Subscription.cs index a3ff038..95e870a 100644 --- a/LukeHagar/PlexAPI/SDK/Models/Requests/Subscription.cs +++ b/LukeHagar/PlexAPI/SDK/Models/Requests/Subscription.cs @@ -42,7 +42,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests /// String representation of subscriptionActive /// [JsonProperty("status")] - public GetUserDetailsAuthenticationStatus? Status { get; set; } + public GetTokenDetailsAuthenticationStatus? Status { get; set; } /// /// Payment service used for your Plex Pass subscription diff --git a/LukeHagar/PlexAPI/SDK/Playlists.cs b/LukeHagar/PlexAPI/SDK/Playlists.cs index 93edab6..8c5828e 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.6.0"; - private const string _sdkGenVersion = "2.411.9"; + private const string _sdkVersion = "0.6.1"; + private const string _sdkGenVersion = "2.413.0"; private const string _openapiDocVersion = "0.0.3"; - private const string _userAgent = "speakeasy-sdk/csharp 0.6.0 2.411.9 0.0.3 LukeHagar.PlexAPI.SDK"; + private const string _userAgent = "speakeasy-sdk/csharp 0.6.1 2.413.0 0.0.3 LukeHagar.PlexAPI.SDK"; private string _serverUrl = ""; private ISpeakeasyHttpClient _client; private Func? _securitySource; @@ -215,7 +215,7 @@ namespace LukeHagar.PlexAPI.SDK { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); var response = new CreatePlaylistResponse() { StatusCode = responseStatusCode, @@ -234,7 +234,7 @@ namespace LukeHagar.PlexAPI.SDK { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); obj!.RawResponse = httpResponse; throw obj!; } @@ -247,7 +247,7 @@ namespace LukeHagar.PlexAPI.SDK { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); obj!.RawResponse = httpResponse; throw obj!; } @@ -324,7 +324,7 @@ namespace LukeHagar.PlexAPI.SDK { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); var response = new GetPlaylistsResponse() { StatusCode = responseStatusCode, @@ -343,7 +343,7 @@ namespace LukeHagar.PlexAPI.SDK { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); obj!.RawResponse = httpResponse; throw obj!; } @@ -356,7 +356,7 @@ namespace LukeHagar.PlexAPI.SDK { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); obj!.RawResponse = httpResponse; throw obj!; } @@ -432,7 +432,7 @@ namespace LukeHagar.PlexAPI.SDK { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); var response = new GetPlaylistResponse() { StatusCode = responseStatusCode, @@ -451,7 +451,7 @@ namespace LukeHagar.PlexAPI.SDK { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); obj!.RawResponse = httpResponse; throw obj!; } @@ -464,7 +464,7 @@ namespace LukeHagar.PlexAPI.SDK { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); obj!.RawResponse = httpResponse; throw obj!; } @@ -549,7 +549,7 @@ namespace LukeHagar.PlexAPI.SDK { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); obj!.RawResponse = httpResponse; throw obj!; } @@ -562,7 +562,7 @@ namespace LukeHagar.PlexAPI.SDK { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); obj!.RawResponse = httpResponse; throw obj!; } @@ -649,7 +649,7 @@ namespace LukeHagar.PlexAPI.SDK { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); obj!.RawResponse = httpResponse; throw obj!; } @@ -662,7 +662,7 @@ namespace LukeHagar.PlexAPI.SDK { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); obj!.RawResponse = httpResponse; throw obj!; } @@ -739,7 +739,7 @@ namespace LukeHagar.PlexAPI.SDK { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); var response = new GetPlaylistContentsResponse() { StatusCode = responseStatusCode, @@ -758,7 +758,7 @@ namespace LukeHagar.PlexAPI.SDK { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); obj!.RawResponse = httpResponse; throw obj!; } @@ -771,7 +771,7 @@ namespace LukeHagar.PlexAPI.SDK { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); obj!.RawResponse = httpResponse; throw obj!; } @@ -856,7 +856,7 @@ namespace LukeHagar.PlexAPI.SDK { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); obj!.RawResponse = httpResponse; throw obj!; } @@ -869,7 +869,7 @@ namespace LukeHagar.PlexAPI.SDK { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); obj!.RawResponse = httpResponse; throw obj!; } @@ -947,7 +947,7 @@ namespace LukeHagar.PlexAPI.SDK { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); var response = new AddPlaylistContentsResponse() { StatusCode = responseStatusCode, @@ -966,7 +966,7 @@ namespace LukeHagar.PlexAPI.SDK { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); obj!.RawResponse = httpResponse; throw obj!; } @@ -979,7 +979,7 @@ namespace LukeHagar.PlexAPI.SDK { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); obj!.RawResponse = httpResponse; throw obj!; } @@ -1065,7 +1065,7 @@ namespace LukeHagar.PlexAPI.SDK { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); obj!.RawResponse = httpResponse; throw obj!; } @@ -1078,7 +1078,7 @@ namespace LukeHagar.PlexAPI.SDK { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); obj!.RawResponse = httpResponse; throw obj!; } diff --git a/LukeHagar/PlexAPI/SDK/Plex.cs b/LukeHagar/PlexAPI/SDK/Plex.cs index db551f8..b1968ee 100644 --- a/LukeHagar/PlexAPI/SDK/Plex.cs +++ b/LukeHagar/PlexAPI/SDK/Plex.cs @@ -75,7 +75,7 @@ namespace LukeHagar.PlexAPI.SDK /// Get Plex server access tokens and server connections /// /// - Task GetServerResourcesAsync(GetServerResourcesRequest request, string? serverUrl = null); + Task GetServerResourcesAsync(string? xPlexClientIdentifier = null, IncludeHttps? includeHttps = null, IncludeRelay? includeRelay = null, IncludeIPv6? includeIPv6 = null, string? serverUrl = null); /// /// Get a Pin @@ -143,10 +143,10 @@ namespace LukeHagar.PlexAPI.SDK }; public SDKConfig SDKConfiguration { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.6.0"; - private const string _sdkGenVersion = "2.411.9"; + private const string _sdkVersion = "0.6.1"; + private const string _sdkGenVersion = "2.413.0"; private const string _openapiDocVersion = "0.0.3"; - private const string _userAgent = "speakeasy-sdk/csharp 0.6.0 2.411.9 0.0.3 LukeHagar.PlexAPI.SDK"; + private const string _userAgent = "speakeasy-sdk/csharp 0.6.1 2.413.0 0.0.3 LukeHagar.PlexAPI.SDK"; private string _serverUrl = ""; private ISpeakeasyHttpClient _client; private Func? _securitySource; @@ -237,7 +237,7 @@ namespace LukeHagar.PlexAPI.SDK { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); obj!.RawResponse = httpResponse; throw obj!; } @@ -250,7 +250,7 @@ namespace LukeHagar.PlexAPI.SDK { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); obj!.RawResponse = httpResponse; throw obj!; } @@ -347,7 +347,7 @@ namespace LukeHagar.PlexAPI.SDK { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); obj!.RawResponse = httpResponse; throw obj!; } @@ -360,7 +360,7 @@ namespace LukeHagar.PlexAPI.SDK { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); obj!.RawResponse = httpResponse; throw obj!; } @@ -452,7 +452,7 @@ namespace LukeHagar.PlexAPI.SDK { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); obj!.RawResponse = httpResponse; throw obj!; } @@ -465,7 +465,7 @@ namespace LukeHagar.PlexAPI.SDK { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); obj!.RawResponse = httpResponse; throw obj!; } @@ -538,7 +538,7 @@ namespace LukeHagar.PlexAPI.SDK { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); var response = new GetHomeDataResponse() { StatusCode = responseStatusCode, @@ -557,7 +557,7 @@ namespace LukeHagar.PlexAPI.SDK { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); obj!.RawResponse = httpResponse; throw obj!; } @@ -570,7 +570,7 @@ namespace LukeHagar.PlexAPI.SDK { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); obj!.RawResponse = httpResponse; throw obj!; } @@ -589,12 +589,15 @@ namespace LukeHagar.PlexAPI.SDK } } - public async Task GetServerResourcesAsync(GetServerResourcesRequest request, string? serverUrl = null) + public async Task GetServerResourcesAsync(string? xPlexClientIdentifier = null, IncludeHttps? includeHttps = null, IncludeRelay? includeRelay = null, IncludeIPv6? includeIPv6 = null, string? serverUrl = null) { - if (request == null) + var request = new GetServerResourcesRequest() { - request = new GetServerResourcesRequest(); - } + XPlexClientIdentifier = xPlexClientIdentifier, + IncludeHttps = includeHttps, + IncludeRelay = includeRelay, + IncludeIPv6 = includeIPv6, + }; request.XPlexClientIdentifier ??= SDKConfiguration.XPlexClientIdentifier; string baseUrl = Utilities.TemplateUrl(GetServerResourcesServerList[0], new Dictionary(){ @@ -672,7 +675,7 @@ namespace LukeHagar.PlexAPI.SDK { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); obj!.RawResponse = httpResponse; throw obj!; } @@ -685,7 +688,7 @@ namespace LukeHagar.PlexAPI.SDK { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); obj!.RawResponse = httpResponse; throw obj!; } @@ -784,7 +787,7 @@ namespace LukeHagar.PlexAPI.SDK { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); obj!.RawResponse = httpResponse; throw obj!; } @@ -882,7 +885,7 @@ namespace LukeHagar.PlexAPI.SDK { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); obj!.RawResponse = httpResponse; throw obj!; } @@ -895,7 +898,7 @@ namespace LukeHagar.PlexAPI.SDK { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); obj!.RawResponse = httpResponse; throw obj!; } diff --git a/LukeHagar/PlexAPI/SDK/PlexAPI.cs b/LukeHagar/PlexAPI/SDK/PlexAPI.cs index 24948fa..6bab49d 100644 --- a/LukeHagar/PlexAPI/SDK/PlexAPI.cs +++ b/LukeHagar/PlexAPI/SDK/PlexAPI.cs @@ -21,6 +21,9 @@ namespace LukeHagar.PlexAPI.SDK using System; + /// + /// The protocol to use for the server connection + /// public enum ServerProtocol { [JsonProperty("http")] @@ -268,10 +271,10 @@ namespace LukeHagar.PlexAPI.SDK public SDKConfig SDKConfiguration { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.6.0"; - private const string _sdkGenVersion = "2.411.9"; + private const string _sdkVersion = "0.6.1"; + private const string _sdkGenVersion = "2.413.0"; private const string _openapiDocVersion = "0.0.3"; - private const string _userAgent = "speakeasy-sdk/csharp 0.6.0 2.411.9 0.0.3 LukeHagar.PlexAPI.SDK"; + private const string _userAgent = "speakeasy-sdk/csharp 0.6.1 2.413.0 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 ecb6c3c..2dc9297 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.6.0"; - private const string _sdkGenVersion = "2.411.9"; + private const string _sdkVersion = "0.6.1"; + private const string _sdkGenVersion = "2.413.0"; private const string _openapiDocVersion = "0.0.3"; - private const string _userAgent = "speakeasy-sdk/csharp 0.6.0 2.411.9 0.0.3 LukeHagar.PlexAPI.SDK"; + private const string _userAgent = "speakeasy-sdk/csharp 0.6.1 2.413.0 0.0.3 LukeHagar.PlexAPI.SDK"; private string _serverUrl = ""; private ISpeakeasyHttpClient _client; private Func? _securitySource; @@ -171,7 +171,7 @@ namespace LukeHagar.PlexAPI.SDK { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); obj!.RawResponse = httpResponse; throw obj!; } @@ -184,7 +184,7 @@ namespace LukeHagar.PlexAPI.SDK { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); obj!.RawResponse = httpResponse; throw obj!; } @@ -271,7 +271,7 @@ namespace LukeHagar.PlexAPI.SDK { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); obj!.RawResponse = httpResponse; throw obj!; } @@ -284,7 +284,7 @@ namespace LukeHagar.PlexAPI.SDK { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); obj!.RawResponse = httpResponse; throw obj!; } @@ -360,7 +360,7 @@ namespace LukeHagar.PlexAPI.SDK { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); var response = new GetSearchResultsResponse() { StatusCode = responseStatusCode, @@ -379,7 +379,7 @@ namespace LukeHagar.PlexAPI.SDK { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); obj!.RawResponse = httpResponse; throw obj!; } @@ -392,7 +392,7 @@ namespace LukeHagar.PlexAPI.SDK { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); obj!.RawResponse = httpResponse; throw obj!; } diff --git a/LukeHagar/PlexAPI/SDK/Server.cs b/LukeHagar/PlexAPI/SDK/Server.cs index 086b631..924ff38 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.6.0"; - private const string _sdkGenVersion = "2.411.9"; + private const string _sdkVersion = "0.6.1"; + private const string _sdkGenVersion = "2.413.0"; private const string _openapiDocVersion = "0.0.3"; - private const string _userAgent = "speakeasy-sdk/csharp 0.6.0 2.411.9 0.0.3 LukeHagar.PlexAPI.SDK"; + private const string _userAgent = "speakeasy-sdk/csharp 0.6.1 2.413.0 0.0.3 LukeHagar.PlexAPI.SDK"; private string _serverUrl = ""; private ISpeakeasyHttpClient _client; private Func? _securitySource; @@ -196,7 +196,7 @@ namespace LukeHagar.PlexAPI.SDK { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); var response = new GetServerCapabilitiesResponse() { StatusCode = responseStatusCode, @@ -215,7 +215,7 @@ namespace LukeHagar.PlexAPI.SDK { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); obj!.RawResponse = httpResponse; throw obj!; } @@ -228,7 +228,7 @@ namespace LukeHagar.PlexAPI.SDK { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); obj!.RawResponse = httpResponse; throw obj!; } @@ -301,7 +301,7 @@ namespace LukeHagar.PlexAPI.SDK { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); var response = new GetServerPreferencesResponse() { StatusCode = responseStatusCode, @@ -320,7 +320,7 @@ namespace LukeHagar.PlexAPI.SDK { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); obj!.RawResponse = httpResponse; throw obj!; } @@ -333,7 +333,7 @@ namespace LukeHagar.PlexAPI.SDK { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); obj!.RawResponse = httpResponse; throw obj!; } @@ -406,7 +406,7 @@ namespace LukeHagar.PlexAPI.SDK { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); var response = new GetAvailableClientsResponse() { StatusCode = responseStatusCode, @@ -425,7 +425,7 @@ namespace LukeHagar.PlexAPI.SDK { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); obj!.RawResponse = httpResponse; throw obj!; } @@ -438,7 +438,7 @@ namespace LukeHagar.PlexAPI.SDK { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); obj!.RawResponse = httpResponse; throw obj!; } @@ -511,7 +511,7 @@ namespace LukeHagar.PlexAPI.SDK { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); var response = new GetDevicesResponse() { StatusCode = responseStatusCode, @@ -530,7 +530,7 @@ namespace LukeHagar.PlexAPI.SDK { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); obj!.RawResponse = httpResponse; throw obj!; } @@ -543,7 +543,7 @@ namespace LukeHagar.PlexAPI.SDK { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); obj!.RawResponse = httpResponse; throw obj!; } @@ -611,7 +611,7 @@ namespace LukeHagar.PlexAPI.SDK { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); var response = new GetServerIdentityResponse() { StatusCode = responseStatusCode, @@ -630,7 +630,7 @@ namespace LukeHagar.PlexAPI.SDK { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); obj!.RawResponse = httpResponse; throw obj!; } @@ -703,7 +703,7 @@ namespace LukeHagar.PlexAPI.SDK { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); var response = new GetMyPlexAccountResponse() { StatusCode = responseStatusCode, @@ -722,7 +722,7 @@ namespace LukeHagar.PlexAPI.SDK { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); obj!.RawResponse = httpResponse; throw obj!; } @@ -735,7 +735,7 @@ namespace LukeHagar.PlexAPI.SDK { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); obj!.RawResponse = httpResponse; throw obj!; } @@ -816,7 +816,7 @@ namespace LukeHagar.PlexAPI.SDK { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); obj!.RawResponse = httpResponse; throw obj!; } @@ -829,7 +829,7 @@ namespace LukeHagar.PlexAPI.SDK { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); obj!.RawResponse = httpResponse; throw obj!; } @@ -905,7 +905,7 @@ namespace LukeHagar.PlexAPI.SDK { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); var response = new GetMediaProvidersResponse() { StatusCode = responseStatusCode, @@ -924,7 +924,7 @@ namespace LukeHagar.PlexAPI.SDK { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); obj!.RawResponse = httpResponse; throw obj!; } @@ -937,7 +937,7 @@ namespace LukeHagar.PlexAPI.SDK { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); obj!.RawResponse = httpResponse; throw obj!; } @@ -1010,7 +1010,7 @@ namespace LukeHagar.PlexAPI.SDK { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); var response = new GetServerListResponse() { StatusCode = responseStatusCode, @@ -1029,7 +1029,7 @@ namespace LukeHagar.PlexAPI.SDK { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); obj!.RawResponse = httpResponse; throw obj!; } @@ -1042,7 +1042,7 @@ namespace LukeHagar.PlexAPI.SDK { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); obj!.RawResponse = httpResponse; throw obj!; } diff --git a/LukeHagar/PlexAPI/SDK/Sessions.cs b/LukeHagar/PlexAPI/SDK/Sessions.cs index 35f4ed7..b779bd2 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.6.0"; - private const string _sdkGenVersion = "2.411.9"; + private const string _sdkVersion = "0.6.1"; + private const string _sdkGenVersion = "2.413.0"; private const string _openapiDocVersion = "0.0.3"; - private const string _userAgent = "speakeasy-sdk/csharp 0.6.0 2.411.9 0.0.3 LukeHagar.PlexAPI.SDK"; + private const string _userAgent = "speakeasy-sdk/csharp 0.6.1 2.413.0 0.0.3 LukeHagar.PlexAPI.SDK"; private string _serverUrl = ""; private ISpeakeasyHttpClient _client; private Func? _securitySource; @@ -150,7 +150,7 @@ namespace LukeHagar.PlexAPI.SDK { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); var response = new GetSessionsResponse() { StatusCode = responseStatusCode, @@ -169,7 +169,7 @@ namespace LukeHagar.PlexAPI.SDK { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); obj!.RawResponse = httpResponse; throw obj!; } @@ -182,7 +182,7 @@ namespace LukeHagar.PlexAPI.SDK { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); obj!.RawResponse = httpResponse; throw obj!; } @@ -261,7 +261,7 @@ namespace LukeHagar.PlexAPI.SDK { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); var response = new GetSessionHistoryResponse() { StatusCode = responseStatusCode, @@ -280,7 +280,7 @@ namespace LukeHagar.PlexAPI.SDK { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); obj!.RawResponse = httpResponse; throw obj!; } @@ -293,7 +293,7 @@ namespace LukeHagar.PlexAPI.SDK { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); obj!.RawResponse = httpResponse; throw obj!; } @@ -366,7 +366,7 @@ namespace LukeHagar.PlexAPI.SDK { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); var response = new GetTranscodeSessionsResponse() { StatusCode = responseStatusCode, @@ -385,7 +385,7 @@ namespace LukeHagar.PlexAPI.SDK { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); obj!.RawResponse = httpResponse; throw obj!; } @@ -398,7 +398,7 @@ namespace LukeHagar.PlexAPI.SDK { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); obj!.RawResponse = httpResponse; throw obj!; } @@ -483,7 +483,7 @@ namespace LukeHagar.PlexAPI.SDK { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); obj!.RawResponse = httpResponse; throw obj!; } @@ -496,7 +496,7 @@ namespace LukeHagar.PlexAPI.SDK { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); obj!.RawResponse = httpResponse; throw obj!; } diff --git a/LukeHagar/PlexAPI/SDK/Statistics.cs b/LukeHagar/PlexAPI/SDK/Statistics.cs index 64ba972..ee11020 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.6.0"; - private const string _sdkGenVersion = "2.411.9"; + private const string _sdkVersion = "0.6.1"; + private const string _sdkGenVersion = "2.413.0"; private const string _openapiDocVersion = "0.0.3"; - private const string _userAgent = "speakeasy-sdk/csharp 0.6.0 2.411.9 0.0.3 LukeHagar.PlexAPI.SDK"; + private const string _userAgent = "speakeasy-sdk/csharp 0.6.1 2.413.0 0.0.3 LukeHagar.PlexAPI.SDK"; private string _serverUrl = ""; private ISpeakeasyHttpClient _client; private Func? _securitySource; @@ -144,7 +144,7 @@ namespace LukeHagar.PlexAPI.SDK { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); var response = new GetStatisticsResponse() { StatusCode = responseStatusCode, @@ -163,7 +163,7 @@ namespace LukeHagar.PlexAPI.SDK { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); obj!.RawResponse = httpResponse; throw obj!; } @@ -176,7 +176,7 @@ namespace LukeHagar.PlexAPI.SDK { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); obj!.RawResponse = httpResponse; throw obj!; } @@ -252,7 +252,7 @@ namespace LukeHagar.PlexAPI.SDK { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); var response = new GetResourcesStatisticsResponse() { StatusCode = responseStatusCode, @@ -271,7 +271,7 @@ namespace LukeHagar.PlexAPI.SDK { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); obj!.RawResponse = httpResponse; throw obj!; } @@ -284,7 +284,7 @@ namespace LukeHagar.PlexAPI.SDK { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); obj!.RawResponse = httpResponse; throw obj!; } @@ -360,7 +360,7 @@ namespace LukeHagar.PlexAPI.SDK { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); var response = new GetBandwidthStatisticsResponse() { StatusCode = responseStatusCode, @@ -379,7 +379,7 @@ namespace LukeHagar.PlexAPI.SDK { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); obj!.RawResponse = httpResponse; throw obj!; } @@ -392,7 +392,7 @@ namespace LukeHagar.PlexAPI.SDK { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); obj!.RawResponse = httpResponse; throw obj!; } diff --git a/LukeHagar/PlexAPI/SDK/Updater.cs b/LukeHagar/PlexAPI/SDK/Updater.cs index d51054e..0f7526f 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.6.0"; - private const string _sdkGenVersion = "2.411.9"; + private const string _sdkVersion = "0.6.1"; + private const string _sdkGenVersion = "2.413.0"; private const string _openapiDocVersion = "0.0.3"; - private const string _userAgent = "speakeasy-sdk/csharp 0.6.0 2.411.9 0.0.3 LukeHagar.PlexAPI.SDK"; + private const string _userAgent = "speakeasy-sdk/csharp 0.6.1 2.413.0 0.0.3 LukeHagar.PlexAPI.SDK"; private string _serverUrl = ""; private ISpeakeasyHttpClient _client; private Func? _securitySource; @@ -144,7 +144,7 @@ namespace LukeHagar.PlexAPI.SDK { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); var response = new GetUpdateStatusResponse() { StatusCode = responseStatusCode, @@ -163,7 +163,7 @@ namespace LukeHagar.PlexAPI.SDK { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); obj!.RawResponse = httpResponse; throw obj!; } @@ -176,7 +176,7 @@ namespace LukeHagar.PlexAPI.SDK { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); obj!.RawResponse = httpResponse; throw obj!; } @@ -261,7 +261,7 @@ namespace LukeHagar.PlexAPI.SDK { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); obj!.RawResponse = httpResponse; throw obj!; } @@ -274,7 +274,7 @@ namespace LukeHagar.PlexAPI.SDK { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); obj!.RawResponse = httpResponse; throw obj!; } @@ -360,7 +360,7 @@ namespace LukeHagar.PlexAPI.SDK { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); obj!.RawResponse = httpResponse; throw obj!; } @@ -373,7 +373,7 @@ namespace LukeHagar.PlexAPI.SDK { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); obj!.RawResponse = httpResponse; throw obj!; } diff --git a/LukeHagar/PlexAPI/SDK/Video.cs b/LukeHagar/PlexAPI/SDK/Video.cs index 50ccf99..7d7a9a8 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.6.0"; - private const string _sdkGenVersion = "2.411.9"; + private const string _sdkVersion = "0.6.1"; + private const string _sdkGenVersion = "2.413.0"; private const string _openapiDocVersion = "0.0.3"; - private const string _userAgent = "speakeasy-sdk/csharp 0.6.0 2.411.9 0.0.3 LukeHagar.PlexAPI.SDK"; + private const string _userAgent = "speakeasy-sdk/csharp 0.6.1 2.413.0 0.0.3 LukeHagar.PlexAPI.SDK"; private string _serverUrl = ""; private ISpeakeasyHttpClient _client; private Func? _securitySource; @@ -140,7 +140,7 @@ namespace LukeHagar.PlexAPI.SDK { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); obj!.RawResponse = httpResponse; throw obj!; } @@ -153,7 +153,7 @@ namespace LukeHagar.PlexAPI.SDK { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); obj!.RawResponse = httpResponse; throw obj!; } @@ -234,7 +234,7 @@ namespace LukeHagar.PlexAPI.SDK { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); obj!.RawResponse = httpResponse; throw obj!; } @@ -247,7 +247,7 @@ namespace LukeHagar.PlexAPI.SDK { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); obj!.RawResponse = httpResponse; throw obj!; } diff --git a/LukeHagar/PlexAPI/SDK/Watchlist.cs b/LukeHagar/PlexAPI/SDK/Watchlist.cs index 7b1f6c8..f86a7b2 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.6.0"; - private const string _sdkGenVersion = "2.411.9"; + private const string _sdkVersion = "0.6.1"; + private const string _sdkGenVersion = "2.413.0"; private const string _openapiDocVersion = "0.0.3"; - private const string _userAgent = "speakeasy-sdk/csharp 0.6.0 2.411.9 0.0.3 LukeHagar.PlexAPI.SDK"; + private const string _userAgent = "speakeasy-sdk/csharp 0.6.1 2.413.0 0.0.3 LukeHagar.PlexAPI.SDK"; private string _serverUrl = ""; private ISpeakeasyHttpClient _client; private Func? _securitySource; @@ -133,7 +133,7 @@ namespace LukeHagar.PlexAPI.SDK { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); var response = new GetWatchListResponse() { StatusCode = responseStatusCode, @@ -152,7 +152,7 @@ namespace LukeHagar.PlexAPI.SDK { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); obj!.RawResponse = httpResponse; throw obj!; } @@ -165,7 +165,7 @@ namespace LukeHagar.PlexAPI.SDK { if(Utilities.IsContentTypeMatch("application/json", contentType)) { - var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); + var obj = ResponseBodyDeserializer.Deserialize(await httpResponse.Content.ReadAsStringAsync(), NullValueHandling.Ignore); obj!.RawResponse = httpResponse; throw obj!; } diff --git a/NUGET.md b/NUGET.md index 8c17339..03d8d3a 100644 --- a/NUGET.md +++ b/NUGET.md @@ -55,14 +55,12 @@ var sdk = new PlexAPI( xPlexClientIdentifier: "gcgzw5rz2xovp84b4vha3a40" ); -GetServerResourcesRequest req = new GetServerResourcesRequest() { - XPlexToken = "CV5xoxjTpFKUzBTShsaf", - IncludeHttps = LukeHagar.PlexAPI.SDK.Models.Requests.IncludeHttps.One, - IncludeRelay = LukeHagar.PlexAPI.SDK.Models.Requests.IncludeRelay.One, - IncludeIPv6 = LukeHagar.PlexAPI.SDK.Models.Requests.IncludeIPv6.One, -}; - -var res = await sdk.Plex.GetServerResourcesAsync(req); +var res = await sdk.Plex.GetServerResourcesAsync( + xPlexClientIdentifier: "gcgzw5rz2xovp84b4vha3a40", + includeHttps: LukeHagar.PlexAPI.SDK.Models.Requests.IncludeHttps.One, + includeRelay: LukeHagar.PlexAPI.SDK.Models.Requests.IncludeRelay.One, + includeIPv6: LukeHagar.PlexAPI.SDK.Models.Requests.IncludeIPv6.One +); // handle response ``` @@ -73,11 +71,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 | 400 | application/json | -| LukeHagar.PlexAPI.SDK.Models.Errors.GetServerCapabilitiesServerResponseBody | 401 | application/json | -| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | +| Error Object | Status Code | Content Type | +| --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | +| LukeHagar.PlexAPI.SDK.Models.Errors.GetServerCapabilitiesBadRequest | 400 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.GetServerCapabilitiesUnauthorized | 401 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | ### Example @@ -100,11 +98,11 @@ try } catch (Exception ex) { - if (ex is Models.Errors.GetServerCapabilitiesResponseBody) + if (ex is GetServerCapabilitiesBadRequest) { // handle exception } - else if (ex is GetServerCapabilitiesServerResponseBody) + else if (ex is GetServerCapabilitiesUnauthorized) { // handle exception } diff --git a/README.md b/README.md index 1b31ead..1ab8ac2 100644 --- a/README.md +++ b/README.md @@ -146,9 +146,9 @@ var res = await sdk.Server.GetServerCapabilitiesAsync(); ### [Authentication](docs/sdks/authentication/README.md) -* [GetTransientToken](docs/sdks/authentication/README.md#gettransienttoken) - Get a Transient Token. +* [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 +* [GetTokenDetails](docs/sdks/authentication/README.md#gettokendetails) - Get Token Details * [PostUsersSignInData](docs/sdks/authentication/README.md#postuserssignindata) - Get User Sign In Data ### [Statistics](docs/sdks/statistics/README.md) @@ -275,14 +275,12 @@ var sdk = new PlexAPI( xPlexClientIdentifier: "gcgzw5rz2xovp84b4vha3a40" ); -GetServerResourcesRequest req = new GetServerResourcesRequest() { - XPlexToken = "CV5xoxjTpFKUzBTShsaf", - IncludeHttps = LukeHagar.PlexAPI.SDK.Models.Requests.IncludeHttps.One, - IncludeRelay = LukeHagar.PlexAPI.SDK.Models.Requests.IncludeRelay.One, - IncludeIPv6 = LukeHagar.PlexAPI.SDK.Models.Requests.IncludeIPv6.One, -}; - -var res = await sdk.Plex.GetServerResourcesAsync(req); +var res = await sdk.Plex.GetServerResourcesAsync( + xPlexClientIdentifier: "gcgzw5rz2xovp84b4vha3a40", + includeHttps: LukeHagar.PlexAPI.SDK.Models.Requests.IncludeHttps.One, + includeRelay: LukeHagar.PlexAPI.SDK.Models.Requests.IncludeRelay.One, + includeIPv6: LukeHagar.PlexAPI.SDK.Models.Requests.IncludeIPv6.One +); // handle response ``` @@ -293,11 +291,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 | 400 | application/json | -| LukeHagar.PlexAPI.SDK.Models.Errors.GetServerCapabilitiesServerResponseBody | 401 | application/json | -| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | +| Error Object | Status Code | Content Type | +| --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | +| LukeHagar.PlexAPI.SDK.Models.Errors.GetServerCapabilitiesBadRequest | 400 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.GetServerCapabilitiesUnauthorized | 401 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | ### Example @@ -320,11 +318,11 @@ try } catch (Exception ex) { - if (ex is Models.Errors.GetServerCapabilitiesResponseBody) + if (ex is GetServerCapabilitiesBadRequest) { // handle exception } - else if (ex is GetServerCapabilitiesServerResponseBody) + else if (ex is GetServerCapabilitiesUnauthorized) { // handle exception } diff --git a/RELEASES.md b/RELEASES.md index 3ad47da..d6f1423 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -124,4 +124,14 @@ Based on: ### 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 +- [NuGet v0.6.0] https://www.nuget.org/packages/LukeHagar.PlexAPI.SDK/0.6.0 - . + +## 2024-09-10 00:20:03 +### Changes +Based on: +- OpenAPI Doc +- Speakeasy CLI 1.394.0 (2.413.0) https://github.com/speakeasy-api/speakeasy +### Generated +- [csharp v0.6.1] . +### Releases +- [NuGet v0.6.1] https://www.nuget.org/packages/LukeHagar.PlexAPI.SDK/0.6.1 - . \ No newline at end of file diff --git a/docs/Models/Errors/AddPlaylistContentsResponseBody.md b/docs/Models/Errors/AddPlaylistContentsBadRequest.md similarity index 98% rename from docs/Models/Errors/AddPlaylistContentsResponseBody.md rename to docs/Models/Errors/AddPlaylistContentsBadRequest.md index 90b3761..fa38c09 100644 --- a/docs/Models/Errors/AddPlaylistContentsResponseBody.md +++ b/docs/Models/Errors/AddPlaylistContentsBadRequest.md @@ -1,4 +1,4 @@ -# AddPlaylistContentsResponseBody +# AddPlaylistContentsBadRequest Bad Request - A parameter was not specified, or was specified incorrectly. diff --git a/docs/Models/Errors/AddPlaylistContentsPlaylistsResponseBody.md b/docs/Models/Errors/AddPlaylistContentsUnauthorized.md similarity index 97% rename from docs/Models/Errors/AddPlaylistContentsPlaylistsResponseBody.md rename to docs/Models/Errors/AddPlaylistContentsUnauthorized.md index cf1b6a4..1c6edca 100644 --- a/docs/Models/Errors/AddPlaylistContentsPlaylistsResponseBody.md +++ b/docs/Models/Errors/AddPlaylistContentsUnauthorized.md @@ -1,4 +1,4 @@ -# AddPlaylistContentsPlaylistsResponseBody +# AddPlaylistContentsUnauthorized Unauthorized - Returned if the X-Plex-Token is missing from the header or query. diff --git a/docs/Models/Errors/ApplyUpdatesResponseBody.md b/docs/Models/Errors/ApplyUpdatesBadRequest.md similarity index 98% rename from docs/Models/Errors/ApplyUpdatesResponseBody.md rename to docs/Models/Errors/ApplyUpdatesBadRequest.md index c48fc16..4f0e3d7 100644 --- a/docs/Models/Errors/ApplyUpdatesResponseBody.md +++ b/docs/Models/Errors/ApplyUpdatesBadRequest.md @@ -1,4 +1,4 @@ -# ApplyUpdatesResponseBody +# ApplyUpdatesBadRequest Bad Request - A parameter was not specified, or was specified incorrectly. diff --git a/docs/Models/Errors/ApplyUpdatesUpdaterResponseBody.md b/docs/Models/Errors/ApplyUpdatesUnauthorized.md similarity index 98% rename from docs/Models/Errors/ApplyUpdatesUpdaterResponseBody.md rename to docs/Models/Errors/ApplyUpdatesUnauthorized.md index 51e3f3f..67ad3e1 100644 --- a/docs/Models/Errors/ApplyUpdatesUpdaterResponseBody.md +++ b/docs/Models/Errors/ApplyUpdatesUnauthorized.md @@ -1,4 +1,4 @@ -# ApplyUpdatesUpdaterResponseBody +# ApplyUpdatesUnauthorized Unauthorized - Returned if the X-Plex-Token is missing from the header or query. diff --git a/docs/Models/Errors/CancelServerActivitiesResponseBody.md b/docs/Models/Errors/CancelServerActivitiesBadRequest.md similarity index 98% rename from docs/Models/Errors/CancelServerActivitiesResponseBody.md rename to docs/Models/Errors/CancelServerActivitiesBadRequest.md index bd2300c..17fe054 100644 --- a/docs/Models/Errors/CancelServerActivitiesResponseBody.md +++ b/docs/Models/Errors/CancelServerActivitiesBadRequest.md @@ -1,4 +1,4 @@ -# CancelServerActivitiesResponseBody +# CancelServerActivitiesBadRequest Bad Request - A parameter was not specified, or was specified incorrectly. diff --git a/docs/Models/Errors/CancelServerActivitiesActivitiesResponseBody.md b/docs/Models/Errors/CancelServerActivitiesUnauthorized.md similarity index 97% rename from docs/Models/Errors/CancelServerActivitiesActivitiesResponseBody.md rename to docs/Models/Errors/CancelServerActivitiesUnauthorized.md index ddb8ea8..3aa8a8b 100644 --- a/docs/Models/Errors/CancelServerActivitiesActivitiesResponseBody.md +++ b/docs/Models/Errors/CancelServerActivitiesUnauthorized.md @@ -1,4 +1,4 @@ -# CancelServerActivitiesActivitiesResponseBody +# CancelServerActivitiesUnauthorized Unauthorized - Returned if the X-Plex-Token is missing from the header or query. diff --git a/docs/Models/Errors/CheckForUpdatesResponseBody.md b/docs/Models/Errors/CheckForUpdatesBadRequest.md similarity index 98% rename from docs/Models/Errors/CheckForUpdatesResponseBody.md rename to docs/Models/Errors/CheckForUpdatesBadRequest.md index c0ff3cc..208638b 100644 --- a/docs/Models/Errors/CheckForUpdatesResponseBody.md +++ b/docs/Models/Errors/CheckForUpdatesBadRequest.md @@ -1,4 +1,4 @@ -# CheckForUpdatesResponseBody +# CheckForUpdatesBadRequest Bad Request - A parameter was not specified, or was specified incorrectly. diff --git a/docs/Models/Errors/CheckForUpdatesUpdaterResponseBody.md b/docs/Models/Errors/CheckForUpdatesUnauthorized.md similarity index 98% rename from docs/Models/Errors/CheckForUpdatesUpdaterResponseBody.md rename to docs/Models/Errors/CheckForUpdatesUnauthorized.md index 41dbefb..fc36583 100644 --- a/docs/Models/Errors/CheckForUpdatesUpdaterResponseBody.md +++ b/docs/Models/Errors/CheckForUpdatesUnauthorized.md @@ -1,4 +1,4 @@ -# CheckForUpdatesUpdaterResponseBody +# CheckForUpdatesUnauthorized Unauthorized - Returned if the X-Plex-Token is missing from the header or query. diff --git a/docs/Models/Errors/ClearPlaylistContentsResponseBody.md b/docs/Models/Errors/ClearPlaylistContentsBadRequest.md similarity index 98% rename from docs/Models/Errors/ClearPlaylistContentsResponseBody.md rename to docs/Models/Errors/ClearPlaylistContentsBadRequest.md index 4dad4ea..58bc691 100644 --- a/docs/Models/Errors/ClearPlaylistContentsResponseBody.md +++ b/docs/Models/Errors/ClearPlaylistContentsBadRequest.md @@ -1,4 +1,4 @@ -# ClearPlaylistContentsResponseBody +# ClearPlaylistContentsBadRequest Bad Request - A parameter was not specified, or was specified incorrectly. diff --git a/docs/Models/Errors/ClearPlaylistContentsPlaylistsResponseBody.md b/docs/Models/Errors/ClearPlaylistContentsUnauthorized.md similarity index 97% rename from docs/Models/Errors/ClearPlaylistContentsPlaylistsResponseBody.md rename to docs/Models/Errors/ClearPlaylistContentsUnauthorized.md index 93b4123..8c9bb62 100644 --- a/docs/Models/Errors/ClearPlaylistContentsPlaylistsResponseBody.md +++ b/docs/Models/Errors/ClearPlaylistContentsUnauthorized.md @@ -1,4 +1,4 @@ -# ClearPlaylistContentsPlaylistsResponseBody +# ClearPlaylistContentsUnauthorized Unauthorized - Returned if the X-Plex-Token is missing from the header or query. diff --git a/docs/Models/Errors/CreatePlaylistResponseBody.md b/docs/Models/Errors/CreatePlaylistBadRequest.md similarity index 98% rename from docs/Models/Errors/CreatePlaylistResponseBody.md rename to docs/Models/Errors/CreatePlaylistBadRequest.md index 0428d78..437ccd9 100644 --- a/docs/Models/Errors/CreatePlaylistResponseBody.md +++ b/docs/Models/Errors/CreatePlaylistBadRequest.md @@ -1,4 +1,4 @@ -# CreatePlaylistResponseBody +# CreatePlaylistBadRequest Bad Request - A parameter was not specified, or was specified incorrectly. diff --git a/docs/Models/Errors/CreatePlaylistPlaylistsResponseBody.md b/docs/Models/Errors/CreatePlaylistUnauthorized.md similarity index 98% rename from docs/Models/Errors/CreatePlaylistPlaylistsResponseBody.md rename to docs/Models/Errors/CreatePlaylistUnauthorized.md index e0aeec9..7e6ee38 100644 --- a/docs/Models/Errors/CreatePlaylistPlaylistsResponseBody.md +++ b/docs/Models/Errors/CreatePlaylistUnauthorized.md @@ -1,4 +1,4 @@ -# CreatePlaylistPlaylistsResponseBody +# CreatePlaylistUnauthorized Unauthorized - Returned if the X-Plex-Token is missing from the header or query. diff --git a/docs/Models/Errors/DeleteLibraryResponseBody.md b/docs/Models/Errors/DeleteLibraryBadRequest.md similarity index 98% rename from docs/Models/Errors/DeleteLibraryResponseBody.md rename to docs/Models/Errors/DeleteLibraryBadRequest.md index 048ddc8..34eb02c 100644 --- a/docs/Models/Errors/DeleteLibraryResponseBody.md +++ b/docs/Models/Errors/DeleteLibraryBadRequest.md @@ -1,4 +1,4 @@ -# DeleteLibraryResponseBody +# DeleteLibraryBadRequest Bad Request - A parameter was not specified, or was specified incorrectly. diff --git a/docs/Models/Errors/DeleteLibraryLibraryResponseBody.md b/docs/Models/Errors/DeleteLibraryUnauthorized.md similarity index 98% rename from docs/Models/Errors/DeleteLibraryLibraryResponseBody.md rename to docs/Models/Errors/DeleteLibraryUnauthorized.md index d4efa82..1674c95 100644 --- a/docs/Models/Errors/DeleteLibraryLibraryResponseBody.md +++ b/docs/Models/Errors/DeleteLibraryUnauthorized.md @@ -1,4 +1,4 @@ -# DeleteLibraryLibraryResponseBody +# DeleteLibraryUnauthorized Unauthorized - Returned if the X-Plex-Token is missing from the header or query. diff --git a/docs/Models/Errors/DeletePlaylistResponseBody.md b/docs/Models/Errors/DeletePlaylistBadRequest.md similarity index 98% rename from docs/Models/Errors/DeletePlaylistResponseBody.md rename to docs/Models/Errors/DeletePlaylistBadRequest.md index 2655e2c..c8d39a0 100644 --- a/docs/Models/Errors/DeletePlaylistResponseBody.md +++ b/docs/Models/Errors/DeletePlaylistBadRequest.md @@ -1,4 +1,4 @@ -# DeletePlaylistResponseBody +# DeletePlaylistBadRequest Bad Request - A parameter was not specified, or was specified incorrectly. diff --git a/docs/Models/Errors/DeletePlaylistPlaylistsResponseBody.md b/docs/Models/Errors/DeletePlaylistUnauthorized.md similarity index 98% rename from docs/Models/Errors/DeletePlaylistPlaylistsResponseBody.md rename to docs/Models/Errors/DeletePlaylistUnauthorized.md index f024e55..e872edd 100644 --- a/docs/Models/Errors/DeletePlaylistPlaylistsResponseBody.md +++ b/docs/Models/Errors/DeletePlaylistUnauthorized.md @@ -1,4 +1,4 @@ -# DeletePlaylistPlaylistsResponseBody +# DeletePlaylistUnauthorized Unauthorized - Returned if the X-Plex-Token is missing from the header or query. diff --git a/docs/Models/Errors/EnablePaperTrailResponseBody.md b/docs/Models/Errors/EnablePaperTrailBadRequest.md similarity index 98% rename from docs/Models/Errors/EnablePaperTrailResponseBody.md rename to docs/Models/Errors/EnablePaperTrailBadRequest.md index 9cdd972..041c9e9 100644 --- a/docs/Models/Errors/EnablePaperTrailResponseBody.md +++ b/docs/Models/Errors/EnablePaperTrailBadRequest.md @@ -1,4 +1,4 @@ -# EnablePaperTrailResponseBody +# EnablePaperTrailBadRequest Bad Request - A parameter was not specified, or was specified incorrectly. diff --git a/docs/Models/Errors/EnablePaperTrailLogResponseBody.md b/docs/Models/Errors/EnablePaperTrailUnauthorized.md similarity index 98% rename from docs/Models/Errors/EnablePaperTrailLogResponseBody.md rename to docs/Models/Errors/EnablePaperTrailUnauthorized.md index 3d16c8d..b4e733c 100644 --- a/docs/Models/Errors/EnablePaperTrailLogResponseBody.md +++ b/docs/Models/Errors/EnablePaperTrailUnauthorized.md @@ -1,4 +1,4 @@ -# EnablePaperTrailLogResponseBody +# EnablePaperTrailUnauthorized Unauthorized - Returned if the X-Plex-Token is missing from the header or query. diff --git a/docs/Models/Errors/GetAllLibrariesResponseBody.md b/docs/Models/Errors/GetAllLibrariesBadRequest.md similarity index 98% rename from docs/Models/Errors/GetAllLibrariesResponseBody.md rename to docs/Models/Errors/GetAllLibrariesBadRequest.md index b8fc27e..3acdce2 100644 --- a/docs/Models/Errors/GetAllLibrariesResponseBody.md +++ b/docs/Models/Errors/GetAllLibrariesBadRequest.md @@ -1,4 +1,4 @@ -# GetAllLibrariesResponseBody +# GetAllLibrariesBadRequest Bad Request - A parameter was not specified, or was specified incorrectly. diff --git a/docs/Models/Errors/GetAllLibrariesLibraryResponseBody.md b/docs/Models/Errors/GetAllLibrariesUnauthorized.md similarity index 98% rename from docs/Models/Errors/GetAllLibrariesLibraryResponseBody.md rename to docs/Models/Errors/GetAllLibrariesUnauthorized.md index 1445ce4..49648c5 100644 --- a/docs/Models/Errors/GetAllLibrariesLibraryResponseBody.md +++ b/docs/Models/Errors/GetAllLibrariesUnauthorized.md @@ -1,4 +1,4 @@ -# GetAllLibrariesLibraryResponseBody +# GetAllLibrariesUnauthorized Unauthorized - Returned if the X-Plex-Token is missing from the header or query. diff --git a/docs/Models/Errors/GetAvailableClientsResponseBody.md b/docs/Models/Errors/GetAvailableClientsBadRequest.md similarity index 98% rename from docs/Models/Errors/GetAvailableClientsResponseBody.md rename to docs/Models/Errors/GetAvailableClientsBadRequest.md index fb17021..4e340d1 100644 --- a/docs/Models/Errors/GetAvailableClientsResponseBody.md +++ b/docs/Models/Errors/GetAvailableClientsBadRequest.md @@ -1,4 +1,4 @@ -# GetAvailableClientsResponseBody +# GetAvailableClientsBadRequest Bad Request - A parameter was not specified, or was specified incorrectly. diff --git a/docs/Models/Errors/GetAvailableClientsServerResponseBody.md b/docs/Models/Errors/GetAvailableClientsUnauthorized.md similarity index 98% rename from docs/Models/Errors/GetAvailableClientsServerResponseBody.md rename to docs/Models/Errors/GetAvailableClientsUnauthorized.md index d8d7950..708610b 100644 --- a/docs/Models/Errors/GetAvailableClientsServerResponseBody.md +++ b/docs/Models/Errors/GetAvailableClientsUnauthorized.md @@ -1,4 +1,4 @@ -# GetAvailableClientsServerResponseBody +# GetAvailableClientsUnauthorized Unauthorized - Returned if the X-Plex-Token is missing from the header or query. diff --git a/docs/Models/Errors/GetBandwidthStatisticsResponseBody.md b/docs/Models/Errors/GetBandwidthStatisticsBadRequest.md similarity index 98% rename from docs/Models/Errors/GetBandwidthStatisticsResponseBody.md rename to docs/Models/Errors/GetBandwidthStatisticsBadRequest.md index 2a3475f..339f899 100644 --- a/docs/Models/Errors/GetBandwidthStatisticsResponseBody.md +++ b/docs/Models/Errors/GetBandwidthStatisticsBadRequest.md @@ -1,4 +1,4 @@ -# GetBandwidthStatisticsResponseBody +# GetBandwidthStatisticsBadRequest Bad Request - A parameter was not specified, or was specified incorrectly. diff --git a/docs/Models/Errors/GetBandwidthStatisticsStatisticsResponseBody.md b/docs/Models/Errors/GetBandwidthStatisticsUnauthorized.md similarity index 97% rename from docs/Models/Errors/GetBandwidthStatisticsStatisticsResponseBody.md rename to docs/Models/Errors/GetBandwidthStatisticsUnauthorized.md index 400b106..6026e84 100644 --- a/docs/Models/Errors/GetBandwidthStatisticsStatisticsResponseBody.md +++ b/docs/Models/Errors/GetBandwidthStatisticsUnauthorized.md @@ -1,4 +1,4 @@ -# GetBandwidthStatisticsStatisticsResponseBody +# GetBandwidthStatisticsUnauthorized Unauthorized - Returned if the X-Plex-Token is missing from the header or query. diff --git a/docs/Models/Errors/GetBannerImageResponseBody.md b/docs/Models/Errors/GetBannerImageBadRequest.md similarity index 98% rename from docs/Models/Errors/GetBannerImageResponseBody.md rename to docs/Models/Errors/GetBannerImageBadRequest.md index 989994d..a36b606 100644 --- a/docs/Models/Errors/GetBannerImageResponseBody.md +++ b/docs/Models/Errors/GetBannerImageBadRequest.md @@ -1,4 +1,4 @@ -# GetBannerImageResponseBody +# GetBannerImageBadRequest Bad Request - A parameter was not specified, or was specified incorrectly. diff --git a/docs/Models/Errors/GetBannerImageMediaResponseBody.md b/docs/Models/Errors/GetBannerImageUnauthorized.md similarity index 98% rename from docs/Models/Errors/GetBannerImageMediaResponseBody.md rename to docs/Models/Errors/GetBannerImageUnauthorized.md index 38a1982..efaacc2 100644 --- a/docs/Models/Errors/GetBannerImageMediaResponseBody.md +++ b/docs/Models/Errors/GetBannerImageUnauthorized.md @@ -1,4 +1,4 @@ -# GetBannerImageMediaResponseBody +# GetBannerImageUnauthorized Unauthorized - Returned if the X-Plex-Token is missing from the header or query. diff --git a/docs/Models/Errors/GetButlerTasksResponseBody.md b/docs/Models/Errors/GetButlerTasksBadRequest.md similarity index 98% rename from docs/Models/Errors/GetButlerTasksResponseBody.md rename to docs/Models/Errors/GetButlerTasksBadRequest.md index ec0d683..608cbf0 100644 --- a/docs/Models/Errors/GetButlerTasksResponseBody.md +++ b/docs/Models/Errors/GetButlerTasksBadRequest.md @@ -1,4 +1,4 @@ -# GetButlerTasksResponseBody +# GetButlerTasksBadRequest Bad Request - A parameter was not specified, or was specified incorrectly. diff --git a/docs/Models/Errors/GetButlerTasksButlerResponseBody.md b/docs/Models/Errors/GetButlerTasksUnauthorized.md similarity index 98% rename from docs/Models/Errors/GetButlerTasksButlerResponseBody.md rename to docs/Models/Errors/GetButlerTasksUnauthorized.md index 0ac0be6..27f4dbd 100644 --- a/docs/Models/Errors/GetButlerTasksButlerResponseBody.md +++ b/docs/Models/Errors/GetButlerTasksUnauthorized.md @@ -1,4 +1,4 @@ -# GetButlerTasksButlerResponseBody +# GetButlerTasksUnauthorized Unauthorized - Returned if the X-Plex-Token is missing from the header or query. diff --git a/docs/Models/Errors/GetCompanionsDataResponseBody.md b/docs/Models/Errors/GetCompanionsDataBadRequest.md similarity index 98% rename from docs/Models/Errors/GetCompanionsDataResponseBody.md rename to docs/Models/Errors/GetCompanionsDataBadRequest.md index c1324b6..b6de89b 100644 --- a/docs/Models/Errors/GetCompanionsDataResponseBody.md +++ b/docs/Models/Errors/GetCompanionsDataBadRequest.md @@ -1,4 +1,4 @@ -# GetCompanionsDataResponseBody +# GetCompanionsDataBadRequest Bad Request - A parameter was not specified, or was specified incorrectly. diff --git a/docs/Models/Errors/GetCompanionsDataPlexResponseBody.md b/docs/Models/Errors/GetCompanionsDataUnauthorized.md similarity index 98% rename from docs/Models/Errors/GetCompanionsDataPlexResponseBody.md rename to docs/Models/Errors/GetCompanionsDataUnauthorized.md index 77dd77e..972ca03 100644 --- a/docs/Models/Errors/GetCompanionsDataPlexResponseBody.md +++ b/docs/Models/Errors/GetCompanionsDataUnauthorized.md @@ -1,4 +1,4 @@ -# GetCompanionsDataPlexResponseBody +# GetCompanionsDataUnauthorized Unauthorized - Returned if the X-Plex-Token is missing from the header or query. diff --git a/docs/Models/Errors/GetDevicesResponseBody.md b/docs/Models/Errors/GetDevicesBadRequest.md similarity index 98% rename from docs/Models/Errors/GetDevicesResponseBody.md rename to docs/Models/Errors/GetDevicesBadRequest.md index 07770c4..bf1ae51 100644 --- a/docs/Models/Errors/GetDevicesResponseBody.md +++ b/docs/Models/Errors/GetDevicesBadRequest.md @@ -1,4 +1,4 @@ -# GetDevicesResponseBody +# GetDevicesBadRequest Bad Request - A parameter was not specified, or was specified incorrectly. diff --git a/docs/Models/Errors/GetDevicesServerResponseBody.md b/docs/Models/Errors/GetDevicesUnauthorized.md similarity index 98% rename from docs/Models/Errors/GetDevicesServerResponseBody.md rename to docs/Models/Errors/GetDevicesUnauthorized.md index 044c8ec..7d528db 100644 --- a/docs/Models/Errors/GetDevicesServerResponseBody.md +++ b/docs/Models/Errors/GetDevicesUnauthorized.md @@ -1,4 +1,4 @@ -# GetDevicesServerResponseBody +# GetDevicesUnauthorized Unauthorized - Returned if the X-Plex-Token is missing from the header or query. diff --git a/docs/Models/Errors/GetFileHashResponseBody.md b/docs/Models/Errors/GetFileHashBadRequest.md similarity index 98% rename from docs/Models/Errors/GetFileHashResponseBody.md rename to docs/Models/Errors/GetFileHashBadRequest.md index 7d2d8f7..673d127 100644 --- a/docs/Models/Errors/GetFileHashResponseBody.md +++ b/docs/Models/Errors/GetFileHashBadRequest.md @@ -1,4 +1,4 @@ -# GetFileHashResponseBody +# GetFileHashBadRequest Bad Request - A parameter was not specified, or was specified incorrectly. diff --git a/docs/Models/Errors/GetFileHashLibraryResponseBody.md b/docs/Models/Errors/GetFileHashUnauthorized.md similarity index 98% rename from docs/Models/Errors/GetFileHashLibraryResponseBody.md rename to docs/Models/Errors/GetFileHashUnauthorized.md index 3448d36..38695d2 100644 --- a/docs/Models/Errors/GetFileHashLibraryResponseBody.md +++ b/docs/Models/Errors/GetFileHashUnauthorized.md @@ -1,4 +1,4 @@ -# GetFileHashLibraryResponseBody +# GetFileHashUnauthorized Unauthorized - Returned if the X-Plex-Token is missing from the header or query. diff --git a/docs/Models/Errors/GetGeoDataResponseBody.md b/docs/Models/Errors/GetGeoDataBadRequest.md similarity index 98% rename from docs/Models/Errors/GetGeoDataResponseBody.md rename to docs/Models/Errors/GetGeoDataBadRequest.md index 3a104ce..b024343 100644 --- a/docs/Models/Errors/GetGeoDataResponseBody.md +++ b/docs/Models/Errors/GetGeoDataBadRequest.md @@ -1,4 +1,4 @@ -# GetGeoDataResponseBody +# GetGeoDataBadRequest Bad Request - A parameter was not specified, or was specified incorrectly. diff --git a/docs/Models/Errors/GetGeoDataPlexResponseBody.md b/docs/Models/Errors/GetGeoDataUnauthorized.md similarity index 98% rename from docs/Models/Errors/GetGeoDataPlexResponseBody.md rename to docs/Models/Errors/GetGeoDataUnauthorized.md index 849d3d6..8af86f0 100644 --- a/docs/Models/Errors/GetGeoDataPlexResponseBody.md +++ b/docs/Models/Errors/GetGeoDataUnauthorized.md @@ -1,4 +1,4 @@ -# GetGeoDataPlexResponseBody +# GetGeoDataUnauthorized Unauthorized - Returned if the X-Plex-Token is missing from the header or query. diff --git a/docs/Models/Errors/GetGlobalHubsResponseBody.md b/docs/Models/Errors/GetGlobalHubsBadRequest.md similarity index 98% rename from docs/Models/Errors/GetGlobalHubsResponseBody.md rename to docs/Models/Errors/GetGlobalHubsBadRequest.md index 6a76a23..ca4ca99 100644 --- a/docs/Models/Errors/GetGlobalHubsResponseBody.md +++ b/docs/Models/Errors/GetGlobalHubsBadRequest.md @@ -1,4 +1,4 @@ -# GetGlobalHubsResponseBody +# GetGlobalHubsBadRequest Bad Request - A parameter was not specified, or was specified incorrectly. diff --git a/docs/Models/Errors/GetGlobalHubsHubsResponseBody.md b/docs/Models/Errors/GetGlobalHubsUnauthorized.md similarity index 98% rename from docs/Models/Errors/GetGlobalHubsHubsResponseBody.md rename to docs/Models/Errors/GetGlobalHubsUnauthorized.md index 847c485..bdb8fd8 100644 --- a/docs/Models/Errors/GetGlobalHubsHubsResponseBody.md +++ b/docs/Models/Errors/GetGlobalHubsUnauthorized.md @@ -1,4 +1,4 @@ -# GetGlobalHubsHubsResponseBody +# GetGlobalHubsUnauthorized Unauthorized - Returned if the X-Plex-Token is missing from the header or query. diff --git a/docs/Models/Errors/GetHomeDataResponseBody.md b/docs/Models/Errors/GetHomeDataBadRequest.md similarity index 98% rename from docs/Models/Errors/GetHomeDataResponseBody.md rename to docs/Models/Errors/GetHomeDataBadRequest.md index 47e04bd..22c6b25 100644 --- a/docs/Models/Errors/GetHomeDataResponseBody.md +++ b/docs/Models/Errors/GetHomeDataBadRequest.md @@ -1,4 +1,4 @@ -# GetHomeDataResponseBody +# GetHomeDataBadRequest Bad Request - A parameter was not specified, or was specified incorrectly. diff --git a/docs/Models/Errors/GetHomeDataPlexResponseBody.md b/docs/Models/Errors/GetHomeDataUnauthorized.md similarity index 98% rename from docs/Models/Errors/GetHomeDataPlexResponseBody.md rename to docs/Models/Errors/GetHomeDataUnauthorized.md index cf1c78a..b139264 100644 --- a/docs/Models/Errors/GetHomeDataPlexResponseBody.md +++ b/docs/Models/Errors/GetHomeDataUnauthorized.md @@ -1,4 +1,4 @@ -# GetHomeDataPlexResponseBody +# GetHomeDataUnauthorized Unauthorized - Returned if the X-Plex-Token is missing from the header or query. diff --git a/docs/Models/Errors/GetLibraryDetailsResponseBody.md b/docs/Models/Errors/GetLibraryDetailsBadRequest.md similarity index 98% rename from docs/Models/Errors/GetLibraryDetailsResponseBody.md rename to docs/Models/Errors/GetLibraryDetailsBadRequest.md index 67cb1e6..668e02a 100644 --- a/docs/Models/Errors/GetLibraryDetailsResponseBody.md +++ b/docs/Models/Errors/GetLibraryDetailsBadRequest.md @@ -1,4 +1,4 @@ -# GetLibraryDetailsResponseBody +# GetLibraryDetailsBadRequest Bad Request - A parameter was not specified, or was specified incorrectly. diff --git a/docs/Models/Errors/GetLibraryDetailsLibraryResponseBody.md b/docs/Models/Errors/GetLibraryDetailsUnauthorized.md similarity index 98% rename from docs/Models/Errors/GetLibraryDetailsLibraryResponseBody.md rename to docs/Models/Errors/GetLibraryDetailsUnauthorized.md index 5e895b3..4e60e7f 100644 --- a/docs/Models/Errors/GetLibraryDetailsLibraryResponseBody.md +++ b/docs/Models/Errors/GetLibraryDetailsUnauthorized.md @@ -1,4 +1,4 @@ -# GetLibraryDetailsLibraryResponseBody +# GetLibraryDetailsUnauthorized Unauthorized - Returned if the X-Plex-Token is missing from the header or query. diff --git a/docs/Models/Errors/GetLibraryHubsResponseBody.md b/docs/Models/Errors/GetLibraryHubsBadRequest.md similarity index 98% rename from docs/Models/Errors/GetLibraryHubsResponseBody.md rename to docs/Models/Errors/GetLibraryHubsBadRequest.md index 5902dc8..0ba4c41 100644 --- a/docs/Models/Errors/GetLibraryHubsResponseBody.md +++ b/docs/Models/Errors/GetLibraryHubsBadRequest.md @@ -1,4 +1,4 @@ -# GetLibraryHubsResponseBody +# GetLibraryHubsBadRequest Bad Request - A parameter was not specified, or was specified incorrectly. diff --git a/docs/Models/Errors/GetLibraryHubsHubsResponseBody.md b/docs/Models/Errors/GetLibraryHubsUnauthorized.md similarity index 98% rename from docs/Models/Errors/GetLibraryHubsHubsResponseBody.md rename to docs/Models/Errors/GetLibraryHubsUnauthorized.md index 86b9a2b..97eb67e 100644 --- a/docs/Models/Errors/GetLibraryHubsHubsResponseBody.md +++ b/docs/Models/Errors/GetLibraryHubsUnauthorized.md @@ -1,4 +1,4 @@ -# GetLibraryHubsHubsResponseBody +# GetLibraryHubsUnauthorized Unauthorized - Returned if the X-Plex-Token is missing from the header or query. diff --git a/docs/Models/Errors/GetLibraryItemsResponseBody.md b/docs/Models/Errors/GetLibraryItemsBadRequest.md similarity index 98% rename from docs/Models/Errors/GetLibraryItemsResponseBody.md rename to docs/Models/Errors/GetLibraryItemsBadRequest.md index bec9c41..82bbf0d 100644 --- a/docs/Models/Errors/GetLibraryItemsResponseBody.md +++ b/docs/Models/Errors/GetLibraryItemsBadRequest.md @@ -1,4 +1,4 @@ -# GetLibraryItemsResponseBody +# GetLibraryItemsBadRequest Bad Request - A parameter was not specified, or was specified incorrectly. diff --git a/docs/Models/Errors/GetLibraryItemsLibraryResponseBody.md b/docs/Models/Errors/GetLibraryItemsUnauthorized.md similarity index 98% rename from docs/Models/Errors/GetLibraryItemsLibraryResponseBody.md rename to docs/Models/Errors/GetLibraryItemsUnauthorized.md index 6ca7e39..5e20ef0 100644 --- a/docs/Models/Errors/GetLibraryItemsLibraryResponseBody.md +++ b/docs/Models/Errors/GetLibraryItemsUnauthorized.md @@ -1,4 +1,4 @@ -# GetLibraryItemsLibraryResponseBody +# GetLibraryItemsUnauthorized Unauthorized - Returned if the X-Plex-Token is missing from the header or query. diff --git a/docs/Models/Errors/GetMediaProvidersResponseBody.md b/docs/Models/Errors/GetMediaProvidersBadRequest.md similarity index 98% rename from docs/Models/Errors/GetMediaProvidersResponseBody.md rename to docs/Models/Errors/GetMediaProvidersBadRequest.md index 98a0296..9a62d55 100644 --- a/docs/Models/Errors/GetMediaProvidersResponseBody.md +++ b/docs/Models/Errors/GetMediaProvidersBadRequest.md @@ -1,4 +1,4 @@ -# GetMediaProvidersResponseBody +# GetMediaProvidersBadRequest Bad Request - A parameter was not specified, or was specified incorrectly. diff --git a/docs/Models/Errors/GetMediaProvidersServerResponseBody.md b/docs/Models/Errors/GetMediaProvidersUnauthorized.md similarity index 98% rename from docs/Models/Errors/GetMediaProvidersServerResponseBody.md rename to docs/Models/Errors/GetMediaProvidersUnauthorized.md index c15f7f6..a57093e 100644 --- a/docs/Models/Errors/GetMediaProvidersServerResponseBody.md +++ b/docs/Models/Errors/GetMediaProvidersUnauthorized.md @@ -1,4 +1,4 @@ -# GetMediaProvidersServerResponseBody +# GetMediaProvidersUnauthorized Unauthorized - Returned if the X-Plex-Token is missing from the header or query. diff --git a/docs/Models/Errors/GetMetaDataByRatingKeyResponseBody.md b/docs/Models/Errors/GetMetaDataByRatingKeyBadRequest.md similarity index 98% rename from docs/Models/Errors/GetMetaDataByRatingKeyResponseBody.md rename to docs/Models/Errors/GetMetaDataByRatingKeyBadRequest.md index b987c81..a303a32 100644 --- a/docs/Models/Errors/GetMetaDataByRatingKeyResponseBody.md +++ b/docs/Models/Errors/GetMetaDataByRatingKeyBadRequest.md @@ -1,4 +1,4 @@ -# GetMetaDataByRatingKeyResponseBody +# GetMetaDataByRatingKeyBadRequest Bad Request - A parameter was not specified, or was specified incorrectly. diff --git a/docs/Models/Errors/GetMetaDataByRatingKeyLibraryResponseBody.md b/docs/Models/Errors/GetMetaDataByRatingKeyUnauthorized.md similarity index 97% rename from docs/Models/Errors/GetMetaDataByRatingKeyLibraryResponseBody.md rename to docs/Models/Errors/GetMetaDataByRatingKeyUnauthorized.md index ba196f0..9c14711 100644 --- a/docs/Models/Errors/GetMetaDataByRatingKeyLibraryResponseBody.md +++ b/docs/Models/Errors/GetMetaDataByRatingKeyUnauthorized.md @@ -1,4 +1,4 @@ -# GetMetaDataByRatingKeyLibraryResponseBody +# GetMetaDataByRatingKeyUnauthorized Unauthorized - Returned if the X-Plex-Token is missing from the header or query. diff --git a/docs/Models/Errors/GetMetadataChildrenResponseBody.md b/docs/Models/Errors/GetMetadataChildrenBadRequest.md similarity index 98% rename from docs/Models/Errors/GetMetadataChildrenResponseBody.md rename to docs/Models/Errors/GetMetadataChildrenBadRequest.md index 94305f1..069b35f 100644 --- a/docs/Models/Errors/GetMetadataChildrenResponseBody.md +++ b/docs/Models/Errors/GetMetadataChildrenBadRequest.md @@ -1,4 +1,4 @@ -# GetMetadataChildrenResponseBody +# GetMetadataChildrenBadRequest Bad Request - A parameter was not specified, or was specified incorrectly. diff --git a/docs/Models/Errors/GetMetadataChildrenLibraryResponseBody.md b/docs/Models/Errors/GetMetadataChildrenUnauthorized.md similarity index 97% rename from docs/Models/Errors/GetMetadataChildrenLibraryResponseBody.md rename to docs/Models/Errors/GetMetadataChildrenUnauthorized.md index 113b090..ca49cc2 100644 --- a/docs/Models/Errors/GetMetadataChildrenLibraryResponseBody.md +++ b/docs/Models/Errors/GetMetadataChildrenUnauthorized.md @@ -1,4 +1,4 @@ -# GetMetadataChildrenLibraryResponseBody +# GetMetadataChildrenUnauthorized Unauthorized - Returned if the X-Plex-Token is missing from the header or query. diff --git a/docs/Models/Errors/GetMyPlexAccountResponseBody.md b/docs/Models/Errors/GetMyPlexAccountBadRequest.md similarity index 98% rename from docs/Models/Errors/GetMyPlexAccountResponseBody.md rename to docs/Models/Errors/GetMyPlexAccountBadRequest.md index c2b92d0..2963308 100644 --- a/docs/Models/Errors/GetMyPlexAccountResponseBody.md +++ b/docs/Models/Errors/GetMyPlexAccountBadRequest.md @@ -1,4 +1,4 @@ -# GetMyPlexAccountResponseBody +# GetMyPlexAccountBadRequest Bad Request - A parameter was not specified, or was specified incorrectly. diff --git a/docs/Models/Errors/GetMyPlexAccountServerResponseBody.md b/docs/Models/Errors/GetMyPlexAccountUnauthorized.md similarity index 98% rename from docs/Models/Errors/GetMyPlexAccountServerResponseBody.md rename to docs/Models/Errors/GetMyPlexAccountUnauthorized.md index 0ac9d56..7c5269d 100644 --- a/docs/Models/Errors/GetMyPlexAccountServerResponseBody.md +++ b/docs/Models/Errors/GetMyPlexAccountUnauthorized.md @@ -1,4 +1,4 @@ -# GetMyPlexAccountServerResponseBody +# GetMyPlexAccountUnauthorized Unauthorized - Returned if the X-Plex-Token is missing from the header or query. diff --git a/docs/Models/Errors/GetOnDeckResponseBody.md b/docs/Models/Errors/GetOnDeckBadRequest.md similarity index 98% rename from docs/Models/Errors/GetOnDeckResponseBody.md rename to docs/Models/Errors/GetOnDeckBadRequest.md index a49d142..f7afbf6 100644 --- a/docs/Models/Errors/GetOnDeckResponseBody.md +++ b/docs/Models/Errors/GetOnDeckBadRequest.md @@ -1,4 +1,4 @@ -# GetOnDeckResponseBody +# GetOnDeckBadRequest Bad Request - A parameter was not specified, or was specified incorrectly. diff --git a/docs/Models/Errors/GetOnDeckLibraryResponseBody.md b/docs/Models/Errors/GetOnDeckUnauthorized.md similarity index 98% rename from docs/Models/Errors/GetOnDeckLibraryResponseBody.md rename to docs/Models/Errors/GetOnDeckUnauthorized.md index 511ec94..6bda9eb 100644 --- a/docs/Models/Errors/GetOnDeckLibraryResponseBody.md +++ b/docs/Models/Errors/GetOnDeckUnauthorized.md @@ -1,4 +1,4 @@ -# GetOnDeckLibraryResponseBody +# GetOnDeckUnauthorized Unauthorized - Returned if the X-Plex-Token is missing from the header or query. diff --git a/docs/Models/Errors/GetPinBadRequest.md b/docs/Models/Errors/GetPinBadRequest.md new file mode 100644 index 0000000..576ea0e --- /dev/null +++ b/docs/Models/Errors/GetPinBadRequest.md @@ -0,0 +1,11 @@ +# GetPinBadRequest + +Bad Request - A parameter was not specified, or was specified incorrectly. + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | +| `Errors` | List<[GetPinErrors](../../Models/Errors/GetPinErrors.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/GetPinResponseBody.md b/docs/Models/Errors/GetPinResponseBody.md deleted file mode 100644 index 074a264..0000000 --- a/docs/Models/Errors/GetPinResponseBody.md +++ /dev/null @@ -1,11 +0,0 @@ -# GetPinResponseBody - -Bad Request response when the X-Plex-Client-Identifier is missing - - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -| `Errors` | List<[GetPinErrors](../../Models/Errors/GetPinErrors.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/GetPlaylistBadRequest.md similarity index 98% rename from docs/Models/Errors/GetPlaylistResponseBody.md rename to docs/Models/Errors/GetPlaylistBadRequest.md index ace6aef..0be2ef1 100644 --- a/docs/Models/Errors/GetPlaylistResponseBody.md +++ b/docs/Models/Errors/GetPlaylistBadRequest.md @@ -1,4 +1,4 @@ -# GetPlaylistResponseBody +# GetPlaylistBadRequest Bad Request - A parameter was not specified, or was specified incorrectly. diff --git a/docs/Models/Errors/GetPlaylistContentsResponseBody.md b/docs/Models/Errors/GetPlaylistContentsBadRequest.md similarity index 98% rename from docs/Models/Errors/GetPlaylistContentsResponseBody.md rename to docs/Models/Errors/GetPlaylistContentsBadRequest.md index 7330d04..07e90c7 100644 --- a/docs/Models/Errors/GetPlaylistContentsResponseBody.md +++ b/docs/Models/Errors/GetPlaylistContentsBadRequest.md @@ -1,4 +1,4 @@ -# GetPlaylistContentsResponseBody +# GetPlaylistContentsBadRequest Bad Request - A parameter was not specified, or was specified incorrectly. diff --git a/docs/Models/Errors/GetPlaylistContentsPlaylistsResponseBody.md b/docs/Models/Errors/GetPlaylistContentsUnauthorized.md similarity index 97% rename from docs/Models/Errors/GetPlaylistContentsPlaylistsResponseBody.md rename to docs/Models/Errors/GetPlaylistContentsUnauthorized.md index d379687..9b6c19f 100644 --- a/docs/Models/Errors/GetPlaylistContentsPlaylistsResponseBody.md +++ b/docs/Models/Errors/GetPlaylistContentsUnauthorized.md @@ -1,4 +1,4 @@ -# GetPlaylistContentsPlaylistsResponseBody +# GetPlaylistContentsUnauthorized Unauthorized - Returned if the X-Plex-Token is missing from the header or query. diff --git a/docs/Models/Errors/GetPlaylistPlaylistsResponseBody.md b/docs/Models/Errors/GetPlaylistUnauthorized.md similarity index 98% rename from docs/Models/Errors/GetPlaylistPlaylistsResponseBody.md rename to docs/Models/Errors/GetPlaylistUnauthorized.md index 603fb1e..0b89aac 100644 --- a/docs/Models/Errors/GetPlaylistPlaylistsResponseBody.md +++ b/docs/Models/Errors/GetPlaylistUnauthorized.md @@ -1,4 +1,4 @@ -# GetPlaylistPlaylistsResponseBody +# GetPlaylistUnauthorized Unauthorized - Returned if the X-Plex-Token is missing from the header or query. diff --git a/docs/Models/Errors/GetPlaylistsResponseBody.md b/docs/Models/Errors/GetPlaylistsBadRequest.md similarity index 98% rename from docs/Models/Errors/GetPlaylistsResponseBody.md rename to docs/Models/Errors/GetPlaylistsBadRequest.md index 39c6d04..4fe33bb 100644 --- a/docs/Models/Errors/GetPlaylistsResponseBody.md +++ b/docs/Models/Errors/GetPlaylistsBadRequest.md @@ -1,4 +1,4 @@ -# GetPlaylistsResponseBody +# GetPlaylistsBadRequest Bad Request - A parameter was not specified, or was specified incorrectly. diff --git a/docs/Models/Errors/GetPlaylistsPlaylistsResponseBody.md b/docs/Models/Errors/GetPlaylistsUnauthorized.md similarity index 98% rename from docs/Models/Errors/GetPlaylistsPlaylistsResponseBody.md rename to docs/Models/Errors/GetPlaylistsUnauthorized.md index c0aea0a..cbc9c9a 100644 --- a/docs/Models/Errors/GetPlaylistsPlaylistsResponseBody.md +++ b/docs/Models/Errors/GetPlaylistsUnauthorized.md @@ -1,4 +1,4 @@ -# GetPlaylistsPlaylistsResponseBody +# GetPlaylistsUnauthorized Unauthorized - Returned if the X-Plex-Token is missing from the header or query. diff --git a/docs/Models/Errors/GetRecentlyAddedResponseBody.md b/docs/Models/Errors/GetRecentlyAddedBadRequest.md similarity index 98% rename from docs/Models/Errors/GetRecentlyAddedResponseBody.md rename to docs/Models/Errors/GetRecentlyAddedBadRequest.md index f4c2185..1794349 100644 --- a/docs/Models/Errors/GetRecentlyAddedResponseBody.md +++ b/docs/Models/Errors/GetRecentlyAddedBadRequest.md @@ -1,4 +1,4 @@ -# GetRecentlyAddedResponseBody +# GetRecentlyAddedBadRequest Bad Request - A parameter was not specified, or was specified incorrectly. diff --git a/docs/Models/Errors/GetRecentlyAddedLibraryResponseBody.md b/docs/Models/Errors/GetRecentlyAddedUnauthorized.md similarity index 98% rename from docs/Models/Errors/GetRecentlyAddedLibraryResponseBody.md rename to docs/Models/Errors/GetRecentlyAddedUnauthorized.md index 1b2e0e0..03e5e93 100644 --- a/docs/Models/Errors/GetRecentlyAddedLibraryResponseBody.md +++ b/docs/Models/Errors/GetRecentlyAddedUnauthorized.md @@ -1,4 +1,4 @@ -# GetRecentlyAddedLibraryResponseBody +# GetRecentlyAddedUnauthorized Unauthorized - Returned if the X-Plex-Token is missing from the header or query. diff --git a/docs/Models/Errors/GetRefreshLibraryMetadataResponseBody.md b/docs/Models/Errors/GetRefreshLibraryMetadataBadRequest.md similarity index 98% rename from docs/Models/Errors/GetRefreshLibraryMetadataResponseBody.md rename to docs/Models/Errors/GetRefreshLibraryMetadataBadRequest.md index 528615a..a657057 100644 --- a/docs/Models/Errors/GetRefreshLibraryMetadataResponseBody.md +++ b/docs/Models/Errors/GetRefreshLibraryMetadataBadRequest.md @@ -1,4 +1,4 @@ -# GetRefreshLibraryMetadataResponseBody +# GetRefreshLibraryMetadataBadRequest Bad Request - A parameter was not specified, or was specified incorrectly. diff --git a/docs/Models/Errors/GetRefreshLibraryMetadataLibraryResponseBody.md b/docs/Models/Errors/GetRefreshLibraryMetadataUnauthorized.md similarity index 97% rename from docs/Models/Errors/GetRefreshLibraryMetadataLibraryResponseBody.md rename to docs/Models/Errors/GetRefreshLibraryMetadataUnauthorized.md index b99e0fe..be6ce14 100644 --- a/docs/Models/Errors/GetRefreshLibraryMetadataLibraryResponseBody.md +++ b/docs/Models/Errors/GetRefreshLibraryMetadataUnauthorized.md @@ -1,4 +1,4 @@ -# GetRefreshLibraryMetadataLibraryResponseBody +# GetRefreshLibraryMetadataUnauthorized Unauthorized - Returned if the X-Plex-Token is missing from the header or query. diff --git a/docs/Models/Errors/GetResizedPhotoResponseBody.md b/docs/Models/Errors/GetResizedPhotoBadRequest.md similarity index 98% rename from docs/Models/Errors/GetResizedPhotoResponseBody.md rename to docs/Models/Errors/GetResizedPhotoBadRequest.md index 03e8cf0..cf9f378 100644 --- a/docs/Models/Errors/GetResizedPhotoResponseBody.md +++ b/docs/Models/Errors/GetResizedPhotoBadRequest.md @@ -1,4 +1,4 @@ -# GetResizedPhotoResponseBody +# GetResizedPhotoBadRequest Bad Request - A parameter was not specified, or was specified incorrectly. diff --git a/docs/Models/Errors/GetResizedPhotoServerResponseBody.md b/docs/Models/Errors/GetResizedPhotoUnauthorized.md similarity index 98% rename from docs/Models/Errors/GetResizedPhotoServerResponseBody.md rename to docs/Models/Errors/GetResizedPhotoUnauthorized.md index dd3be41..c03f30f 100644 --- a/docs/Models/Errors/GetResizedPhotoServerResponseBody.md +++ b/docs/Models/Errors/GetResizedPhotoUnauthorized.md @@ -1,4 +1,4 @@ -# GetResizedPhotoServerResponseBody +# GetResizedPhotoUnauthorized Unauthorized - Returned if the X-Plex-Token is missing from the header or query. diff --git a/docs/Models/Errors/GetResourcesStatisticsResponseBody.md b/docs/Models/Errors/GetResourcesStatisticsBadRequest.md similarity index 98% rename from docs/Models/Errors/GetResourcesStatisticsResponseBody.md rename to docs/Models/Errors/GetResourcesStatisticsBadRequest.md index 922779b..d94a8af 100644 --- a/docs/Models/Errors/GetResourcesStatisticsResponseBody.md +++ b/docs/Models/Errors/GetResourcesStatisticsBadRequest.md @@ -1,4 +1,4 @@ -# GetResourcesStatisticsResponseBody +# GetResourcesStatisticsBadRequest Bad Request - A parameter was not specified, or was specified incorrectly. diff --git a/docs/Models/Errors/GetResourcesStatisticsStatisticsResponseBody.md b/docs/Models/Errors/GetResourcesStatisticsUnauthorized.md similarity index 97% rename from docs/Models/Errors/GetResourcesStatisticsStatisticsResponseBody.md rename to docs/Models/Errors/GetResourcesStatisticsUnauthorized.md index 711aa00..ec0d899 100644 --- a/docs/Models/Errors/GetResourcesStatisticsStatisticsResponseBody.md +++ b/docs/Models/Errors/GetResourcesStatisticsUnauthorized.md @@ -1,4 +1,4 @@ -# GetResourcesStatisticsStatisticsResponseBody +# GetResourcesStatisticsUnauthorized Unauthorized - Returned if the X-Plex-Token is missing from the header or query. diff --git a/docs/Models/Errors/GetSearchLibraryResponseBody.md b/docs/Models/Errors/GetSearchLibraryBadRequest.md similarity index 98% rename from docs/Models/Errors/GetSearchLibraryResponseBody.md rename to docs/Models/Errors/GetSearchLibraryBadRequest.md index d8cbfed..03dba17 100644 --- a/docs/Models/Errors/GetSearchLibraryResponseBody.md +++ b/docs/Models/Errors/GetSearchLibraryBadRequest.md @@ -1,4 +1,4 @@ -# GetSearchLibraryResponseBody +# GetSearchLibraryBadRequest Bad Request - A parameter was not specified, or was specified incorrectly. diff --git a/docs/Models/Errors/GetSearchLibraryLibraryResponseBody.md b/docs/Models/Errors/GetSearchLibraryUnauthorized.md similarity index 98% rename from docs/Models/Errors/GetSearchLibraryLibraryResponseBody.md rename to docs/Models/Errors/GetSearchLibraryUnauthorized.md index a7e440c..35c68ec 100644 --- a/docs/Models/Errors/GetSearchLibraryLibraryResponseBody.md +++ b/docs/Models/Errors/GetSearchLibraryUnauthorized.md @@ -1,4 +1,4 @@ -# GetSearchLibraryLibraryResponseBody +# GetSearchLibraryUnauthorized Unauthorized - Returned if the X-Plex-Token is missing from the header or query. diff --git a/docs/Models/Errors/GetSearchResultsResponseBody.md b/docs/Models/Errors/GetSearchResultsBadRequest.md similarity index 98% rename from docs/Models/Errors/GetSearchResultsResponseBody.md rename to docs/Models/Errors/GetSearchResultsBadRequest.md index e24d433..6a7fa7a 100644 --- a/docs/Models/Errors/GetSearchResultsResponseBody.md +++ b/docs/Models/Errors/GetSearchResultsBadRequest.md @@ -1,4 +1,4 @@ -# GetSearchResultsResponseBody +# GetSearchResultsBadRequest Bad Request - A parameter was not specified, or was specified incorrectly. diff --git a/docs/Models/Errors/GetSearchResultsSearchResponseBody.md b/docs/Models/Errors/GetSearchResultsUnauthorized.md similarity index 98% rename from docs/Models/Errors/GetSearchResultsSearchResponseBody.md rename to docs/Models/Errors/GetSearchResultsUnauthorized.md index 0c4faad..789d80a 100644 --- a/docs/Models/Errors/GetSearchResultsSearchResponseBody.md +++ b/docs/Models/Errors/GetSearchResultsUnauthorized.md @@ -1,4 +1,4 @@ -# GetSearchResultsSearchResponseBody +# GetSearchResultsUnauthorized Unauthorized - Returned if the X-Plex-Token is missing from the header or query. diff --git a/docs/Models/Errors/GetServerActivitiesResponseBody.md b/docs/Models/Errors/GetServerActivitiesBadRequest.md similarity index 98% rename from docs/Models/Errors/GetServerActivitiesResponseBody.md rename to docs/Models/Errors/GetServerActivitiesBadRequest.md index 2cc738f..d9ebd71 100644 --- a/docs/Models/Errors/GetServerActivitiesResponseBody.md +++ b/docs/Models/Errors/GetServerActivitiesBadRequest.md @@ -1,4 +1,4 @@ -# GetServerActivitiesResponseBody +# GetServerActivitiesBadRequest Bad Request - A parameter was not specified, or was specified incorrectly. diff --git a/docs/Models/Errors/GetServerActivitiesActivitiesResponseBody.md b/docs/Models/Errors/GetServerActivitiesUnauthorized.md similarity index 97% rename from docs/Models/Errors/GetServerActivitiesActivitiesResponseBody.md rename to docs/Models/Errors/GetServerActivitiesUnauthorized.md index 4d164a3..e24cfcc 100644 --- a/docs/Models/Errors/GetServerActivitiesActivitiesResponseBody.md +++ b/docs/Models/Errors/GetServerActivitiesUnauthorized.md @@ -1,4 +1,4 @@ -# GetServerActivitiesActivitiesResponseBody +# GetServerActivitiesUnauthorized Unauthorized - Returned if the X-Plex-Token is missing from the header or query. diff --git a/docs/Models/Errors/GetServerCapabilitiesResponseBody.md b/docs/Models/Errors/GetServerCapabilitiesBadRequest.md similarity index 98% rename from docs/Models/Errors/GetServerCapabilitiesResponseBody.md rename to docs/Models/Errors/GetServerCapabilitiesBadRequest.md index e74cfdb..17d6b84 100644 --- a/docs/Models/Errors/GetServerCapabilitiesResponseBody.md +++ b/docs/Models/Errors/GetServerCapabilitiesBadRequest.md @@ -1,4 +1,4 @@ -# GetServerCapabilitiesResponseBody +# GetServerCapabilitiesBadRequest Bad Request - A parameter was not specified, or was specified incorrectly. diff --git a/docs/Models/Errors/GetServerCapabilitiesServerResponseBody.md b/docs/Models/Errors/GetServerCapabilitiesUnauthorized.md similarity index 97% rename from docs/Models/Errors/GetServerCapabilitiesServerResponseBody.md rename to docs/Models/Errors/GetServerCapabilitiesUnauthorized.md index 4cf9ba9..322747b 100644 --- a/docs/Models/Errors/GetServerCapabilitiesServerResponseBody.md +++ b/docs/Models/Errors/GetServerCapabilitiesUnauthorized.md @@ -1,4 +1,4 @@ -# GetServerCapabilitiesServerResponseBody +# GetServerCapabilitiesUnauthorized Unauthorized - Returned if the X-Plex-Token is missing from the header or query. diff --git a/docs/Models/Errors/GetServerIdentityResponseBody.md b/docs/Models/Errors/GetServerIdentityRequestTimeout.md similarity index 98% rename from docs/Models/Errors/GetServerIdentityResponseBody.md rename to docs/Models/Errors/GetServerIdentityRequestTimeout.md index dc06749..44f7726 100644 --- a/docs/Models/Errors/GetServerIdentityResponseBody.md +++ b/docs/Models/Errors/GetServerIdentityRequestTimeout.md @@ -1,4 +1,4 @@ -# GetServerIdentityResponseBody +# GetServerIdentityRequestTimeout Request Timeout diff --git a/docs/Models/Errors/GetServerListResponseBody.md b/docs/Models/Errors/GetServerListBadRequest.md similarity index 98% rename from docs/Models/Errors/GetServerListResponseBody.md rename to docs/Models/Errors/GetServerListBadRequest.md index c70567c..534dc61 100644 --- a/docs/Models/Errors/GetServerListResponseBody.md +++ b/docs/Models/Errors/GetServerListBadRequest.md @@ -1,4 +1,4 @@ -# GetServerListResponseBody +# GetServerListBadRequest Bad Request - A parameter was not specified, or was specified incorrectly. diff --git a/docs/Models/Errors/GetServerListServerResponseBody.md b/docs/Models/Errors/GetServerListUnauthorized.md similarity index 98% rename from docs/Models/Errors/GetServerListServerResponseBody.md rename to docs/Models/Errors/GetServerListUnauthorized.md index 6c9076d..b19c488 100644 --- a/docs/Models/Errors/GetServerListServerResponseBody.md +++ b/docs/Models/Errors/GetServerListUnauthorized.md @@ -1,4 +1,4 @@ -# GetServerListServerResponseBody +# GetServerListUnauthorized Unauthorized - Returned if the X-Plex-Token is missing from the header or query. diff --git a/docs/Models/Errors/GetServerPreferencesResponseBody.md b/docs/Models/Errors/GetServerPreferencesBadRequest.md similarity index 98% rename from docs/Models/Errors/GetServerPreferencesResponseBody.md rename to docs/Models/Errors/GetServerPreferencesBadRequest.md index f56f599..513dc6b 100644 --- a/docs/Models/Errors/GetServerPreferencesResponseBody.md +++ b/docs/Models/Errors/GetServerPreferencesBadRequest.md @@ -1,4 +1,4 @@ -# GetServerPreferencesResponseBody +# GetServerPreferencesBadRequest Bad Request - A parameter was not specified, or was specified incorrectly. diff --git a/docs/Models/Errors/GetServerPreferencesServerResponseBody.md b/docs/Models/Errors/GetServerPreferencesUnauthorized.md similarity index 97% rename from docs/Models/Errors/GetServerPreferencesServerResponseBody.md rename to docs/Models/Errors/GetServerPreferencesUnauthorized.md index d181a0b..a7942b8 100644 --- a/docs/Models/Errors/GetServerPreferencesServerResponseBody.md +++ b/docs/Models/Errors/GetServerPreferencesUnauthorized.md @@ -1,4 +1,4 @@ -# GetServerPreferencesServerResponseBody +# GetServerPreferencesUnauthorized Unauthorized - Returned if the X-Plex-Token is missing from the header or query. diff --git a/docs/Models/Errors/GetServerResourcesResponseBody.md b/docs/Models/Errors/GetServerResourcesBadRequest.md similarity index 98% rename from docs/Models/Errors/GetServerResourcesResponseBody.md rename to docs/Models/Errors/GetServerResourcesBadRequest.md index d79784e..947601f 100644 --- a/docs/Models/Errors/GetServerResourcesResponseBody.md +++ b/docs/Models/Errors/GetServerResourcesBadRequest.md @@ -1,4 +1,4 @@ -# GetServerResourcesResponseBody +# GetServerResourcesBadRequest Bad Request - A parameter was not specified, or was specified incorrectly. diff --git a/docs/Models/Errors/GetServerResourcesPlexResponseBody.md b/docs/Models/Errors/GetServerResourcesUnauthorized.md similarity index 98% rename from docs/Models/Errors/GetServerResourcesPlexResponseBody.md rename to docs/Models/Errors/GetServerResourcesUnauthorized.md index b82511f..dfae606 100644 --- a/docs/Models/Errors/GetServerResourcesPlexResponseBody.md +++ b/docs/Models/Errors/GetServerResourcesUnauthorized.md @@ -1,4 +1,4 @@ -# GetServerResourcesPlexResponseBody +# GetServerResourcesUnauthorized Unauthorized - Returned if the X-Plex-Token is missing from the header or query. diff --git a/docs/Models/Errors/GetSessionHistoryResponseBody.md b/docs/Models/Errors/GetSessionHistoryBadRequest.md similarity index 98% rename from docs/Models/Errors/GetSessionHistoryResponseBody.md rename to docs/Models/Errors/GetSessionHistoryBadRequest.md index e80baa9..5917426 100644 --- a/docs/Models/Errors/GetSessionHistoryResponseBody.md +++ b/docs/Models/Errors/GetSessionHistoryBadRequest.md @@ -1,4 +1,4 @@ -# GetSessionHistoryResponseBody +# GetSessionHistoryBadRequest Bad Request - A parameter was not specified, or was specified incorrectly. diff --git a/docs/Models/Errors/GetSessionHistorySessionsResponseBody.md b/docs/Models/Errors/GetSessionHistoryUnauthorized.md similarity index 98% rename from docs/Models/Errors/GetSessionHistorySessionsResponseBody.md rename to docs/Models/Errors/GetSessionHistoryUnauthorized.md index 2963a30..184b2de 100644 --- a/docs/Models/Errors/GetSessionHistorySessionsResponseBody.md +++ b/docs/Models/Errors/GetSessionHistoryUnauthorized.md @@ -1,4 +1,4 @@ -# GetSessionHistorySessionsResponseBody +# GetSessionHistoryUnauthorized Unauthorized - Returned if the X-Plex-Token is missing from the header or query. diff --git a/docs/Models/Errors/GetSessionsResponseBody.md b/docs/Models/Errors/GetSessionsBadRequest.md similarity index 98% rename from docs/Models/Errors/GetSessionsResponseBody.md rename to docs/Models/Errors/GetSessionsBadRequest.md index 8798ae4..e297902 100644 --- a/docs/Models/Errors/GetSessionsResponseBody.md +++ b/docs/Models/Errors/GetSessionsBadRequest.md @@ -1,4 +1,4 @@ -# GetSessionsResponseBody +# GetSessionsBadRequest Bad Request - A parameter was not specified, or was specified incorrectly. diff --git a/docs/Models/Errors/GetSessionsSessionsResponseBody.md b/docs/Models/Errors/GetSessionsUnauthorized.md similarity index 98% rename from docs/Models/Errors/GetSessionsSessionsResponseBody.md rename to docs/Models/Errors/GetSessionsUnauthorized.md index 7c42be6..689f70c 100644 --- a/docs/Models/Errors/GetSessionsSessionsResponseBody.md +++ b/docs/Models/Errors/GetSessionsUnauthorized.md @@ -1,4 +1,4 @@ -# GetSessionsSessionsResponseBody +# GetSessionsUnauthorized Unauthorized - Returned if the X-Plex-Token is missing from the header or query. diff --git a/docs/Models/Errors/GetSourceConnectionInformationResponseBody.md b/docs/Models/Errors/GetSourceConnectionInformationBadRequest.md similarity index 97% rename from docs/Models/Errors/GetSourceConnectionInformationResponseBody.md rename to docs/Models/Errors/GetSourceConnectionInformationBadRequest.md index 0cae18b..91c82d2 100644 --- a/docs/Models/Errors/GetSourceConnectionInformationResponseBody.md +++ b/docs/Models/Errors/GetSourceConnectionInformationBadRequest.md @@ -1,4 +1,4 @@ -# GetSourceConnectionInformationResponseBody +# GetSourceConnectionInformationBadRequest Bad Request - A parameter was not specified, or was specified incorrectly. diff --git a/docs/Models/Errors/GetSourceConnectionInformationAuthenticationResponseBody.md b/docs/Models/Errors/GetSourceConnectionInformationUnauthorized.md similarity index 97% rename from docs/Models/Errors/GetSourceConnectionInformationAuthenticationResponseBody.md rename to docs/Models/Errors/GetSourceConnectionInformationUnauthorized.md index 95b3561..5a567cc 100644 --- a/docs/Models/Errors/GetSourceConnectionInformationAuthenticationResponseBody.md +++ b/docs/Models/Errors/GetSourceConnectionInformationUnauthorized.md @@ -1,4 +1,4 @@ -# GetSourceConnectionInformationAuthenticationResponseBody +# GetSourceConnectionInformationUnauthorized Unauthorized - Returned if the X-Plex-Token is missing from the header or query. diff --git a/docs/Models/Errors/GetStatisticsResponseBody.md b/docs/Models/Errors/GetStatisticsBadRequest.md similarity index 98% rename from docs/Models/Errors/GetStatisticsResponseBody.md rename to docs/Models/Errors/GetStatisticsBadRequest.md index ed4c42d..e1d10e8 100644 --- a/docs/Models/Errors/GetStatisticsResponseBody.md +++ b/docs/Models/Errors/GetStatisticsBadRequest.md @@ -1,4 +1,4 @@ -# GetStatisticsResponseBody +# GetStatisticsBadRequest Bad Request - A parameter was not specified, or was specified incorrectly. diff --git a/docs/Models/Errors/GetStatisticsStatisticsResponseBody.md b/docs/Models/Errors/GetStatisticsUnauthorized.md similarity index 98% rename from docs/Models/Errors/GetStatisticsStatisticsResponseBody.md rename to docs/Models/Errors/GetStatisticsUnauthorized.md index 2a5b812..433d089 100644 --- a/docs/Models/Errors/GetStatisticsStatisticsResponseBody.md +++ b/docs/Models/Errors/GetStatisticsUnauthorized.md @@ -1,4 +1,4 @@ -# GetStatisticsStatisticsResponseBody +# GetStatisticsUnauthorized Unauthorized - Returned if the X-Plex-Token is missing from the header or query. diff --git a/docs/Models/Errors/GetThumbImageResponseBody.md b/docs/Models/Errors/GetThumbImageBadRequest.md similarity index 98% rename from docs/Models/Errors/GetThumbImageResponseBody.md rename to docs/Models/Errors/GetThumbImageBadRequest.md index d138c7d..bf38223 100644 --- a/docs/Models/Errors/GetThumbImageResponseBody.md +++ b/docs/Models/Errors/GetThumbImageBadRequest.md @@ -1,4 +1,4 @@ -# GetThumbImageResponseBody +# GetThumbImageBadRequest Bad Request - A parameter was not specified, or was specified incorrectly. diff --git a/docs/Models/Errors/GetThumbImageMediaResponseBody.md b/docs/Models/Errors/GetThumbImageUnauthorized.md similarity index 98% rename from docs/Models/Errors/GetThumbImageMediaResponseBody.md rename to docs/Models/Errors/GetThumbImageUnauthorized.md index 0a33273..3104dbd 100644 --- a/docs/Models/Errors/GetThumbImageMediaResponseBody.md +++ b/docs/Models/Errors/GetThumbImageUnauthorized.md @@ -1,4 +1,4 @@ -# GetThumbImageMediaResponseBody +# GetThumbImageUnauthorized Unauthorized - Returned if the X-Plex-Token is missing from the header or query. diff --git a/docs/Models/Errors/GetTimelineResponseBody.md b/docs/Models/Errors/GetTimelineBadRequest.md similarity index 98% rename from docs/Models/Errors/GetTimelineResponseBody.md rename to docs/Models/Errors/GetTimelineBadRequest.md index 9080291..ff26b28 100644 --- a/docs/Models/Errors/GetTimelineResponseBody.md +++ b/docs/Models/Errors/GetTimelineBadRequest.md @@ -1,4 +1,4 @@ -# GetTimelineResponseBody +# GetTimelineBadRequest Bad Request - A parameter was not specified, or was specified incorrectly. diff --git a/docs/Models/Errors/GetTimelineVideoResponseBody.md b/docs/Models/Errors/GetTimelineUnauthorized.md similarity index 98% rename from docs/Models/Errors/GetTimelineVideoResponseBody.md rename to docs/Models/Errors/GetTimelineUnauthorized.md index caaed56..e390634 100644 --- a/docs/Models/Errors/GetTimelineVideoResponseBody.md +++ b/docs/Models/Errors/GetTimelineUnauthorized.md @@ -1,4 +1,4 @@ -# GetTimelineVideoResponseBody +# GetTimelineUnauthorized Unauthorized - Returned if the X-Plex-Token is missing from the header or query. diff --git a/docs/Models/Errors/GetTokenByPinIdBadRequest.md b/docs/Models/Errors/GetTokenByPinIdBadRequest.md new file mode 100644 index 0000000..72897cc --- /dev/null +++ b/docs/Models/Errors/GetTokenByPinIdBadRequest.md @@ -0,0 +1,11 @@ +# GetTokenByPinIdBadRequest + +Bad Request - A parameter was not specified, or was specified incorrectly. + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | +| `Errors` | List<[GetTokenByPinIdErrors](../../Models/Errors/GetTokenByPinIdErrors.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/GetTokenByPinIdPlexResponseBody.md b/docs/Models/Errors/GetTokenByPinIdPlexResponseBody.md deleted file mode 100644 index bad0490..0000000 --- a/docs/Models/Errors/GetTokenByPinIdPlexResponseBody.md +++ /dev/null @@ -1,11 +0,0 @@ -# GetTokenByPinIdPlexResponseBody - -Not Found or Expired - - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -| `Errors` | List<[GetTokenByPinIdPlexErrors](../../Models/Errors/GetTokenByPinIdPlexErrors.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/GetTokenByPinIdResponseBody.md b/docs/Models/Errors/GetTokenByPinIdResponseBody.md index c9ee2ca..0479edb 100644 --- a/docs/Models/Errors/GetTokenByPinIdResponseBody.md +++ b/docs/Models/Errors/GetTokenByPinIdResponseBody.md @@ -1,11 +1,11 @@ # GetTokenByPinIdResponseBody -Bad Request response when the X-Plex-Client-Identifier is missing +Not Found or Expired ## Fields | Field | Type | Required | Description | | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -| `Errors` | List<[GetTokenByPinIdErrors](../../Models/Errors/GetTokenByPinIdErrors.md)> | :heavy_minus_sign: | N/A | +| `Errors` | List<[GetTokenByPinIdPlexErrors](../../Models/Errors/GetTokenByPinIdPlexErrors.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/GetTokenDetailsAuthenticationErrors.md similarity index 95% rename from docs/Models/Errors/GetUserDetailsAuthenticationErrors.md rename to docs/Models/Errors/GetTokenDetailsAuthenticationErrors.md index 2990ac9..e7300cd 100644 --- a/docs/Models/Errors/GetUserDetailsAuthenticationErrors.md +++ b/docs/Models/Errors/GetTokenDetailsAuthenticationErrors.md @@ -1,4 +1,4 @@ -# GetUserDetailsAuthenticationErrors +# GetTokenDetailsAuthenticationErrors ## Fields diff --git a/docs/Models/Errors/GetTokenDetailsBadRequest.md b/docs/Models/Errors/GetTokenDetailsBadRequest.md new file mode 100644 index 0000000..1b83e5f --- /dev/null +++ b/docs/Models/Errors/GetTokenDetailsBadRequest.md @@ -0,0 +1,11 @@ +# GetTokenDetailsBadRequest + +Bad Request - A parameter was not specified, or was specified incorrectly. + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | +| `Errors` | List<[GetTokenDetailsErrors](../../Models/Errors/GetTokenDetailsErrors.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/GetTokenDetailsErrors.md similarity index 97% rename from docs/Models/Errors/GetUserDetailsErrors.md rename to docs/Models/Errors/GetTokenDetailsErrors.md index a9982a5..97fb0d7 100644 --- a/docs/Models/Errors/GetUserDetailsErrors.md +++ b/docs/Models/Errors/GetTokenDetailsErrors.md @@ -1,4 +1,4 @@ -# GetUserDetailsErrors +# GetTokenDetailsErrors ## Fields diff --git a/docs/Models/Errors/GetTokenDetailsUnauthorized.md b/docs/Models/Errors/GetTokenDetailsUnauthorized.md new file mode 100644 index 0000000..2cfe620 --- /dev/null +++ b/docs/Models/Errors/GetTokenDetailsUnauthorized.md @@ -0,0 +1,11 @@ +# GetTokenDetailsUnauthorized + +Unauthorized - Returned if the X-Plex-Token is missing from the header or query. + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | +| `Errors` | List<[GetTokenDetailsAuthenticationErrors](../../Models/Errors/GetTokenDetailsAuthenticationErrors.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/GetTopWatchedContentBadRequest.md similarity index 98% rename from docs/Models/Errors/GetTopWatchedContentResponseBody.md rename to docs/Models/Errors/GetTopWatchedContentBadRequest.md index 41e7989..9aadf6c 100644 --- a/docs/Models/Errors/GetTopWatchedContentResponseBody.md +++ b/docs/Models/Errors/GetTopWatchedContentBadRequest.md @@ -1,4 +1,4 @@ -# GetTopWatchedContentResponseBody +# GetTopWatchedContentBadRequest Bad Request - A parameter was not specified, or was specified incorrectly. diff --git a/docs/Models/Errors/GetTopWatchedContentLibraryResponseBody.md b/docs/Models/Errors/GetTopWatchedContentUnauthorized.md similarity index 97% rename from docs/Models/Errors/GetTopWatchedContentLibraryResponseBody.md rename to docs/Models/Errors/GetTopWatchedContentUnauthorized.md index 3b66b37..67fc9e1 100644 --- a/docs/Models/Errors/GetTopWatchedContentLibraryResponseBody.md +++ b/docs/Models/Errors/GetTopWatchedContentUnauthorized.md @@ -1,4 +1,4 @@ -# GetTopWatchedContentLibraryResponseBody +# GetTopWatchedContentUnauthorized Unauthorized - Returned if the X-Plex-Token is missing from the header or query. diff --git a/docs/Models/Errors/GetTranscodeSessionsResponseBody.md b/docs/Models/Errors/GetTranscodeSessionsBadRequest.md similarity index 98% rename from docs/Models/Errors/GetTranscodeSessionsResponseBody.md rename to docs/Models/Errors/GetTranscodeSessionsBadRequest.md index d38afc9..887aa63 100644 --- a/docs/Models/Errors/GetTranscodeSessionsResponseBody.md +++ b/docs/Models/Errors/GetTranscodeSessionsBadRequest.md @@ -1,4 +1,4 @@ -# GetTranscodeSessionsResponseBody +# GetTranscodeSessionsBadRequest Bad Request - A parameter was not specified, or was specified incorrectly. diff --git a/docs/Models/Errors/GetTranscodeSessionsSessionsResponseBody.md b/docs/Models/Errors/GetTranscodeSessionsUnauthorized.md similarity index 97% rename from docs/Models/Errors/GetTranscodeSessionsSessionsResponseBody.md rename to docs/Models/Errors/GetTranscodeSessionsUnauthorized.md index 20bd533..ed63d0c 100644 --- a/docs/Models/Errors/GetTranscodeSessionsSessionsResponseBody.md +++ b/docs/Models/Errors/GetTranscodeSessionsUnauthorized.md @@ -1,4 +1,4 @@ -# GetTranscodeSessionsSessionsResponseBody +# GetTranscodeSessionsUnauthorized Unauthorized - Returned if the X-Plex-Token is missing from the header or query. diff --git a/docs/Models/Errors/GetTransientTokenResponseBody.md b/docs/Models/Errors/GetTransientTokenBadRequest.md similarity index 98% rename from docs/Models/Errors/GetTransientTokenResponseBody.md rename to docs/Models/Errors/GetTransientTokenBadRequest.md index b69db55..eed4864 100644 --- a/docs/Models/Errors/GetTransientTokenResponseBody.md +++ b/docs/Models/Errors/GetTransientTokenBadRequest.md @@ -1,4 +1,4 @@ -# GetTransientTokenResponseBody +# GetTransientTokenBadRequest Bad Request - A parameter was not specified, or was specified incorrectly. diff --git a/docs/Models/Errors/GetTransientTokenAuthenticationResponseBody.md b/docs/Models/Errors/GetTransientTokenUnauthorized.md similarity index 97% rename from docs/Models/Errors/GetTransientTokenAuthenticationResponseBody.md rename to docs/Models/Errors/GetTransientTokenUnauthorized.md index 821e341..bd17057 100644 --- a/docs/Models/Errors/GetTransientTokenAuthenticationResponseBody.md +++ b/docs/Models/Errors/GetTransientTokenUnauthorized.md @@ -1,4 +1,4 @@ -# GetTransientTokenAuthenticationResponseBody +# GetTransientTokenUnauthorized Unauthorized - Returned if the X-Plex-Token is missing from the header or query. diff --git a/docs/Models/Errors/GetUpdateStatusResponseBody.md b/docs/Models/Errors/GetUpdateStatusBadRequest.md similarity index 98% rename from docs/Models/Errors/GetUpdateStatusResponseBody.md rename to docs/Models/Errors/GetUpdateStatusBadRequest.md index bc53bc7..faa11f7 100644 --- a/docs/Models/Errors/GetUpdateStatusResponseBody.md +++ b/docs/Models/Errors/GetUpdateStatusBadRequest.md @@ -1,4 +1,4 @@ -# GetUpdateStatusResponseBody +# GetUpdateStatusBadRequest Bad Request - A parameter was not specified, or was specified incorrectly. diff --git a/docs/Models/Errors/GetUpdateStatusUpdaterResponseBody.md b/docs/Models/Errors/GetUpdateStatusUnauthorized.md similarity index 98% rename from docs/Models/Errors/GetUpdateStatusUpdaterResponseBody.md rename to docs/Models/Errors/GetUpdateStatusUnauthorized.md index 13eb165..807cb2a 100644 --- a/docs/Models/Errors/GetUpdateStatusUpdaterResponseBody.md +++ b/docs/Models/Errors/GetUpdateStatusUnauthorized.md @@ -1,4 +1,4 @@ -# GetUpdateStatusUpdaterResponseBody +# GetUpdateStatusUnauthorized Unauthorized - Returned if the X-Plex-Token is missing from the header or query. diff --git a/docs/Models/Errors/GetUserDetailsAuthenticationResponseBody.md b/docs/Models/Errors/GetUserDetailsAuthenticationResponseBody.md deleted file mode 100644 index 9094a94..0000000 --- a/docs/Models/Errors/GetUserDetailsAuthenticationResponseBody.md +++ /dev/null @@ -1,11 +0,0 @@ -# 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/GetUserDetailsResponseBody.md b/docs/Models/Errors/GetUserDetailsResponseBody.md deleted file mode 100644 index 927923d..0000000 --- a/docs/Models/Errors/GetUserDetailsResponseBody.md +++ /dev/null @@ -1,11 +0,0 @@ -# GetUserDetailsResponseBody - -Bad Request - A parameter was not specified, or was specified incorrectly. - - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -| `Errors` | List<[GetUserDetailsErrors](../../Models/Errors/GetUserDetailsErrors.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/GetUserFriendsBadRequest.md similarity index 98% rename from docs/Models/Errors/GetUserFriendsResponseBody.md rename to docs/Models/Errors/GetUserFriendsBadRequest.md index a5f3bf2..00eb773 100644 --- a/docs/Models/Errors/GetUserFriendsResponseBody.md +++ b/docs/Models/Errors/GetUserFriendsBadRequest.md @@ -1,4 +1,4 @@ -# GetUserFriendsResponseBody +# GetUserFriendsBadRequest Bad Request - A parameter was not specified, or was specified incorrectly. diff --git a/docs/Models/Errors/GetUserFriendsPlexResponseBody.md b/docs/Models/Errors/GetUserFriendsUnauthorized.md similarity index 98% rename from docs/Models/Errors/GetUserFriendsPlexResponseBody.md rename to docs/Models/Errors/GetUserFriendsUnauthorized.md index fcb28ac..3269ecc 100644 --- a/docs/Models/Errors/GetUserFriendsPlexResponseBody.md +++ b/docs/Models/Errors/GetUserFriendsUnauthorized.md @@ -1,4 +1,4 @@ -# GetUserFriendsPlexResponseBody +# GetUserFriendsUnauthorized Unauthorized - Returned if the X-Plex-Token is missing from the header or query. diff --git a/docs/Models/Errors/GetWatchListResponseBody.md b/docs/Models/Errors/GetWatchListBadRequest.md similarity index 98% rename from docs/Models/Errors/GetWatchListResponseBody.md rename to docs/Models/Errors/GetWatchListBadRequest.md index 79426b4..a7851e1 100644 --- a/docs/Models/Errors/GetWatchListResponseBody.md +++ b/docs/Models/Errors/GetWatchListBadRequest.md @@ -1,4 +1,4 @@ -# GetWatchListResponseBody +# GetWatchListBadRequest Bad Request - A parameter was not specified, or was specified incorrectly. diff --git a/docs/Models/Errors/GetWatchListWatchlistResponseBody.md b/docs/Models/Errors/GetWatchListUnauthorized.md similarity index 98% rename from docs/Models/Errors/GetWatchListWatchlistResponseBody.md rename to docs/Models/Errors/GetWatchListUnauthorized.md index 4666451..003cd57 100644 --- a/docs/Models/Errors/GetWatchListWatchlistResponseBody.md +++ b/docs/Models/Errors/GetWatchListUnauthorized.md @@ -1,4 +1,4 @@ -# GetWatchListWatchlistResponseBody +# GetWatchListUnauthorized Unauthorized - Returned if the X-Plex-Token is missing from the header or query. diff --git a/docs/Models/Errors/LogLineResponseBody.md b/docs/Models/Errors/LogLineBadRequest.md similarity index 98% rename from docs/Models/Errors/LogLineResponseBody.md rename to docs/Models/Errors/LogLineBadRequest.md index 224b7a3..ee9117a 100644 --- a/docs/Models/Errors/LogLineResponseBody.md +++ b/docs/Models/Errors/LogLineBadRequest.md @@ -1,4 +1,4 @@ -# LogLineResponseBody +# LogLineBadRequest Bad Request - A parameter was not specified, or was specified incorrectly. diff --git a/docs/Models/Errors/LogLineLogResponseBody.md b/docs/Models/Errors/LogLineUnauthorized.md similarity index 98% rename from docs/Models/Errors/LogLineLogResponseBody.md rename to docs/Models/Errors/LogLineUnauthorized.md index 9de3379..cd9866f 100644 --- a/docs/Models/Errors/LogLineLogResponseBody.md +++ b/docs/Models/Errors/LogLineUnauthorized.md @@ -1,4 +1,4 @@ -# LogLineLogResponseBody +# LogLineUnauthorized Unauthorized - Returned if the X-Plex-Token is missing from the header or query. diff --git a/docs/Models/Errors/LogMultiLineResponseBody.md b/docs/Models/Errors/LogMultiLineBadRequest.md similarity index 98% rename from docs/Models/Errors/LogMultiLineResponseBody.md rename to docs/Models/Errors/LogMultiLineBadRequest.md index 6200fb5..d608067 100644 --- a/docs/Models/Errors/LogMultiLineResponseBody.md +++ b/docs/Models/Errors/LogMultiLineBadRequest.md @@ -1,4 +1,4 @@ -# LogMultiLineResponseBody +# LogMultiLineBadRequest Bad Request - A parameter was not specified, or was specified incorrectly. diff --git a/docs/Models/Errors/LogMultiLineLogResponseBody.md b/docs/Models/Errors/LogMultiLineUnauthorized.md similarity index 98% rename from docs/Models/Errors/LogMultiLineLogResponseBody.md rename to docs/Models/Errors/LogMultiLineUnauthorized.md index ad1bbcd..dd472d9 100644 --- a/docs/Models/Errors/LogMultiLineLogResponseBody.md +++ b/docs/Models/Errors/LogMultiLineUnauthorized.md @@ -1,4 +1,4 @@ -# LogMultiLineLogResponseBody +# LogMultiLineUnauthorized Unauthorized - Returned if the X-Plex-Token is missing from the header or query. diff --git a/docs/Models/Errors/MarkPlayedResponseBody.md b/docs/Models/Errors/MarkPlayedBadRequest.md similarity index 98% rename from docs/Models/Errors/MarkPlayedResponseBody.md rename to docs/Models/Errors/MarkPlayedBadRequest.md index 33c86f1..192a311 100644 --- a/docs/Models/Errors/MarkPlayedResponseBody.md +++ b/docs/Models/Errors/MarkPlayedBadRequest.md @@ -1,4 +1,4 @@ -# MarkPlayedResponseBody +# MarkPlayedBadRequest Bad Request - A parameter was not specified, or was specified incorrectly. diff --git a/docs/Models/Errors/MarkPlayedMediaResponseBody.md b/docs/Models/Errors/MarkPlayedUnauthorized.md similarity index 98% rename from docs/Models/Errors/MarkPlayedMediaResponseBody.md rename to docs/Models/Errors/MarkPlayedUnauthorized.md index 25544b7..9a246e7 100644 --- a/docs/Models/Errors/MarkPlayedMediaResponseBody.md +++ b/docs/Models/Errors/MarkPlayedUnauthorized.md @@ -1,4 +1,4 @@ -# MarkPlayedMediaResponseBody +# MarkPlayedUnauthorized Unauthorized - Returned if the X-Plex-Token is missing from the header or query. diff --git a/docs/Models/Errors/MarkUnplayedResponseBody.md b/docs/Models/Errors/MarkUnplayedBadRequest.md similarity index 98% rename from docs/Models/Errors/MarkUnplayedResponseBody.md rename to docs/Models/Errors/MarkUnplayedBadRequest.md index b854ca8..6b6e638 100644 --- a/docs/Models/Errors/MarkUnplayedResponseBody.md +++ b/docs/Models/Errors/MarkUnplayedBadRequest.md @@ -1,4 +1,4 @@ -# MarkUnplayedResponseBody +# MarkUnplayedBadRequest Bad Request - A parameter was not specified, or was specified incorrectly. diff --git a/docs/Models/Errors/MarkUnplayedMediaResponseBody.md b/docs/Models/Errors/MarkUnplayedUnauthorized.md similarity index 98% rename from docs/Models/Errors/MarkUnplayedMediaResponseBody.md rename to docs/Models/Errors/MarkUnplayedUnauthorized.md index d9588f3..cd9ad73 100644 --- a/docs/Models/Errors/MarkUnplayedMediaResponseBody.md +++ b/docs/Models/Errors/MarkUnplayedUnauthorized.md @@ -1,4 +1,4 @@ -# MarkUnplayedMediaResponseBody +# MarkUnplayedUnauthorized Unauthorized - Returned if the X-Plex-Token is missing from the header or query. diff --git a/docs/Models/Errors/PerformSearchResponseBody.md b/docs/Models/Errors/PerformSearchBadRequest.md similarity index 98% rename from docs/Models/Errors/PerformSearchResponseBody.md rename to docs/Models/Errors/PerformSearchBadRequest.md index 43c6c76..198d2cd 100644 --- a/docs/Models/Errors/PerformSearchResponseBody.md +++ b/docs/Models/Errors/PerformSearchBadRequest.md @@ -1,4 +1,4 @@ -# PerformSearchResponseBody +# PerformSearchBadRequest Bad Request - A parameter was not specified, or was specified incorrectly. diff --git a/docs/Models/Errors/PerformSearchSearchResponseBody.md b/docs/Models/Errors/PerformSearchUnauthorized.md similarity index 98% rename from docs/Models/Errors/PerformSearchSearchResponseBody.md rename to docs/Models/Errors/PerformSearchUnauthorized.md index c18680b..2bb1e9e 100644 --- a/docs/Models/Errors/PerformSearchSearchResponseBody.md +++ b/docs/Models/Errors/PerformSearchUnauthorized.md @@ -1,4 +1,4 @@ -# PerformSearchSearchResponseBody +# PerformSearchUnauthorized Unauthorized - Returned if the X-Plex-Token is missing from the header or query. diff --git a/docs/Models/Errors/PerformVoiceSearchResponseBody.md b/docs/Models/Errors/PerformVoiceSearchBadRequest.md similarity index 98% rename from docs/Models/Errors/PerformVoiceSearchResponseBody.md rename to docs/Models/Errors/PerformVoiceSearchBadRequest.md index e5125a8..6ff526e 100644 --- a/docs/Models/Errors/PerformVoiceSearchResponseBody.md +++ b/docs/Models/Errors/PerformVoiceSearchBadRequest.md @@ -1,4 +1,4 @@ -# PerformVoiceSearchResponseBody +# PerformVoiceSearchBadRequest Bad Request - A parameter was not specified, or was specified incorrectly. diff --git a/docs/Models/Errors/PerformVoiceSearchSearchResponseBody.md b/docs/Models/Errors/PerformVoiceSearchUnauthorized.md similarity index 98% rename from docs/Models/Errors/PerformVoiceSearchSearchResponseBody.md rename to docs/Models/Errors/PerformVoiceSearchUnauthorized.md index 3953a68..5ac0da9 100644 --- a/docs/Models/Errors/PerformVoiceSearchSearchResponseBody.md +++ b/docs/Models/Errors/PerformVoiceSearchUnauthorized.md @@ -1,4 +1,4 @@ -# PerformVoiceSearchSearchResponseBody +# PerformVoiceSearchUnauthorized Unauthorized - Returned if the X-Plex-Token is missing from the header or query. diff --git a/docs/Models/Errors/PostUsersSignInDataResponseBody.md b/docs/Models/Errors/PostUsersSignInDataBadRequest.md similarity index 98% rename from docs/Models/Errors/PostUsersSignInDataResponseBody.md rename to docs/Models/Errors/PostUsersSignInDataBadRequest.md index 793f70b..57f7d38 100644 --- a/docs/Models/Errors/PostUsersSignInDataResponseBody.md +++ b/docs/Models/Errors/PostUsersSignInDataBadRequest.md @@ -1,4 +1,4 @@ -# PostUsersSignInDataResponseBody +# PostUsersSignInDataBadRequest Bad Request - A parameter was not specified, or was specified incorrectly. diff --git a/docs/Models/Errors/PostUsersSignInDataAuthenticationResponseBody.md b/docs/Models/Errors/PostUsersSignInDataUnauthorized.md similarity index 97% rename from docs/Models/Errors/PostUsersSignInDataAuthenticationResponseBody.md rename to docs/Models/Errors/PostUsersSignInDataUnauthorized.md index 9c26811..e7bdff9 100644 --- a/docs/Models/Errors/PostUsersSignInDataAuthenticationResponseBody.md +++ b/docs/Models/Errors/PostUsersSignInDataUnauthorized.md @@ -1,4 +1,4 @@ -# PostUsersSignInDataAuthenticationResponseBody +# PostUsersSignInDataUnauthorized Unauthorized - Returned if the X-Plex-Token is missing from the header or query. diff --git a/docs/Models/Errors/StartAllTasksResponseBody.md b/docs/Models/Errors/StartAllTasksBadRequest.md similarity index 98% rename from docs/Models/Errors/StartAllTasksResponseBody.md rename to docs/Models/Errors/StartAllTasksBadRequest.md index fc76c77..8b64c7a 100644 --- a/docs/Models/Errors/StartAllTasksResponseBody.md +++ b/docs/Models/Errors/StartAllTasksBadRequest.md @@ -1,4 +1,4 @@ -# StartAllTasksResponseBody +# StartAllTasksBadRequest Bad Request - A parameter was not specified, or was specified incorrectly. diff --git a/docs/Models/Errors/StartAllTasksButlerResponseBody.md b/docs/Models/Errors/StartAllTasksUnauthorized.md similarity index 98% rename from docs/Models/Errors/StartAllTasksButlerResponseBody.md rename to docs/Models/Errors/StartAllTasksUnauthorized.md index 0db0b62..806a55a 100644 --- a/docs/Models/Errors/StartAllTasksButlerResponseBody.md +++ b/docs/Models/Errors/StartAllTasksUnauthorized.md @@ -1,4 +1,4 @@ -# StartAllTasksButlerResponseBody +# StartAllTasksUnauthorized Unauthorized - Returned if the X-Plex-Token is missing from the header or query. diff --git a/docs/Models/Errors/StartTaskResponseBody.md b/docs/Models/Errors/StartTaskBadRequest.md similarity index 98% rename from docs/Models/Errors/StartTaskResponseBody.md rename to docs/Models/Errors/StartTaskBadRequest.md index 376f3b0..4041eb3 100644 --- a/docs/Models/Errors/StartTaskResponseBody.md +++ b/docs/Models/Errors/StartTaskBadRequest.md @@ -1,4 +1,4 @@ -# StartTaskResponseBody +# StartTaskBadRequest Bad Request - A parameter was not specified, or was specified incorrectly. diff --git a/docs/Models/Errors/StartTaskButlerResponseBody.md b/docs/Models/Errors/StartTaskUnauthorized.md similarity index 98% rename from docs/Models/Errors/StartTaskButlerResponseBody.md rename to docs/Models/Errors/StartTaskUnauthorized.md index cd31fc2..ec5cf9e 100644 --- a/docs/Models/Errors/StartTaskButlerResponseBody.md +++ b/docs/Models/Errors/StartTaskUnauthorized.md @@ -1,4 +1,4 @@ -# StartTaskButlerResponseBody +# StartTaskUnauthorized Unauthorized - Returned if the X-Plex-Token is missing from the header or query. diff --git a/docs/Models/Errors/StartUniversalTranscodeResponseBody.md b/docs/Models/Errors/StartUniversalTranscodeBadRequest.md similarity index 98% rename from docs/Models/Errors/StartUniversalTranscodeResponseBody.md rename to docs/Models/Errors/StartUniversalTranscodeBadRequest.md index e6bdd18..097b063 100644 --- a/docs/Models/Errors/StartUniversalTranscodeResponseBody.md +++ b/docs/Models/Errors/StartUniversalTranscodeBadRequest.md @@ -1,4 +1,4 @@ -# StartUniversalTranscodeResponseBody +# StartUniversalTranscodeBadRequest Bad Request - A parameter was not specified, or was specified incorrectly. diff --git a/docs/Models/Errors/StartUniversalTranscodeVideoResponseBody.md b/docs/Models/Errors/StartUniversalTranscodeUnauthorized.md similarity index 97% rename from docs/Models/Errors/StartUniversalTranscodeVideoResponseBody.md rename to docs/Models/Errors/StartUniversalTranscodeUnauthorized.md index 28679eb..0bb5af5 100644 --- a/docs/Models/Errors/StartUniversalTranscodeVideoResponseBody.md +++ b/docs/Models/Errors/StartUniversalTranscodeUnauthorized.md @@ -1,4 +1,4 @@ -# StartUniversalTranscodeVideoResponseBody +# StartUniversalTranscodeUnauthorized Unauthorized - Returned if the X-Plex-Token is missing from the header or query. diff --git a/docs/Models/Errors/StopAllTasksResponseBody.md b/docs/Models/Errors/StopAllTasksBadRequest.md similarity index 98% rename from docs/Models/Errors/StopAllTasksResponseBody.md rename to docs/Models/Errors/StopAllTasksBadRequest.md index 4fd2a79..fd03633 100644 --- a/docs/Models/Errors/StopAllTasksResponseBody.md +++ b/docs/Models/Errors/StopAllTasksBadRequest.md @@ -1,4 +1,4 @@ -# StopAllTasksResponseBody +# StopAllTasksBadRequest Bad Request - A parameter was not specified, or was specified incorrectly. diff --git a/docs/Models/Errors/StopAllTasksButlerResponseBody.md b/docs/Models/Errors/StopAllTasksUnauthorized.md similarity index 98% rename from docs/Models/Errors/StopAllTasksButlerResponseBody.md rename to docs/Models/Errors/StopAllTasksUnauthorized.md index c9046c4..1b23134 100644 --- a/docs/Models/Errors/StopAllTasksButlerResponseBody.md +++ b/docs/Models/Errors/StopAllTasksUnauthorized.md @@ -1,4 +1,4 @@ -# StopAllTasksButlerResponseBody +# StopAllTasksUnauthorized Unauthorized - Returned if the X-Plex-Token is missing from the header or query. diff --git a/docs/Models/Errors/StopTaskResponseBody.md b/docs/Models/Errors/StopTaskBadRequest.md similarity index 98% rename from docs/Models/Errors/StopTaskResponseBody.md rename to docs/Models/Errors/StopTaskBadRequest.md index 6441e61..41a8e38 100644 --- a/docs/Models/Errors/StopTaskResponseBody.md +++ b/docs/Models/Errors/StopTaskBadRequest.md @@ -1,4 +1,4 @@ -# StopTaskResponseBody +# StopTaskBadRequest Bad Request - A parameter was not specified, or was specified incorrectly. diff --git a/docs/Models/Errors/StopTaskButlerResponseBody.md b/docs/Models/Errors/StopTaskUnauthorized.md similarity index 98% rename from docs/Models/Errors/StopTaskButlerResponseBody.md rename to docs/Models/Errors/StopTaskUnauthorized.md index 6859661..beb9555 100644 --- a/docs/Models/Errors/StopTaskButlerResponseBody.md +++ b/docs/Models/Errors/StopTaskUnauthorized.md @@ -1,4 +1,4 @@ -# StopTaskButlerResponseBody +# StopTaskUnauthorized Unauthorized - Returned if the X-Plex-Token is missing from the header or query. diff --git a/docs/Models/Errors/StopTranscodeSessionResponseBody.md b/docs/Models/Errors/StopTranscodeSessionBadRequest.md similarity index 98% rename from docs/Models/Errors/StopTranscodeSessionResponseBody.md rename to docs/Models/Errors/StopTranscodeSessionBadRequest.md index de41144..1e13f44 100644 --- a/docs/Models/Errors/StopTranscodeSessionResponseBody.md +++ b/docs/Models/Errors/StopTranscodeSessionBadRequest.md @@ -1,4 +1,4 @@ -# StopTranscodeSessionResponseBody +# StopTranscodeSessionBadRequest Bad Request - A parameter was not specified, or was specified incorrectly. diff --git a/docs/Models/Errors/StopTranscodeSessionSessionsResponseBody.md b/docs/Models/Errors/StopTranscodeSessionUnauthorized.md similarity index 97% rename from docs/Models/Errors/StopTranscodeSessionSessionsResponseBody.md rename to docs/Models/Errors/StopTranscodeSessionUnauthorized.md index cddb3b5..917a51a 100644 --- a/docs/Models/Errors/StopTranscodeSessionSessionsResponseBody.md +++ b/docs/Models/Errors/StopTranscodeSessionUnauthorized.md @@ -1,4 +1,4 @@ -# StopTranscodeSessionSessionsResponseBody +# StopTranscodeSessionUnauthorized Unauthorized - Returned if the X-Plex-Token is missing from the header or query. diff --git a/docs/Models/Errors/UpdatePlayProgressResponseBody.md b/docs/Models/Errors/UpdatePlayProgressBadRequest.md similarity index 98% rename from docs/Models/Errors/UpdatePlayProgressResponseBody.md rename to docs/Models/Errors/UpdatePlayProgressBadRequest.md index 69e124e..ce615b5 100644 --- a/docs/Models/Errors/UpdatePlayProgressResponseBody.md +++ b/docs/Models/Errors/UpdatePlayProgressBadRequest.md @@ -1,4 +1,4 @@ -# UpdatePlayProgressResponseBody +# UpdatePlayProgressBadRequest Bad Request - A parameter was not specified, or was specified incorrectly. diff --git a/docs/Models/Errors/UpdatePlayProgressMediaResponseBody.md b/docs/Models/Errors/UpdatePlayProgressUnauthorized.md similarity index 98% rename from docs/Models/Errors/UpdatePlayProgressMediaResponseBody.md rename to docs/Models/Errors/UpdatePlayProgressUnauthorized.md index f4889f8..6201c2a 100644 --- a/docs/Models/Errors/UpdatePlayProgressMediaResponseBody.md +++ b/docs/Models/Errors/UpdatePlayProgressUnauthorized.md @@ -1,4 +1,4 @@ -# UpdatePlayProgressMediaResponseBody +# UpdatePlayProgressUnauthorized Unauthorized - Returned if the X-Plex-Token is missing from the header or query. diff --git a/docs/Models/Errors/UpdatePlaylistResponseBody.md b/docs/Models/Errors/UpdatePlaylistBadRequest.md similarity index 98% rename from docs/Models/Errors/UpdatePlaylistResponseBody.md rename to docs/Models/Errors/UpdatePlaylistBadRequest.md index d38f1ec..e6e9738 100644 --- a/docs/Models/Errors/UpdatePlaylistResponseBody.md +++ b/docs/Models/Errors/UpdatePlaylistBadRequest.md @@ -1,4 +1,4 @@ -# UpdatePlaylistResponseBody +# UpdatePlaylistBadRequest Bad Request - A parameter was not specified, or was specified incorrectly. diff --git a/docs/Models/Errors/UpdatePlaylistPlaylistsResponseBody.md b/docs/Models/Errors/UpdatePlaylistUnauthorized.md similarity index 98% rename from docs/Models/Errors/UpdatePlaylistPlaylistsResponseBody.md rename to docs/Models/Errors/UpdatePlaylistUnauthorized.md index c689afd..40d5e4c 100644 --- a/docs/Models/Errors/UpdatePlaylistPlaylistsResponseBody.md +++ b/docs/Models/Errors/UpdatePlaylistUnauthorized.md @@ -1,4 +1,4 @@ -# UpdatePlaylistPlaylistsResponseBody +# UpdatePlaylistUnauthorized Unauthorized - Returned if the X-Plex-Token is missing from the header or query. diff --git a/docs/Models/Errors/UploadPlaylistResponseBody.md b/docs/Models/Errors/UploadPlaylistBadRequest.md similarity index 98% rename from docs/Models/Errors/UploadPlaylistResponseBody.md rename to docs/Models/Errors/UploadPlaylistBadRequest.md index 11b7056..752aa96 100644 --- a/docs/Models/Errors/UploadPlaylistResponseBody.md +++ b/docs/Models/Errors/UploadPlaylistBadRequest.md @@ -1,4 +1,4 @@ -# UploadPlaylistResponseBody +# UploadPlaylistBadRequest Bad Request - A parameter was not specified, or was specified incorrectly. diff --git a/docs/Models/Errors/UploadPlaylistPlaylistsResponseBody.md b/docs/Models/Errors/UploadPlaylistUnauthorized.md similarity index 98% rename from docs/Models/Errors/UploadPlaylistPlaylistsResponseBody.md rename to docs/Models/Errors/UploadPlaylistUnauthorized.md index 80147d4..3e5d364 100644 --- a/docs/Models/Errors/UploadPlaylistPlaylistsResponseBody.md +++ b/docs/Models/Errors/UploadPlaylistUnauthorized.md @@ -1,4 +1,4 @@ -# UploadPlaylistPlaylistsResponseBody +# UploadPlaylistUnauthorized Unauthorized - Returned if the X-Plex-Token is missing from the header or query. diff --git a/docs/Models/Requests/AddPlaylistContentsResponse.md b/docs/Models/Requests/AddPlaylistContentsResponse.md index adfd65f..d79b3cd 100644 --- a/docs/Models/Requests/AddPlaylistContentsResponse.md +++ b/docs/Models/Requests/AddPlaylistContentsResponse.md @@ -8,4 +8,4 @@ | `ContentType` | *string* | :heavy_check_mark: | HTTP response content type for this operation | | `StatusCode` | *int* | :heavy_check_mark: | HTTP response status code for this operation | | `RawResponse` | [HttpResponseMessage](https://learn.microsoft.com/en-us/dotnet/api/system.net.http.httpresponsemessage?view=net-5.0) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | -| `Object` | [Models.Requests.AddPlaylistContentsResponseBody](../../Models/Requests/AddPlaylistContentsResponseBody.md) | :heavy_minus_sign: | Playlist Updated | \ No newline at end of file +| `Object` | [AddPlaylistContentsResponseBody](../../Models/Requests/AddPlaylistContentsResponseBody.md) | :heavy_minus_sign: | Playlist Updated | \ No newline at end of file diff --git a/docs/Models/Requests/CreatePlaylistResponse.md b/docs/Models/Requests/CreatePlaylistResponse.md index 5304bcd..21fdd8e 100644 --- a/docs/Models/Requests/CreatePlaylistResponse.md +++ b/docs/Models/Requests/CreatePlaylistResponse.md @@ -8,4 +8,4 @@ | `ContentType` | *string* | :heavy_check_mark: | HTTP response content type for this operation | | `StatusCode` | *int* | :heavy_check_mark: | HTTP response status code for this operation | | `RawResponse` | [HttpResponseMessage](https://learn.microsoft.com/en-us/dotnet/api/system.net.http.httpresponsemessage?view=net-5.0) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | -| `Object` | [Models.Requests.CreatePlaylistResponseBody](../../Models/Requests/CreatePlaylistResponseBody.md) | :heavy_minus_sign: | returns all playlists | \ No newline at end of file +| `Object` | [CreatePlaylistResponseBody](../../Models/Requests/CreatePlaylistResponseBody.md) | :heavy_minus_sign: | returns all playlists | \ No newline at end of file diff --git a/docs/Models/Requests/GetAllLibrariesResponse.md b/docs/Models/Requests/GetAllLibrariesResponse.md index 5949bb2..4fd408e 100644 --- a/docs/Models/Requests/GetAllLibrariesResponse.md +++ b/docs/Models/Requests/GetAllLibrariesResponse.md @@ -8,4 +8,4 @@ | `ContentType` | *string* | :heavy_check_mark: | HTTP response content type for this operation | | `StatusCode` | *int* | :heavy_check_mark: | HTTP response status code for this operation | | `RawResponse` | [HttpResponseMessage](https://learn.microsoft.com/en-us/dotnet/api/system.net.http.httpresponsemessage?view=net-5.0) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | -| `Object` | [Models.Requests.GetAllLibrariesResponseBody](../../Models/Requests/GetAllLibrariesResponseBody.md) | :heavy_minus_sign: | The libraries available on the Server | \ No newline at end of file +| `Object` | [GetAllLibrariesResponseBody](../../Models/Requests/GetAllLibrariesResponseBody.md) | :heavy_minus_sign: | The libraries available on the Server | \ No newline at end of file diff --git a/docs/Models/Requests/GetAvailableClientsResponse.md b/docs/Models/Requests/GetAvailableClientsResponse.md index 9375961..d96114b 100644 --- a/docs/Models/Requests/GetAvailableClientsResponse.md +++ b/docs/Models/Requests/GetAvailableClientsResponse.md @@ -8,4 +8,4 @@ | `ContentType` | *string* | :heavy_check_mark: | HTTP response content type for this operation | | `StatusCode` | *int* | :heavy_check_mark: | HTTP response status code for this operation | | `RawResponse` | [HttpResponseMessage](https://learn.microsoft.com/en-us/dotnet/api/system.net.http.httpresponsemessage?view=net-5.0) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | -| `Object` | [Models.Requests.GetAvailableClientsResponseBody](../../Models/Requests/GetAvailableClientsResponseBody.md) | :heavy_minus_sign: | Available Clients | \ No newline at end of file +| `Object` | [GetAvailableClientsResponseBody](../../Models/Requests/GetAvailableClientsResponseBody.md) | :heavy_minus_sign: | Available Clients | \ No newline at end of file diff --git a/docs/Models/Requests/GetBandwidthStatisticsResponse.md b/docs/Models/Requests/GetBandwidthStatisticsResponse.md index 8c04402..dbcb385 100644 --- a/docs/Models/Requests/GetBandwidthStatisticsResponse.md +++ b/docs/Models/Requests/GetBandwidthStatisticsResponse.md @@ -8,4 +8,4 @@ | `ContentType` | *string* | :heavy_check_mark: | HTTP response content type for this operation | | `StatusCode` | *int* | :heavy_check_mark: | HTTP response status code for this operation | | `RawResponse` | [HttpResponseMessage](https://learn.microsoft.com/en-us/dotnet/api/system.net.http.httpresponsemessage?view=net-5.0) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | -| `Object` | [Models.Requests.GetBandwidthStatisticsResponseBody](../../Models/Requests/GetBandwidthStatisticsResponseBody.md) | :heavy_minus_sign: | Bandwidth Statistics | \ No newline at end of file +| `Object` | [GetBandwidthStatisticsResponseBody](../../Models/Requests/GetBandwidthStatisticsResponseBody.md) | :heavy_minus_sign: | Bandwidth Statistics | \ No newline at end of file diff --git a/docs/Models/Requests/GetButlerTasksResponse.md b/docs/Models/Requests/GetButlerTasksResponse.md index dedfa5e..4524b9e 100644 --- a/docs/Models/Requests/GetButlerTasksResponse.md +++ b/docs/Models/Requests/GetButlerTasksResponse.md @@ -8,4 +8,4 @@ | `ContentType` | *string* | :heavy_check_mark: | HTTP response content type for this operation | | `StatusCode` | *int* | :heavy_check_mark: | HTTP response status code for this operation | | `RawResponse` | [HttpResponseMessage](https://learn.microsoft.com/en-us/dotnet/api/system.net.http.httpresponsemessage?view=net-5.0) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | -| `Object` | [Models.Requests.GetButlerTasksResponseBody](../../Models/Requests/GetButlerTasksResponseBody.md) | :heavy_minus_sign: | All butler tasks | \ No newline at end of file +| `Object` | [GetButlerTasksResponseBody](../../Models/Requests/GetButlerTasksResponseBody.md) | :heavy_minus_sign: | All butler tasks | \ No newline at end of file diff --git a/docs/Models/Requests/GetDevicesResponse.md b/docs/Models/Requests/GetDevicesResponse.md index 1651198..259a4cc 100644 --- a/docs/Models/Requests/GetDevicesResponse.md +++ b/docs/Models/Requests/GetDevicesResponse.md @@ -8,4 +8,4 @@ | `ContentType` | *string* | :heavy_check_mark: | HTTP response content type for this operation | | `StatusCode` | *int* | :heavy_check_mark: | HTTP response status code for this operation | | `RawResponse` | [HttpResponseMessage](https://learn.microsoft.com/en-us/dotnet/api/system.net.http.httpresponsemessage?view=net-5.0) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | -| `Object` | [Models.Requests.GetDevicesResponseBody](../../Models/Requests/GetDevicesResponseBody.md) | :heavy_minus_sign: | Devices | \ No newline at end of file +| `Object` | [GetDevicesResponseBody](../../Models/Requests/GetDevicesResponseBody.md) | :heavy_minus_sign: | Devices | \ No newline at end of file diff --git a/docs/Models/Requests/GetGlobalHubsResponse.md b/docs/Models/Requests/GetGlobalHubsResponse.md index cfaf8f5..c2a8761 100644 --- a/docs/Models/Requests/GetGlobalHubsResponse.md +++ b/docs/Models/Requests/GetGlobalHubsResponse.md @@ -8,4 +8,4 @@ | `ContentType` | *string* | :heavy_check_mark: | HTTP response content type for this operation | | `StatusCode` | *int* | :heavy_check_mark: | HTTP response status code for this operation | | `RawResponse` | [HttpResponseMessage](https://learn.microsoft.com/en-us/dotnet/api/system.net.http.httpresponsemessage?view=net-5.0) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | -| `Object` | [Models.Requests.GetGlobalHubsResponseBody](../../Models/Requests/GetGlobalHubsResponseBody.md) | :heavy_minus_sign: | returns global hubs | \ No newline at end of file +| `Object` | [GetGlobalHubsResponseBody](../../Models/Requests/GetGlobalHubsResponseBody.md) | :heavy_minus_sign: | returns global hubs | \ No newline at end of file diff --git a/docs/Models/Requests/GetHomeDataResponse.md b/docs/Models/Requests/GetHomeDataResponse.md index 5950a77..f60954f 100644 --- a/docs/Models/Requests/GetHomeDataResponse.md +++ b/docs/Models/Requests/GetHomeDataResponse.md @@ -8,4 +8,4 @@ | `ContentType` | *string* | :heavy_check_mark: | HTTP response content type for this operation | | `StatusCode` | *int* | :heavy_check_mark: | HTTP response status code for this operation | | `RawResponse` | [HttpResponseMessage](https://learn.microsoft.com/en-us/dotnet/api/system.net.http.httpresponsemessage?view=net-5.0) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | -| `Object` | [Models.Requests.GetHomeDataResponseBody](../../Models/Requests/GetHomeDataResponseBody.md) | :heavy_minus_sign: | Home Data | \ No newline at end of file +| `Object` | [GetHomeDataResponseBody](../../Models/Requests/GetHomeDataResponseBody.md) | :heavy_minus_sign: | Home Data | \ No newline at end of file diff --git a/docs/Models/Requests/GetLibraryDetailsResponse.md b/docs/Models/Requests/GetLibraryDetailsResponse.md index d7d0908..c4b8857 100644 --- a/docs/Models/Requests/GetLibraryDetailsResponse.md +++ b/docs/Models/Requests/GetLibraryDetailsResponse.md @@ -8,4 +8,4 @@ | `ContentType` | *string* | :heavy_check_mark: | HTTP response content type for this operation | | `StatusCode` | *int* | :heavy_check_mark: | HTTP response status code for this operation | | `RawResponse` | [HttpResponseMessage](https://learn.microsoft.com/en-us/dotnet/api/system.net.http.httpresponsemessage?view=net-5.0) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | -| `Object` | [Models.Requests.GetLibraryDetailsResponseBody](../../Models/Requests/GetLibraryDetailsResponseBody.md) | :heavy_minus_sign: | The details of the library | \ No newline at end of file +| `Object` | [GetLibraryDetailsResponseBody](../../Models/Requests/GetLibraryDetailsResponseBody.md) | :heavy_minus_sign: | The details of the library | \ No newline at end of file diff --git a/docs/Models/Requests/GetLibraryHubsResponse.md b/docs/Models/Requests/GetLibraryHubsResponse.md index 3cf05bd..d00daf9 100644 --- a/docs/Models/Requests/GetLibraryHubsResponse.md +++ b/docs/Models/Requests/GetLibraryHubsResponse.md @@ -8,4 +8,4 @@ | `ContentType` | *string* | :heavy_check_mark: | HTTP response content type for this operation | | `StatusCode` | *int* | :heavy_check_mark: | HTTP response status code for this operation | | `RawResponse` | [HttpResponseMessage](https://learn.microsoft.com/en-us/dotnet/api/system.net.http.httpresponsemessage?view=net-5.0) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | -| `Object` | [Models.Requests.GetLibraryHubsResponseBody](../../Models/Requests/GetLibraryHubsResponseBody.md) | :heavy_minus_sign: | The hubs specific to the library | \ No newline at end of file +| `Object` | [GetLibraryHubsResponseBody](../../Models/Requests/GetLibraryHubsResponseBody.md) | :heavy_minus_sign: | The hubs specific to the library | \ No newline at end of file diff --git a/docs/Models/Requests/GetLibraryItemsResponse.md b/docs/Models/Requests/GetLibraryItemsResponse.md index 8f90cdb..4e8bbc7 100644 --- a/docs/Models/Requests/GetLibraryItemsResponse.md +++ b/docs/Models/Requests/GetLibraryItemsResponse.md @@ -8,4 +8,4 @@ | `ContentType` | *string* | :heavy_check_mark: | HTTP response content type for this operation | | `StatusCode` | *int* | :heavy_check_mark: | HTTP response status code for this operation | | `RawResponse` | [HttpResponseMessage](https://learn.microsoft.com/en-us/dotnet/api/system.net.http.httpresponsemessage?view=net-5.0) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | -| `Object` | [Models.Requests.GetLibraryItemsResponseBody](../../Models/Requests/GetLibraryItemsResponseBody.md) | :heavy_minus_sign: | The contents of the library by section and tag | \ No newline at end of file +| `Object` | [GetLibraryItemsResponseBody](../../Models/Requests/GetLibraryItemsResponseBody.md) | :heavy_minus_sign: | The contents of the library by section and tag | \ No newline at end of file diff --git a/docs/Models/Requests/GetMediaProvidersResponse.md b/docs/Models/Requests/GetMediaProvidersResponse.md index 9545657..10fd234 100644 --- a/docs/Models/Requests/GetMediaProvidersResponse.md +++ b/docs/Models/Requests/GetMediaProvidersResponse.md @@ -8,4 +8,4 @@ | `ContentType` | *string* | :heavy_check_mark: | HTTP response content type for this operation | | `StatusCode` | *int* | :heavy_check_mark: | HTTP response status code for this operation | | `RawResponse` | [HttpResponseMessage](https://learn.microsoft.com/en-us/dotnet/api/system.net.http.httpresponsemessage?view=net-5.0) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | -| `Object` | [Models.Requests.GetMediaProvidersResponseBody](../../Models/Requests/GetMediaProvidersResponseBody.md) | :heavy_minus_sign: | Media providers and their features | \ No newline at end of file +| `Object` | [GetMediaProvidersResponseBody](../../Models/Requests/GetMediaProvidersResponseBody.md) | :heavy_minus_sign: | Media providers and their features | \ No newline at end of file diff --git a/docs/Models/Requests/GetMetaDataByRatingKeyResponse.md b/docs/Models/Requests/GetMetaDataByRatingKeyResponse.md index 6878b07..93b8301 100644 --- a/docs/Models/Requests/GetMetaDataByRatingKeyResponse.md +++ b/docs/Models/Requests/GetMetaDataByRatingKeyResponse.md @@ -8,4 +8,4 @@ | `ContentType` | *string* | :heavy_check_mark: | HTTP response content type for this operation | | `StatusCode` | *int* | :heavy_check_mark: | HTTP response status code for this operation | | `RawResponse` | [HttpResponseMessage](https://learn.microsoft.com/en-us/dotnet/api/system.net.http.httpresponsemessage?view=net-5.0) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | -| `Object` | [Models.Requests.GetMetaDataByRatingKeyResponseBody](../../Models/Requests/GetMetaDataByRatingKeyResponseBody.md) | :heavy_minus_sign: | The metadata of the library item. | \ No newline at end of file +| `Object` | [GetMetaDataByRatingKeyResponseBody](../../Models/Requests/GetMetaDataByRatingKeyResponseBody.md) | :heavy_minus_sign: | The metadata of the library item. | \ No newline at end of file diff --git a/docs/Models/Requests/GetMetadataChildrenResponse.md b/docs/Models/Requests/GetMetadataChildrenResponse.md index e539da2..8a22479 100644 --- a/docs/Models/Requests/GetMetadataChildrenResponse.md +++ b/docs/Models/Requests/GetMetadataChildrenResponse.md @@ -8,4 +8,4 @@ | `ContentType` | *string* | :heavy_check_mark: | HTTP response content type for this operation | | `StatusCode` | *int* | :heavy_check_mark: | HTTP response status code for this operation | | `RawResponse` | [HttpResponseMessage](https://learn.microsoft.com/en-us/dotnet/api/system.net.http.httpresponsemessage?view=net-5.0) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | -| `Object` | [Models.Requests.GetMetadataChildrenResponseBody](../../Models/Requests/GetMetadataChildrenResponseBody.md) | :heavy_minus_sign: | The children of the library item. | \ No newline at end of file +| `Object` | [GetMetadataChildrenResponseBody](../../Models/Requests/GetMetadataChildrenResponseBody.md) | :heavy_minus_sign: | The children of the library item. | \ No newline at end of file diff --git a/docs/Models/Requests/GetMyPlexAccountResponse.md b/docs/Models/Requests/GetMyPlexAccountResponse.md index 3a6328e..100565f 100644 --- a/docs/Models/Requests/GetMyPlexAccountResponse.md +++ b/docs/Models/Requests/GetMyPlexAccountResponse.md @@ -8,4 +8,4 @@ | `ContentType` | *string* | :heavy_check_mark: | HTTP response content type for this operation | | `StatusCode` | *int* | :heavy_check_mark: | HTTP response status code for this operation | | `RawResponse` | [HttpResponseMessage](https://learn.microsoft.com/en-us/dotnet/api/system.net.http.httpresponsemessage?view=net-5.0) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | -| `Object` | [Models.Requests.GetMyPlexAccountResponseBody](../../Models/Requests/GetMyPlexAccountResponseBody.md) | :heavy_minus_sign: | MyPlex Account | \ No newline at end of file +| `Object` | [GetMyPlexAccountResponseBody](../../Models/Requests/GetMyPlexAccountResponseBody.md) | :heavy_minus_sign: | MyPlex Account | \ No newline at end of file diff --git a/docs/Models/Requests/GetOnDeckResponse.md b/docs/Models/Requests/GetOnDeckResponse.md index b6061fd..fa2c41b 100644 --- a/docs/Models/Requests/GetOnDeckResponse.md +++ b/docs/Models/Requests/GetOnDeckResponse.md @@ -8,4 +8,4 @@ | `ContentType` | *string* | :heavy_check_mark: | HTTP response content type for this operation | | `StatusCode` | *int* | :heavy_check_mark: | HTTP response status code for this operation | | `RawResponse` | [HttpResponseMessage](https://learn.microsoft.com/en-us/dotnet/api/system.net.http.httpresponsemessage?view=net-5.0) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | -| `Object` | [Models.Requests.GetOnDeckResponseBody](../../Models/Requests/GetOnDeckResponseBody.md) | :heavy_minus_sign: | The on Deck content | \ No newline at end of file +| `Object` | [GetOnDeckResponseBody](../../Models/Requests/GetOnDeckResponseBody.md) | :heavy_minus_sign: | The on Deck content | \ No newline at end of file diff --git a/docs/Models/Requests/GetPlaylistContentsResponse.md b/docs/Models/Requests/GetPlaylistContentsResponse.md index 08b22bb..9719773 100644 --- a/docs/Models/Requests/GetPlaylistContentsResponse.md +++ b/docs/Models/Requests/GetPlaylistContentsResponse.md @@ -8,4 +8,4 @@ | `ContentType` | *string* | :heavy_check_mark: | HTTP response content type for this operation | | `StatusCode` | *int* | :heavy_check_mark: | HTTP response status code for this operation | | `RawResponse` | [HttpResponseMessage](https://learn.microsoft.com/en-us/dotnet/api/system.net.http.httpresponsemessage?view=net-5.0) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | -| `Object` | [Models.Requests.GetPlaylistContentsResponseBody](../../Models/Requests/GetPlaylistContentsResponseBody.md) | :heavy_minus_sign: | The playlist contents | \ No newline at end of file +| `Object` | [GetPlaylistContentsResponseBody](../../Models/Requests/GetPlaylistContentsResponseBody.md) | :heavy_minus_sign: | The playlist contents | \ No newline at end of file diff --git a/docs/Models/Requests/GetPlaylistResponse.md b/docs/Models/Requests/GetPlaylistResponse.md index f8fbf77..68a730a 100644 --- a/docs/Models/Requests/GetPlaylistResponse.md +++ b/docs/Models/Requests/GetPlaylistResponse.md @@ -8,4 +8,4 @@ | `ContentType` | *string* | :heavy_check_mark: | HTTP response content type for this operation | | `StatusCode` | *int* | :heavy_check_mark: | HTTP response status code for this operation | | `RawResponse` | [HttpResponseMessage](https://learn.microsoft.com/en-us/dotnet/api/system.net.http.httpresponsemessage?view=net-5.0) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | -| `Object` | [Models.Requests.GetPlaylistResponseBody](../../Models/Requests/GetPlaylistResponseBody.md) | :heavy_minus_sign: | The playlist | \ No newline at end of file +| `Object` | [GetPlaylistResponseBody](../../Models/Requests/GetPlaylistResponseBody.md) | :heavy_minus_sign: | The playlist | \ No newline at end of file diff --git a/docs/Models/Requests/GetPlaylistsResponse.md b/docs/Models/Requests/GetPlaylistsResponse.md index 428e7a1..9899b6b 100644 --- a/docs/Models/Requests/GetPlaylistsResponse.md +++ b/docs/Models/Requests/GetPlaylistsResponse.md @@ -8,4 +8,4 @@ | `ContentType` | *string* | :heavy_check_mark: | HTTP response content type for this operation | | `StatusCode` | *int* | :heavy_check_mark: | HTTP response status code for this operation | | `RawResponse` | [HttpResponseMessage](https://learn.microsoft.com/en-us/dotnet/api/system.net.http.httpresponsemessage?view=net-5.0) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | -| `Object` | [Models.Requests.GetPlaylistsResponseBody](../../Models/Requests/GetPlaylistsResponseBody.md) | :heavy_minus_sign: | returns all playlists | \ No newline at end of file +| `Object` | [GetPlaylistsResponseBody](../../Models/Requests/GetPlaylistsResponseBody.md) | :heavy_minus_sign: | returns all playlists | \ No newline at end of file diff --git a/docs/Models/Requests/GetRecentlyAddedResponse.md b/docs/Models/Requests/GetRecentlyAddedResponse.md index 325b30d..bffd61f 100644 --- a/docs/Models/Requests/GetRecentlyAddedResponse.md +++ b/docs/Models/Requests/GetRecentlyAddedResponse.md @@ -8,4 +8,4 @@ | `ContentType` | *string* | :heavy_check_mark: | HTTP response content type for this operation | | `StatusCode` | *int* | :heavy_check_mark: | HTTP response status code for this operation | | `RawResponse` | [HttpResponseMessage](https://learn.microsoft.com/en-us/dotnet/api/system.net.http.httpresponsemessage?view=net-5.0) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | -| `Object` | [Models.Requests.GetRecentlyAddedResponseBody](../../Models/Requests/GetRecentlyAddedResponseBody.md) | :heavy_minus_sign: | The recently added content | \ No newline at end of file +| `Object` | [GetRecentlyAddedResponseBody](../../Models/Requests/GetRecentlyAddedResponseBody.md) | :heavy_minus_sign: | The recently added content | \ No newline at end of file diff --git a/docs/Models/Requests/GetResourcesStatisticsResponse.md b/docs/Models/Requests/GetResourcesStatisticsResponse.md index 479d3b5..0edd30c 100644 --- a/docs/Models/Requests/GetResourcesStatisticsResponse.md +++ b/docs/Models/Requests/GetResourcesStatisticsResponse.md @@ -8,4 +8,4 @@ | `ContentType` | *string* | :heavy_check_mark: | HTTP response content type for this operation | | `StatusCode` | *int* | :heavy_check_mark: | HTTP response status code for this operation | | `RawResponse` | [HttpResponseMessage](https://learn.microsoft.com/en-us/dotnet/api/system.net.http.httpresponsemessage?view=net-5.0) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | -| `Object` | [Models.Requests.GetResourcesStatisticsResponseBody](../../Models/Requests/GetResourcesStatisticsResponseBody.md) | :heavy_minus_sign: | Resource Statistics | \ No newline at end of file +| `Object` | [GetResourcesStatisticsResponseBody](../../Models/Requests/GetResourcesStatisticsResponseBody.md) | :heavy_minus_sign: | Resource Statistics | \ No newline at end of file diff --git a/docs/Models/Requests/GetSearchLibraryResponse.md b/docs/Models/Requests/GetSearchLibraryResponse.md index fb4e3b3..be8d629 100644 --- a/docs/Models/Requests/GetSearchLibraryResponse.md +++ b/docs/Models/Requests/GetSearchLibraryResponse.md @@ -8,4 +8,4 @@ | `ContentType` | *string* | :heavy_check_mark: | HTTP response content type for this operation | | `StatusCode` | *int* | :heavy_check_mark: | HTTP response status code for this operation | | `RawResponse` | [HttpResponseMessage](https://learn.microsoft.com/en-us/dotnet/api/system.net.http.httpresponsemessage?view=net-5.0) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | -| `Object` | [Models.Requests.GetSearchLibraryResponseBody](../../Models/Requests/GetSearchLibraryResponseBody.md) | :heavy_minus_sign: | The contents of the library by section and type | \ No newline at end of file +| `Object` | [GetSearchLibraryResponseBody](../../Models/Requests/GetSearchLibraryResponseBody.md) | :heavy_minus_sign: | The contents of the library by section and type | \ No newline at end of file diff --git a/docs/Models/Requests/GetSearchResultsResponse.md b/docs/Models/Requests/GetSearchResultsResponse.md index d548a5d..4d03fc5 100644 --- a/docs/Models/Requests/GetSearchResultsResponse.md +++ b/docs/Models/Requests/GetSearchResultsResponse.md @@ -8,4 +8,4 @@ | `ContentType` | *string* | :heavy_check_mark: | HTTP response content type for this operation | | `StatusCode` | *int* | :heavy_check_mark: | HTTP response status code for this operation | | `RawResponse` | [HttpResponseMessage](https://learn.microsoft.com/en-us/dotnet/api/system.net.http.httpresponsemessage?view=net-5.0) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | -| `Object` | [Models.Requests.GetSearchResultsResponseBody](../../Models/Requests/GetSearchResultsResponseBody.md) | :heavy_minus_sign: | Search Results | \ No newline at end of file +| `Object` | [GetSearchResultsResponseBody](../../Models/Requests/GetSearchResultsResponseBody.md) | :heavy_minus_sign: | Search Results | \ No newline at end of file diff --git a/docs/Models/Requests/GetServerActivitiesResponse.md b/docs/Models/Requests/GetServerActivitiesResponse.md index d3e544d..7753dfb 100644 --- a/docs/Models/Requests/GetServerActivitiesResponse.md +++ b/docs/Models/Requests/GetServerActivitiesResponse.md @@ -8,4 +8,4 @@ | `ContentType` | *string* | :heavy_check_mark: | HTTP response content type for this operation | | `StatusCode` | *int* | :heavy_check_mark: | HTTP response status code for this operation | | `RawResponse` | [HttpResponseMessage](https://learn.microsoft.com/en-us/dotnet/api/system.net.http.httpresponsemessage?view=net-5.0) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | -| `Object` | [Models.Requests.GetServerActivitiesResponseBody](../../Models/Requests/GetServerActivitiesResponseBody.md) | :heavy_minus_sign: | The Server Activities | \ No newline at end of file +| `Object` | [GetServerActivitiesResponseBody](../../Models/Requests/GetServerActivitiesResponseBody.md) | :heavy_minus_sign: | The Server Activities | \ No newline at end of file diff --git a/docs/Models/Requests/GetServerCapabilitiesResponse.md b/docs/Models/Requests/GetServerCapabilitiesResponse.md index 8f988de..3030890 100644 --- a/docs/Models/Requests/GetServerCapabilitiesResponse.md +++ b/docs/Models/Requests/GetServerCapabilitiesResponse.md @@ -8,4 +8,4 @@ | `ContentType` | *string* | :heavy_check_mark: | HTTP response content type for this operation | | `StatusCode` | *int* | :heavy_check_mark: | HTTP response status code for this operation | | `RawResponse` | [HttpResponseMessage](https://learn.microsoft.com/en-us/dotnet/api/system.net.http.httpresponsemessage?view=net-5.0) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | -| `Object` | [Models.Requests.GetServerCapabilitiesResponseBody](../../Models/Requests/GetServerCapabilitiesResponseBody.md) | :heavy_minus_sign: | The Server Capabilities | \ No newline at end of file +| `Object` | [GetServerCapabilitiesResponseBody](../../Models/Requests/GetServerCapabilitiesResponseBody.md) | :heavy_minus_sign: | The Server Capabilities | \ No newline at end of file diff --git a/docs/Models/Requests/GetServerIdentityResponse.md b/docs/Models/Requests/GetServerIdentityResponse.md index bf9a2b4..2ee8afc 100644 --- a/docs/Models/Requests/GetServerIdentityResponse.md +++ b/docs/Models/Requests/GetServerIdentityResponse.md @@ -8,4 +8,4 @@ | `ContentType` | *string* | :heavy_check_mark: | HTTP response content type for this operation | | `StatusCode` | *int* | :heavy_check_mark: | HTTP response status code for this operation | | `RawResponse` | [HttpResponseMessage](https://learn.microsoft.com/en-us/dotnet/api/system.net.http.httpresponsemessage?view=net-5.0) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | -| `Object` | [Models.Requests.GetServerIdentityResponseBody](../../Models/Requests/GetServerIdentityResponseBody.md) | :heavy_minus_sign: | The Server Identity information | \ No newline at end of file +| `Object` | [GetServerIdentityResponseBody](../../Models/Requests/GetServerIdentityResponseBody.md) | :heavy_minus_sign: | The Server Identity information | \ No newline at end of file diff --git a/docs/Models/Requests/GetServerListResponse.md b/docs/Models/Requests/GetServerListResponse.md index 65287c7..6139131 100644 --- a/docs/Models/Requests/GetServerListResponse.md +++ b/docs/Models/Requests/GetServerListResponse.md @@ -8,4 +8,4 @@ | `ContentType` | *string* | :heavy_check_mark: | HTTP response content type for this operation | | `StatusCode` | *int* | :heavy_check_mark: | HTTP response status code for this operation | | `RawResponse` | [HttpResponseMessage](https://learn.microsoft.com/en-us/dotnet/api/system.net.http.httpresponsemessage?view=net-5.0) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | -| `Object` | [Models.Requests.GetServerListResponseBody](../../Models/Requests/GetServerListResponseBody.md) | :heavy_minus_sign: | List of Servers | \ No newline at end of file +| `Object` | [GetServerListResponseBody](../../Models/Requests/GetServerListResponseBody.md) | :heavy_minus_sign: | List of Servers | \ No newline at end of file diff --git a/docs/Models/Requests/GetServerPreferencesResponse.md b/docs/Models/Requests/GetServerPreferencesResponse.md index 97d1dd6..5e64dac 100644 --- a/docs/Models/Requests/GetServerPreferencesResponse.md +++ b/docs/Models/Requests/GetServerPreferencesResponse.md @@ -8,4 +8,4 @@ | `ContentType` | *string* | :heavy_check_mark: | HTTP response content type for this operation | | `StatusCode` | *int* | :heavy_check_mark: | HTTP response status code for this operation | | `RawResponse` | [HttpResponseMessage](https://learn.microsoft.com/en-us/dotnet/api/system.net.http.httpresponsemessage?view=net-5.0) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | -| `Object` | [Models.Requests.GetServerPreferencesResponseBody](../../Models/Requests/GetServerPreferencesResponseBody.md) | :heavy_minus_sign: | Server Preferences | \ No newline at end of file +| `Object` | [GetServerPreferencesResponseBody](../../Models/Requests/GetServerPreferencesResponseBody.md) | :heavy_minus_sign: | Server Preferences | \ No newline at end of file diff --git a/docs/Models/Requests/GetServerResourcesRequest.md b/docs/Models/Requests/GetServerResourcesRequest.md index dbc3d85..739e6be 100644 --- a/docs/Models/Requests/GetServerResourcesRequest.md +++ b/docs/Models/Requests/GetServerResourcesRequest.md @@ -5,7 +5,6 @@ | Field | Type | Required | Description | Example | | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `XPlexToken` | *string* | :heavy_check_mark: | Plex Authentication Token | CV5xoxjTpFKUzBTShsaf | | `XPlexClientIdentifier` | *string* | :heavy_minus_sign: | The unique identifier for the client application
This is used to track the client application and its usage
(UUID, serial number, or other number unique per device)
| gcgzw5rz2xovp84b4vha3a40 | | `IncludeHttps` | [IncludeHttps](../../Models/Requests/IncludeHttps.md) | :heavy_minus_sign: | Include Https entries in the results | 1 | | `IncludeRelay` | [IncludeRelay](../../Models/Requests/IncludeRelay.md) | :heavy_minus_sign: | Include Relay addresses in the results
E.g: https://10-0-0-25.bbf8e10c7fa20447cacee74cd9914cde.plex.direct:32400
| 1 | diff --git a/docs/Models/Requests/GetSessionHistoryResponse.md b/docs/Models/Requests/GetSessionHistoryResponse.md index 945d7a4..febdbc2 100644 --- a/docs/Models/Requests/GetSessionHistoryResponse.md +++ b/docs/Models/Requests/GetSessionHistoryResponse.md @@ -8,4 +8,4 @@ | `ContentType` | *string* | :heavy_check_mark: | HTTP response content type for this operation | | `StatusCode` | *int* | :heavy_check_mark: | HTTP response status code for this operation | | `RawResponse` | [HttpResponseMessage](https://learn.microsoft.com/en-us/dotnet/api/system.net.http.httpresponsemessage?view=net-5.0) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | -| `Object` | [Models.Requests.GetSessionHistoryResponseBody](../../Models/Requests/GetSessionHistoryResponseBody.md) | :heavy_minus_sign: | List of Plex Sessions | \ No newline at end of file +| `Object` | [GetSessionHistoryResponseBody](../../Models/Requests/GetSessionHistoryResponseBody.md) | :heavy_minus_sign: | List of Plex Sessions | \ No newline at end of file diff --git a/docs/Models/Requests/GetSessionsResponse.md b/docs/Models/Requests/GetSessionsResponse.md index 1f622d8..563b527 100644 --- a/docs/Models/Requests/GetSessionsResponse.md +++ b/docs/Models/Requests/GetSessionsResponse.md @@ -8,4 +8,4 @@ | `ContentType` | *string* | :heavy_check_mark: | HTTP response content type for this operation | | `StatusCode` | *int* | :heavy_check_mark: | HTTP response status code for this operation | | `RawResponse` | [HttpResponseMessage](https://learn.microsoft.com/en-us/dotnet/api/system.net.http.httpresponsemessage?view=net-5.0) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | -| `Object` | [Models.Requests.GetSessionsResponseBody](../../Models/Requests/GetSessionsResponseBody.md) | :heavy_minus_sign: | List of Active Plex Sessions | \ No newline at end of file +| `Object` | [GetSessionsResponseBody](../../Models/Requests/GetSessionsResponseBody.md) | :heavy_minus_sign: | List of Active Plex Sessions | \ No newline at end of file diff --git a/docs/Models/Requests/GetStatisticsResponse.md b/docs/Models/Requests/GetStatisticsResponse.md index 097d602..5842012 100644 --- a/docs/Models/Requests/GetStatisticsResponse.md +++ b/docs/Models/Requests/GetStatisticsResponse.md @@ -8,4 +8,4 @@ | `ContentType` | *string* | :heavy_check_mark: | HTTP response content type for this operation | | `StatusCode` | *int* | :heavy_check_mark: | HTTP response status code for this operation | | `RawResponse` | [HttpResponseMessage](https://learn.microsoft.com/en-us/dotnet/api/system.net.http.httpresponsemessage?view=net-5.0) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | -| `Object` | [Models.Requests.GetStatisticsResponseBody](../../Models/Requests/GetStatisticsResponseBody.md) | :heavy_minus_sign: | Media Statistics | \ No newline at end of file +| `Object` | [GetStatisticsResponseBody](../../Models/Requests/GetStatisticsResponseBody.md) | :heavy_minus_sign: | Media Statistics | \ No newline at end of file diff --git a/docs/Models/Requests/GetUserDetailsAuthenticationResponseStatus.md b/docs/Models/Requests/GetTokenDetailsAuthenticationResponseStatus.md similarity index 78% rename from docs/Models/Requests/GetUserDetailsAuthenticationResponseStatus.md rename to docs/Models/Requests/GetTokenDetailsAuthenticationResponseStatus.md index b38582f..47b1ef0 100644 --- a/docs/Models/Requests/GetUserDetailsAuthenticationResponseStatus.md +++ b/docs/Models/Requests/GetTokenDetailsAuthenticationResponseStatus.md @@ -1,4 +1,4 @@ -# GetUserDetailsAuthenticationResponseStatus +# GetTokenDetailsAuthenticationResponseStatus String representation of subscriptionActive diff --git a/docs/Models/Requests/GetUserDetailsAuthenticationStatus.md b/docs/Models/Requests/GetTokenDetailsAuthenticationStatus.md similarity index 81% rename from docs/Models/Requests/GetUserDetailsAuthenticationStatus.md rename to docs/Models/Requests/GetTokenDetailsAuthenticationStatus.md index e04bb78..aec435f 100644 --- a/docs/Models/Requests/GetUserDetailsAuthenticationStatus.md +++ b/docs/Models/Requests/GetTokenDetailsAuthenticationStatus.md @@ -1,4 +1,4 @@ -# GetUserDetailsAuthenticationStatus +# GetTokenDetailsAuthenticationStatus String representation of subscriptionActive diff --git a/docs/Models/Requests/GetUserDetailsFeatures.md b/docs/Models/Requests/GetTokenDetailsFeatures.md similarity index 99% rename from docs/Models/Requests/GetUserDetailsFeatures.md rename to docs/Models/Requests/GetTokenDetailsFeatures.md index dd4d900..7259f48 100644 --- a/docs/Models/Requests/GetUserDetailsFeatures.md +++ b/docs/Models/Requests/GetTokenDetailsFeatures.md @@ -1,4 +1,4 @@ -# GetUserDetailsFeatures +# GetTokenDetailsFeatures ## Values diff --git a/docs/Models/Requests/GetUserDetailsResponse.md b/docs/Models/Requests/GetTokenDetailsResponse.md similarity index 99% rename from docs/Models/Requests/GetUserDetailsResponse.md rename to docs/Models/Requests/GetTokenDetailsResponse.md index 7589d53..5fdb602 100644 --- a/docs/Models/Requests/GetUserDetailsResponse.md +++ b/docs/Models/Requests/GetTokenDetailsResponse.md @@ -1,4 +1,4 @@ -# GetUserDetailsResponse +# GetTokenDetailsResponse ## Fields @@ -8,4 +8,4 @@ | `ContentType` | *string* | :heavy_check_mark: | HTTP response content type for this operation | | | `StatusCode` | *int* | :heavy_check_mark: | HTTP response status code for this operation | | | `RawResponse` | [HttpResponseMessage](https://learn.microsoft.com/en-us/dotnet/api/system.net.http.httpresponsemessage?view=net-5.0) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | | -| `UserPlexAccount` | [GetUserDetailsUserPlexAccount](../../Models/Requests/GetUserDetailsUserPlexAccount.md) | :heavy_minus_sign: | Logged in user details | {
"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": "subscribed",
"maxHomeSize": 15,
"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": [
{
"internalPaymentMethod": "string",
"paymentMethodId": "string"
}
]
}
],
"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",
"trials": [
{}
],
"twoFactorEnabled": false,
"username": "Username",
"uuid": "dae343c1f45beb4f"
} | \ No newline at end of file +| `UserPlexAccount` | [GetTokenDetailsUserPlexAccount](../../Models/Requests/GetTokenDetailsUserPlexAccount.md) | :heavy_minus_sign: | Logged in user details | {
"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": "subscribed",
"maxHomeSize": 15,
"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": [
{
"internalPaymentMethod": "string",
"paymentMethodId": "string"
}
]
}
],
"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",
"trials": [
{}
],
"twoFactorEnabled": false,
"username": "Username",
"uuid": "dae343c1f45beb4f"
} | \ No newline at end of file diff --git a/docs/Models/Requests/GetUserDetailsStatus.md b/docs/Models/Requests/GetTokenDetailsStatus.md similarity index 82% rename from docs/Models/Requests/GetUserDetailsStatus.md rename to docs/Models/Requests/GetTokenDetailsStatus.md index 2f46a13..43e0f7a 100644 --- a/docs/Models/Requests/GetUserDetailsStatus.md +++ b/docs/Models/Requests/GetTokenDetailsStatus.md @@ -1,4 +1,4 @@ -# GetUserDetailsStatus +# GetTokenDetailsStatus ## Values diff --git a/docs/Models/Requests/GetTokenDetailsSubscription.md b/docs/Models/Requests/GetTokenDetailsSubscription.md new file mode 100644 index 0000000..d024f44 --- /dev/null +++ b/docs/Models/Requests/GetTokenDetailsSubscription.md @@ -0,0 +1,13 @@ +# GetTokenDetailsSubscription + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | +| `Features` | List<[GetTokenDetailsFeatures](../../Models/Requests/GetTokenDetailsFeatures.md)> | :heavy_minus_sign: | List of features allowed on your Plex Pass subscription | | +| `Active` | *bool* | :heavy_minus_sign: | If the account's Plex Pass subscription is active | true | +| `SubscribedAt` | *string* | :heavy_minus_sign: | Date the account subscribed to Plex Pass | 2021-04-12T18:21:12Z | +| `Status` | [GetTokenDetailsAuthenticationResponseStatus](../../Models/Requests/GetTokenDetailsAuthenticationResponseStatus.md) | :heavy_minus_sign: | String representation of subscriptionActive | Inactive | +| `PaymentService` | *string* | :heavy_minus_sign: | Payment service used for your Plex Pass subscription | | +| `Plan` | *string* | :heavy_minus_sign: | Name of Plex Pass subscription plan | | \ No newline at end of file diff --git a/docs/Models/Requests/GetUserDetailsUserPlexAccount.md b/docs/Models/Requests/GetTokenDetailsUserPlexAccount.md similarity index 99% rename from docs/Models/Requests/GetUserDetailsUserPlexAccount.md rename to docs/Models/Requests/GetTokenDetailsUserPlexAccount.md index 6460aa1..820b3c1 100644 --- a/docs/Models/Requests/GetUserDetailsUserPlexAccount.md +++ b/docs/Models/Requests/GetTokenDetailsUserPlexAccount.md @@ -1,4 +1,4 @@ -# GetUserDetailsUserPlexAccount +# GetTokenDetailsUserPlexAccount Logged in user details @@ -41,7 +41,7 @@ Logged in user details | `Services` | List<[Services](../../Models/Requests/Services.md)> | :heavy_check_mark: | N/A | | | `Subscription` | [Subscription](../../Models/Requests/Subscription.md) | :heavy_check_mark: | If the account’s Plex Pass subscription is active | | | `SubscriptionDescription` | *string* | :heavy_check_mark: | Description of the Plex Pass subscription | | -| `Subscriptions` | List<[GetUserDetailsSubscription](../../Models/Requests/GetUserDetailsSubscription.md)> | :heavy_check_mark: | N/A | | +| `Subscriptions` | List<[GetTokenDetailsSubscription](../../Models/Requests/GetTokenDetailsSubscription.md)> | :heavy_check_mark: | N/A | | | `Thumb` | *string* | :heavy_check_mark: | URL of the account thumbnail | https://plex.tv/users/a4f43c1ebfde43a5/avatar?c=8372075101 | | `Title` | *string* | :heavy_check_mark: | The title of the account (username or friendly name) | UsernameTitle | | `TwoFactorEnabled` | *bool* | :heavy_minus_sign: | If two-factor authentication is enabled | | diff --git a/docs/Models/Requests/GetTopWatchedContentResponse.md b/docs/Models/Requests/GetTopWatchedContentResponse.md index 6a5a429..286fd56 100644 --- a/docs/Models/Requests/GetTopWatchedContentResponse.md +++ b/docs/Models/Requests/GetTopWatchedContentResponse.md @@ -8,4 +8,4 @@ | `ContentType` | *string* | :heavy_check_mark: | HTTP response content type for this operation | | `StatusCode` | *int* | :heavy_check_mark: | HTTP response status code for this operation | | `RawResponse` | [HttpResponseMessage](https://learn.microsoft.com/en-us/dotnet/api/system.net.http.httpresponsemessage?view=net-5.0) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | -| `Object` | [Models.Requests.GetTopWatchedContentResponseBody](../../Models/Requests/GetTopWatchedContentResponseBody.md) | :heavy_minus_sign: | The metadata of the library item. | \ No newline at end of file +| `Object` | [GetTopWatchedContentResponseBody](../../Models/Requests/GetTopWatchedContentResponseBody.md) | :heavy_minus_sign: | The metadata of the library item. | \ No newline at end of file diff --git a/docs/Models/Requests/GetTranscodeSessionsResponse.md b/docs/Models/Requests/GetTranscodeSessionsResponse.md index d964500..9edb562 100644 --- a/docs/Models/Requests/GetTranscodeSessionsResponse.md +++ b/docs/Models/Requests/GetTranscodeSessionsResponse.md @@ -8,4 +8,4 @@ | `ContentType` | *string* | :heavy_check_mark: | HTTP response content type for this operation | | `StatusCode` | *int* | :heavy_check_mark: | HTTP response status code for this operation | | `RawResponse` | [HttpResponseMessage](https://learn.microsoft.com/en-us/dotnet/api/system.net.http.httpresponsemessage?view=net-5.0) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | -| `Object` | [Models.Requests.GetTranscodeSessionsResponseBody](../../Models/Requests/GetTranscodeSessionsResponseBody.md) | :heavy_minus_sign: | The Transcode Sessions | \ No newline at end of file +| `Object` | [GetTranscodeSessionsResponseBody](../../Models/Requests/GetTranscodeSessionsResponseBody.md) | :heavy_minus_sign: | The Transcode Sessions | \ No newline at end of file diff --git a/docs/Models/Requests/GetUpdateStatusResponse.md b/docs/Models/Requests/GetUpdateStatusResponse.md index 8ef5902..23214a6 100644 --- a/docs/Models/Requests/GetUpdateStatusResponse.md +++ b/docs/Models/Requests/GetUpdateStatusResponse.md @@ -8,4 +8,4 @@ | `ContentType` | *string* | :heavy_check_mark: | HTTP response content type for this operation | | `StatusCode` | *int* | :heavy_check_mark: | HTTP response status code for this operation | | `RawResponse` | [HttpResponseMessage](https://learn.microsoft.com/en-us/dotnet/api/system.net.http.httpresponsemessage?view=net-5.0) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | -| `Object` | [Models.Requests.GetUpdateStatusResponseBody](../../Models/Requests/GetUpdateStatusResponseBody.md) | :heavy_minus_sign: | The Server Updates | \ No newline at end of file +| `Object` | [GetUpdateStatusResponseBody](../../Models/Requests/GetUpdateStatusResponseBody.md) | :heavy_minus_sign: | The Server Updates | \ No newline at end of file diff --git a/docs/Models/Requests/GetUserDetailsRequest.md b/docs/Models/Requests/GetUserDetailsRequest.md deleted file mode 100644 index 6ab3cdd..0000000 --- a/docs/Models/Requests/GetUserDetailsRequest.md +++ /dev/null @@ -1,8 +0,0 @@ -# GetUserDetailsRequest - - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------- | ------------------------- | ------------------------- | ------------------------- | ------------------------- | -| `XPlexToken` | *string* | :heavy_check_mark: | Plex Authentication Token | CV5xoxjTpFKUzBTShsaf | \ No newline at end of file diff --git a/docs/Models/Requests/GetUserDetailsSubscription.md b/docs/Models/Requests/GetUserDetailsSubscription.md deleted file mode 100644 index 7296458..0000000 --- a/docs/Models/Requests/GetUserDetailsSubscription.md +++ /dev/null @@ -1,13 +0,0 @@ -# GetUserDetailsSubscription - - -## Fields - -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | -| `Features` | List<[GetUserDetailsFeatures](../../Models/Requests/GetUserDetailsFeatures.md)> | :heavy_minus_sign: | List of features allowed on your Plex Pass subscription | | -| `Active` | *bool* | :heavy_minus_sign: | If the account's Plex Pass subscription is active | true | -| `SubscribedAt` | *string* | :heavy_minus_sign: | Date the account subscribed to Plex Pass | 2021-04-12T18:21:12Z | -| `Status` | [GetUserDetailsAuthenticationResponseStatus](../../Models/Requests/GetUserDetailsAuthenticationResponseStatus.md) | :heavy_minus_sign: | String representation of subscriptionActive | Inactive | -| `PaymentService` | *string* | :heavy_minus_sign: | Payment service used for your Plex Pass subscription | | -| `Plan` | *string* | :heavy_minus_sign: | Name of Plex Pass subscription plan | | \ No newline at end of file diff --git a/docs/Models/Requests/GetWatchListResponse.md b/docs/Models/Requests/GetWatchListResponse.md index 9f6a220..3b87d07 100644 --- a/docs/Models/Requests/GetWatchListResponse.md +++ b/docs/Models/Requests/GetWatchListResponse.md @@ -8,4 +8,4 @@ | `ContentType` | *string* | :heavy_check_mark: | HTTP response content type for this operation | | `StatusCode` | *int* | :heavy_check_mark: | HTTP response status code for this operation | | `RawResponse` | [HttpResponseMessage](https://learn.microsoft.com/en-us/dotnet/api/system.net.http.httpresponsemessage?view=net-5.0) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | -| `Object` | [Models.Requests.GetWatchListResponseBody](../../Models/Requests/GetWatchListResponseBody.md) | :heavy_minus_sign: | Watchlist Data | \ No newline at end of file +| `Object` | [GetWatchListResponseBody](../../Models/Requests/GetWatchListResponseBody.md) | :heavy_minus_sign: | Watchlist Data | \ No newline at end of file diff --git a/docs/Models/Requests/Services.md b/docs/Models/Requests/Services.md index 05b8812..c23e85b 100644 --- a/docs/Models/Requests/Services.md +++ b/docs/Models/Requests/Services.md @@ -3,10 +3,10 @@ ## Fields -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | -| `Identifier` | *string* | :heavy_check_mark: | N/A | metadata-dev | -| `Endpoint` | *string* | :heavy_check_mark: | N/A | https://epg.provider.plex.tv | -| `Token` | *string* | :heavy_check_mark: | N/A | DjoMtqFAGRL1uVtCyF1dKIorTbShJeqv | -| `Secret` | *string* | :heavy_check_mark: | N/A | | -| `Status` | [GetUserDetailsStatus](../../Models/Requests/GetUserDetailsStatus.md) | :heavy_check_mark: | N/A | online | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | +| `Identifier` | *string* | :heavy_check_mark: | N/A | metadata-dev | +| `Endpoint` | *string* | :heavy_check_mark: | N/A | https://epg.provider.plex.tv | +| `Token` | *string* | :heavy_check_mark: | N/A | DjoMtqFAGRL1uVtCyF1dKIorTbShJeqv | +| `Secret` | *string* | :heavy_check_mark: | N/A | | +| `Status` | [GetTokenDetailsStatus](../../Models/Requests/GetTokenDetailsStatus.md) | :heavy_check_mark: | N/A | online | \ No newline at end of file diff --git a/docs/Models/Requests/Subscription.md b/docs/Models/Requests/Subscription.md index 96c912e..4ced74b 100644 --- a/docs/Models/Requests/Subscription.md +++ b/docs/Models/Requests/Subscription.md @@ -5,11 +5,11 @@ If the account’s Plex Pass subscription is active ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | -| `Features` | List<[Features](../../Models/Requests/Features.md)> | :heavy_minus_sign: | List of features allowed on your Plex Pass subscription | | -| `Active` | *bool* | :heavy_minus_sign: | If the account's Plex Pass subscription is active | true | -| `SubscribedAt` | *string* | :heavy_minus_sign: | Date the account subscribed to Plex Pass | 2021-04-12T18:21:12Z | -| `Status` | [GetUserDetailsAuthenticationStatus](../../Models/Requests/GetUserDetailsAuthenticationStatus.md) | :heavy_minus_sign: | String representation of subscriptionActive | Inactive | -| `PaymentService` | *string* | :heavy_minus_sign: | Payment service used for your Plex Pass subscription | | -| `Plan` | *string* | :heavy_minus_sign: | Name of Plex Pass subscription plan | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | +| `Features` | List<[Features](../../Models/Requests/Features.md)> | :heavy_minus_sign: | List of features allowed on your Plex Pass subscription | | +| `Active` | *bool* | :heavy_minus_sign: | If the account's Plex Pass subscription is active | true | +| `SubscribedAt` | *string* | :heavy_minus_sign: | Date the account subscribed to Plex Pass | 2021-04-12T18:21:12Z | +| `Status` | [GetTokenDetailsAuthenticationStatus](../../Models/Requests/GetTokenDetailsAuthenticationStatus.md) | :heavy_minus_sign: | String representation of subscriptionActive | Inactive | +| `PaymentService` | *string* | :heavy_minus_sign: | Payment service used for your Plex Pass subscription | | +| `Plan` | *string* | :heavy_minus_sign: | Name of Plex Pass subscription plan | | \ No newline at end of file diff --git a/docs/sdks/activities/README.md b/docs/sdks/activities/README.md index ff74f4e..889e8e3 100644 --- a/docs/sdks/activities/README.md +++ b/docs/sdks/activities/README.md @@ -43,11 +43,11 @@ var res = await sdk.Activities.GetServerActivitiesAsync(); ### Errors -| 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 | */* | +| Error Object | Status Code | Content Type | +| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | +| LukeHagar.PlexAPI.SDK.Models.Errors.GetServerActivitiesBadRequest | 400 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.GetServerActivitiesUnauthorized | 401 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | ## CancelServerActivities @@ -83,8 +83,8 @@ var res = await sdk.Activities.CancelServerActivitiesAsync(activityUUID: "25b71e ### Errors -| 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 | */* | +| Error Object | Status Code | Content Type | +| ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | +| LukeHagar.PlexAPI.SDK.Models.Errors.CancelServerActivitiesBadRequest | 400 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.CancelServerActivitiesUnauthorized | 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 a88f828..2f09ccd 100644 --- a/docs/sdks/authentication/README.md +++ b/docs/sdks/authentication/README.md @@ -8,9 +8,9 @@ API Calls regarding authentication for Plex Media Server ### Available Operations -* [GetTransientToken](#gettransienttoken) - Get a Transient Token. +* [GetTransientToken](#gettransienttoken) - Get a Transient Token * [GetSourceConnectionInformation](#getsourceconnectioninformation) - Get Source Connection Information -* [GetUserDetails](#getuserdetails) - Get User Data By Token +* [GetTokenDetails](#gettokendetails) - Get Token Details * [PostUsersSignInData](#postuserssignindata) - Get User Sign In Data ## GetTransientToken @@ -51,11 +51,11 @@ var res = await sdk.Authentication.GetTransientTokenAsync( ### Errors -| 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 | */* | +| Error Object | Status Code | Content Type | +| ----------------------------------------------------------------- | ----------------------------------------------------------------- | ----------------------------------------------------------------- | +| LukeHagar.PlexAPI.SDK.Models.Errors.GetTransientTokenBadRequest | 400 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.GetTransientTokenUnauthorized | 401 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | ## GetSourceConnectionInformation @@ -93,14 +93,14 @@ var res = await sdk.Authentication.GetSourceConnectionInformationAsync(source: " ### Errors -| 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 | */* | +| Error Object | Status Code | Content Type | +| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | +| LukeHagar.PlexAPI.SDK.Models.Errors.GetSourceConnectionInformationBadRequest | 400 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.GetSourceConnectionInformationUnauthorized | 401 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | -## GetUserDetails +## GetTokenDetails Get the User data from the provided X-Plex-Token @@ -108,7 +108,6 @@ Get the User data from the provided X-Plex-Token ```csharp using LukeHagar.PlexAPI.SDK; -using LukeHagar.PlexAPI.SDK.Models.Requests; using LukeHagar.PlexAPI.SDK.Models.Components; var sdk = new PlexAPI( @@ -116,29 +115,28 @@ var sdk = new PlexAPI( xPlexClientIdentifier: "gcgzw5rz2xovp84b4vha3a40" ); -var res = await sdk.Authentication.GetUserDetailsAsync(xPlexToken: "CV5xoxjTpFKUzBTShsaf"); +var res = await sdk.Authentication.GetTokenDetailsAsync(); // handle response ``` ### Parameters -| Parameter | Type | Required | Description | Example | -| ------------------------------ | ------------------------------ | ------------------------------ | ------------------------------ | ------------------------------ | -| `XPlexToken` | *string* | :heavy_check_mark: | Plex Authentication Token | CV5xoxjTpFKUzBTShsaf | -| `serverURL` | *string* | :heavy_minus_sign: | An optional server URL to use. | http://localhost:8080 | +| Parameter | Type | Required | Description | +| ------------------------------ | ------------------------------ | ------------------------------ | ------------------------------ | +| `serverURL` | *string* | :heavy_minus_sign: | An optional server URL to use. | ### Response -**[GetUserDetailsResponse](../../Models/Requests/GetUserDetailsResponse.md)** +**[GetTokenDetailsResponse](../../Models/Requests/GetTokenDetailsResponse.md)** ### Errors -| 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 | */* | +| Error Object | Status Code | Content Type | +| --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | +| LukeHagar.PlexAPI.SDK.Models.Errors.GetTokenDetailsBadRequest | 400 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.GetTokenDetailsUnauthorized | 401 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | ## PostUsersSignInData @@ -180,8 +178,8 @@ var res = await sdk.Authentication.PostUsersSignInDataAsync( ### Errors -| 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 | */* | +| Error Object | Status Code | Content Type | +| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | +| LukeHagar.PlexAPI.SDK.Models.Errors.PostUsersSignInDataBadRequest | 400 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.PostUsersSignInDataUnauthorized | 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 8ab1ffe..37cc94e 100644 --- a/docs/sdks/butler/README.md +++ b/docs/sdks/butler/README.md @@ -40,11 +40,11 @@ var res = await sdk.Butler.GetButlerTasksAsync(); ### Errors -| 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 | */* | +| Error Object | Status Code | Content Type | +| -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | +| LukeHagar.PlexAPI.SDK.Models.Errors.GetButlerTasksBadRequest | 400 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.GetButlerTasksUnauthorized | 401 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | ## StartAllTasks @@ -78,11 +78,11 @@ var res = await sdk.Butler.StartAllTasksAsync(); ### Errors -| 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 | */* | +| Error Object | Status Code | Content Type | +| ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | +| LukeHagar.PlexAPI.SDK.Models.Errors.StartAllTasksBadRequest | 400 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.StartAllTasksUnauthorized | 401 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | ## StopAllTasks @@ -112,11 +112,11 @@ var res = await sdk.Butler.StopAllTasksAsync(); ### Errors -| 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 | */* | +| Error Object | Status Code | Content Type | +| ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | +| LukeHagar.PlexAPI.SDK.Models.Errors.StopAllTasksBadRequest | 400 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.StopAllTasksUnauthorized | 401 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | ## StartTask @@ -157,11 +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 | 400 | application/json | -| LukeHagar.PlexAPI.SDK.Models.Errors.StartTaskButlerResponseBody | 401 | application/json | -| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | +| Error Object | Status Code | Content Type | +| --------------------------------------------------------- | --------------------------------------------------------- | --------------------------------------------------------- | +| LukeHagar.PlexAPI.SDK.Models.Errors.StartTaskBadRequest | 400 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.StartTaskUnauthorized | 401 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | ## StopTask @@ -198,8 +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 | 400 | application/json | -| LukeHagar.PlexAPI.SDK.Models.Errors.StopTaskButlerResponseBody | 401 | application/json | -| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | +| Error Object | Status Code | Content Type | +| -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | +| LukeHagar.PlexAPI.SDK.Models.Errors.StopTaskBadRequest | 400 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.StopTaskUnauthorized | 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 e905405..d36593f 100644 --- a/docs/sdks/hubs/README.md +++ b/docs/sdks/hubs/README.md @@ -48,11 +48,11 @@ var res = await sdk.Hubs.GetGlobalHubsAsync( ### Errors -| 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 | */* | +| Error Object | Status Code | Content Type | +| ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | +| LukeHagar.PlexAPI.SDK.Models.Errors.GetGlobalHubsBadRequest | 400 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.GetGlobalHubsUnauthorized | 401 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | ## GetLibraryHubs @@ -95,8 +95,8 @@ var res = await sdk.Hubs.GetLibraryHubsAsync( ### Errors -| 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 | */* | +| Error Object | Status Code | Content Type | +| -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | +| LukeHagar.PlexAPI.SDK.Models.Errors.GetLibraryHubsBadRequest | 400 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.GetLibraryHubsUnauthorized | 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 d4ed75b..50f8f06 100644 --- a/docs/sdks/library/README.md +++ b/docs/sdks/library/README.md @@ -58,11 +58,11 @@ var res = await sdk.Library.GetFileHashAsync( ### Errors -| 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 | */* | +| Error Object | Status Code | Content Type | +| ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | +| LukeHagar.PlexAPI.SDK.Models.Errors.GetFileHashBadRequest | 400 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.GetFileHashUnauthorized | 401 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | ## GetRecentlyAdded @@ -103,11 +103,11 @@ var res = await sdk.Library.GetRecentlyAddedAsync( ### Errors -| 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 | */* | +| Error Object | Status Code | Content Type | +| ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | +| LukeHagar.PlexAPI.SDK.Models.Errors.GetRecentlyAddedBadRequest | 400 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.GetRecentlyAddedUnauthorized | 401 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | ## GetAllLibraries @@ -142,11 +142,11 @@ var res = await sdk.Library.GetAllLibrariesAsync(); ### Errors -| 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 | */* | +| Error Object | Status Code | Content Type | +| --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | +| LukeHagar.PlexAPI.SDK.Models.Errors.GetAllLibrariesBadRequest | 400 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.GetAllLibrariesUnauthorized | 401 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | ## GetLibraryDetails @@ -225,11 +225,11 @@ var res = await sdk.Library.GetLibraryDetailsAsync( ### Errors -| 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 | */* | +| Error Object | Status Code | Content Type | +| ----------------------------------------------------------------- | ----------------------------------------------------------------- | ----------------------------------------------------------------- | +| LukeHagar.PlexAPI.SDK.Models.Errors.GetLibraryDetailsBadRequest | 400 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.GetLibraryDetailsUnauthorized | 401 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | ## DeleteLibrary @@ -265,11 +265,11 @@ var res = await sdk.Library.DeleteLibraryAsync(sectionKey: 9518); ### Errors -| 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 | */* | +| Error Object | Status Code | Content Type | +| ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | +| LukeHagar.PlexAPI.SDK.Models.Errors.DeleteLibraryBadRequest | 400 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.DeleteLibraryUnauthorized | 401 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | ## GetLibraryItems @@ -335,11 +335,11 @@ var res = await sdk.Library.GetLibraryItemsAsync(req); ### Errors -| 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 | */* | +| Error Object | Status Code | Content Type | +| --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | +| LukeHagar.PlexAPI.SDK.Models.Errors.GetLibraryItemsBadRequest | 400 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.GetLibraryItemsUnauthorized | 401 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | ## GetRefreshLibraryMetadata @@ -380,11 +380,11 @@ var res = await sdk.Library.GetRefreshLibraryMetadataAsync( ### Errors -| 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 | */* | +| Error Object | Status Code | Content Type | +| ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | +| LukeHagar.PlexAPI.SDK.Models.Errors.GetRefreshLibraryMetadataBadRequest | 400 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.GetRefreshLibraryMetadataUnauthorized | 401 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | ## GetSearchLibrary @@ -442,11 +442,11 @@ var res = await sdk.Library.GetSearchLibraryAsync( ### Errors -| 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 | */* | +| Error Object | Status Code | Content Type | +| ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | +| LukeHagar.PlexAPI.SDK.Models.Errors.GetSearchLibraryBadRequest | 400 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.GetSearchLibraryUnauthorized | 401 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | ## GetMetaDataByRatingKey @@ -483,11 +483,11 @@ var res = await sdk.Library.GetMetaDataByRatingKeyAsync(ratingKey: 9518); ### Errors -| 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 | */* | +| Error Object | Status Code | Content Type | +| ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | +| LukeHagar.PlexAPI.SDK.Models.Errors.GetMetaDataByRatingKeyBadRequest | 400 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.GetMetaDataByRatingKeyUnauthorized | 401 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | ## GetMetadataChildren @@ -528,11 +528,11 @@ var res = await sdk.Library.GetMetadataChildrenAsync( ### Errors -| 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 | */* | +| Error Object | Status Code | Content Type | +| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | +| LukeHagar.PlexAPI.SDK.Models.Errors.GetMetadataChildrenBadRequest | 400 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.GetMetadataChildrenUnauthorized | 401 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | ## GetTopWatchedContent @@ -573,11 +573,11 @@ var res = await sdk.Library.GetTopWatchedContentAsync( ### Errors -| 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 | */* | +| Error Object | Status Code | Content Type | +| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | +| LukeHagar.PlexAPI.SDK.Models.Errors.GetTopWatchedContentBadRequest | 400 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.GetTopWatchedContentUnauthorized | 401 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | ## GetOnDeck @@ -607,8 +607,8 @@ var res = await sdk.Library.GetOnDeckAsync(); ### Errors -| 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 | */* | +| Error Object | Status Code | Content Type | +| --------------------------------------------------------- | --------------------------------------------------------- | --------------------------------------------------------- | +| LukeHagar.PlexAPI.SDK.Models.Errors.GetOnDeckBadRequest | 400 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.GetOnDeckUnauthorized | 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 51662ea..dbeb581 100644 --- a/docs/sdks/log/README.md +++ b/docs/sdks/log/README.md @@ -52,11 +52,11 @@ var res = await sdk.Log.LogLineAsync( ### Errors -| 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 | */* | +| Error Object | Status Code | Content Type | +| ------------------------------------------------------- | ------------------------------------------------------- | ------------------------------------------------------- | +| LukeHagar.PlexAPI.SDK.Models.Errors.LogLineBadRequest | 400 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.LogLineUnauthorized | 401 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | ## LogMultiLine @@ -116,11 +116,11 @@ var res = await sdk.Log.LogMultiLineAsync(req); ### Errors -| 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 | */* | +| Error Object | Status Code | Content Type | +| ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | +| LukeHagar.PlexAPI.SDK.Models.Errors.LogMultiLineBadRequest | 400 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.LogMultiLineUnauthorized | 401 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | ## EnablePaperTrail @@ -150,8 +150,8 @@ var res = await sdk.Log.EnablePaperTrailAsync(); ### Errors -| 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 | */* | +| Error Object | Status Code | Content Type | +| ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | +| LukeHagar.PlexAPI.SDK.Models.Errors.EnablePaperTrailBadRequest | 400 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.EnablePaperTrailUnauthorized | 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 28faf10..017a625 100644 --- a/docs/sdks/media/README.md +++ b/docs/sdks/media/README.md @@ -47,11 +47,11 @@ var res = await sdk.Media.MarkPlayedAsync(key: 59398D); ### Errors -| 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 | */* | +| Error Object | Status Code | Content Type | +| ---------------------------------------------------------- | ---------------------------------------------------------- | ---------------------------------------------------------- | +| LukeHagar.PlexAPI.SDK.Models.Errors.MarkPlayedBadRequest | 400 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.MarkPlayedUnauthorized | 401 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | ## MarkUnplayed @@ -87,11 +87,11 @@ var res = await sdk.Media.MarkUnplayedAsync(key: 59398D); ### Errors -| 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 | */* | +| Error Object | Status Code | Content Type | +| ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | +| LukeHagar.PlexAPI.SDK.Models.Errors.MarkUnplayedBadRequest | 400 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.MarkUnplayedUnauthorized | 401 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | ## UpdatePlayProgress @@ -134,11 +134,11 @@ var res = await sdk.Media.UpdatePlayProgressAsync( ### Errors -| 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 | */* | +| Error Object | Status Code | Content Type | +| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | +| LukeHagar.PlexAPI.SDK.Models.Errors.UpdatePlayProgressBadRequest | 400 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.UpdatePlayProgressUnauthorized | 401 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | ## GetBannerImage @@ -183,11 +183,11 @@ var res = await sdk.Media.GetBannerImageAsync(req); ### Errors -| 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 | */* | +| Error Object | Status Code | Content Type | +| -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | +| LukeHagar.PlexAPI.SDK.Models.Errors.GetBannerImageBadRequest | 400 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.GetBannerImageUnauthorized | 401 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | ## GetThumbImage @@ -232,8 +232,8 @@ var res = await sdk.Media.GetThumbImageAsync(req); ### Errors -| 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 | */* | +| Error Object | Status Code | Content Type | +| ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | +| LukeHagar.PlexAPI.SDK.Models.Errors.GetThumbImageBadRequest | 400 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.GetThumbImageUnauthorized | 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 bfcf77a..7bac4d5 100644 --- a/docs/sdks/playlists/README.md +++ b/docs/sdks/playlists/README.md @@ -64,11 +64,11 @@ var res = await sdk.Playlists.CreatePlaylistAsync(req); ### Errors -| 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 | */* | +| Error Object | Status Code | Content Type | +| -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | +| LukeHagar.PlexAPI.SDK.Models.Errors.CreatePlaylistBadRequest | 400 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.CreatePlaylistUnauthorized | 401 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | ## GetPlaylists @@ -108,11 +108,11 @@ var res = await sdk.Playlists.GetPlaylistsAsync( ### Errors -| 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 | */* | +| Error Object | Status Code | Content Type | +| ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | +| LukeHagar.PlexAPI.SDK.Models.Errors.GetPlaylistsBadRequest | 400 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.GetPlaylistsUnauthorized | 401 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | ## GetPlaylist @@ -150,11 +150,11 @@ var res = await sdk.Playlists.GetPlaylistAsync(playlistID: 4109.48D); ### Errors -| 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 | */* | +| Error Object | Status Code | Content Type | +| ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | +| LukeHagar.PlexAPI.SDK.Models.Errors.GetPlaylistBadRequest | 400 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.GetPlaylistUnauthorized | 401 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | ## DeletePlaylist @@ -191,11 +191,11 @@ var res = await sdk.Playlists.DeletePlaylistAsync(playlistID: 216.22D); ### Errors -| 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 | */* | +| Error Object | Status Code | Content Type | +| -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | +| LukeHagar.PlexAPI.SDK.Models.Errors.DeletePlaylistBadRequest | 400 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.DeletePlaylistUnauthorized | 401 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | ## UpdatePlaylist @@ -238,11 +238,11 @@ var res = await sdk.Playlists.UpdatePlaylistAsync( ### Errors -| 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 | */* | +| Error Object | Status Code | Content Type | +| -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | +| LukeHagar.PlexAPI.SDK.Models.Errors.UpdatePlaylistBadRequest | 400 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.UpdatePlaylistUnauthorized | 401 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | ## GetPlaylistContents @@ -286,11 +286,11 @@ var res = await sdk.Playlists.GetPlaylistContentsAsync( ### Errors -| 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 | */* | +| Error Object | Status Code | Content Type | +| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | +| LukeHagar.PlexAPI.SDK.Models.Errors.GetPlaylistContentsBadRequest | 400 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.GetPlaylistContentsUnauthorized | 401 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | ## ClearPlaylistContents @@ -327,11 +327,11 @@ var res = await sdk.Playlists.ClearPlaylistContentsAsync(playlistID: 1893.18D); ### Errors -| 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 | */* | +| Error Object | Status Code | Content Type | +| --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | +| LukeHagar.PlexAPI.SDK.Models.Errors.ClearPlaylistContentsBadRequest | 400 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.ClearPlaylistContentsUnauthorized | 401 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | ## AddPlaylistContents @@ -375,11 +375,11 @@ var res = await sdk.Playlists.AddPlaylistContentsAsync( ### Errors -| 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 | */* | +| Error Object | Status Code | Content Type | +| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | +| LukeHagar.PlexAPI.SDK.Models.Errors.AddPlaylistContentsBadRequest | 400 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.AddPlaylistContentsUnauthorized | 401 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | ## UploadPlaylist @@ -420,8 +420,8 @@ var res = await sdk.Playlists.UploadPlaylistAsync( ### Errors -| 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 | */* | +| Error Object | Status Code | Content Type | +| -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | +| LukeHagar.PlexAPI.SDK.Models.Errors.UploadPlaylistBadRequest | 400 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.UploadPlaylistUnauthorized | 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 4745e3b..c3864d1 100644 --- a/docs/sdks/plex/README.md +++ b/docs/sdks/plex/README.md @@ -48,11 +48,11 @@ var res = await sdk.Plex.GetCompanionsDataAsync(); ### Errors -| 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 | */* | +| Error Object | Status Code | Content Type | +| ----------------------------------------------------------------- | ----------------------------------------------------------------- | ----------------------------------------------------------------- | +| LukeHagar.PlexAPI.SDK.Models.Errors.GetCompanionsDataBadRequest | 400 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.GetCompanionsDataUnauthorized | 401 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | ## GetUserFriends @@ -87,11 +87,11 @@ var res = await sdk.Plex.GetUserFriendsAsync(); ### Errors -| 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 | */* | +| Error Object | Status Code | Content Type | +| -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | +| LukeHagar.PlexAPI.SDK.Models.Errors.GetUserFriendsBadRequest | 400 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.GetUserFriendsUnauthorized | 401 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | ## GetGeoData @@ -123,11 +123,11 @@ var res = await sdk.Plex.GetGeoDataAsync(); ### Errors -| 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 | */* | +| Error Object | Status Code | Content Type | +| ---------------------------------------------------------- | ---------------------------------------------------------- | ---------------------------------------------------------- | +| LukeHagar.PlexAPI.SDK.Models.Errors.GetGeoDataBadRequest | 400 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.GetGeoDataUnauthorized | 401 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | ## GetHomeData @@ -156,11 +156,11 @@ var res = await sdk.Plex.GetHomeDataAsync(); ### Errors -| 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 | */* | +| Error Object | Status Code | Content Type | +| ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | +| LukeHagar.PlexAPI.SDK.Models.Errors.GetHomeDataBadRequest | 400 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.GetHomeDataUnauthorized | 401 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | ## GetServerResources @@ -179,24 +179,25 @@ var sdk = new PlexAPI( xPlexClientIdentifier: "gcgzw5rz2xovp84b4vha3a40" ); -GetServerResourcesRequest req = new GetServerResourcesRequest() { - XPlexToken = "CV5xoxjTpFKUzBTShsaf", - IncludeHttps = LukeHagar.PlexAPI.SDK.Models.Requests.IncludeHttps.One, - IncludeRelay = LukeHagar.PlexAPI.SDK.Models.Requests.IncludeRelay.One, - IncludeIPv6 = LukeHagar.PlexAPI.SDK.Models.Requests.IncludeIPv6.One, -}; - -var res = await sdk.Plex.GetServerResourcesAsync(req); +var res = await sdk.Plex.GetServerResourcesAsync( + xPlexClientIdentifier: "gcgzw5rz2xovp84b4vha3a40", + includeHttps: LukeHagar.PlexAPI.SDK.Models.Requests.IncludeHttps.One, + includeRelay: LukeHagar.PlexAPI.SDK.Models.Requests.IncludeRelay.One, + includeIPv6: LukeHagar.PlexAPI.SDK.Models.Requests.IncludeIPv6.One +); // handle response ``` ### Parameters -| Parameter | Type | Required | Description | -| ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | -| `request` | [GetServerResourcesRequest](../../Models/Requests/GetServerResourcesRequest.md) | :heavy_check_mark: | The request object to use for the request. | -| `serverURL` | *string* | :heavy_minus_sign: | An optional server URL to use. | +| Parameter | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `XPlexClientIdentifier` | *string* | :heavy_minus_sign: | The unique identifier for the client application
This is used to track the client application and its usage
(UUID, serial number, or other number unique per device)
| gcgzw5rz2xovp84b4vha3a40 | +| `IncludeHttps` | [IncludeHttps](../../Models/Requests/IncludeHttps.md) | :heavy_minus_sign: | Include Https entries in the results | 1 | +| `IncludeRelay` | [IncludeRelay](../../Models/Requests/IncludeRelay.md) | :heavy_minus_sign: | Include Relay addresses in the results
E.g: https://10-0-0-25.bbf8e10c7fa20447cacee74cd9914cde.plex.direct:32400
| 1 | +| `IncludeIPv6` | [IncludeIPv6](../../Models/Requests/IncludeIPv6.md) | :heavy_minus_sign: | Include IPv6 entries in the results | 1 | +| `serverURL` | *string* | :heavy_minus_sign: | An optional server URL to use. | http://localhost:8080 | ### Response @@ -204,11 +205,11 @@ var res = await sdk.Plex.GetServerResourcesAsync(req); ### Errors -| 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 | */* | +| Error Object | Status Code | Content Type | +| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | +| LukeHagar.PlexAPI.SDK.Models.Errors.GetServerResourcesBadRequest | 400 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.GetServerResourcesUnauthorized | 401 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | ## GetPin @@ -248,10 +249,10 @@ var res = await sdk.Plex.GetPinAsync( ### Errors -| Error Object | Status Code | Content Type | -| ------------------------------------------------------ | ------------------------------------------------------ | ------------------------------------------------------ | -| LukeHagar.PlexAPI.SDK.Models.Errors.GetPinResponseBody | 400 | application/json | -| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | +| Error Object | Status Code | Content Type | +| ---------------------------------------------------- | ---------------------------------------------------- | ---------------------------------------------------- | +| LukeHagar.PlexAPI.SDK.Models.Errors.GetPinBadRequest | 400 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | ## GetTokenByPinId @@ -289,8 +290,8 @@ var res = await sdk.Plex.GetTokenByPinIdAsync( ### Errors -| Error Object | Status Code | Content Type | -| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | -| LukeHagar.PlexAPI.SDK.Models.Errors.GetTokenByPinIdResponseBody | 400 | application/json | -| LukeHagar.PlexAPI.SDK.Models.Errors.GetTokenByPinIdPlexResponseBody | 404 | application/json | -| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | +| Error Object | Status Code | Content Type | +| --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | +| LukeHagar.PlexAPI.SDK.Models.Errors.GetTokenByPinIdBadRequest | 400 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.GetTokenByPinIdResponseBody | 404 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | diff --git a/docs/sdks/search/README.md b/docs/sdks/search/README.md index 875cc13..84f3dfc 100644 --- a/docs/sdks/search/README.md +++ b/docs/sdks/search/README.md @@ -63,11 +63,11 @@ var res = await sdk.Search.PerformSearchAsync( ### Errors -| 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 | */* | +| Error Object | Status Code | Content Type | +| ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | +| LukeHagar.PlexAPI.SDK.Models.Errors.PerformSearchBadRequest | 400 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.PerformSearchUnauthorized | 401 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | ## PerformVoiceSearch @@ -113,11 +113,11 @@ var res = await sdk.Search.PerformVoiceSearchAsync( ### Errors -| 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 | */* | +| Error Object | Status Code | Content Type | +| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | +| LukeHagar.PlexAPI.SDK.Models.Errors.PerformVoiceSearchBadRequest | 400 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.PerformVoiceSearchUnauthorized | 401 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | ## GetSearchResults @@ -153,8 +153,8 @@ var res = await sdk.Search.GetSearchResultsAsync(query: "110"); ### Errors -| 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 | */* | +| Error Object | Status Code | Content Type | +| ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | +| LukeHagar.PlexAPI.SDK.Models.Errors.GetSearchResultsBadRequest | 400 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.GetSearchResultsUnauthorized | 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 9a6503c..ada045f 100644 --- a/docs/sdks/server/README.md +++ b/docs/sdks/server/README.md @@ -44,11 +44,11 @@ var res = await sdk.Server.GetServerCapabilitiesAsync(); ### Errors -| 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 | */* | +| Error Object | Status Code | Content Type | +| --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | +| LukeHagar.PlexAPI.SDK.Models.Errors.GetServerCapabilitiesBadRequest | 400 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.GetServerCapabilitiesUnauthorized | 401 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | ## GetServerPreferences @@ -77,11 +77,11 @@ var res = await sdk.Server.GetServerPreferencesAsync(); ### Errors -| 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 | */* | +| Error Object | Status Code | Content Type | +| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | +| LukeHagar.PlexAPI.SDK.Models.Errors.GetServerPreferencesBadRequest | 400 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.GetServerPreferencesUnauthorized | 401 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | ## GetAvailableClients @@ -110,11 +110,11 @@ var res = await sdk.Server.GetAvailableClientsAsync(); ### Errors -| 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 | */* | +| Error Object | Status Code | Content Type | +| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | +| LukeHagar.PlexAPI.SDK.Models.Errors.GetAvailableClientsBadRequest | 400 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.GetAvailableClientsUnauthorized | 401 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | ## GetDevices @@ -143,11 +143,11 @@ var res = await sdk.Server.GetDevicesAsync(); ### Errors -| 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 | */* | +| Error Object | Status Code | Content Type | +| ---------------------------------------------------------- | ---------------------------------------------------------- | ---------------------------------------------------------- | +| LukeHagar.PlexAPI.SDK.Models.Errors.GetDevicesBadRequest | 400 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.GetDevicesUnauthorized | 401 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | ## GetServerIdentity @@ -173,10 +173,10 @@ var res = await sdk.Server.GetServerIdentityAsync(); ### Errors -| Error Object | Status Code | Content Type | -| ----------------------------------------------------------------- | ----------------------------------------------------------------- | ----------------------------------------------------------------- | -| LukeHagar.PlexAPI.SDK.Models.Errors.GetServerIdentityResponseBody | 408 | application/json | -| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | +| Error Object | Status Code | Content Type | +| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | +| LukeHagar.PlexAPI.SDK.Models.Errors.GetServerIdentityRequestTimeout | 408 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | ## GetMyPlexAccount @@ -205,11 +205,11 @@ var res = await sdk.Server.GetMyPlexAccountAsync(); ### Errors -| 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 | */* | +| Error Object | Status Code | Content Type | +| ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | +| LukeHagar.PlexAPI.SDK.Models.Errors.GetMyPlexAccountBadRequest | 400 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.GetMyPlexAccountUnauthorized | 401 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | ## GetResizedPhoto @@ -256,11 +256,11 @@ var res = await sdk.Server.GetResizedPhotoAsync(req); ### Errors -| 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 | */* | +| Error Object | Status Code | Content Type | +| --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | +| LukeHagar.PlexAPI.SDK.Models.Errors.GetResizedPhotoBadRequest | 400 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.GetResizedPhotoUnauthorized | 401 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | ## GetMediaProviders @@ -296,11 +296,11 @@ var res = await sdk.Server.GetMediaProvidersAsync(xPlexToken: "CV5xoxjTpFKUzBTSh ### Errors -| 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 | */* | +| Error Object | Status Code | Content Type | +| ----------------------------------------------------------------- | ----------------------------------------------------------------- | ----------------------------------------------------------------- | +| LukeHagar.PlexAPI.SDK.Models.Errors.GetMediaProvidersBadRequest | 400 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.GetMediaProvidersUnauthorized | 401 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | ## GetServerList @@ -329,8 +329,8 @@ var res = await sdk.Server.GetServerListAsync(); ### Errors -| 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 | */* | +| Error Object | Status Code | Content Type | +| ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | +| LukeHagar.PlexAPI.SDK.Models.Errors.GetServerListBadRequest | 400 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.GetServerListUnauthorized | 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 0f92746..23fa53e 100644 --- a/docs/sdks/sessions/README.md +++ b/docs/sdks/sessions/README.md @@ -39,11 +39,11 @@ var res = await sdk.Sessions.GetSessionsAsync(); ### Errors -| 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 | */* | +| Error Object | Status Code | Content Type | +| ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | +| LukeHagar.PlexAPI.SDK.Models.Errors.GetSessionsBadRequest | 400 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.GetSessionsUnauthorized | 401 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | ## GetSessionHistory @@ -87,11 +87,11 @@ var res = await sdk.Sessions.GetSessionHistoryAsync( ### Errors -| 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 | */* | +| Error Object | Status Code | Content Type | +| ----------------------------------------------------------------- | ----------------------------------------------------------------- | ----------------------------------------------------------------- | +| LukeHagar.PlexAPI.SDK.Models.Errors.GetSessionHistoryBadRequest | 400 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.GetSessionHistoryUnauthorized | 401 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | ## GetTranscodeSessions @@ -120,11 +120,11 @@ var res = await sdk.Sessions.GetTranscodeSessionsAsync(); ### Errors -| 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 | */* | +| Error Object | Status Code | Content Type | +| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | +| LukeHagar.PlexAPI.SDK.Models.Errors.GetTranscodeSessionsBadRequest | 400 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.GetTranscodeSessionsUnauthorized | 401 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | ## StopTranscodeSession @@ -160,8 +160,8 @@ var res = await sdk.Sessions.StopTranscodeSessionAsync(sessionKey: "zz7llzqlx8w9 ### Errors -| 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 | */* | +| Error Object | Status Code | Content Type | +| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | +| LukeHagar.PlexAPI.SDK.Models.Errors.StopTranscodeSessionBadRequest | 400 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.StopTranscodeSessionUnauthorized | 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 61d88fa..46f04e4 100644 --- a/docs/sdks/statistics/README.md +++ b/docs/sdks/statistics/README.md @@ -45,11 +45,11 @@ var res = await sdk.Statistics.GetStatisticsAsync(timespan: 4); ### Errors -| 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 | */* | +| Error Object | Status Code | Content Type | +| ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | +| LukeHagar.PlexAPI.SDK.Models.Errors.GetStatisticsBadRequest | 400 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.GetStatisticsUnauthorized | 401 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | ## GetResourcesStatistics @@ -85,11 +85,11 @@ var res = await sdk.Statistics.GetResourcesStatisticsAsync(timespan: 4); ### Errors -| 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 | */* | +| Error Object | Status Code | Content Type | +| ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | +| LukeHagar.PlexAPI.SDK.Models.Errors.GetResourcesStatisticsBadRequest | 400 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.GetResourcesStatisticsUnauthorized | 401 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | ## GetBandwidthStatistics @@ -125,8 +125,8 @@ var res = await sdk.Statistics.GetBandwidthStatisticsAsync(timespan: 4); ### Errors -| 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 | */* | +| Error Object | Status Code | Content Type | +| ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | +| LukeHagar.PlexAPI.SDK.Models.Errors.GetBandwidthStatisticsBadRequest | 400 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.GetBandwidthStatisticsUnauthorized | 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 87f72a3..daec506 100644 --- a/docs/sdks/updater/README.md +++ b/docs/sdks/updater/README.md @@ -39,11 +39,11 @@ var res = await sdk.Updater.GetUpdateStatusAsync(); ### Errors -| 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 | */* | +| Error Object | Status Code | Content Type | +| --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | +| LukeHagar.PlexAPI.SDK.Models.Errors.GetUpdateStatusBadRequest | 400 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.GetUpdateStatusUnauthorized | 401 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | ## CheckForUpdates @@ -79,11 +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 | 400 | application/json | -| LukeHagar.PlexAPI.SDK.Models.Errors.CheckForUpdatesUpdaterResponseBody | 401 | application/json | -| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | +| Error Object | Status Code | Content Type | +| --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | +| LukeHagar.PlexAPI.SDK.Models.Errors.CheckForUpdatesBadRequest | 400 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.CheckForUpdatesUnauthorized | 401 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | ## ApplyUpdates @@ -124,8 +124,8 @@ var res = await sdk.Updater.ApplyUpdatesAsync( ### Errors -| 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 | */* | +| Error Object | Status Code | Content Type | +| ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | +| LukeHagar.PlexAPI.SDK.Models.Errors.ApplyUpdatesBadRequest | 400 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.ApplyUpdatesUnauthorized | 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 e127a98..a53beae 100644 --- a/docs/sdks/video/README.md +++ b/docs/sdks/video/README.md @@ -57,11 +57,11 @@ var res = await sdk.Video.GetTimelineAsync(req); ### Errors -| 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 | */* | +| Error Object | Status Code | Content Type | +| ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | +| LukeHagar.PlexAPI.SDK.Models.Errors.GetTimelineBadRequest | 400 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.GetTimelineUnauthorized | 401 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* | ## StartUniversalTranscode @@ -116,8 +116,8 @@ var res = await sdk.Video.StartUniversalTranscodeAsync(req); ### Errors -| 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 | */* | +| Error Object | Status Code | Content Type | +| ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | +| LukeHagar.PlexAPI.SDK.Models.Errors.StartUniversalTranscodeBadRequest | 400 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.StartUniversalTranscodeUnauthorized | 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 64f55c7..0ee3a8a 100644 --- a/docs/sdks/watchlist/README.md +++ b/docs/sdks/watchlist/README.md @@ -51,8 +51,8 @@ var res = await sdk.Watchlist.GetWatchListAsync(req); ### Errors -| 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 | */* | +| Error Object | Status Code | Content Type | +| ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | +| LukeHagar.PlexAPI.SDK.Models.Errors.GetWatchListBadRequest | 400 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.GetWatchListUnauthorized | 401 | application/json | +| LukeHagar.PlexAPI.SDK.Models.Errors.SDKException | 4xx-5xx | */* |