diff --git a/MediaBrowser.Model/Dto/UpdateUserItemDataDto.cs b/MediaBrowser.Model/Dto/UpdateUserItemDataDto.cs
index 9ff09cb22c..5c89c2470d 100644
--- a/MediaBrowser.Model/Dto/UpdateUserItemDataDto.cs
+++ b/MediaBrowser.Model/Dto/UpdateUserItemDataDto.cs
@@ -1,38 +1,77 @@
+#nullable disable
+using System;
+
namespace MediaBrowser.Model.Dto
{
///
/// This is used by the api to get information about a item user data.
///
- public class UpdateUserItemDataDto : UserItemDataDto
+ public class UpdateUserItemDataDto
{
+ ///
+ /// Gets or sets the rating.
+ ///
+ /// The rating.
+ public double? Rating { get; set; }
+
+ ///
+ /// Gets or sets the played percentage.
+ ///
+ /// The played percentage.
+ public double? PlayedPercentage { get; set; }
+
+ ///
+ /// Gets or sets the unplayed item count.
+ ///
+ /// The unplayed item count.
+ public int? UnplayedItemCount { get; set; }
+
///
/// Gets or sets the playback position ticks.
///
/// The playback position ticks.
- public new long? PlaybackPositionTicks { get; set; }
+ public long? PlaybackPositionTicks { get; set; }
///
/// Gets or sets the play count.
///
/// The play count.
- public new int? PlayCount { get; set; }
+ public int? PlayCount { get; set; }
///
/// Gets or sets a value indicating whether this instance is favorite.
///
/// true if this instance is favorite; otherwise, false.
- public new bool? IsFavorite { get; set; }
+ public bool? IsFavorite { get; set; }
///
- /// Gets or sets a value indicating whether this is likes.
+ /// Gets or sets a value indicating whether this is likes.
///
/// null if [likes] contains no value, true if [likes]; otherwise, false.
- public new bool? Likes { get; set; }
+ public bool? Likes { get; set; }
+
+ ///
+ /// Gets or sets the last played date.
+ ///
+ /// The last played date.
+ public DateTime? LastPlayedDate { get; set; }
///
/// Gets or sets a value indicating whether this is played.
///
/// true if played; otherwise, false.
- public new bool? Played { get; set; }
+ public bool? Played { get; set; }
+
+ ///
+ /// Gets or sets the key.
+ ///
+ /// The key.
+ public string Key { get; set; }
+
+ ///
+ /// Gets or sets the item identifier.
+ ///
+ /// The item identifier.
+ public string ItemId { get; set; }
}
}