From e221c1d25d640eaac01220b3f5b1422f4c11ed46 Mon Sep 17 00:00:00 2001 From: Bond_009 Date: Wed, 15 May 2024 18:29:13 +0200 Subject: [PATCH] Enable nullable for NextUpQuery --- MediaBrowser.Model/Querying/NextUpQuery.cs | 21 +-------------------- 1 file changed, 1 insertion(+), 20 deletions(-) diff --git a/MediaBrowser.Model/Querying/NextUpQuery.cs b/MediaBrowser.Model/Querying/NextUpQuery.cs index 622c49526..8dece28a0 100644 --- a/MediaBrowser.Model/Querying/NextUpQuery.cs +++ b/MediaBrowser.Model/Querying/NextUpQuery.cs @@ -1,4 +1,3 @@ -#nullable disable #pragma warning disable CS1591 using System; @@ -23,7 +22,7 @@ namespace MediaBrowser.Model.Querying /// Gets or sets the user. /// /// The user. - public User User { get; set; } + public required User User { get; set; } /// /// Gets or sets the parent identifier. @@ -49,24 +48,6 @@ namespace MediaBrowser.Model.Querying /// The limit. public int? Limit { get; set; } - /// - /// gets or sets the fields to return within the items, in addition to basic information. - /// - /// The fields. - public ItemFields[] Fields { get; set; } - - /// - /// Gets or sets a value indicating whether [enable images]. - /// - /// null if [enable images] contains no value, true if [enable images]; otherwise, false. - public bool? EnableImages { get; set; } - - /// - /// Gets or sets the image type limit. - /// - /// The image type limit. - public int? ImageTypeLimit { get; set; } - /// /// Gets or sets the enable image types. ///