mirror of
https://github.com/LukeHagar/plexcsharp.git
synced 2025-12-07 20:47:44 +00:00
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.459.2
This commit is contained in:
@@ -11,8 +11,8 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests
|
||||
{
|
||||
using LukeHagar.PlexAPI.SDK.Models.Requests;
|
||||
using LukeHagar.PlexAPI.SDK.Utils;
|
||||
using System.Net.Http;
|
||||
using System;
|
||||
using System.Net.Http;
|
||||
|
||||
public class AddPlaylistContentsResponse
|
||||
{
|
||||
|
||||
@@ -10,8 +10,8 @@
|
||||
namespace LukeHagar.PlexAPI.SDK.Models.Requests
|
||||
{
|
||||
using LukeHagar.PlexAPI.SDK.Utils;
|
||||
using System.Net.Http;
|
||||
using System;
|
||||
using System.Net.Http;
|
||||
|
||||
public class ApplyUpdatesResponse
|
||||
{
|
||||
|
||||
@@ -10,8 +10,8 @@
|
||||
namespace LukeHagar.PlexAPI.SDK.Models.Requests
|
||||
{
|
||||
using LukeHagar.PlexAPI.SDK.Utils;
|
||||
using System.Net.Http;
|
||||
using System;
|
||||
using System.Net.Http;
|
||||
|
||||
public class CancelServerActivitiesResponse
|
||||
{
|
||||
|
||||
@@ -10,8 +10,8 @@
|
||||
namespace LukeHagar.PlexAPI.SDK.Models.Requests
|
||||
{
|
||||
using LukeHagar.PlexAPI.SDK.Utils;
|
||||
using System.Net.Http;
|
||||
using System;
|
||||
using System.Net.Http;
|
||||
|
||||
public class CheckForUpdatesResponse
|
||||
{
|
||||
|
||||
@@ -10,8 +10,8 @@
|
||||
namespace LukeHagar.PlexAPI.SDK.Models.Requests
|
||||
{
|
||||
using LukeHagar.PlexAPI.SDK.Utils;
|
||||
using System.Net.Http;
|
||||
using System;
|
||||
using System.Net.Http;
|
||||
|
||||
public class ClearPlaylistContentsResponse
|
||||
{
|
||||
|
||||
@@ -11,8 +11,8 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests
|
||||
{
|
||||
using LukeHagar.PlexAPI.SDK.Models.Requests;
|
||||
using LukeHagar.PlexAPI.SDK.Utils;
|
||||
using System.Net.Http;
|
||||
using System;
|
||||
using System.Net.Http;
|
||||
|
||||
public class CreatePlaylistResponse
|
||||
{
|
||||
|
||||
@@ -10,8 +10,8 @@
|
||||
namespace LukeHagar.PlexAPI.SDK.Models.Requests
|
||||
{
|
||||
using LukeHagar.PlexAPI.SDK.Utils;
|
||||
using System.Net.Http;
|
||||
using System;
|
||||
using System.Net.Http;
|
||||
|
||||
public class DeleteLibraryResponse
|
||||
{
|
||||
|
||||
@@ -10,8 +10,8 @@
|
||||
namespace LukeHagar.PlexAPI.SDK.Models.Requests
|
||||
{
|
||||
using LukeHagar.PlexAPI.SDK.Utils;
|
||||
using System.Net.Http;
|
||||
using System;
|
||||
using System.Net.Http;
|
||||
|
||||
public class DeletePlaylistResponse
|
||||
{
|
||||
|
||||
@@ -10,8 +10,8 @@
|
||||
namespace LukeHagar.PlexAPI.SDK.Models.Requests
|
||||
{
|
||||
using LukeHagar.PlexAPI.SDK.Utils;
|
||||
using System.Net.Http;
|
||||
using System;
|
||||
using System.Net.Http;
|
||||
|
||||
public class EnablePaperTrailResponse
|
||||
{
|
||||
|
||||
@@ -11,8 +11,8 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests
|
||||
{
|
||||
using LukeHagar.PlexAPI.SDK.Models.Requests;
|
||||
using LukeHagar.PlexAPI.SDK.Utils;
|
||||
using System.Net.Http;
|
||||
using System;
|
||||
using System.Net.Http;
|
||||
|
||||
public class GetAllLibrariesResponse
|
||||
{
|
||||
|
||||
@@ -11,8 +11,8 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests
|
||||
{
|
||||
using LukeHagar.PlexAPI.SDK.Models.Requests;
|
||||
using LukeHagar.PlexAPI.SDK.Utils;
|
||||
using System.Net.Http;
|
||||
using System;
|
||||
using System.Net.Http;
|
||||
|
||||
public class GetAvailableClientsResponse
|
||||
{
|
||||
|
||||
@@ -11,8 +11,8 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests
|
||||
{
|
||||
using LukeHagar.PlexAPI.SDK.Models.Requests;
|
||||
using LukeHagar.PlexAPI.SDK.Utils;
|
||||
using System.Net.Http;
|
||||
using System;
|
||||
using System.Net.Http;
|
||||
|
||||
public class GetBandwidthStatisticsResponse
|
||||
{
|
||||
|
||||
@@ -10,9 +10,9 @@
|
||||
namespace LukeHagar.PlexAPI.SDK.Models.Requests
|
||||
{
|
||||
using LukeHagar.PlexAPI.SDK.Utils;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Net.Http;
|
||||
using System;
|
||||
|
||||
public class GetBannerImageResponse
|
||||
{
|
||||
|
||||
@@ -11,8 +11,8 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests
|
||||
{
|
||||
using LukeHagar.PlexAPI.SDK.Models.Requests;
|
||||
using LukeHagar.PlexAPI.SDK.Utils;
|
||||
using System.Net.Http;
|
||||
using System;
|
||||
using System.Net.Http;
|
||||
|
||||
public class GetButlerTasksResponse
|
||||
{
|
||||
|
||||
@@ -11,9 +11,9 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests
|
||||
{
|
||||
using LukeHagar.PlexAPI.SDK.Models.Requests;
|
||||
using LukeHagar.PlexAPI.SDK.Utils;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Net.Http;
|
||||
using System;
|
||||
|
||||
public class GetCompanionsDataResponse
|
||||
{
|
||||
|
||||
@@ -11,8 +11,8 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests
|
||||
{
|
||||
using LukeHagar.PlexAPI.SDK.Models.Requests;
|
||||
using LukeHagar.PlexAPI.SDK.Utils;
|
||||
using System.Net.Http;
|
||||
using System;
|
||||
using System.Net.Http;
|
||||
|
||||
public class GetDevicesResponse
|
||||
{
|
||||
|
||||
@@ -10,8 +10,8 @@
|
||||
namespace LukeHagar.PlexAPI.SDK.Models.Requests
|
||||
{
|
||||
using LukeHagar.PlexAPI.SDK.Utils;
|
||||
using System.Net.Http;
|
||||
using System;
|
||||
using System.Net.Http;
|
||||
|
||||
public class GetFileHashResponse
|
||||
{
|
||||
|
||||
@@ -11,8 +11,8 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests
|
||||
{
|
||||
using LukeHagar.PlexAPI.SDK.Models.Requests;
|
||||
using LukeHagar.PlexAPI.SDK.Utils;
|
||||
using System.Net.Http;
|
||||
using System;
|
||||
using System.Net.Http;
|
||||
|
||||
public class GetGeoDataResponse
|
||||
{
|
||||
|
||||
@@ -11,8 +11,8 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests
|
||||
{
|
||||
using LukeHagar.PlexAPI.SDK.Models.Requests;
|
||||
using LukeHagar.PlexAPI.SDK.Utils;
|
||||
using System.Net.Http;
|
||||
using System;
|
||||
using System.Net.Http;
|
||||
|
||||
public class GetGlobalHubsResponse
|
||||
{
|
||||
|
||||
@@ -11,8 +11,8 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests
|
||||
{
|
||||
using LukeHagar.PlexAPI.SDK.Models.Requests;
|
||||
using LukeHagar.PlexAPI.SDK.Utils;
|
||||
using System.Net.Http;
|
||||
using System;
|
||||
using System.Net.Http;
|
||||
|
||||
public class GetHomeDataResponse
|
||||
{
|
||||
|
||||
@@ -11,8 +11,8 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests
|
||||
{
|
||||
using LukeHagar.PlexAPI.SDK.Models.Requests;
|
||||
using LukeHagar.PlexAPI.SDK.Utils;
|
||||
using System.Net.Http;
|
||||
using System;
|
||||
using System.Net.Http;
|
||||
|
||||
public class GetLibraryDetailsResponse
|
||||
{
|
||||
|
||||
@@ -11,8 +11,8 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests
|
||||
{
|
||||
using LukeHagar.PlexAPI.SDK.Models.Requests;
|
||||
using LukeHagar.PlexAPI.SDK.Utils;
|
||||
using System.Net.Http;
|
||||
using System;
|
||||
using System.Net.Http;
|
||||
|
||||
public class GetLibraryHubsResponse
|
||||
{
|
||||
|
||||
@@ -91,14 +91,14 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests
|
||||
public GetLibraryItemsFlattenSeasons? FlattenSeasons { get; set; } = LukeHagar.PlexAPI.SDK.Models.Requests.GetLibraryItemsFlattenSeasons.False;
|
||||
|
||||
/// <summary>
|
||||
/// Setting that indicates the episode ordering for the show <br/>
|
||||
/// Setting that indicates the episode ordering for the show<br/>
|
||||
///
|
||||
/// <remarks>
|
||||
/// None = Library default, <br/>
|
||||
/// tmdbAiring = The Movie Database (Aired), <br/>
|
||||
/// aired = TheTVDB (Aired), <br/>
|
||||
/// dvd = TheTVDB (DVD), <br/>
|
||||
/// absolute = TheTVDB (Absolute)).<br/>
|
||||
/// None = Library default,<br/>
|
||||
/// tmdbAiring = The Movie Database (Aired),<br/>
|
||||
/// tvdbAiring = TheTVDB (Aired),<br/>
|
||||
/// tvdbDvd = TheTVDB (DVD),<br/>
|
||||
/// tvdbAbsolute = TheTVDB (Absolute)).<br/>
|
||||
///
|
||||
/// </remarks>
|
||||
/// </summary>
|
||||
|
||||
@@ -30,6 +30,8 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests
|
||||
Season = 3,
|
||||
Episode = 4,
|
||||
Audio = 8,
|
||||
Album = 9,
|
||||
Track = 10,
|
||||
}
|
||||
|
||||
}
|
||||
@@ -21,17 +21,6 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests
|
||||
[SpeakeasyMetadata("pathParam:style=simple,explode=false,name=tag")]
|
||||
public Tag Tag { get; set; } = default!;
|
||||
|
||||
/// <summary>
|
||||
/// The unique key of the Plex library. <br/>
|
||||
///
|
||||
/// <remarks>
|
||||
/// Note: This is unique in the context of the Plex server.<br/>
|
||||
///
|
||||
/// </remarks>
|
||||
/// </summary>
|
||||
[SpeakeasyMetadata("pathParam:style=simple,explode=false,name=sectionKey")]
|
||||
public int SectionKey { get; set; } = default!;
|
||||
|
||||
/// <summary>
|
||||
/// Adds the Guids object to the response<br/>
|
||||
///
|
||||
@@ -57,6 +46,17 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests
|
||||
[SpeakeasyMetadata("queryParam:style=form,explode=true,name=type")]
|
||||
public GetLibraryItemsQueryParamType? Type { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// The unique key of the Plex library. <br/>
|
||||
///
|
||||
/// <remarks>
|
||||
/// Note: This is unique in the context of the Plex server.<br/>
|
||||
///
|
||||
/// </remarks>
|
||||
/// </summary>
|
||||
[SpeakeasyMetadata("pathParam:style=simple,explode=false,name=sectionKey")]
|
||||
public int SectionKey { get; set; } = default!;
|
||||
|
||||
/// <summary>
|
||||
/// Adds the Meta object to the response<br/>
|
||||
///
|
||||
|
||||
@@ -11,8 +11,8 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests
|
||||
{
|
||||
using LukeHagar.PlexAPI.SDK.Models.Requests;
|
||||
using LukeHagar.PlexAPI.SDK.Utils;
|
||||
using System.Net.Http;
|
||||
using System;
|
||||
using System.Net.Http;
|
||||
|
||||
public class GetLibraryItemsResponse
|
||||
{
|
||||
|
||||
@@ -14,14 +14,14 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests
|
||||
using System;
|
||||
|
||||
/// <summary>
|
||||
/// Setting that indicates the episode ordering for the show <br/>
|
||||
/// Setting that indicates the episode ordering for the show<br/>
|
||||
///
|
||||
/// <remarks>
|
||||
/// None = Library default, <br/>
|
||||
/// tmdbAiring = The Movie Database (Aired), <br/>
|
||||
/// aired = TheTVDB (Aired), <br/>
|
||||
/// dvd = TheTVDB (DVD), <br/>
|
||||
/// absolute = TheTVDB (Absolute)).<br/>
|
||||
/// None = Library default,<br/>
|
||||
/// tmdbAiring = The Movie Database (Aired),<br/>
|
||||
/// tvdbAiring = TheTVDB (Aired),<br/>
|
||||
/// tvdbDvd = TheTVDB (DVD),<br/>
|
||||
/// tvdbAbsolute = TheTVDB (Absolute)).<br/>
|
||||
///
|
||||
/// </remarks>
|
||||
/// </summary>
|
||||
@@ -31,12 +31,12 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests
|
||||
None,
|
||||
[JsonProperty("tmdbAiring")]
|
||||
TmdbAiring,
|
||||
[JsonProperty("aired")]
|
||||
Aired,
|
||||
[JsonProperty("dvd")]
|
||||
Dvd,
|
||||
[JsonProperty("absolute")]
|
||||
Absolute,
|
||||
[JsonProperty("tvdbAiring")]
|
||||
TvdbAiring,
|
||||
[JsonProperty("tvdbDvd")]
|
||||
TvdbDvd,
|
||||
[JsonProperty("tvdbAbsolute")]
|
||||
TvdbAbsolute,
|
||||
}
|
||||
|
||||
public static class GetLibraryItemsShowOrderingExtension
|
||||
|
||||
@@ -11,8 +11,8 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests
|
||||
{
|
||||
using LukeHagar.PlexAPI.SDK.Models.Requests;
|
||||
using LukeHagar.PlexAPI.SDK.Utils;
|
||||
using System.Net.Http;
|
||||
using System;
|
||||
using System.Net.Http;
|
||||
|
||||
public class GetMediaProvidersResponse
|
||||
{
|
||||
|
||||
@@ -45,6 +45,36 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests
|
||||
[JsonProperty("librarySectionKey")]
|
||||
public string? LibrarySectionKey { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// The name of the album artist for the track when audio, and the name of the TV show for the episode when video.
|
||||
/// </summary>
|
||||
[JsonProperty("grandparentTitle")]
|
||||
public string? GrandparentTitle { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// The name of the album for the track when audio, and the name of the season for the episode when TV show.
|
||||
/// </summary>
|
||||
[JsonProperty("parentTitle")]
|
||||
public string? ParentTitle { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// The orginal untranslated name of the media item when non-english.
|
||||
/// </summary>
|
||||
[JsonProperty("originalTitle")]
|
||||
public string? OriginalTitle { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// The index starting from 0 of this media item in the MetaData array.
|
||||
/// </summary>
|
||||
[JsonProperty("index")]
|
||||
public long? Index { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// The parent index starting from 0 of this media item in the parent MetaData array.
|
||||
/// </summary>
|
||||
[JsonProperty("parentIndex")]
|
||||
public long? ParentIndex { get; set; }
|
||||
|
||||
[JsonProperty("contentRating")]
|
||||
public string? ContentRating { get; set; }
|
||||
|
||||
|
||||
@@ -11,8 +11,8 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests
|
||||
{
|
||||
using LukeHagar.PlexAPI.SDK.Models.Requests;
|
||||
using LukeHagar.PlexAPI.SDK.Utils;
|
||||
using System.Net.Http;
|
||||
using System;
|
||||
using System.Net.Http;
|
||||
|
||||
public class GetMetaDataByRatingKeyResponse
|
||||
{
|
||||
|
||||
@@ -11,8 +11,8 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests
|
||||
{
|
||||
using LukeHagar.PlexAPI.SDK.Models.Requests;
|
||||
using LukeHagar.PlexAPI.SDK.Utils;
|
||||
using System.Net.Http;
|
||||
using System;
|
||||
using System.Net.Http;
|
||||
|
||||
public class GetMetadataChildrenResponse
|
||||
{
|
||||
|
||||
@@ -11,8 +11,8 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests
|
||||
{
|
||||
using LukeHagar.PlexAPI.SDK.Models.Requests;
|
||||
using LukeHagar.PlexAPI.SDK.Utils;
|
||||
using System.Net.Http;
|
||||
using System;
|
||||
using System.Net.Http;
|
||||
|
||||
public class GetMyPlexAccountResponse
|
||||
{
|
||||
|
||||
@@ -12,8 +12,8 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests
|
||||
using LukeHagar.PlexAPI.SDK.Models.Requests;
|
||||
using LukeHagar.PlexAPI.SDK.Utils;
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
public class GetOnDeckMetadata
|
||||
{
|
||||
|
||||
@@ -11,8 +11,8 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests
|
||||
{
|
||||
using LukeHagar.PlexAPI.SDK.Models.Requests;
|
||||
using LukeHagar.PlexAPI.SDK.Utils;
|
||||
using System.Net.Http;
|
||||
using System;
|
||||
using System.Net.Http;
|
||||
|
||||
public class GetOnDeckResponse
|
||||
{
|
||||
|
||||
@@ -30,7 +30,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests
|
||||
/// An opaque identifier unique to the client (UUID, serial number, or other unique device ID)
|
||||
/// </summary>
|
||||
[SpeakeasyMetadata("header:style=simple,explode=false,name=X-Plex-Client-Identifier")]
|
||||
public string? ClientID { get; set; }
|
||||
public string ClientID { get; set; } = default!;
|
||||
|
||||
/// <summary>
|
||||
/// The name of the client application. (Plex Web, Plex Media Server, etc.)
|
||||
|
||||
@@ -11,8 +11,8 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests
|
||||
{
|
||||
using LukeHagar.PlexAPI.SDK.Models.Requests;
|
||||
using LukeHagar.PlexAPI.SDK.Utils;
|
||||
using System.Net.Http;
|
||||
using System;
|
||||
using System.Net.Http;
|
||||
|
||||
public class GetPinResponse
|
||||
{
|
||||
|
||||
@@ -30,6 +30,8 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests
|
||||
Season = 3,
|
||||
Episode = 4,
|
||||
Audio = 8,
|
||||
Album = 9,
|
||||
Track = 10,
|
||||
}
|
||||
|
||||
}
|
||||
@@ -11,8 +11,8 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests
|
||||
{
|
||||
using LukeHagar.PlexAPI.SDK.Models.Requests;
|
||||
using LukeHagar.PlexAPI.SDK.Utils;
|
||||
using System.Net.Http;
|
||||
using System;
|
||||
using System.Net.Http;
|
||||
|
||||
public class GetPlaylistContentsResponse
|
||||
{
|
||||
|
||||
@@ -11,8 +11,8 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests
|
||||
{
|
||||
using LukeHagar.PlexAPI.SDK.Models.Requests;
|
||||
using LukeHagar.PlexAPI.SDK.Utils;
|
||||
using System.Net.Http;
|
||||
using System;
|
||||
using System.Net.Http;
|
||||
|
||||
public class GetPlaylistResponse
|
||||
{
|
||||
|
||||
@@ -11,8 +11,8 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests
|
||||
{
|
||||
using LukeHagar.PlexAPI.SDK.Models.Requests;
|
||||
using LukeHagar.PlexAPI.SDK.Utils;
|
||||
using System.Net.Http;
|
||||
using System;
|
||||
using System.Net.Http;
|
||||
|
||||
public class GetPlaylistsResponse
|
||||
{
|
||||
|
||||
@@ -12,8 +12,8 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests
|
||||
using LukeHagar.PlexAPI.SDK.Models.Requests;
|
||||
using LukeHagar.PlexAPI.SDK.Utils;
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
public class GetRecentlyAddedLibraryMetadata
|
||||
{
|
||||
|
||||
@@ -16,6 +16,18 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests
|
||||
public class GetRecentlyAddedLibraryRequest
|
||||
{
|
||||
|
||||
[SpeakeasyMetadata("queryParam:style=form,explode=true,name=contentDirectoryID")]
|
||||
public long? ContentDirectoryID { get; set; }
|
||||
|
||||
[SpeakeasyMetadata("queryParam:style=form,explode=true,name=pinnedContentDirectoryID")]
|
||||
public List<long>? PinnedContentDirectoryID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// The library section ID for filtering content.
|
||||
/// </summary>
|
||||
[SpeakeasyMetadata("queryParam:style=form,explode=true,name=sectionID")]
|
||||
public long? SectionID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// The type of media to retrieve.<br/>
|
||||
///
|
||||
@@ -31,18 +43,6 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests
|
||||
[SpeakeasyMetadata("queryParam:style=form,explode=true,name=type")]
|
||||
public QueryParamType Type { get; set; } = default!;
|
||||
|
||||
[SpeakeasyMetadata("queryParam:style=form,explode=true,name=contentDirectoryID")]
|
||||
public long? ContentDirectoryID { get; set; }
|
||||
|
||||
[SpeakeasyMetadata("queryParam:style=form,explode=true,name=pinnedContentDirectoryID")]
|
||||
public List<long>? PinnedContentDirectoryID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// The library section ID for filtering content.
|
||||
/// </summary>
|
||||
[SpeakeasyMetadata("queryParam:style=form,explode=true,name=sectionID")]
|
||||
public long? SectionID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Adds the Meta object to the response<br/>
|
||||
///
|
||||
|
||||
@@ -11,8 +11,8 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests
|
||||
{
|
||||
using LukeHagar.PlexAPI.SDK.Models.Requests;
|
||||
using LukeHagar.PlexAPI.SDK.Utils;
|
||||
using System.Net.Http;
|
||||
using System;
|
||||
using System.Net.Http;
|
||||
|
||||
public class GetRecentlyAddedLibraryResponse
|
||||
{
|
||||
|
||||
@@ -91,14 +91,14 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests
|
||||
public FlattenSeasons? FlattenSeasons { get; set; } = LukeHagar.PlexAPI.SDK.Models.Requests.FlattenSeasons.False;
|
||||
|
||||
/// <summary>
|
||||
/// Setting that indicates the episode ordering for the show <br/>
|
||||
/// Setting that indicates the episode ordering for the show<br/>
|
||||
///
|
||||
/// <remarks>
|
||||
/// None = Library default, <br/>
|
||||
/// tmdbAiring = The Movie Database (Aired), <br/>
|
||||
/// aired = TheTVDB (Aired), <br/>
|
||||
/// dvd = TheTVDB (DVD), <br/>
|
||||
/// absolute = TheTVDB (Absolute)).<br/>
|
||||
/// None = Library default,<br/>
|
||||
/// tmdbAiring = The Movie Database (Aired),<br/>
|
||||
/// tvdbAiring = TheTVDB (Aired),<br/>
|
||||
/// tvdbDvd = TheTVDB (DVD),<br/>
|
||||
/// tvdbAbsolute = TheTVDB (Absolute)).<br/>
|
||||
///
|
||||
/// </remarks>
|
||||
/// </summary>
|
||||
|
||||
@@ -21,6 +21,18 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests
|
||||
[SpeakeasyMetadata("queryParam:style=form,explode=true,name=contentDirectoryID")]
|
||||
public long ContentDirectoryID { get; set; } = default!;
|
||||
|
||||
/// <summary>
|
||||
/// Comma-separated list of pinned content directory IDs.
|
||||
/// </summary>
|
||||
[SpeakeasyMetadata("queryParam:style=form,explode=true,name=pinnedContentDirectoryID")]
|
||||
public string? PinnedContentDirectoryID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// The library section ID for filtering content.
|
||||
/// </summary>
|
||||
[SpeakeasyMetadata("queryParam:style=form,explode=true,name=sectionID")]
|
||||
public long? SectionID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// The type of media to retrieve.<br/>
|
||||
///
|
||||
@@ -36,18 +48,6 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests
|
||||
[SpeakeasyMetadata("queryParam:style=form,explode=true,name=type")]
|
||||
public Models.Requests.Type Type { get; set; } = default!;
|
||||
|
||||
/// <summary>
|
||||
/// Comma-separated list of pinned content directory IDs.
|
||||
/// </summary>
|
||||
[SpeakeasyMetadata("queryParam:style=form,explode=true,name=pinnedContentDirectoryID")]
|
||||
public string? PinnedContentDirectoryID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// The library section ID for filtering content.
|
||||
/// </summary>
|
||||
[SpeakeasyMetadata("queryParam:style=form,explode=true,name=sectionID")]
|
||||
public long? SectionID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Adds the Meta object to the response<br/>
|
||||
///
|
||||
|
||||
@@ -11,8 +11,8 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests
|
||||
{
|
||||
using LukeHagar.PlexAPI.SDK.Models.Requests;
|
||||
using LukeHagar.PlexAPI.SDK.Utils;
|
||||
using System.Net.Http;
|
||||
using System;
|
||||
using System.Net.Http;
|
||||
|
||||
public class GetRecentlyAddedResponse
|
||||
{
|
||||
|
||||
@@ -10,8 +10,8 @@
|
||||
namespace LukeHagar.PlexAPI.SDK.Models.Requests
|
||||
{
|
||||
using LukeHagar.PlexAPI.SDK.Utils;
|
||||
using System.Net.Http;
|
||||
using System;
|
||||
using System.Net.Http;
|
||||
|
||||
public class GetRefreshLibraryMetadataResponse
|
||||
{
|
||||
|
||||
@@ -10,8 +10,8 @@
|
||||
namespace LukeHagar.PlexAPI.SDK.Models.Requests
|
||||
{
|
||||
using LukeHagar.PlexAPI.SDK.Utils;
|
||||
using System.Net.Http;
|
||||
using System;
|
||||
using System.Net.Http;
|
||||
|
||||
public class GetResizedPhotoResponse
|
||||
{
|
||||
|
||||
@@ -11,8 +11,8 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests
|
||||
{
|
||||
using LukeHagar.PlexAPI.SDK.Models.Requests;
|
||||
using LukeHagar.PlexAPI.SDK.Utils;
|
||||
using System.Net.Http;
|
||||
using System;
|
||||
using System.Net.Http;
|
||||
|
||||
public class GetResourcesStatisticsResponse
|
||||
{
|
||||
|
||||
@@ -91,14 +91,14 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests
|
||||
public GetSearchAllLibrariesFlattenSeasons? FlattenSeasons { get; set; } = LukeHagar.PlexAPI.SDK.Models.Requests.GetSearchAllLibrariesFlattenSeasons.False;
|
||||
|
||||
/// <summary>
|
||||
/// Setting that indicates the episode ordering for the show <br/>
|
||||
/// Setting that indicates the episode ordering for the show<br/>
|
||||
///
|
||||
/// <remarks>
|
||||
/// None = Library default, <br/>
|
||||
/// tmdbAiring = The Movie Database (Aired), <br/>
|
||||
/// aired = TheTVDB (Aired), <br/>
|
||||
/// dvd = TheTVDB (DVD), <br/>
|
||||
/// absolute = TheTVDB (Absolute)).<br/>
|
||||
/// None = Library default,<br/>
|
||||
/// tmdbAiring = The Movie Database (Aired),<br/>
|
||||
/// tvdbAiring = TheTVDB (Aired),<br/>
|
||||
/// tvdbDvd = TheTVDB (DVD),<br/>
|
||||
/// tvdbAbsolute = TheTVDB (Absolute)).<br/>
|
||||
///
|
||||
/// </remarks>
|
||||
/// </summary>
|
||||
|
||||
@@ -26,7 +26,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests
|
||||
/// An opaque identifier unique to the client (UUID, serial number, or other unique device ID)
|
||||
/// </summary>
|
||||
[SpeakeasyMetadata("header:style=simple,explode=false,name=X-Plex-Client-Identifier")]
|
||||
public string? ClientID { get; set; }
|
||||
public string ClientID { get; set; } = default!;
|
||||
|
||||
/// <summary>
|
||||
/// Limit the number of results returned.
|
||||
|
||||
@@ -11,8 +11,8 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests
|
||||
{
|
||||
using LukeHagar.PlexAPI.SDK.Models.Requests;
|
||||
using LukeHagar.PlexAPI.SDK.Utils;
|
||||
using System.Net.Http;
|
||||
using System;
|
||||
using System.Net.Http;
|
||||
|
||||
public class GetSearchAllLibrariesResponse
|
||||
{
|
||||
|
||||
@@ -14,14 +14,14 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests
|
||||
using System;
|
||||
|
||||
/// <summary>
|
||||
/// Setting that indicates the episode ordering for the show <br/>
|
||||
/// Setting that indicates the episode ordering for the show<br/>
|
||||
///
|
||||
/// <remarks>
|
||||
/// None = Library default, <br/>
|
||||
/// tmdbAiring = The Movie Database (Aired), <br/>
|
||||
/// aired = TheTVDB (Aired), <br/>
|
||||
/// dvd = TheTVDB (DVD), <br/>
|
||||
/// absolute = TheTVDB (Absolute)).<br/>
|
||||
/// None = Library default,<br/>
|
||||
/// tmdbAiring = The Movie Database (Aired),<br/>
|
||||
/// tvdbAiring = TheTVDB (Aired),<br/>
|
||||
/// tvdbDvd = TheTVDB (DVD),<br/>
|
||||
/// tvdbAbsolute = TheTVDB (Absolute)).<br/>
|
||||
///
|
||||
/// </remarks>
|
||||
/// </summary>
|
||||
@@ -31,12 +31,12 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests
|
||||
None,
|
||||
[JsonProperty("tmdbAiring")]
|
||||
TmdbAiring,
|
||||
[JsonProperty("aired")]
|
||||
Aired,
|
||||
[JsonProperty("dvd")]
|
||||
Dvd,
|
||||
[JsonProperty("absolute")]
|
||||
Absolute,
|
||||
[JsonProperty("tvdbAiring")]
|
||||
TvdbAiring,
|
||||
[JsonProperty("tvdbDvd")]
|
||||
TvdbDvd,
|
||||
[JsonProperty("tvdbAbsolute")]
|
||||
TvdbAbsolute,
|
||||
}
|
||||
|
||||
public static class GetSearchAllLibrariesShowOrderingExtension
|
||||
|
||||
@@ -30,6 +30,8 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests
|
||||
Season = 3,
|
||||
Episode = 4,
|
||||
Audio = 8,
|
||||
Album = 9,
|
||||
Track = 10,
|
||||
}
|
||||
|
||||
}
|
||||
@@ -11,8 +11,8 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests
|
||||
{
|
||||
using LukeHagar.PlexAPI.SDK.Models.Requests;
|
||||
using LukeHagar.PlexAPI.SDK.Utils;
|
||||
using System.Net.Http;
|
||||
using System;
|
||||
using System.Net.Http;
|
||||
|
||||
public class GetSearchLibraryResponse
|
||||
{
|
||||
|
||||
@@ -12,8 +12,8 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests
|
||||
using LukeHagar.PlexAPI.SDK.Models.Requests;
|
||||
using LukeHagar.PlexAPI.SDK.Utils;
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
public class GetSearchResultsMetadata
|
||||
{
|
||||
|
||||
@@ -11,8 +11,8 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests
|
||||
{
|
||||
using LukeHagar.PlexAPI.SDK.Models.Requests;
|
||||
using LukeHagar.PlexAPI.SDK.Utils;
|
||||
using System.Net.Http;
|
||||
using System;
|
||||
using System.Net.Http;
|
||||
|
||||
public class GetSearchResultsResponse
|
||||
{
|
||||
|
||||
@@ -11,8 +11,8 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests
|
||||
{
|
||||
using LukeHagar.PlexAPI.SDK.Models.Requests;
|
||||
using LukeHagar.PlexAPI.SDK.Utils;
|
||||
using System.Net.Http;
|
||||
using System;
|
||||
using System.Net.Http;
|
||||
|
||||
public class GetServerActivitiesResponse
|
||||
{
|
||||
|
||||
@@ -11,8 +11,8 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests
|
||||
{
|
||||
using LukeHagar.PlexAPI.SDK.Models.Requests;
|
||||
using LukeHagar.PlexAPI.SDK.Utils;
|
||||
using System.Net.Http;
|
||||
using System;
|
||||
using System.Net.Http;
|
||||
|
||||
public class GetServerCapabilitiesResponse
|
||||
{
|
||||
|
||||
@@ -11,8 +11,8 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests
|
||||
{
|
||||
using LukeHagar.PlexAPI.SDK.Models.Requests;
|
||||
using LukeHagar.PlexAPI.SDK.Utils;
|
||||
using System.Net.Http;
|
||||
using System;
|
||||
using System.Net.Http;
|
||||
|
||||
public class GetServerIdentityResponse
|
||||
{
|
||||
|
||||
@@ -11,8 +11,8 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests
|
||||
{
|
||||
using LukeHagar.PlexAPI.SDK.Models.Requests;
|
||||
using LukeHagar.PlexAPI.SDK.Utils;
|
||||
using System.Net.Http;
|
||||
using System;
|
||||
using System.Net.Http;
|
||||
|
||||
public class GetServerListResponse
|
||||
{
|
||||
|
||||
@@ -11,8 +11,8 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests
|
||||
{
|
||||
using LukeHagar.PlexAPI.SDK.Models.Requests;
|
||||
using LukeHagar.PlexAPI.SDK.Utils;
|
||||
using System.Net.Http;
|
||||
using System;
|
||||
using System.Net.Http;
|
||||
|
||||
public class GetServerPreferencesResponse
|
||||
{
|
||||
|
||||
@@ -15,6 +15,12 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests
|
||||
public class GetServerResourcesRequest
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// An opaque identifier unique to the client (UUID, serial number, or other unique device ID)
|
||||
/// </summary>
|
||||
[SpeakeasyMetadata("header:style=simple,explode=false,name=X-Plex-Client-Identifier")]
|
||||
public string ClientID { get; set; } = default!;
|
||||
|
||||
/// <summary>
|
||||
/// Include Https entries in the results
|
||||
/// </summary>
|
||||
@@ -37,11 +43,5 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests
|
||||
/// </summary>
|
||||
[SpeakeasyMetadata("queryParam:style=form,explode=true,name=includeIPv6")]
|
||||
public IncludeIPv6? IncludeIPv6 { get; set; } = LukeHagar.PlexAPI.SDK.Models.Requests.IncludeIPv6.Disable;
|
||||
|
||||
/// <summary>
|
||||
/// An opaque identifier unique to the client (UUID, serial number, or other unique device ID)
|
||||
/// </summary>
|
||||
[SpeakeasyMetadata("header:style=simple,explode=false,name=X-Plex-Client-Identifier")]
|
||||
public string? ClientID { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -11,9 +11,9 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests
|
||||
{
|
||||
using LukeHagar.PlexAPI.SDK.Models.Requests;
|
||||
using LukeHagar.PlexAPI.SDK.Utils;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Net.Http;
|
||||
using System;
|
||||
|
||||
public class GetServerResourcesResponse
|
||||
{
|
||||
|
||||
@@ -11,8 +11,8 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests
|
||||
{
|
||||
using LukeHagar.PlexAPI.SDK.Models.Requests;
|
||||
using LukeHagar.PlexAPI.SDK.Utils;
|
||||
using System.Net.Http;
|
||||
using System;
|
||||
using System.Net.Http;
|
||||
|
||||
public class GetSessionHistoryResponse
|
||||
{
|
||||
|
||||
@@ -11,8 +11,8 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests
|
||||
{
|
||||
using LukeHagar.PlexAPI.SDK.Models.Requests;
|
||||
using LukeHagar.PlexAPI.SDK.Utils;
|
||||
using System.Net.Http;
|
||||
using System;
|
||||
using System.Net.Http;
|
||||
|
||||
public class GetSessionsResponse
|
||||
{
|
||||
|
||||
@@ -10,8 +10,8 @@
|
||||
namespace LukeHagar.PlexAPI.SDK.Models.Requests
|
||||
{
|
||||
using LukeHagar.PlexAPI.SDK.Utils;
|
||||
using System.Net.Http;
|
||||
using System;
|
||||
using System.Net.Http;
|
||||
|
||||
public class GetSourceConnectionInformationResponse
|
||||
{
|
||||
|
||||
@@ -11,8 +11,8 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests
|
||||
{
|
||||
using LukeHagar.PlexAPI.SDK.Models.Requests;
|
||||
using LukeHagar.PlexAPI.SDK.Utils;
|
||||
using System.Net.Http;
|
||||
using System;
|
||||
using System.Net.Http;
|
||||
|
||||
public class GetStatisticsResponse
|
||||
{
|
||||
|
||||
@@ -10,9 +10,9 @@
|
||||
namespace LukeHagar.PlexAPI.SDK.Models.Requests
|
||||
{
|
||||
using LukeHagar.PlexAPI.SDK.Utils;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Net.Http;
|
||||
using System;
|
||||
|
||||
public class GetThumbImageResponse
|
||||
{
|
||||
|
||||
@@ -10,8 +10,8 @@
|
||||
namespace LukeHagar.PlexAPI.SDK.Models.Requests
|
||||
{
|
||||
using LukeHagar.PlexAPI.SDK.Utils;
|
||||
using System.Net.Http;
|
||||
using System;
|
||||
using System.Net.Http;
|
||||
|
||||
public class GetTimelineResponse
|
||||
{
|
||||
|
||||
@@ -24,7 +24,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests
|
||||
/// An opaque identifier unique to the client (UUID, serial number, or other unique device ID)
|
||||
/// </summary>
|
||||
[SpeakeasyMetadata("header:style=simple,explode=false,name=X-Plex-Client-Identifier")]
|
||||
public string? ClientID { get; set; }
|
||||
public string ClientID { get; set; } = default!;
|
||||
|
||||
/// <summary>
|
||||
/// The name of the client application. (Plex Web, Plex Media Server, etc.)
|
||||
|
||||
@@ -11,8 +11,8 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests
|
||||
{
|
||||
using LukeHagar.PlexAPI.SDK.Models.Requests;
|
||||
using LukeHagar.PlexAPI.SDK.Utils;
|
||||
using System.Net.Http;
|
||||
using System;
|
||||
using System.Net.Http;
|
||||
|
||||
public class GetTokenByPinIdResponse
|
||||
{
|
||||
|
||||
@@ -11,8 +11,8 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests
|
||||
{
|
||||
using LukeHagar.PlexAPI.SDK.Models.Requests;
|
||||
using LukeHagar.PlexAPI.SDK.Utils;
|
||||
using System.Net.Http;
|
||||
using System;
|
||||
using System.Net.Http;
|
||||
|
||||
public class GetTokenDetailsResponse
|
||||
{
|
||||
|
||||
@@ -12,8 +12,8 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests
|
||||
using LukeHagar.PlexAPI.SDK.Models.Requests;
|
||||
using LukeHagar.PlexAPI.SDK.Utils;
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
/// <summary>
|
||||
/// Logged in user details
|
||||
|
||||
@@ -30,6 +30,8 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests
|
||||
Season = 3,
|
||||
Episode = 4,
|
||||
Audio = 8,
|
||||
Album = 9,
|
||||
Track = 10,
|
||||
}
|
||||
|
||||
}
|
||||
@@ -11,8 +11,8 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests
|
||||
{
|
||||
using LukeHagar.PlexAPI.SDK.Models.Requests;
|
||||
using LukeHagar.PlexAPI.SDK.Utils;
|
||||
using System.Net.Http;
|
||||
using System;
|
||||
using System.Net.Http;
|
||||
|
||||
public class GetTopWatchedContentResponse
|
||||
{
|
||||
|
||||
@@ -11,8 +11,8 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests
|
||||
{
|
||||
using LukeHagar.PlexAPI.SDK.Models.Requests;
|
||||
using LukeHagar.PlexAPI.SDK.Utils;
|
||||
using System.Net.Http;
|
||||
using System;
|
||||
using System.Net.Http;
|
||||
|
||||
public class GetTranscodeSessionsResponse
|
||||
{
|
||||
|
||||
@@ -10,8 +10,8 @@
|
||||
namespace LukeHagar.PlexAPI.SDK.Models.Requests
|
||||
{
|
||||
using LukeHagar.PlexAPI.SDK.Utils;
|
||||
using System.Net.Http;
|
||||
using System;
|
||||
using System.Net.Http;
|
||||
|
||||
public class GetTransientTokenResponse
|
||||
{
|
||||
|
||||
@@ -11,8 +11,8 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests
|
||||
{
|
||||
using LukeHagar.PlexAPI.SDK.Models.Requests;
|
||||
using LukeHagar.PlexAPI.SDK.Utils;
|
||||
using System.Net.Http;
|
||||
using System;
|
||||
using System.Net.Http;
|
||||
|
||||
public class GetUpdateStatusResponse
|
||||
{
|
||||
|
||||
@@ -11,9 +11,9 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests
|
||||
{
|
||||
using LukeHagar.PlexAPI.SDK.Models.Requests;
|
||||
using LukeHagar.PlexAPI.SDK.Utils;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Net.Http;
|
||||
using System;
|
||||
|
||||
public class GetUserFriendsResponse
|
||||
{
|
||||
|
||||
@@ -21,12 +21,6 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests
|
||||
[SpeakeasyMetadata("pathParam:style=simple,explode=false,name=filter")]
|
||||
public Filter Filter { get; set; } = default!;
|
||||
|
||||
/// <summary>
|
||||
/// An authentication token, obtained from plex.tv
|
||||
/// </summary>
|
||||
[SpeakeasyMetadata("header:style=simple,explode=false,name=X-Plex-Token")]
|
||||
public string XPlexToken { get; set; } = default!;
|
||||
|
||||
/// <summary>
|
||||
/// In the format "field:dir". Available fields are "watchlistedAt" (Added At),<br/>
|
||||
///
|
||||
@@ -103,5 +97,11 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests
|
||||
/// </summary>
|
||||
[SpeakeasyMetadata("queryParam:style=form,explode=true,name=X-Plex-Container-Size")]
|
||||
public int? XPlexContainerSize { get; set; } = 50;
|
||||
|
||||
/// <summary>
|
||||
/// An authentication token, obtained from plex.tv
|
||||
/// </summary>
|
||||
[SpeakeasyMetadata("header:style=simple,explode=false,name=X-Plex-Token")]
|
||||
public string XPlexToken { get; set; } = default!;
|
||||
}
|
||||
}
|
||||
@@ -11,8 +11,8 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests
|
||||
{
|
||||
using LukeHagar.PlexAPI.SDK.Models.Requests;
|
||||
using LukeHagar.PlexAPI.SDK.Utils;
|
||||
using System.Net.Http;
|
||||
using System;
|
||||
using System.Net.Http;
|
||||
|
||||
public class GetWatchListResponse
|
||||
{
|
||||
|
||||
@@ -10,8 +10,8 @@
|
||||
namespace LukeHagar.PlexAPI.SDK.Models.Requests
|
||||
{
|
||||
using LukeHagar.PlexAPI.SDK.Utils;
|
||||
using System.Net.Http;
|
||||
using System;
|
||||
using System.Net.Http;
|
||||
|
||||
public class LogLineResponse
|
||||
{
|
||||
|
||||
@@ -10,8 +10,8 @@
|
||||
namespace LukeHagar.PlexAPI.SDK.Models.Requests
|
||||
{
|
||||
using LukeHagar.PlexAPI.SDK.Utils;
|
||||
using System.Net.Http;
|
||||
using System;
|
||||
using System.Net.Http;
|
||||
|
||||
public class LogMultiLineResponse
|
||||
{
|
||||
|
||||
@@ -10,8 +10,8 @@
|
||||
namespace LukeHagar.PlexAPI.SDK.Models.Requests
|
||||
{
|
||||
using LukeHagar.PlexAPI.SDK.Utils;
|
||||
using System.Net.Http;
|
||||
using System;
|
||||
using System.Net.Http;
|
||||
|
||||
public class MarkPlayedResponse
|
||||
{
|
||||
|
||||
@@ -10,8 +10,8 @@
|
||||
namespace LukeHagar.PlexAPI.SDK.Models.Requests
|
||||
{
|
||||
using LukeHagar.PlexAPI.SDK.Utils;
|
||||
using System.Net.Http;
|
||||
using System;
|
||||
using System.Net.Http;
|
||||
|
||||
public class MarkUnplayedResponse
|
||||
{
|
||||
|
||||
@@ -10,8 +10,8 @@
|
||||
namespace LukeHagar.PlexAPI.SDK.Models.Requests
|
||||
{
|
||||
using LukeHagar.PlexAPI.SDK.Utils;
|
||||
using System.Net.Http;
|
||||
using System;
|
||||
using System.Net.Http;
|
||||
|
||||
public class PerformSearchResponse
|
||||
{
|
||||
|
||||
@@ -10,8 +10,8 @@
|
||||
namespace LukeHagar.PlexAPI.SDK.Models.Requests
|
||||
{
|
||||
using LukeHagar.PlexAPI.SDK.Utils;
|
||||
using System.Net.Http;
|
||||
using System;
|
||||
using System.Net.Http;
|
||||
|
||||
public class PerformVoiceSearchResponse
|
||||
{
|
||||
|
||||
@@ -12,8 +12,8 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests
|
||||
using LukeHagar.PlexAPI.SDK.Models.Requests;
|
||||
using LukeHagar.PlexAPI.SDK.Utils;
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
public class PlexDevice
|
||||
{
|
||||
|
||||
@@ -19,7 +19,7 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests
|
||||
/// An opaque identifier unique to the client (UUID, serial number, or other unique device ID)
|
||||
/// </summary>
|
||||
[SpeakeasyMetadata("header:style=simple,explode=false,name=X-Plex-Client-Identifier")]
|
||||
public string? ClientID { get; set; }
|
||||
public string ClientID { get; set; } = default!;
|
||||
|
||||
/// <summary>
|
||||
/// The name of the client application. (Plex Web, Plex Media Server, etc.)
|
||||
|
||||
@@ -11,8 +11,8 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests
|
||||
{
|
||||
using LukeHagar.PlexAPI.SDK.Models.Requests;
|
||||
using LukeHagar.PlexAPI.SDK.Utils;
|
||||
using System.Net.Http;
|
||||
using System;
|
||||
using System.Net.Http;
|
||||
|
||||
public class PostUsersSignInDataResponse
|
||||
{
|
||||
|
||||
@@ -12,8 +12,8 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests
|
||||
using LukeHagar.PlexAPI.SDK.Models.Requests;
|
||||
using LukeHagar.PlexAPI.SDK.Utils;
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
/// <summary>
|
||||
/// Returns the user account data with a valid auth token
|
||||
|
||||
@@ -30,6 +30,8 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests
|
||||
Season = 3,
|
||||
Episode = 4,
|
||||
Audio = 8,
|
||||
Album = 9,
|
||||
Track = 10,
|
||||
}
|
||||
|
||||
}
|
||||
@@ -14,14 +14,14 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests
|
||||
using System;
|
||||
|
||||
/// <summary>
|
||||
/// Setting that indicates the episode ordering for the show <br/>
|
||||
/// Setting that indicates the episode ordering for the show<br/>
|
||||
///
|
||||
/// <remarks>
|
||||
/// None = Library default, <br/>
|
||||
/// tmdbAiring = The Movie Database (Aired), <br/>
|
||||
/// aired = TheTVDB (Aired), <br/>
|
||||
/// dvd = TheTVDB (DVD), <br/>
|
||||
/// absolute = TheTVDB (Absolute)).<br/>
|
||||
/// None = Library default,<br/>
|
||||
/// tmdbAiring = The Movie Database (Aired),<br/>
|
||||
/// tvdbAiring = TheTVDB (Aired),<br/>
|
||||
/// tvdbDvd = TheTVDB (DVD),<br/>
|
||||
/// tvdbAbsolute = TheTVDB (Absolute)).<br/>
|
||||
///
|
||||
/// </remarks>
|
||||
/// </summary>
|
||||
@@ -31,12 +31,12 @@ namespace LukeHagar.PlexAPI.SDK.Models.Requests
|
||||
None,
|
||||
[JsonProperty("tmdbAiring")]
|
||||
TmdbAiring,
|
||||
[JsonProperty("aired")]
|
||||
Aired,
|
||||
[JsonProperty("dvd")]
|
||||
Dvd,
|
||||
[JsonProperty("absolute")]
|
||||
Absolute,
|
||||
[JsonProperty("tvdbAiring")]
|
||||
TvdbAiring,
|
||||
[JsonProperty("tvdbDvd")]
|
||||
TvdbDvd,
|
||||
[JsonProperty("tvdbAbsolute")]
|
||||
TvdbAbsolute,
|
||||
}
|
||||
|
||||
public static class ShowOrderingExtension
|
||||
|
||||
@@ -10,8 +10,8 @@
|
||||
namespace LukeHagar.PlexAPI.SDK.Models.Requests
|
||||
{
|
||||
using LukeHagar.PlexAPI.SDK.Utils;
|
||||
using System.Net.Http;
|
||||
using System;
|
||||
using System.Net.Http;
|
||||
|
||||
public class StartAllTasksResponse
|
||||
{
|
||||
|
||||
@@ -10,8 +10,8 @@
|
||||
namespace LukeHagar.PlexAPI.SDK.Models.Requests
|
||||
{
|
||||
using LukeHagar.PlexAPI.SDK.Utils;
|
||||
using System.Net.Http;
|
||||
using System;
|
||||
using System.Net.Http;
|
||||
|
||||
public class StartTaskResponse
|
||||
{
|
||||
|
||||
@@ -10,8 +10,8 @@
|
||||
namespace LukeHagar.PlexAPI.SDK.Models.Requests
|
||||
{
|
||||
using LukeHagar.PlexAPI.SDK.Utils;
|
||||
using System.Net.Http;
|
||||
using System;
|
||||
using System.Net.Http;
|
||||
|
||||
public class StartUniversalTranscodeResponse
|
||||
{
|
||||
|
||||
@@ -10,8 +10,8 @@
|
||||
namespace LukeHagar.PlexAPI.SDK.Models.Requests
|
||||
{
|
||||
using LukeHagar.PlexAPI.SDK.Utils;
|
||||
using System.Net.Http;
|
||||
using System;
|
||||
using System.Net.Http;
|
||||
|
||||
public class StopAllTasksResponse
|
||||
{
|
||||
|
||||
@@ -10,8 +10,8 @@
|
||||
namespace LukeHagar.PlexAPI.SDK.Models.Requests
|
||||
{
|
||||
using LukeHagar.PlexAPI.SDK.Utils;
|
||||
using System.Net.Http;
|
||||
using System;
|
||||
using System.Net.Http;
|
||||
|
||||
public class StopTaskResponse
|
||||
{
|
||||
|
||||
@@ -10,8 +10,8 @@
|
||||
namespace LukeHagar.PlexAPI.SDK.Models.Requests
|
||||
{
|
||||
using LukeHagar.PlexAPI.SDK.Utils;
|
||||
using System.Net.Http;
|
||||
using System;
|
||||
using System.Net.Http;
|
||||
|
||||
public class StopTranscodeSessionResponse
|
||||
{
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user