2
0

ReadyRequestDto.cs 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. using System;
  2. namespace Jellyfin.Api.Models.SyncPlayDtos
  3. {
  4. /// <summary>
  5. /// Class ReadyRequest.
  6. /// </summary>
  7. public class ReadyRequestDto
  8. {
  9. /// <summary>
  10. /// Initializes a new instance of the <see cref="ReadyRequestDto"/> class.
  11. /// </summary>
  12. public ReadyRequestDto()
  13. {
  14. PlaylistItemId = Guid.Empty;
  15. }
  16. /// <summary>
  17. /// Gets or sets when the request has been made by the client.
  18. /// </summary>
  19. /// <value>The date of the request.</value>
  20. public DateTime When { get; set; }
  21. /// <summary>
  22. /// Gets or sets the position ticks.
  23. /// </summary>
  24. /// <value>The position ticks.</value>
  25. public long PositionTicks { get; set; }
  26. /// <summary>
  27. /// Gets or sets a value indicating whether the client playback is unpaused.
  28. /// </summary>
  29. /// <value>The client playback status.</value>
  30. public bool IsPlaying { get; set; }
  31. /// <summary>
  32. /// Gets or sets the playlist item identifier of the playing item.
  33. /// </summary>
  34. /// <value>The playlist item identifier.</value>
  35. public Guid PlaylistItemId { get; set; }
  36. }
  37. }