#nullable disable using System; namespace MediaBrowser.Model.Dto { /// /// Class UserDataDto extends UserItemDataDto to allow nullable members. /// This change allow us to implement the new /Users/{UserId}/Items/{ItemId}/UserData endpoint. /// This object allows the requestor to update all or specific user data fields without altering the non-nullable members state. /// public class UserDataDto : UserItemDataDto { /// /// Gets or sets the playback position ticks. /// /// The playback position ticks. public new long? PlaybackPositionTicks { get; set; } /// /// Gets or sets the play count. /// /// The play count. public new 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; } /// /// 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; } /// /// Gets or sets a value indicating whether this is played. /// /// true if played; otherwise, false. public new bool? Played { get; set; } } }