UserItemDataDto.cs 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. #nullable disable
  2. using System;
  3. namespace MediaBrowser.Model.Dto
  4. {
  5. /// <summary>
  6. /// Class UserItemDataDto.
  7. /// </summary>
  8. public class UserItemDataDto
  9. {
  10. /// <summary>
  11. /// Gets or sets the rating.
  12. /// </summary>
  13. /// <value>The rating.</value>
  14. public double? Rating { get; set; }
  15. /// <summary>
  16. /// Gets or sets the played percentage.
  17. /// </summary>
  18. /// <value>The played percentage.</value>
  19. public double? PlayedPercentage { get; set; }
  20. /// <summary>
  21. /// Gets or sets the unplayed item count.
  22. /// </summary>
  23. /// <value>The unplayed item count.</value>
  24. public int? UnplayedItemCount { get; set; }
  25. /// <summary>
  26. /// Gets or sets the playback position ticks.
  27. /// </summary>
  28. /// <value>The playback position ticks.</value>
  29. public long PlaybackPositionTicks { get; set; }
  30. /// <summary>
  31. /// Gets or sets the play count.
  32. /// </summary>
  33. /// <value>The play count.</value>
  34. public int PlayCount { get; set; }
  35. /// <summary>
  36. /// Gets or sets a value indicating whether this instance is favorite.
  37. /// </summary>
  38. /// <value><c>true</c> if this instance is favorite; otherwise, <c>false</c>.</value>
  39. public bool IsFavorite { get; set; }
  40. /// <summary>
  41. /// Gets or sets a value indicating whether this <see cref="UserItemDataDto" /> is likes.
  42. /// </summary>
  43. /// <value><c>null</c> if [likes] contains no value, <c>true</c> if [likes]; otherwise, <c>false</c>.</value>
  44. public bool? Likes { get; set; }
  45. /// <summary>
  46. /// Gets or sets the last played date.
  47. /// </summary>
  48. /// <value>The last played date.</value>
  49. public DateTime? LastPlayedDate { get; set; }
  50. /// <summary>
  51. /// Gets or sets a value indicating whether this <see cref="UserItemDataDto" /> is played.
  52. /// </summary>
  53. /// <value><c>true</c> if played; otherwise, <c>false</c>.</value>
  54. public bool Played { get; set; }
  55. /// <summary>
  56. /// Gets or sets the key.
  57. /// </summary>
  58. /// <value>The key.</value>
  59. public string Key { get; set; }
  60. /// <summary>
  61. /// Gets or sets the item identifier.
  62. /// </summary>
  63. /// <value>The item identifier.</value>
  64. public string ItemId { get; set; }
  65. }
  66. }