ソースを参照

Enable nullable for NextUpQuery

Bond_009 1 年間 前
コミット
e221c1d25d
1 ファイル変更1 行追加20 行削除
  1. 1 20
      MediaBrowser.Model/Querying/NextUpQuery.cs

+ 1 - 20
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.
         /// </summary>
         /// <value>The user.</value>
-        public User User { get; set; }
+        public required User User { get; set; }
 
         /// <summary>
         /// Gets or sets the parent identifier.
@@ -49,24 +48,6 @@ namespace MediaBrowser.Model.Querying
         /// <value>The limit.</value>
         public int? Limit { get; set; }
 
-        /// <summary>
-        /// gets or sets the fields to return within the items, in addition to basic information.
-        /// </summary>
-        /// <value>The fields.</value>
-        public ItemFields[] Fields { get; set; }
-
-        /// <summary>
-        /// Gets or sets a value indicating whether [enable images].
-        /// </summary>
-        /// <value><c>null</c> if [enable images] contains no value, <c>true</c> if [enable images]; otherwise, <c>false</c>.</value>
-        public bool? EnableImages { get; set; }
-
-        /// <summary>
-        /// Gets or sets the image type limit.
-        /// </summary>
-        /// <value>The image type limit.</value>
-        public int? ImageTypeLimit { get; set; }
-
         /// <summary>
         /// Gets or sets the enable image types.
         /// </summary>