Clean up generation and config

This commit is contained in:
Cody Robibero 2024-02-25 16:03:46 -07:00
parent 8c9f7ae25c
commit 846e9c5137
409 changed files with 82 additions and 3337 deletions

View File

@ -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"
]
}
},

View File

@ -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();
}

View File

@ -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>

View File

@ -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> {
}
}
}

View File

@ -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> {
}
}
}

View File

@ -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> {
}
}
}

View File

@ -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> {
}
}
}

View File

@ -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> {
}
}
}

View File

@ -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> {
}
}
}

View File

@ -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> {
}
}
}

View File

@ -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>

View File

@ -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> {
}
}
}

View File

@ -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> {
}
}
}

View File

@ -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>

View File

@ -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> {
}
}
}

View File

@ -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> {
}
}
}

View File

@ -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> {
}
}
}

View File

@ -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> {
}
}
}

View File

@ -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> {
}
}
}

View File

@ -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> {
}
}
}

View File

@ -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> {
}
}
}

View File

@ -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> {
}
}
}

View File

@ -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> {
}
}
}

View File

@ -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> {
}
}
}

View File

@ -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> {
}
}
}

View File

@ -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> {
}
}
}

View File

@ -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> {
}
}
}

View File

@ -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> {
}
}
}

View File

@ -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> {
}
}
}

View File

@ -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> {
}
}
}

View File

@ -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> {
}
}
}

View File

@ -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> {
}
}
}

View File

@ -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> {
}
}
}

View File

@ -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> {
}
}
}

View File

@ -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> {
}
}
}

View File

@ -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> {
}
}
}

View File

@ -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> {
}
}
}

View File

@ -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> {
}
}
}

View File

@ -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> {
}
}
}

View File

@ -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> {
}
}
}

View File

@ -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> {
}
}
}

View File

@ -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> {
}
}
}

View File

@ -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> {
}
}
}

View File

@ -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> {
}
}
}

View File

@ -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> {
}
}
}

View File

@ -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> {
}
}
}

View File

@ -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> {
}
}
}

View File

@ -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> {
}
}
}

View File

@ -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> {
}
}
}

View File

@ -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> {
}
}
}

View File

@ -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> {
}
}
}

View File

@ -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> {
}
}
}

View File

@ -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> {
}
}
}

View File

@ -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> {
}
}
}

View File

@ -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> {
}
}
}

View File

@ -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> {
}
}
}

View File

@ -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> {
}
}
}

View File

@ -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> {
}
}
}

View File

@ -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> {
}
}
}

View File

@ -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> {
}
}
}

View File

@ -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> {
}
}
}

View File

@ -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> {
}
}
}

View File

@ -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> {
}
}
}

View File

@ -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> {
}
}
}

View File

@ -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> {
}
}
}

View File

@ -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> {
}
}
}

View File

@ -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> {
}
}
}

View File

@ -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> {
}
}
}

View File

@ -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> {
}
}
}

View File

@ -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> {
}
}
}

View File

@ -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> {
}
}
}

View File

@ -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> {
}
}
}

View File

@ -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> {
}
}
}

View File

@ -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> {
}
}
}

View File

@ -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> {
}
}
}

View File

@ -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> {
}
}
}

View File

@ -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> {
}
}
}

View File

@ -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> {
}
}
}

View File

@ -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> {
}
}
}

View File

@ -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> {
}
}
}

View File

@ -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> {
}
}
}

View File

@ -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> {
}
}
}

View File

@ -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> {
}
}
}

View File

@ -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> {
}
}
}

View File

@ -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> {
}
}
}

View File

@ -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> {
}
}
}

View File

@ -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> {
}
}
}

View File

@ -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> {
}
}
}

View File

@ -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> {
}
}
}

View File

@ -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> {
}
}
}

View File

@ -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> {
}
}
}

View File

@ -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> {
}
}
}

View File

@ -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&apos;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> {
}
}
}

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -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&apos;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&apos;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> {
}
}
}

View File

@ -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&apos;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&apos;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> {
}
}
}

View File

@ -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