mirror of
https://github.com/jellyfin/jellyfin-sdk-csharp.git
synced 2024-11-22 21:29:54 +00:00
Clean up generation and config
This commit is contained in:
parent
8c9f7ae25c
commit
846e9c5137
@ -73,9 +73,9 @@
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"CleanGenerated",
|
||||
"CopyConfig",
|
||||
"RestoreTools",
|
||||
"Run"
|
||||
"Run",
|
||||
"UpdateConfig"
|
||||
]
|
||||
}
|
||||
},
|
||||
@ -90,9 +90,9 @@
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"CleanGenerated",
|
||||
"CopyConfig",
|
||||
"RestoreTools",
|
||||
"Run"
|
||||
"Run",
|
||||
"UpdateConfig"
|
||||
]
|
||||
}
|
||||
},
|
||||
|
@ -1,22 +1,27 @@
|
||||
using System;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Text.RegularExpressions;
|
||||
using Nuke.Common;
|
||||
using Nuke.Common.ProjectModel;
|
||||
using Nuke.Common.Tools.DotNet;
|
||||
using Serilog;
|
||||
|
||||
public class Generate : NukeBuild
|
||||
public partial class Generate : NukeBuild
|
||||
{
|
||||
static string[] IgnoreFiles =
|
||||
const string StableOpenApi = """
|
||||
"descriptionLocation": "https://repo.jellyfin.org/master/releases/openapi/jellyfin-openapi-stable.json"
|
||||
""";
|
||||
|
||||
const string UnstableOpenApi = """
|
||||
"descriptionLocation": "https://repo.jellyfin.org/master/releases/openapi/jellyfin-openapi-unstable.json"
|
||||
""";
|
||||
|
||||
static readonly string[] _ignoreFiles =
|
||||
[
|
||||
".editorconfig",
|
||||
"kiota-lock.json",
|
||||
"kiota-lock-stable.json",
|
||||
"kiota-lock-unstable.json"
|
||||
"kiota-lock.json"
|
||||
];
|
||||
|
||||
|
||||
public static int Main () => Execute<Generate>(x => x.Run);
|
||||
|
||||
[Parameter("Configuration to build - 'Stable' (default) or 'Unstable'")]
|
||||
@ -33,7 +38,7 @@ public class Generate : NukeBuild
|
||||
|
||||
foreach (var file in generatedDirectory.GetFiles())
|
||||
{
|
||||
if (IgnoreFiles.Contains(file.Name, StringComparer.OrdinalIgnoreCase))
|
||||
if (_ignoreFiles.Contains(file.Name, StringComparer.OrdinalIgnoreCase))
|
||||
{
|
||||
continue;
|
||||
}
|
||||
@ -47,22 +52,23 @@ public class Generate : NukeBuild
|
||||
}
|
||||
});
|
||||
|
||||
Target CopyConfig => g => g
|
||||
Target UpdateConfig => g => g
|
||||
.DependsOn(RestoreTools, CleanGenerated)
|
||||
.Executes(() =>
|
||||
{
|
||||
var sourceFile = Configuration == Configuration.Stable
|
||||
? "kiota-lock-stable.json"
|
||||
: "kiota-lock-unstable.json";
|
||||
var sourcePath = Path.Combine(Solution.Jellyfin_Sdk.Directory, "Generated", sourceFile);
|
||||
var destinationPath = Path.Combine(Solution.Jellyfin_Sdk.Directory, "Generated", "kiota-lock.json");
|
||||
|
||||
Log.Debug("Copying {0} to {1}", sourcePath, destinationPath);
|
||||
File.Copy(sourcePath, destinationPath, overwrite: true);
|
||||
var configPath = Path.Combine(Solution.Jellyfin_Sdk.Directory, "Generated", "kiota-lock.json");
|
||||
var config = File.ReadAllText(configPath);
|
||||
|
||||
var desiredSpecification = Configuration == Configuration.Stable
|
||||
? StableOpenApi
|
||||
: UnstableOpenApi;
|
||||
|
||||
config = OpenApiRegex().Replace(config, desiredSpecification);
|
||||
File.WriteAllText(configPath, config);
|
||||
});
|
||||
|
||||
Target Run => g => g
|
||||
.DependsOn(CopyConfig)
|
||||
.DependsOn(UpdateConfig)
|
||||
.Executes(() =>
|
||||
{
|
||||
DotNetTasks.DotNet(
|
||||
@ -85,4 +91,9 @@ public class Generate : NukeBuild
|
||||
File.WriteAllText(file, contents);
|
||||
}
|
||||
});
|
||||
|
||||
[GeneratedRegex("""
|
||||
"descriptionLocation": ".+"
|
||||
""")]
|
||||
private static partial Regex OpenApiRegex();
|
||||
}
|
||||
|
@ -18,14 +18,6 @@ namespace Jellyfin.Sdk.Generated.Albums {
|
||||
urlTplParams.Add("Albums%2Did", position);
|
||||
return new AlbumsItemRequestBuilder(urlTplParams, RequestAdapter);
|
||||
} }
|
||||
/// <summary>Gets an item from the Jellyfin.Sdk.Generated.Albums.item collection</summary>
|
||||
/// <param name="position">The item id.</param>
|
||||
[Obsolete("This indexer is deprecated and will be removed in the next major version. Use the one with the typed parameter instead.")]
|
||||
public AlbumsItemRequestBuilder this[string position] { get {
|
||||
var urlTplParams = new Dictionary<string, object>(PathParameters);
|
||||
if (!string.IsNullOrWhiteSpace(position)) urlTplParams.Add("Albums%2Did", position);
|
||||
return new AlbumsItemRequestBuilder(urlTplParams, RequestAdapter);
|
||||
} }
|
||||
/// <summary>
|
||||
/// Instantiates a new AlbumsRequestBuilder and sets the default values.
|
||||
/// </summary>
|
||||
|
@ -105,11 +105,5 @@ namespace Jellyfin.Sdk.Generated.Albums.Item.InstantMix {
|
||||
[QueryParameter("userId")]
|
||||
public Guid? UserId { get; set; }
|
||||
}
|
||||
/// <summary>
|
||||
/// Configuration for the request such as headers, query parameters, and middleware options.
|
||||
/// </summary>
|
||||
[Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
|
||||
public class InstantMixRequestBuilderGetRequestConfiguration : RequestConfiguration<InstantMixRequestBuilderGetQueryParameters> {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -96,11 +96,5 @@ namespace Jellyfin.Sdk.Generated.Albums.Item.Similar {
|
||||
[QueryParameter("userId")]
|
||||
public Guid? UserId { get; set; }
|
||||
}
|
||||
/// <summary>
|
||||
/// Configuration for the request such as headers, query parameters, and middleware options.
|
||||
/// </summary>
|
||||
[Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
|
||||
public class SimilarRequestBuilderGetRequestConfiguration : RequestConfiguration<SimilarRequestBuilderGetQueryParameters> {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -320,11 +320,5 @@ namespace Jellyfin.Sdk.Generated.Artists.AlbumArtists {
|
||||
public int?[] Years { get; set; }
|
||||
#endif
|
||||
}
|
||||
/// <summary>
|
||||
/// Configuration for the request such as headers, query parameters, and middleware options.
|
||||
/// </summary>
|
||||
[Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
|
||||
public class AlbumArtistsRequestBuilderGetRequestConfiguration : RequestConfiguration<AlbumArtistsRequestBuilderGetQueryParameters> {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -338,11 +338,5 @@ namespace Jellyfin.Sdk.Generated.Artists {
|
||||
public int?[] Years { get; set; }
|
||||
#endif
|
||||
}
|
||||
/// <summary>
|
||||
/// Configuration for the request such as headers, query parameters, and middleware options.
|
||||
/// </summary>
|
||||
[Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
|
||||
public class ArtistsRequestBuilderGetRequestConfiguration : RequestConfiguration<ArtistsRequestBuilderGetQueryParameters> {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -111,11 +111,5 @@ namespace Jellyfin.Sdk.Generated.Artists.InstantMix {
|
||||
[QueryParameter("userId")]
|
||||
public Guid? UserId { get; set; }
|
||||
}
|
||||
/// <summary>
|
||||
/// Configuration for the request such as headers, query parameters, and middleware options.
|
||||
/// </summary>
|
||||
[Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
|
||||
public class InstantMixRequestBuilderGetRequestConfiguration : RequestConfiguration<InstantMixRequestBuilderGetQueryParameters> {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -88,11 +88,5 @@ namespace Jellyfin.Sdk.Generated.Artists.Item {
|
||||
[QueryParameter("userId")]
|
||||
public Guid? UserId { get; set; }
|
||||
}
|
||||
/// <summary>
|
||||
/// Configuration for the request such as headers, query parameters, and middleware options.
|
||||
/// </summary>
|
||||
[Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
|
||||
public class ArtistsItemRequestBuilderGetRequestConfiguration : RequestConfiguration<ArtistsItemRequestBuilderGetQueryParameters> {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -185,12 +185,6 @@ namespace Jellyfin.Sdk.Generated.Artists.Item.Images.Item.Item {
|
||||
public int? Width { get; set; }
|
||||
}
|
||||
/// <summary>
|
||||
/// Configuration for the request such as headers, query parameters, and middleware options.
|
||||
/// </summary>
|
||||
[Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
|
||||
public class WithImageIndexItemRequestBuilderGetRequestConfiguration : RequestConfiguration<WithImageIndexItemRequestBuilderGetQueryParameters> {
|
||||
}
|
||||
/// <summary>
|
||||
/// Get artist image by name.
|
||||
/// </summary>
|
||||
public class WithImageIndexItemRequestBuilderHeadQueryParameters {
|
||||
@ -272,11 +266,5 @@ namespace Jellyfin.Sdk.Generated.Artists.Item.Images.Item.Item {
|
||||
[QueryParameter("width")]
|
||||
public int? Width { get; set; }
|
||||
}
|
||||
/// <summary>
|
||||
/// Configuration for the request such as headers, query parameters, and middleware options.
|
||||
/// </summary>
|
||||
[Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
|
||||
public class WithImageIndexItemRequestBuilderHeadRequestConfiguration : RequestConfiguration<WithImageIndexItemRequestBuilderHeadQueryParameters> {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -18,14 +18,6 @@ namespace Jellyfin.Sdk.Generated.Artists.Item.Images.Item {
|
||||
urlTplParams.Add("imageIndex", position);
|
||||
return new WithImageIndexItemRequestBuilder(urlTplParams, RequestAdapter);
|
||||
} }
|
||||
/// <summary>Gets an item from the Jellyfin.Sdk.Generated.Artists.item.Images.item.item collection</summary>
|
||||
/// <param name="position">Image index.</param>
|
||||
[Obsolete("This indexer is deprecated and will be removed in the next major version. Use the one with the typed parameter instead.")]
|
||||
public WithImageIndexItemRequestBuilder this[string position] { get {
|
||||
var urlTplParams = new Dictionary<string, object>(PathParameters);
|
||||
if (!string.IsNullOrWhiteSpace(position)) urlTplParams.Add("imageIndex", position);
|
||||
return new WithImageIndexItemRequestBuilder(urlTplParams, RequestAdapter);
|
||||
} }
|
||||
/// <summary>
|
||||
/// Instantiates a new WithImageTypeItemRequestBuilder and sets the default values.
|
||||
/// </summary>
|
||||
|
@ -105,11 +105,5 @@ namespace Jellyfin.Sdk.Generated.Artists.Item.InstantMix {
|
||||
[QueryParameter("userId")]
|
||||
public Guid? UserId { get; set; }
|
||||
}
|
||||
/// <summary>
|
||||
/// Configuration for the request such as headers, query parameters, and middleware options.
|
||||
/// </summary>
|
||||
[Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
|
||||
public class InstantMixRequestBuilderGetRequestConfiguration : RequestConfiguration<InstantMixRequestBuilderGetQueryParameters> {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -96,11 +96,5 @@ namespace Jellyfin.Sdk.Generated.Artists.Item.Similar {
|
||||
[QueryParameter("userId")]
|
||||
public Guid? UserId { get; set; }
|
||||
}
|
||||
/// <summary>
|
||||
/// Configuration for the request such as headers, query parameters, and middleware options.
|
||||
/// </summary>
|
||||
[Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
|
||||
public class SimilarRequestBuilderGetRequestConfiguration : RequestConfiguration<SimilarRequestBuilderGetQueryParameters> {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -18,14 +18,6 @@ namespace Jellyfin.Sdk.Generated.Audio {
|
||||
urlTplParams.Add("itemId", position);
|
||||
return new WithItemItemRequestBuilder(urlTplParams, RequestAdapter);
|
||||
} }
|
||||
/// <summary>Gets an item from the Jellyfin.Sdk.Generated.Audio.item collection</summary>
|
||||
/// <param name="position">The item id.</param>
|
||||
[Obsolete("This indexer is deprecated and will be removed in the next major version. Use the one with the typed parameter instead.")]
|
||||
public WithItemItemRequestBuilder this[string position] { get {
|
||||
var urlTplParams = new Dictionary<string, object>(PathParameters);
|
||||
if (!string.IsNullOrWhiteSpace(position)) urlTplParams.Add("itemId", position);
|
||||
return new WithItemItemRequestBuilder(urlTplParams, RequestAdapter);
|
||||
} }
|
||||
/// <summary>
|
||||
/// Instantiates a new AudioRequestBuilder and sets the default values.
|
||||
/// </summary>
|
||||
|
@ -64,11 +64,5 @@ namespace Jellyfin.Sdk.Generated.Audio.Item.Hls.Item.StreamAac {
|
||||
public StreamAacRequestBuilder WithUrl(string rawUrl) {
|
||||
return new StreamAacRequestBuilder(rawUrl, RequestAdapter);
|
||||
}
|
||||
/// <summary>
|
||||
/// Configuration for the request such as headers, query parameters, and middleware options.
|
||||
/// </summary>
|
||||
[Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
|
||||
public class StreamAacRequestBuilderGetRequestConfiguration : RequestConfiguration<DefaultQueryParameters> {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -64,11 +64,5 @@ namespace Jellyfin.Sdk.Generated.Audio.Item.Hls.Item.StreamMp3 {
|
||||
public StreamMp3RequestBuilder WithUrl(string rawUrl) {
|
||||
return new StreamMp3RequestBuilder(rawUrl, RequestAdapter);
|
||||
}
|
||||
/// <summary>
|
||||
/// Configuration for the request such as headers, query parameters, and middleware options.
|
||||
/// </summary>
|
||||
[Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
|
||||
public class StreamMp3RequestBuilderGetRequestConfiguration : RequestConfiguration<DefaultQueryParameters> {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -342,11 +342,5 @@ namespace Jellyfin.Sdk.Generated.Audio.Item.Hls1.Item.WithSegmentIdWithContainer
|
||||
[QueryParameter("width")]
|
||||
public int? Width { get; set; }
|
||||
}
|
||||
/// <summary>
|
||||
/// Configuration for the request such as headers, query parameters, and middleware options.
|
||||
/// </summary>
|
||||
[Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
|
||||
public class WithSegmentIdWithContainerRequestBuilderGetRequestConfiguration : RequestConfiguration<WithSegmentIdWithContainerRequestBuilderGetQueryParameters> {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -332,11 +332,5 @@ namespace Jellyfin.Sdk.Generated.Audio.Item.MainM3u8 {
|
||||
[QueryParameter("width")]
|
||||
public int? Width { get; set; }
|
||||
}
|
||||
/// <summary>
|
||||
/// Configuration for the request such as headers, query parameters, and middleware options.
|
||||
/// </summary>
|
||||
[Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
|
||||
public class MainM3u8RequestBuilderGetRequestConfiguration : RequestConfiguration<MainM3u8RequestBuilderGetQueryParameters> {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -367,12 +367,6 @@ namespace Jellyfin.Sdk.Generated.Audio.Item.MasterM3u8 {
|
||||
public int? Width { get; set; }
|
||||
}
|
||||
/// <summary>
|
||||
/// Configuration for the request such as headers, query parameters, and middleware options.
|
||||
/// </summary>
|
||||
[Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
|
||||
public class MasterM3u8RequestBuilderGetRequestConfiguration : RequestConfiguration<MasterM3u8RequestBuilderGetQueryParameters> {
|
||||
}
|
||||
/// <summary>
|
||||
/// Gets an audio hls playlist stream.
|
||||
/// </summary>
|
||||
public class MasterM3u8RequestBuilderHeadQueryParameters {
|
||||
@ -643,11 +637,5 @@ namespace Jellyfin.Sdk.Generated.Audio.Item.MasterM3u8 {
|
||||
[QueryParameter("width")]
|
||||
public int? Width { get; set; }
|
||||
}
|
||||
/// <summary>
|
||||
/// Configuration for the request such as headers, query parameters, and middleware options.
|
||||
/// </summary>
|
||||
[Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
|
||||
public class MasterM3u8RequestBuilderHeadRequestConfiguration : RequestConfiguration<MasterM3u8RequestBuilderHeadQueryParameters> {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -371,12 +371,6 @@ namespace Jellyfin.Sdk.Generated.Audio.Item.StreamNamespace {
|
||||
public int? Width { get; set; }
|
||||
}
|
||||
/// <summary>
|
||||
/// Configuration for the request such as headers, query parameters, and middleware options.
|
||||
/// </summary>
|
||||
[Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
|
||||
public class StreamRequestBuilderGetRequestConfiguration : RequestConfiguration<StreamRequestBuilderGetQueryParameters> {
|
||||
}
|
||||
/// <summary>
|
||||
/// Gets an audio stream.
|
||||
/// </summary>
|
||||
public class StreamRequestBuilderHeadQueryParameters {
|
||||
@ -651,11 +645,5 @@ namespace Jellyfin.Sdk.Generated.Audio.Item.StreamNamespace {
|
||||
[QueryParameter("width")]
|
||||
public int? Width { get; set; }
|
||||
}
|
||||
/// <summary>
|
||||
/// Configuration for the request such as headers, query parameters, and middleware options.
|
||||
/// </summary>
|
||||
[Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
|
||||
public class StreamRequestBuilderHeadRequestConfiguration : RequestConfiguration<StreamRequestBuilderHeadQueryParameters> {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -363,12 +363,6 @@ namespace Jellyfin.Sdk.Generated.Audio.Item.StreamWithContainer {
|
||||
public int? Width { get; set; }
|
||||
}
|
||||
/// <summary>
|
||||
/// Configuration for the request such as headers, query parameters, and middleware options.
|
||||
/// </summary>
|
||||
[Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
|
||||
public class StreamWithContainerRequestBuilderGetRequestConfiguration : RequestConfiguration<StreamWithContainerRequestBuilderGetQueryParameters> {
|
||||
}
|
||||
/// <summary>
|
||||
/// Gets an audio stream.
|
||||
/// </summary>
|
||||
public class StreamWithContainerRequestBuilderHeadQueryParameters {
|
||||
@ -633,11 +627,5 @@ namespace Jellyfin.Sdk.Generated.Audio.Item.StreamWithContainer {
|
||||
[QueryParameter("width")]
|
||||
public int? Width { get; set; }
|
||||
}
|
||||
/// <summary>
|
||||
/// Configuration for the request such as headers, query parameters, and middleware options.
|
||||
/// </summary>
|
||||
[Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
|
||||
public class StreamWithContainerRequestBuilderHeadRequestConfiguration : RequestConfiguration<StreamWithContainerRequestBuilderHeadQueryParameters> {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -194,12 +194,6 @@ namespace Jellyfin.Sdk.Generated.Audio.Item.Universal {
|
||||
public Guid? UserId { get; set; }
|
||||
}
|
||||
/// <summary>
|
||||
/// Configuration for the request such as headers, query parameters, and middleware options.
|
||||
/// </summary>
|
||||
[Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
|
||||
public class UniversalRequestBuilderGetRequestConfiguration : RequestConfiguration<UniversalRequestBuilderGetQueryParameters> {
|
||||
}
|
||||
/// <summary>
|
||||
/// Gets an audio stream.
|
||||
/// </summary>
|
||||
public class UniversalRequestBuilderHeadQueryParameters {
|
||||
@ -297,11 +291,5 @@ namespace Jellyfin.Sdk.Generated.Audio.Item.Universal {
|
||||
[QueryParameter("userId")]
|
||||
public Guid? UserId { get; set; }
|
||||
}
|
||||
/// <summary>
|
||||
/// Configuration for the request such as headers, query parameters, and middleware options.
|
||||
/// </summary>
|
||||
[Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
|
||||
public class UniversalRequestBuilderHeadRequestConfiguration : RequestConfiguration<UniversalRequestBuilderHeadQueryParameters> {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -63,11 +63,5 @@ namespace Jellyfin.Sdk.Generated.Auth.Keys.Item {
|
||||
public WithKeyItemRequestBuilder WithUrl(string rawUrl) {
|
||||
return new WithKeyItemRequestBuilder(rawUrl, RequestAdapter);
|
||||
}
|
||||
/// <summary>
|
||||
/// Configuration for the request such as headers, query parameters, and middleware options.
|
||||
/// </summary>
|
||||
[Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
|
||||
public class WithKeyItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration<DefaultQueryParameters> {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -104,12 +104,6 @@ namespace Jellyfin.Sdk.Generated.Auth.Keys {
|
||||
return new KeysRequestBuilder(rawUrl, RequestAdapter);
|
||||
}
|
||||
/// <summary>
|
||||
/// Configuration for the request such as headers, query parameters, and middleware options.
|
||||
/// </summary>
|
||||
[Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
|
||||
public class KeysRequestBuilderGetRequestConfiguration : RequestConfiguration<DefaultQueryParameters> {
|
||||
}
|
||||
/// <summary>
|
||||
/// Create a new api key.
|
||||
/// </summary>
|
||||
public class KeysRequestBuilderPostQueryParameters {
|
||||
@ -124,11 +118,5 @@ namespace Jellyfin.Sdk.Generated.Auth.Keys {
|
||||
public string App { get; set; }
|
||||
#endif
|
||||
}
|
||||
/// <summary>
|
||||
/// Configuration for the request such as headers, query parameters, and middleware options.
|
||||
/// </summary>
|
||||
[Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
|
||||
public class KeysRequestBuilderPostRequestConfiguration : RequestConfiguration<KeysRequestBuilderPostQueryParameters> {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -66,11 +66,5 @@ namespace Jellyfin.Sdk.Generated.Auth.PasswordResetProviders {
|
||||
public PasswordResetProvidersRequestBuilder WithUrl(string rawUrl) {
|
||||
return new PasswordResetProvidersRequestBuilder(rawUrl, RequestAdapter);
|
||||
}
|
||||
/// <summary>
|
||||
/// Configuration for the request such as headers, query parameters, and middleware options.
|
||||
/// </summary>
|
||||
[Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
|
||||
public class PasswordResetProvidersRequestBuilderGetRequestConfiguration : RequestConfiguration<DefaultQueryParameters> {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -66,11 +66,5 @@ namespace Jellyfin.Sdk.Generated.Auth.Providers {
|
||||
public ProvidersRequestBuilder WithUrl(string rawUrl) {
|
||||
return new ProvidersRequestBuilder(rawUrl, RequestAdapter);
|
||||
}
|
||||
/// <summary>
|
||||
/// Configuration for the request such as headers, query parameters, and middleware options.
|
||||
/// </summary>
|
||||
[Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
|
||||
public class ProvidersRequestBuilderGetRequestConfiguration : RequestConfiguration<DefaultQueryParameters> {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -65,11 +65,5 @@ namespace Jellyfin.Sdk.Generated.Branding.Configuration {
|
||||
public ConfigurationRequestBuilder WithUrl(string rawUrl) {
|
||||
return new ConfigurationRequestBuilder(rawUrl, RequestAdapter);
|
||||
}
|
||||
/// <summary>
|
||||
/// Configuration for the request such as headers, query parameters, and middleware options.
|
||||
/// </summary>
|
||||
[Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
|
||||
public class ConfigurationRequestBuilderGetRequestConfiguration : RequestConfiguration<DefaultQueryParameters> {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -64,11 +64,5 @@ namespace Jellyfin.Sdk.Generated.Branding.Css {
|
||||
public CssRequestBuilder WithUrl(string rawUrl) {
|
||||
return new CssRequestBuilder(rawUrl, RequestAdapter);
|
||||
}
|
||||
/// <summary>
|
||||
/// Configuration for the request such as headers, query parameters, and middleware options.
|
||||
/// </summary>
|
||||
[Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
|
||||
public class CssRequestBuilderGetRequestConfiguration : RequestConfiguration<DefaultQueryParameters> {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -64,11 +64,5 @@ namespace Jellyfin.Sdk.Generated.Branding.CssCss {
|
||||
public CssCssRequestBuilder WithUrl(string rawUrl) {
|
||||
return new CssCssRequestBuilder(rawUrl, RequestAdapter);
|
||||
}
|
||||
/// <summary>
|
||||
/// Configuration for the request such as headers, query parameters, and middleware options.
|
||||
/// </summary>
|
||||
[Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
|
||||
public class CssCssRequestBuilderGetRequestConfiguration : RequestConfiguration<DefaultQueryParameters> {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -136,12 +136,6 @@ namespace Jellyfin.Sdk.Generated.Branding.Splashscreen {
|
||||
return new SplashscreenRequestBuilder(rawUrl, RequestAdapter);
|
||||
}
|
||||
/// <summary>
|
||||
/// Configuration for the request such as headers, query parameters, and middleware options.
|
||||
/// </summary>
|
||||
[Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
|
||||
public class SplashscreenRequestBuilderDeleteRequestConfiguration : RequestConfiguration<DefaultQueryParameters> {
|
||||
}
|
||||
/// <summary>
|
||||
/// Generates or gets the splashscreen.
|
||||
/// </summary>
|
||||
public class SplashscreenRequestBuilderGetQueryParameters {
|
||||
@ -210,17 +204,5 @@ namespace Jellyfin.Sdk.Generated.Branding.Splashscreen {
|
||||
[QueryParameter("width")]
|
||||
public int? Width { get; set; }
|
||||
}
|
||||
/// <summary>
|
||||
/// Configuration for the request such as headers, query parameters, and middleware options.
|
||||
/// </summary>
|
||||
[Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
|
||||
public class SplashscreenRequestBuilderGetRequestConfiguration : RequestConfiguration<SplashscreenRequestBuilderGetQueryParameters> {
|
||||
}
|
||||
/// <summary>
|
||||
/// Configuration for the request such as headers, query parameters, and middleware options.
|
||||
/// </summary>
|
||||
[Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
|
||||
public class SplashscreenRequestBuilderPostRequestConfiguration : RequestConfiguration<DefaultQueryParameters> {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -31,14 +31,6 @@ namespace Jellyfin.Sdk.Generated.Channels {
|
||||
urlTplParams.Add("channelId", position);
|
||||
return new WithChannelItemRequestBuilder(urlTplParams, RequestAdapter);
|
||||
} }
|
||||
/// <summary>Gets an item from the Jellyfin.Sdk.Generated.Channels.item collection</summary>
|
||||
/// <param name="position">Channel id.</param>
|
||||
[Obsolete("This indexer is deprecated and will be removed in the next major version. Use the one with the typed parameter instead.")]
|
||||
public WithChannelItemRequestBuilder this[string position] { get {
|
||||
var urlTplParams = new Dictionary<string, object>(PathParameters);
|
||||
if (!string.IsNullOrWhiteSpace(position)) urlTplParams.Add("channelId", position);
|
||||
return new WithChannelItemRequestBuilder(urlTplParams, RequestAdapter);
|
||||
} }
|
||||
/// <summary>
|
||||
/// Instantiates a new ChannelsRequestBuilder and sets the default values.
|
||||
/// </summary>
|
||||
@ -114,11 +106,5 @@ namespace Jellyfin.Sdk.Generated.Channels {
|
||||
[QueryParameter("userId")]
|
||||
public Guid? UserId { get; set; }
|
||||
}
|
||||
/// <summary>
|
||||
/// Configuration for the request such as headers, query parameters, and middleware options.
|
||||
/// </summary>
|
||||
[Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
|
||||
public class ChannelsRequestBuilderGetRequestConfiguration : RequestConfiguration<ChannelsRequestBuilderGetQueryParameters> {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -66,11 +66,5 @@ namespace Jellyfin.Sdk.Generated.Channels.Features {
|
||||
public FeaturesRequestBuilder WithUrl(string rawUrl) {
|
||||
return new FeaturesRequestBuilder(rawUrl, RequestAdapter);
|
||||
}
|
||||
/// <summary>
|
||||
/// Configuration for the request such as headers, query parameters, and middleware options.
|
||||
/// </summary>
|
||||
[Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
|
||||
public class FeaturesRequestBuilderGetRequestConfiguration : RequestConfiguration<DefaultQueryParameters> {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -65,11 +65,5 @@ namespace Jellyfin.Sdk.Generated.Channels.Item.Features {
|
||||
public FeaturesRequestBuilder WithUrl(string rawUrl) {
|
||||
return new FeaturesRequestBuilder(rawUrl, RequestAdapter);
|
||||
}
|
||||
/// <summary>
|
||||
/// Configuration for the request such as headers, query parameters, and middleware options.
|
||||
/// </summary>
|
||||
[Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
|
||||
public class FeaturesRequestBuilderGetRequestConfiguration : RequestConfiguration<DefaultQueryParameters> {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -122,11 +122,5 @@ namespace Jellyfin.Sdk.Generated.Channels.Item.Items {
|
||||
[QueryParameter("userId")]
|
||||
public Guid? UserId { get; set; }
|
||||
}
|
||||
/// <summary>
|
||||
/// Configuration for the request such as headers, query parameters, and middleware options.
|
||||
/// </summary>
|
||||
[Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
|
||||
public class ItemsRequestBuilderGetRequestConfiguration : RequestConfiguration<ItemsRequestBuilderGetQueryParameters> {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -109,11 +109,5 @@ namespace Jellyfin.Sdk.Generated.Channels.Items.Latest {
|
||||
[QueryParameter("userId")]
|
||||
public Guid? UserId { get; set; }
|
||||
}
|
||||
/// <summary>
|
||||
/// Configuration for the request such as headers, query parameters, and middleware options.
|
||||
/// </summary>
|
||||
[Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
|
||||
public class LatestRequestBuilderGetRequestConfiguration : RequestConfiguration<LatestRequestBuilderGetQueryParameters> {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -74,11 +74,5 @@ namespace Jellyfin.Sdk.Generated.ClientLog.Document {
|
||||
public DocumentRequestBuilder WithUrl(string rawUrl) {
|
||||
return new DocumentRequestBuilder(rawUrl, RequestAdapter);
|
||||
}
|
||||
/// <summary>
|
||||
/// Configuration for the request such as headers, query parameters, and middleware options.
|
||||
/// </summary>
|
||||
[Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
|
||||
public class DocumentRequestBuilderPostRequestConfiguration : RequestConfiguration<DefaultQueryParameters> {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -21,14 +21,6 @@ namespace Jellyfin.Sdk.Generated.Collections {
|
||||
urlTplParams.Add("collectionId", position);
|
||||
return new WithCollectionItemRequestBuilder(urlTplParams, RequestAdapter);
|
||||
} }
|
||||
/// <summary>Gets an item from the Jellyfin.Sdk.Generated.Collections.item collection</summary>
|
||||
/// <param name="position">The collection id.</param>
|
||||
[Obsolete("This indexer is deprecated and will be removed in the next major version. Use the one with the typed parameter instead.")]
|
||||
public WithCollectionItemRequestBuilder this[string position] { get {
|
||||
var urlTplParams = new Dictionary<string, object>(PathParameters);
|
||||
if (!string.IsNullOrWhiteSpace(position)) urlTplParams.Add("collectionId", position);
|
||||
return new WithCollectionItemRequestBuilder(urlTplParams, RequestAdapter);
|
||||
} }
|
||||
/// <summary>
|
||||
/// Instantiates a new CollectionsRequestBuilder and sets the default values.
|
||||
/// </summary>
|
||||
@ -112,11 +104,5 @@ namespace Jellyfin.Sdk.Generated.Collections {
|
||||
[QueryParameter("parentId")]
|
||||
public Guid? ParentId { get; set; }
|
||||
}
|
||||
/// <summary>
|
||||
/// Configuration for the request such as headers, query parameters, and middleware options.
|
||||
/// </summary>
|
||||
[Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
|
||||
public class CollectionsRequestBuilderPostRequestConfiguration : RequestConfiguration<CollectionsRequestBuilderPostQueryParameters> {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -107,12 +107,6 @@ namespace Jellyfin.Sdk.Generated.Collections.Item.Items {
|
||||
[QueryParameter("ids")]
|
||||
public Guid?[] Ids { get; set; }
|
||||
#endif
|
||||
}
|
||||
/// <summary>
|
||||
/// Configuration for the request such as headers, query parameters, and middleware options.
|
||||
/// </summary>
|
||||
[Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
|
||||
public class ItemsRequestBuilderDeleteRequestConfiguration : RequestConfiguration<ItemsRequestBuilderDeleteQueryParameters> {
|
||||
}
|
||||
/// <summary>
|
||||
/// Adds items to a collection.
|
||||
@ -129,11 +123,5 @@ namespace Jellyfin.Sdk.Generated.Collections.Item.Items {
|
||||
public Guid?[] Ids { get; set; }
|
||||
#endif
|
||||
}
|
||||
/// <summary>
|
||||
/// Configuration for the request such as headers, query parameters, and middleware options.
|
||||
/// </summary>
|
||||
[Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
|
||||
public class ItemsRequestBuilderPostRequestConfiguration : RequestConfiguration<ItemsRequestBuilderPostQueryParameters> {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -123,12 +123,6 @@ namespace Jellyfin.Sdk.Generated.Devices {
|
||||
[QueryParameter("id")]
|
||||
public string Id { get; set; }
|
||||
#endif
|
||||
}
|
||||
/// <summary>
|
||||
/// Configuration for the request such as headers, query parameters, and middleware options.
|
||||
/// </summary>
|
||||
[Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
|
||||
public class DevicesRequestBuilderDeleteRequestConfiguration : RequestConfiguration<DevicesRequestBuilderDeleteQueryParameters> {
|
||||
}
|
||||
/// <summary>
|
||||
/// Get Devices.
|
||||
@ -141,11 +135,5 @@ namespace Jellyfin.Sdk.Generated.Devices {
|
||||
[QueryParameter("userId")]
|
||||
public Guid? UserId { get; set; }
|
||||
}
|
||||
/// <summary>
|
||||
/// Configuration for the request such as headers, query parameters, and middleware options.
|
||||
/// </summary>
|
||||
[Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
|
||||
public class DevicesRequestBuilderGetRequestConfiguration : RequestConfiguration<DevicesRequestBuilderGetQueryParameters> {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -83,11 +83,5 @@ namespace Jellyfin.Sdk.Generated.Devices.Info {
|
||||
public string Id { get; set; }
|
||||
#endif
|
||||
}
|
||||
/// <summary>
|
||||
/// Configuration for the request such as headers, query parameters, and middleware options.
|
||||
/// </summary>
|
||||
[Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
|
||||
public class InfoRequestBuilderGetRequestConfiguration : RequestConfiguration<InfoRequestBuilderGetQueryParameters> {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -117,12 +117,6 @@ namespace Jellyfin.Sdk.Generated.Devices.Options {
|
||||
[QueryParameter("id")]
|
||||
public string Id { get; set; }
|
||||
#endif
|
||||
}
|
||||
/// <summary>
|
||||
/// Configuration for the request such as headers, query parameters, and middleware options.
|
||||
/// </summary>
|
||||
[Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
|
||||
public class OptionsRequestBuilderGetRequestConfiguration : RequestConfiguration<OptionsRequestBuilderGetQueryParameters> {
|
||||
}
|
||||
/// <summary>
|
||||
/// Update device options.
|
||||
@ -139,11 +133,5 @@ namespace Jellyfin.Sdk.Generated.Devices.Options {
|
||||
public string Id { get; set; }
|
||||
#endif
|
||||
}
|
||||
/// <summary>
|
||||
/// Configuration for the request such as headers, query parameters, and middleware options.
|
||||
/// </summary>
|
||||
[Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
|
||||
public class OptionsRequestBuilderPostRequestConfiguration : RequestConfiguration<OptionsRequestBuilderPostQueryParameters> {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -119,12 +119,6 @@ namespace Jellyfin.Sdk.Generated.DisplayPreferences.Item {
|
||||
public Guid? UserId { get; set; }
|
||||
}
|
||||
/// <summary>
|
||||
/// Configuration for the request such as headers, query parameters, and middleware options.
|
||||
/// </summary>
|
||||
[Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
|
||||
public class WithDisplayPreferencesItemRequestBuilderGetRequestConfiguration : RequestConfiguration<WithDisplayPreferencesItemRequestBuilderGetQueryParameters> {
|
||||
}
|
||||
/// <summary>
|
||||
/// Update Display Preferences.
|
||||
/// </summary>
|
||||
public class WithDisplayPreferencesItemRequestBuilderPostQueryParameters {
|
||||
@ -142,11 +136,5 @@ namespace Jellyfin.Sdk.Generated.DisplayPreferences.Item {
|
||||
[QueryParameter("userId")]
|
||||
public Guid? UserId { get; set; }
|
||||
}
|
||||
/// <summary>
|
||||
/// Configuration for the request such as headers, query parameters, and middleware options.
|
||||
/// </summary>
|
||||
[Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
|
||||
public class WithDisplayPreferencesItemRequestBuilderPostRequestConfiguration : RequestConfiguration<WithDisplayPreferencesItemRequestBuilderPostQueryParameters> {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -68,11 +68,5 @@ namespace Jellyfin.Sdk.Generated.Dlna.Icons.Item {
|
||||
public WithFileNameItemRequestBuilder WithUrl(string rawUrl) {
|
||||
return new WithFileNameItemRequestBuilder(rawUrl, RequestAdapter);
|
||||
}
|
||||
/// <summary>
|
||||
/// Configuration for the request such as headers, query parameters, and middleware options.
|
||||
/// </summary>
|
||||
[Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
|
||||
public class WithFileNameItemRequestBuilderGetRequestConfiguration : RequestConfiguration<DefaultQueryParameters> {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -64,11 +64,5 @@ namespace Jellyfin.Sdk.Generated.Dlna.Item.ConnectionManager.ConnectionManager {
|
||||
public ConnectionManagerRequestBuilder WithUrl(string rawUrl) {
|
||||
return new ConnectionManagerRequestBuilder(rawUrl, RequestAdapter);
|
||||
}
|
||||
/// <summary>
|
||||
/// Configuration for the request such as headers, query parameters, and middleware options.
|
||||
/// </summary>
|
||||
[Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
|
||||
public class ConnectionManagerRequestBuilderGetRequestConfiguration : RequestConfiguration<DefaultQueryParameters> {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -78,11 +78,5 @@ namespace Jellyfin.Sdk.Generated.Dlna.Item.ConnectionManager {
|
||||
public ConnectionManagerRequestBuilder WithUrl(string rawUrl) {
|
||||
return new ConnectionManagerRequestBuilder(rawUrl, RequestAdapter);
|
||||
}
|
||||
/// <summary>
|
||||
/// Configuration for the request such as headers, query parameters, and middleware options.
|
||||
/// </summary>
|
||||
[Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
|
||||
public class ConnectionManagerRequestBuilderGetRequestConfiguration : RequestConfiguration<DefaultQueryParameters> {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -64,11 +64,5 @@ namespace Jellyfin.Sdk.Generated.Dlna.Item.ConnectionManager.ConnectionManagerXm
|
||||
public ConnectionManagerXmlRequestBuilder WithUrl(string rawUrl) {
|
||||
return new ConnectionManagerXmlRequestBuilder(rawUrl, RequestAdapter);
|
||||
}
|
||||
/// <summary>
|
||||
/// Configuration for the request such as headers, query parameters, and middleware options.
|
||||
/// </summary>
|
||||
[Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
|
||||
public class ConnectionManagerXmlRequestBuilderGetRequestConfiguration : RequestConfiguration<DefaultQueryParameters> {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -64,11 +64,5 @@ namespace Jellyfin.Sdk.Generated.Dlna.Item.ConnectionManager.Control {
|
||||
public ControlRequestBuilder WithUrl(string rawUrl) {
|
||||
return new ControlRequestBuilder(rawUrl, RequestAdapter);
|
||||
}
|
||||
/// <summary>
|
||||
/// Configuration for the request such as headers, query parameters, and middleware options.
|
||||
/// </summary>
|
||||
[Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
|
||||
public class ControlRequestBuilderPostRequestConfiguration : RequestConfiguration<DefaultQueryParameters> {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -64,11 +64,5 @@ namespace Jellyfin.Sdk.Generated.Dlna.Item.ContentDirectory.ContentDirectory {
|
||||
public ContentDirectoryRequestBuilder WithUrl(string rawUrl) {
|
||||
return new ContentDirectoryRequestBuilder(rawUrl, RequestAdapter);
|
||||
}
|
||||
/// <summary>
|
||||
/// Configuration for the request such as headers, query parameters, and middleware options.
|
||||
/// </summary>
|
||||
[Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
|
||||
public class ContentDirectoryRequestBuilderGetRequestConfiguration : RequestConfiguration<DefaultQueryParameters> {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -78,11 +78,5 @@ namespace Jellyfin.Sdk.Generated.Dlna.Item.ContentDirectory {
|
||||
public ContentDirectoryRequestBuilder WithUrl(string rawUrl) {
|
||||
return new ContentDirectoryRequestBuilder(rawUrl, RequestAdapter);
|
||||
}
|
||||
/// <summary>
|
||||
/// Configuration for the request such as headers, query parameters, and middleware options.
|
||||
/// </summary>
|
||||
[Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
|
||||
public class ContentDirectoryRequestBuilderGetRequestConfiguration : RequestConfiguration<DefaultQueryParameters> {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -64,11 +64,5 @@ namespace Jellyfin.Sdk.Generated.Dlna.Item.ContentDirectory.ContentDirectoryXml
|
||||
public ContentDirectoryXmlRequestBuilder WithUrl(string rawUrl) {
|
||||
return new ContentDirectoryXmlRequestBuilder(rawUrl, RequestAdapter);
|
||||
}
|
||||
/// <summary>
|
||||
/// Configuration for the request such as headers, query parameters, and middleware options.
|
||||
/// </summary>
|
||||
[Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
|
||||
public class ContentDirectoryXmlRequestBuilderGetRequestConfiguration : RequestConfiguration<DefaultQueryParameters> {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -64,11 +64,5 @@ namespace Jellyfin.Sdk.Generated.Dlna.Item.ContentDirectory.Control {
|
||||
public ControlRequestBuilder WithUrl(string rawUrl) {
|
||||
return new ControlRequestBuilder(rawUrl, RequestAdapter);
|
||||
}
|
||||
/// <summary>
|
||||
/// Configuration for the request such as headers, query parameters, and middleware options.
|
||||
/// </summary>
|
||||
[Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
|
||||
public class ControlRequestBuilderPostRequestConfiguration : RequestConfiguration<DefaultQueryParameters> {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -64,11 +64,5 @@ namespace Jellyfin.Sdk.Generated.Dlna.Item.Description {
|
||||
public DescriptionRequestBuilder WithUrl(string rawUrl) {
|
||||
return new DescriptionRequestBuilder(rawUrl, RequestAdapter);
|
||||
}
|
||||
/// <summary>
|
||||
/// Configuration for the request such as headers, query parameters, and middleware options.
|
||||
/// </summary>
|
||||
[Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
|
||||
public class DescriptionRequestBuilderGetRequestConfiguration : RequestConfiguration<DefaultQueryParameters> {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -64,11 +64,5 @@ namespace Jellyfin.Sdk.Generated.Dlna.Item.DescriptionXml {
|
||||
public DescriptionXmlRequestBuilder WithUrl(string rawUrl) {
|
||||
return new DescriptionXmlRequestBuilder(rawUrl, RequestAdapter);
|
||||
}
|
||||
/// <summary>
|
||||
/// Configuration for the request such as headers, query parameters, and middleware options.
|
||||
/// </summary>
|
||||
[Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
|
||||
public class DescriptionXmlRequestBuilderGetRequestConfiguration : RequestConfiguration<DefaultQueryParameters> {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -68,11 +68,5 @@ namespace Jellyfin.Sdk.Generated.Dlna.Item.Icons.Item {
|
||||
public WithFileNameItemRequestBuilder WithUrl(string rawUrl) {
|
||||
return new WithFileNameItemRequestBuilder(rawUrl, RequestAdapter);
|
||||
}
|
||||
/// <summary>
|
||||
/// Configuration for the request such as headers, query parameters, and middleware options.
|
||||
/// </summary>
|
||||
[Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
|
||||
public class WithFileNameItemRequestBuilderGetRequestConfiguration : RequestConfiguration<DefaultQueryParameters> {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -64,11 +64,5 @@ namespace Jellyfin.Sdk.Generated.Dlna.Item.MediaReceiverRegistrar.Control {
|
||||
public ControlRequestBuilder WithUrl(string rawUrl) {
|
||||
return new ControlRequestBuilder(rawUrl, RequestAdapter);
|
||||
}
|
||||
/// <summary>
|
||||
/// Configuration for the request such as headers, query parameters, and middleware options.
|
||||
/// </summary>
|
||||
[Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
|
||||
public class ControlRequestBuilderPostRequestConfiguration : RequestConfiguration<DefaultQueryParameters> {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -64,11 +64,5 @@ namespace Jellyfin.Sdk.Generated.Dlna.Item.MediaReceiverRegistrar.MediaReceiverR
|
||||
public MediaReceiverRegistrarRequestBuilder WithUrl(string rawUrl) {
|
||||
return new MediaReceiverRegistrarRequestBuilder(rawUrl, RequestAdapter);
|
||||
}
|
||||
/// <summary>
|
||||
/// Configuration for the request such as headers, query parameters, and middleware options.
|
||||
/// </summary>
|
||||
[Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
|
||||
public class MediaReceiverRegistrarRequestBuilderGetRequestConfiguration : RequestConfiguration<DefaultQueryParameters> {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -78,11 +78,5 @@ namespace Jellyfin.Sdk.Generated.Dlna.Item.MediaReceiverRegistrar {
|
||||
public MediaReceiverRegistrarRequestBuilder WithUrl(string rawUrl) {
|
||||
return new MediaReceiverRegistrarRequestBuilder(rawUrl, RequestAdapter);
|
||||
}
|
||||
/// <summary>
|
||||
/// Configuration for the request such as headers, query parameters, and middleware options.
|
||||
/// </summary>
|
||||
[Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
|
||||
public class MediaReceiverRegistrarRequestBuilderGetRequestConfiguration : RequestConfiguration<DefaultQueryParameters> {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -64,11 +64,5 @@ namespace Jellyfin.Sdk.Generated.Dlna.Item.MediaReceiverRegistrar.MediaReceiverR
|
||||
public MediaReceiverRegistrarXmlRequestBuilder WithUrl(string rawUrl) {
|
||||
return new MediaReceiverRegistrarXmlRequestBuilder(rawUrl, RequestAdapter);
|
||||
}
|
||||
/// <summary>
|
||||
/// Configuration for the request such as headers, query parameters, and middleware options.
|
||||
/// </summary>
|
||||
[Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
|
||||
public class MediaReceiverRegistrarXmlRequestBuilderGetRequestConfiguration : RequestConfiguration<DefaultQueryParameters> {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -66,11 +66,5 @@ namespace Jellyfin.Sdk.Generated.Dlna.ProfileInfos {
|
||||
public ProfileInfosRequestBuilder WithUrl(string rawUrl) {
|
||||
return new ProfileInfosRequestBuilder(rawUrl, RequestAdapter);
|
||||
}
|
||||
/// <summary>
|
||||
/// Configuration for the request such as headers, query parameters, and middleware options.
|
||||
/// </summary>
|
||||
[Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
|
||||
public class ProfileInfosRequestBuilderGetRequestConfiguration : RequestConfiguration<DefaultQueryParameters> {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -65,11 +65,5 @@ namespace Jellyfin.Sdk.Generated.Dlna.Profiles.Default {
|
||||
public DefaultRequestBuilder WithUrl(string rawUrl) {
|
||||
return new DefaultRequestBuilder(rawUrl, RequestAdapter);
|
||||
}
|
||||
/// <summary>
|
||||
/// Configuration for the request such as headers, query parameters, and middleware options.
|
||||
/// </summary>
|
||||
[Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
|
||||
public class DefaultRequestBuilderGetRequestConfiguration : RequestConfiguration<DefaultQueryParameters> {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -141,23 +141,5 @@ namespace Jellyfin.Sdk.Generated.Dlna.Profiles.Item {
|
||||
public WithProfileItemRequestBuilder WithUrl(string rawUrl) {
|
||||
return new WithProfileItemRequestBuilder(rawUrl, RequestAdapter);
|
||||
}
|
||||
/// <summary>
|
||||
/// Configuration for the request such as headers, query parameters, and middleware options.
|
||||
/// </summary>
|
||||
[Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
|
||||
public class WithProfileItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration<DefaultQueryParameters> {
|
||||
}
|
||||
/// <summary>
|
||||
/// Configuration for the request such as headers, query parameters, and middleware options.
|
||||
/// </summary>
|
||||
[Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
|
||||
public class WithProfileItemRequestBuilderGetRequestConfiguration : RequestConfiguration<DefaultQueryParameters> {
|
||||
}
|
||||
/// <summary>
|
||||
/// Configuration for the request such as headers, query parameters, and middleware options.
|
||||
/// </summary>
|
||||
[Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
|
||||
public class WithProfileItemRequestBuilderPostRequestConfiguration : RequestConfiguration<DefaultQueryParameters> {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -82,11 +82,5 @@ namespace Jellyfin.Sdk.Generated.Dlna.Profiles {
|
||||
public ProfilesRequestBuilder WithUrl(string rawUrl) {
|
||||
return new ProfilesRequestBuilder(rawUrl, RequestAdapter);
|
||||
}
|
||||
/// <summary>
|
||||
/// Configuration for the request such as headers, query parameters, and middleware options.
|
||||
/// </summary>
|
||||
[Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
|
||||
public class ProfilesRequestBuilderPostRequestConfiguration : RequestConfiguration<DefaultQueryParameters> {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -65,11 +65,5 @@ namespace Jellyfin.Sdk.Generated.EnvironmentNamespace.DefaultDirectoryBrowser {
|
||||
public DefaultDirectoryBrowserRequestBuilder WithUrl(string rawUrl) {
|
||||
return new DefaultDirectoryBrowserRequestBuilder(rawUrl, RequestAdapter);
|
||||
}
|
||||
/// <summary>
|
||||
/// Configuration for the request such as headers, query parameters, and middleware options.
|
||||
/// </summary>
|
||||
[Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
|
||||
public class DefaultDirectoryBrowserRequestBuilderGetRequestConfiguration : RequestConfiguration<DefaultQueryParameters> {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -87,11 +87,5 @@ namespace Jellyfin.Sdk.Generated.EnvironmentNamespace.DirectoryContents {
|
||||
public string Path { get; set; }
|
||||
#endif
|
||||
}
|
||||
/// <summary>
|
||||
/// Configuration for the request such as headers, query parameters, and middleware options.
|
||||
/// </summary>
|
||||
[Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
|
||||
public class DirectoryContentsRequestBuilderGetRequestConfiguration : RequestConfiguration<DirectoryContentsRequestBuilderGetQueryParameters> {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -66,11 +66,5 @@ namespace Jellyfin.Sdk.Generated.EnvironmentNamespace.Drives {
|
||||
public DrivesRequestBuilder WithUrl(string rawUrl) {
|
||||
return new DrivesRequestBuilder(rawUrl, RequestAdapter);
|
||||
}
|
||||
/// <summary>
|
||||
/// Configuration for the request such as headers, query parameters, and middleware options.
|
||||
/// </summary>
|
||||
[Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
|
||||
public class DrivesRequestBuilderGetRequestConfiguration : RequestConfiguration<DefaultQueryParameters> {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -69,11 +69,5 @@ namespace Jellyfin.Sdk.Generated.EnvironmentNamespace.NetworkShares {
|
||||
public NetworkSharesRequestBuilder WithUrl(string rawUrl) {
|
||||
return new NetworkSharesRequestBuilder(rawUrl, RequestAdapter);
|
||||
}
|
||||
/// <summary>
|
||||
/// Configuration for the request such as headers, query parameters, and middleware options.
|
||||
/// </summary>
|
||||
[Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
|
||||
public class NetworkSharesRequestBuilderGetRequestConfiguration : RequestConfiguration<DefaultQueryParameters> {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -79,11 +79,5 @@ namespace Jellyfin.Sdk.Generated.EnvironmentNamespace.ParentPath {
|
||||
public string Path { get; set; }
|
||||
#endif
|
||||
}
|
||||
/// <summary>
|
||||
/// Configuration for the request such as headers, query parameters, and middleware options.
|
||||
/// </summary>
|
||||
[Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
|
||||
public class ParentPathRequestBuilderGetRequestConfiguration : RequestConfiguration<ParentPathRequestBuilderGetQueryParameters> {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -73,11 +73,5 @@ namespace Jellyfin.Sdk.Generated.EnvironmentNamespace.ValidatePath {
|
||||
public ValidatePathRequestBuilder WithUrl(string rawUrl) {
|
||||
return new ValidatePathRequestBuilder(rawUrl, RequestAdapter);
|
||||
}
|
||||
/// <summary>
|
||||
/// Configuration for the request such as headers, query parameters, and middleware options.
|
||||
/// </summary>
|
||||
[Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
|
||||
public class ValidatePathRequestBuilderPostRequestConfiguration : RequestConfiguration<DefaultQueryParameters> {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -74,11 +74,5 @@ namespace Jellyfin.Sdk.Generated.FallbackFont.Fonts {
|
||||
public FontsRequestBuilder WithUrl(string rawUrl) {
|
||||
return new FontsRequestBuilder(rawUrl, RequestAdapter);
|
||||
}
|
||||
/// <summary>
|
||||
/// Configuration for the request such as headers, query parameters, and middleware options.
|
||||
/// </summary>
|
||||
[Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
|
||||
public class FontsRequestBuilderGetRequestConfiguration : RequestConfiguration<DefaultQueryParameters> {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -64,11 +64,5 @@ namespace Jellyfin.Sdk.Generated.FallbackFont.Fonts.Item {
|
||||
public WithNameItemRequestBuilder WithUrl(string rawUrl) {
|
||||
return new WithNameItemRequestBuilder(rawUrl, RequestAdapter);
|
||||
}
|
||||
/// <summary>
|
||||
/// Configuration for the request such as headers, query parameters, and middleware options.
|
||||
/// </summary>
|
||||
[Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
|
||||
public class WithNameItemRequestBuilderGetRequestConfiguration : RequestConfiguration<DefaultQueryParameters> {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -202,11 +202,5 @@ namespace Jellyfin.Sdk.Generated.Genres {
|
||||
[QueryParameter("userId")]
|
||||
public Guid? UserId { get; set; }
|
||||
}
|
||||
/// <summary>
|
||||
/// Configuration for the request such as headers, query parameters, and middleware options.
|
||||
/// </summary>
|
||||
[Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
|
||||
public class GenresRequestBuilderGetRequestConfiguration : RequestConfiguration<GenresRequestBuilderGetQueryParameters> {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -78,11 +78,5 @@ namespace Jellyfin.Sdk.Generated.Genres.Item {
|
||||
[QueryParameter("userId")]
|
||||
public Guid? UserId { get; set; }
|
||||
}
|
||||
/// <summary>
|
||||
/// Configuration for the request such as headers, query parameters, and middleware options.
|
||||
/// </summary>
|
||||
[Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
|
||||
public class GenresItemRequestBuilderGetRequestConfiguration : RequestConfiguration<GenresItemRequestBuilderGetQueryParameters> {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -185,12 +185,6 @@ namespace Jellyfin.Sdk.Generated.Genres.Item.Images.Item.Item {
|
||||
public int? Width { get; set; }
|
||||
}
|
||||
/// <summary>
|
||||
/// Configuration for the request such as headers, query parameters, and middleware options.
|
||||
/// </summary>
|
||||
[Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
|
||||
public class WithImageIndexItemRequestBuilderGetRequestConfiguration : RequestConfiguration<WithImageIndexItemRequestBuilderGetQueryParameters> {
|
||||
}
|
||||
/// <summary>
|
||||
/// Get genre image by name.
|
||||
/// </summary>
|
||||
public class WithImageIndexItemRequestBuilderHeadQueryParameters {
|
||||
@ -272,11 +266,5 @@ namespace Jellyfin.Sdk.Generated.Genres.Item.Images.Item.Item {
|
||||
[QueryParameter("width")]
|
||||
public int? Width { get; set; }
|
||||
}
|
||||
/// <summary>
|
||||
/// Configuration for the request such as headers, query parameters, and middleware options.
|
||||
/// </summary>
|
||||
[Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
|
||||
public class WithImageIndexItemRequestBuilderHeadRequestConfiguration : RequestConfiguration<WithImageIndexItemRequestBuilderHeadQueryParameters> {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -21,14 +21,6 @@ namespace Jellyfin.Sdk.Generated.Genres.Item.Images.Item {
|
||||
urlTplParams.Add("imageIndex", position);
|
||||
return new WithImageIndexItemRequestBuilder(urlTplParams, RequestAdapter);
|
||||
} }
|
||||
/// <summary>Gets an item from the Jellyfin.Sdk.Generated.Genres.item.Images.item.item collection</summary>
|
||||
/// <param name="position">Image index.</param>
|
||||
[Obsolete("This indexer is deprecated and will be removed in the next major version. Use the one with the typed parameter instead.")]
|
||||
public WithImageIndexItemRequestBuilder this[string position] { get {
|
||||
var urlTplParams = new Dictionary<string, object>(PathParameters);
|
||||
if (!string.IsNullOrWhiteSpace(position)) urlTplParams.Add("imageIndex", position);
|
||||
return new WithImageIndexItemRequestBuilder(urlTplParams, RequestAdapter);
|
||||
} }
|
||||
/// <summary>
|
||||
/// Instantiates a new WithImageTypeItemRequestBuilder and sets the default values.
|
||||
/// </summary>
|
||||
@ -204,12 +196,6 @@ namespace Jellyfin.Sdk.Generated.Genres.Item.Images.Item {
|
||||
public int? Width { get; set; }
|
||||
}
|
||||
/// <summary>
|
||||
/// Configuration for the request such as headers, query parameters, and middleware options.
|
||||
/// </summary>
|
||||
[Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
|
||||
public class WithImageTypeItemRequestBuilderGetRequestConfiguration : RequestConfiguration<WithImageTypeItemRequestBuilderGetQueryParameters> {
|
||||
}
|
||||
/// <summary>
|
||||
/// Get genre image by name.
|
||||
/// </summary>
|
||||
public class WithImageTypeItemRequestBuilderHeadQueryParameters {
|
||||
@ -294,11 +280,5 @@ namespace Jellyfin.Sdk.Generated.Genres.Item.Images.Item {
|
||||
[QueryParameter("width")]
|
||||
public int? Width { get; set; }
|
||||
}
|
||||
/// <summary>
|
||||
/// Configuration for the request such as headers, query parameters, and middleware options.
|
||||
/// </summary>
|
||||
[Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
|
||||
public class WithImageTypeItemRequestBuilderHeadRequestConfiguration : RequestConfiguration<WithImageTypeItemRequestBuilderHeadQueryParameters> {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -65,11 +65,5 @@ namespace Jellyfin.Sdk.Generated.GetUtcTime {
|
||||
public GetUtcTimeRequestBuilder WithUrl(string rawUrl) {
|
||||
return new GetUtcTimeRequestBuilder(rawUrl, RequestAdapter);
|
||||
}
|
||||
/// <summary>
|
||||
/// Configuration for the request such as headers, query parameters, and middleware options.
|
||||
/// </summary>
|
||||
[Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
|
||||
public class GetUtcTimeRequestBuilderGetRequestConfiguration : RequestConfiguration<DefaultQueryParameters> {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -74,11 +74,5 @@ namespace Jellyfin.Sdk.Generated.Images.General {
|
||||
public GeneralRequestBuilder WithUrl(string rawUrl) {
|
||||
return new GeneralRequestBuilder(rawUrl, RequestAdapter);
|
||||
}
|
||||
/// <summary>
|
||||
/// Configuration for the request such as headers, query parameters, and middleware options.
|
||||
/// </summary>
|
||||
[Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
|
||||
public class GeneralRequestBuilderGetRequestConfiguration : RequestConfiguration<DefaultQueryParameters> {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -68,11 +68,5 @@ namespace Jellyfin.Sdk.Generated.Images.General.Item.Item {
|
||||
public WithTypeItemRequestBuilder WithUrl(string rawUrl) {
|
||||
return new WithTypeItemRequestBuilder(rawUrl, RequestAdapter);
|
||||
}
|
||||
/// <summary>
|
||||
/// Configuration for the request such as headers, query parameters, and middleware options.
|
||||
/// </summary>
|
||||
[Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
|
||||
public class WithTypeItemRequestBuilderGetRequestConfiguration : RequestConfiguration<DefaultQueryParameters> {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -68,11 +68,5 @@ namespace Jellyfin.Sdk.Generated.Images.MediaInfo.Item.Item {
|
||||
public WithNameItemRequestBuilder WithUrl(string rawUrl) {
|
||||
return new WithNameItemRequestBuilder(rawUrl, RequestAdapter);
|
||||
}
|
||||
/// <summary>
|
||||
/// Configuration for the request such as headers, query parameters, and middleware options.
|
||||
/// </summary>
|
||||
[Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
|
||||
public class WithNameItemRequestBuilderGetRequestConfiguration : RequestConfiguration<DefaultQueryParameters> {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -74,11 +74,5 @@ namespace Jellyfin.Sdk.Generated.Images.MediaInfo {
|
||||
public MediaInfoRequestBuilder WithUrl(string rawUrl) {
|
||||
return new MediaInfoRequestBuilder(rawUrl, RequestAdapter);
|
||||
}
|
||||
/// <summary>
|
||||
/// Configuration for the request such as headers, query parameters, and middleware options.
|
||||
/// </summary>
|
||||
[Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
|
||||
public class MediaInfoRequestBuilderGetRequestConfiguration : RequestConfiguration<DefaultQueryParameters> {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -68,11 +68,5 @@ namespace Jellyfin.Sdk.Generated.Images.Ratings.Item.Item {
|
||||
public WithNameItemRequestBuilder WithUrl(string rawUrl) {
|
||||
return new WithNameItemRequestBuilder(rawUrl, RequestAdapter);
|
||||
}
|
||||
/// <summary>
|
||||
/// Configuration for the request such as headers, query parameters, and middleware options.
|
||||
/// </summary>
|
||||
[Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
|
||||
public class WithNameItemRequestBuilderGetRequestConfiguration : RequestConfiguration<DefaultQueryParameters> {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -74,11 +74,5 @@ namespace Jellyfin.Sdk.Generated.Images.Ratings {
|
||||
public RatingsRequestBuilder WithUrl(string rawUrl) {
|
||||
return new RatingsRequestBuilder(rawUrl, RequestAdapter);
|
||||
}
|
||||
/// <summary>
|
||||
/// Configuration for the request such as headers, query parameters, and middleware options.
|
||||
/// </summary>
|
||||
[Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
|
||||
public class RatingsRequestBuilderGetRequestConfiguration : RequestConfiguration<DefaultQueryParameters> {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -76,11 +76,5 @@ namespace Jellyfin.Sdk.Generated.Items.Counts {
|
||||
[QueryParameter("userId")]
|
||||
public Guid? UserId { get; set; }
|
||||
}
|
||||
/// <summary>
|
||||
/// Configuration for the request such as headers, query parameters, and middleware options.
|
||||
/// </summary>
|
||||
[Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
|
||||
public class CountsRequestBuilderGetRequestConfiguration : RequestConfiguration<CountsRequestBuilderGetQueryParameters> {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -96,11 +96,5 @@ namespace Jellyfin.Sdk.Generated.Items.Filters {
|
||||
[QueryParameter("userId")]
|
||||
public Guid? UserId { get; set; }
|
||||
}
|
||||
/// <summary>
|
||||
/// Configuration for the request such as headers, query parameters, and middleware options.
|
||||
/// </summary>
|
||||
[Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
|
||||
public class FiltersRequestBuilderGetRequestConfiguration : RequestConfiguration<FiltersRequestBuilderGetQueryParameters> {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -107,11 +107,5 @@ namespace Jellyfin.Sdk.Generated.Items.Filters2 {
|
||||
[QueryParameter("userId")]
|
||||
public Guid? UserId { get; set; }
|
||||
}
|
||||
/// <summary>
|
||||
/// Configuration for the request such as headers, query parameters, and middleware options.
|
||||
/// </summary>
|
||||
[Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
|
||||
public class Filters2RequestBuilderGetRequestConfiguration : RequestConfiguration<Filters2RequestBuilderGetQueryParameters> {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -77,11 +77,5 @@ namespace Jellyfin.Sdk.Generated.Items.Item.Ancestors {
|
||||
[QueryParameter("userId")]
|
||||
public Guid? UserId { get; set; }
|
||||
}
|
||||
/// <summary>
|
||||
/// Configuration for the request such as headers, query parameters, and middleware options.
|
||||
/// </summary>
|
||||
[Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
|
||||
public class AncestorsRequestBuilderGetRequestConfiguration : RequestConfiguration<AncestorsRequestBuilderGetQueryParameters> {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -83,11 +83,5 @@ namespace Jellyfin.Sdk.Generated.Items.Item.ContentType {
|
||||
public string ContentType { get; set; }
|
||||
#endif
|
||||
}
|
||||
/// <summary>
|
||||
/// Configuration for the request such as headers, query parameters, and middleware options.
|
||||
/// </summary>
|
||||
[Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
|
||||
public class ContentTypeRequestBuilderPostRequestConfiguration : RequestConfiguration<ContentTypeRequestBuilderPostQueryParameters> {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -68,11 +68,5 @@ namespace Jellyfin.Sdk.Generated.Items.Item.CriticReviews {
|
||||
public CriticReviewsRequestBuilder WithUrl(string rawUrl) {
|
||||
return new CriticReviewsRequestBuilder(rawUrl, RequestAdapter);
|
||||
}
|
||||
/// <summary>
|
||||
/// Configuration for the request such as headers, query parameters, and middleware options.
|
||||
/// </summary>
|
||||
[Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
|
||||
public class CriticReviewsRequestBuilderGetRequestConfiguration : RequestConfiguration<DefaultQueryParameters> {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -68,11 +68,5 @@ namespace Jellyfin.Sdk.Generated.Items.Item.Download {
|
||||
public DownloadRequestBuilder WithUrl(string rawUrl) {
|
||||
return new DownloadRequestBuilder(rawUrl, RequestAdapter);
|
||||
}
|
||||
/// <summary>
|
||||
/// Configuration for the request such as headers, query parameters, and middleware options.
|
||||
/// </summary>
|
||||
[Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
|
||||
public class DownloadRequestBuilderGetRequestConfiguration : RequestConfiguration<DefaultQueryParameters> {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -69,11 +69,5 @@ namespace Jellyfin.Sdk.Generated.Items.Item.ExternalIdInfos {
|
||||
public ExternalIdInfosRequestBuilder WithUrl(string rawUrl) {
|
||||
return new ExternalIdInfosRequestBuilder(rawUrl, RequestAdapter);
|
||||
}
|
||||
/// <summary>
|
||||
/// Configuration for the request such as headers, query parameters, and middleware options.
|
||||
/// </summary>
|
||||
[Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
|
||||
public class ExternalIdInfosRequestBuilderGetRequestConfiguration : RequestConfiguration<DefaultQueryParameters> {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -68,11 +68,5 @@ namespace Jellyfin.Sdk.Generated.Items.Item.FileNamespace {
|
||||
public FileRequestBuilder WithUrl(string rawUrl) {
|
||||
return new FileRequestBuilder(rawUrl, RequestAdapter);
|
||||
}
|
||||
/// <summary>
|
||||
/// Configuration for the request such as headers, query parameters, and middleware options.
|
||||
/// </summary>
|
||||
[Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
|
||||
public class FileRequestBuilderGetRequestConfiguration : RequestConfiguration<DefaultQueryParameters> {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -77,11 +77,5 @@ namespace Jellyfin.Sdk.Generated.Items.Item.Images {
|
||||
public ImagesRequestBuilder WithUrl(string rawUrl) {
|
||||
return new ImagesRequestBuilder(rawUrl, RequestAdapter);
|
||||
}
|
||||
/// <summary>
|
||||
/// Configuration for the request such as headers, query parameters, and middleware options.
|
||||
/// </summary>
|
||||
[Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
|
||||
public class ImagesRequestBuilderGetRequestConfiguration : RequestConfiguration<DefaultQueryParameters> {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -76,11 +76,5 @@ namespace Jellyfin.Sdk.Generated.Items.Item.Images.Item.Item.IndexNamespace {
|
||||
[QueryParameter("newIndex")]
|
||||
public int? NewIndex { get; set; }
|
||||
}
|
||||
/// <summary>
|
||||
/// Configuration for the request such as headers, query parameters, and middleware options.
|
||||
/// </summary>
|
||||
[Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
|
||||
public class IndexRequestBuilderPostRequestConfiguration : RequestConfiguration<IndexRequestBuilderPostQueryParameters> {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -153,12 +153,6 @@ namespace Jellyfin.Sdk.Generated.Items.Item.Images.Item.Item.Item.Item.Item.Item
|
||||
public int? Width { get; set; }
|
||||
}
|
||||
/// <summary>
|
||||
/// Configuration for the request such as headers, query parameters, and middleware options.
|
||||
/// </summary>
|
||||
[Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
|
||||
public class WithUnplayedCountItemRequestBuilderGetRequestConfiguration : RequestConfiguration<WithUnplayedCountItemRequestBuilderGetQueryParameters> {
|
||||
}
|
||||
/// <summary>
|
||||
/// Gets the item's image.
|
||||
/// </summary>
|
||||
public class WithUnplayedCountItemRequestBuilderHeadQueryParameters {
|
||||
@ -208,11 +202,5 @@ namespace Jellyfin.Sdk.Generated.Items.Item.Images.Item.Item.Item.Item.Item.Item
|
||||
[QueryParameter("width")]
|
||||
public int? Width { get; set; }
|
||||
}
|
||||
/// <summary>
|
||||
/// Configuration for the request such as headers, query parameters, and middleware options.
|
||||
/// </summary>
|
||||
[Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
|
||||
public class WithUnplayedCountItemRequestBuilderHeadRequestConfiguration : RequestConfiguration<WithUnplayedCountItemRequestBuilderHeadQueryParameters> {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -18,14 +18,6 @@ namespace Jellyfin.Sdk.Generated.Items.Item.Images.Item.Item.Item.Item.Item.Item
|
||||
urlTplParams.Add("unplayedCount", position);
|
||||
return new WithUnplayedCountItemRequestBuilder(urlTplParams, RequestAdapter);
|
||||
} }
|
||||
/// <summary>Gets an item from the Jellyfin.Sdk.Generated.Items.item.Images.item.item.item.item.item.item.item.item collection</summary>
|
||||
/// <param name="position">Optional. Unplayed count overlay to render.</param>
|
||||
[Obsolete("This indexer is deprecated and will be removed in the next major version. Use the one with the typed parameter instead.")]
|
||||
public WithUnplayedCountItemRequestBuilder this[string position] { get {
|
||||
var urlTplParams = new Dictionary<string, object>(PathParameters);
|
||||
if (!string.IsNullOrWhiteSpace(position)) urlTplParams.Add("unplayedCount", position);
|
||||
return new WithUnplayedCountItemRequestBuilder(urlTplParams, RequestAdapter);
|
||||
} }
|
||||
/// <summary>
|
||||
/// Instantiates a new WithPercentPlayedItemRequestBuilder and sets the default values.
|
||||
/// </summary>
|
||||
|
@ -18,14 +18,6 @@ namespace Jellyfin.Sdk.Generated.Items.Item.Images.Item.Item.Item.Item.Item.Item
|
||||
urlTplParams.Add("percentPlayed", position);
|
||||
return new WithPercentPlayedItemRequestBuilder(urlTplParams, RequestAdapter);
|
||||
} }
|
||||
/// <summary>Gets an item from the Jellyfin.Sdk.Generated.Items.item.Images.item.item.item.item.item.item.item collection</summary>
|
||||
/// <param name="position">Optional. Percent to render for the percent played overlay.</param>
|
||||
[Obsolete("This indexer is deprecated and will be removed in the next major version. Use the one with the typed parameter instead.")]
|
||||
public WithPercentPlayedItemRequestBuilder this[string position] { get {
|
||||
var urlTplParams = new Dictionary<string, object>(PathParameters);
|
||||
if (!string.IsNullOrWhiteSpace(position)) urlTplParams.Add("percentPlayed", position);
|
||||
return new WithPercentPlayedItemRequestBuilder(urlTplParams, RequestAdapter);
|
||||
} }
|
||||
/// <summary>
|
||||
/// Instantiates a new WithMaxHeightItemRequestBuilder and sets the default values.
|
||||
/// </summary>
|
||||
|
@ -18,14 +18,6 @@ namespace Jellyfin.Sdk.Generated.Items.Item.Images.Item.Item.Item.Item.Item {
|
||||
urlTplParams.Add("maxHeight", position);
|
||||
return new WithMaxHeightItemRequestBuilder(urlTplParams, RequestAdapter);
|
||||
} }
|
||||
/// <summary>Gets an item from the Jellyfin.Sdk.Generated.Items.item.Images.item.item.item.item.item.item collection</summary>
|
||||
/// <param name="position">The maximum image height to return.</param>
|
||||
[Obsolete("This indexer is deprecated and will be removed in the next major version. Use the one with the typed parameter instead.")]
|
||||
public WithMaxHeightItemRequestBuilder this[string position] { get {
|
||||
var urlTplParams = new Dictionary<string, object>(PathParameters);
|
||||
if (!string.IsNullOrWhiteSpace(position)) urlTplParams.Add("maxHeight", position);
|
||||
return new WithMaxHeightItemRequestBuilder(urlTplParams, RequestAdapter);
|
||||
} }
|
||||
/// <summary>
|
||||
/// Instantiates a new WithMaxWidthItemRequestBuilder and sets the default values.
|
||||
/// </summary>
|
||||
|
@ -18,14 +18,6 @@ namespace Jellyfin.Sdk.Generated.Items.Item.Images.Item.Item.Item.Item {
|
||||
urlTplParams.Add("maxWidth", position);
|
||||
return new WithMaxWidthItemRequestBuilder(urlTplParams, RequestAdapter);
|
||||
} }
|
||||
/// <summary>Gets an item from the Jellyfin.Sdk.Generated.Items.item.Images.item.item.item.item.item collection</summary>
|
||||
/// <param name="position">The maximum image width to return.</param>
|
||||
[Obsolete("This indexer is deprecated and will be removed in the next major version. Use the one with the typed parameter instead.")]
|
||||
public WithMaxWidthItemRequestBuilder this[string position] { get {
|
||||
var urlTplParams = new Dictionary<string, object>(PathParameters);
|
||||
if (!string.IsNullOrWhiteSpace(position)) urlTplParams.Add("maxWidth", position);
|
||||
return new WithMaxWidthItemRequestBuilder(urlTplParams, RequestAdapter);
|
||||
} }
|
||||
/// <summary>
|
||||
/// Instantiates a new WithFormatItemRequestBuilder and sets the default values.
|
||||
/// </summary>
|
||||
|
@ -189,12 +189,6 @@ namespace Jellyfin.Sdk.Generated.Items.Item.Images.Item.Item {
|
||||
return new WithImageIndexItemRequestBuilder(rawUrl, RequestAdapter);
|
||||
}
|
||||
/// <summary>
|
||||
/// Configuration for the request such as headers, query parameters, and middleware options.
|
||||
/// </summary>
|
||||
[Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
|
||||
public class WithImageIndexItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration<DefaultQueryParameters> {
|
||||
}
|
||||
/// <summary>
|
||||
/// Gets the item's image.
|
||||
/// </summary>
|
||||
public class WithImageIndexItemRequestBuilderGetQueryParameters {
|
||||
@ -277,12 +271,6 @@ namespace Jellyfin.Sdk.Generated.Items.Item.Images.Item.Item {
|
||||
public int? Width { get; set; }
|
||||
}
|
||||
/// <summary>
|
||||
/// Configuration for the request such as headers, query parameters, and middleware options.
|
||||
/// </summary>
|
||||
[Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
|
||||
public class WithImageIndexItemRequestBuilderGetRequestConfiguration : RequestConfiguration<WithImageIndexItemRequestBuilderGetQueryParameters> {
|
||||
}
|
||||
/// <summary>
|
||||
/// Gets the item's image.
|
||||
/// </summary>
|
||||
public class WithImageIndexItemRequestBuilderHeadQueryParameters {
|
||||
@ -364,17 +352,5 @@ namespace Jellyfin.Sdk.Generated.Items.Item.Images.Item.Item {
|
||||
[QueryParameter("width")]
|
||||
public int? Width { get; set; }
|
||||
}
|
||||
/// <summary>
|
||||
/// Configuration for the request such as headers, query parameters, and middleware options.
|
||||
/// </summary>
|
||||
[Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
|
||||
public class WithImageIndexItemRequestBuilderHeadRequestConfiguration : RequestConfiguration<WithImageIndexItemRequestBuilderHeadQueryParameters> {
|
||||
}
|
||||
/// <summary>
|
||||
/// Configuration for the request such as headers, query parameters, and middleware options.
|
||||
/// </summary>
|
||||
[Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
|
||||
public class WithImageIndexItemRequestBuilderPostRequestConfiguration : RequestConfiguration<DefaultQueryParameters> {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -21,14 +21,6 @@ namespace Jellyfin.Sdk.Generated.Items.Item.Images.Item {
|
||||
urlTplParams.Add("imageIndex", position);
|
||||
return new WithImageIndexItemRequestBuilder(urlTplParams, RequestAdapter);
|
||||
} }
|
||||
/// <summary>Gets an item from the Jellyfin.Sdk.Generated.Items.item.Images.item.item collection</summary>
|
||||
/// <param name="position">The image index.</param>
|
||||
[Obsolete("This indexer is deprecated and will be removed in the next major version. Use the one with the typed parameter instead.")]
|
||||
public WithImageIndexItemRequestBuilder this[string position] { get {
|
||||
var urlTplParams = new Dictionary<string, object>(PathParameters);
|
||||
if (!string.IsNullOrWhiteSpace(position)) urlTplParams.Add("imageIndex", position);
|
||||
return new WithImageIndexItemRequestBuilder(urlTplParams, RequestAdapter);
|
||||
} }
|
||||
/// <summary>
|
||||
/// Instantiates a new WithImageTypeItemRequestBuilder and sets the default values.
|
||||
/// </summary>
|
||||
@ -200,12 +192,6 @@ namespace Jellyfin.Sdk.Generated.Items.Item.Images.Item {
|
||||
public int? ImageIndex { get; set; }
|
||||
}
|
||||
/// <summary>
|
||||
/// Configuration for the request such as headers, query parameters, and middleware options.
|
||||
/// </summary>
|
||||
[Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
|
||||
public class WithImageTypeItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration<WithImageTypeItemRequestBuilderDeleteQueryParameters> {
|
||||
}
|
||||
/// <summary>
|
||||
/// Gets the item's image.
|
||||
/// </summary>
|
||||
public class WithImageTypeItemRequestBuilderGetQueryParameters {
|
||||
@ -291,12 +277,6 @@ namespace Jellyfin.Sdk.Generated.Items.Item.Images.Item {
|
||||
public int? Width { get; set; }
|
||||
}
|
||||
/// <summary>
|
||||
/// Configuration for the request such as headers, query parameters, and middleware options.
|
||||
/// </summary>
|
||||
[Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
|
||||
public class WithImageTypeItemRequestBuilderGetRequestConfiguration : RequestConfiguration<WithImageTypeItemRequestBuilderGetQueryParameters> {
|
||||
}
|
||||
/// <summary>
|
||||
/// Gets the item's image.
|
||||
/// </summary>
|
||||
public class WithImageTypeItemRequestBuilderHeadQueryParameters {
|
||||
@ -381,17 +361,5 @@ namespace Jellyfin.Sdk.Generated.Items.Item.Images.Item {
|
||||
[QueryParameter("width")]
|
||||
public int? Width { get; set; }
|
||||
}
|
||||
/// <summary>
|
||||
/// Configuration for the request such as headers, query parameters, and middleware options.
|
||||
/// </summary>
|
||||
[Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
|
||||
public class WithImageTypeItemRequestBuilderHeadRequestConfiguration : RequestConfiguration<WithImageTypeItemRequestBuilderHeadQueryParameters> {
|
||||
}
|
||||
/// <summary>
|
||||
/// Configuration for the request such as headers, query parameters, and middleware options.
|
||||
/// </summary>
|
||||
[Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
|
||||
public class WithImageTypeItemRequestBuilderPostRequestConfiguration : RequestConfiguration<DefaultQueryParameters> {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -105,11 +105,5 @@ namespace Jellyfin.Sdk.Generated.Items.Item.InstantMix {
|
||||
[QueryParameter("userId")]
|
||||
public Guid? UserId { get; set; }
|
||||
}
|
||||
/// <summary>
|
||||
/// Configuration for the request such as headers, query parameters, and middleware options.
|
||||
/// </summary>
|
||||
[Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
|
||||
public class InstantMixRequestBuilderGetRequestConfiguration : RequestConfiguration<InstantMixRequestBuilderGetQueryParameters> {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user