QueueItem.cs 961 B

123456789101112131415161718192021222324252627282930313233
  1. using System;
  2. namespace MediaBrowser.Model.SyncPlay
  3. {
  4. /// <summary>
  5. /// Class QueueItem.
  6. /// </summary>
  7. public class QueueItem
  8. {
  9. /// <summary>
  10. /// Initializes a new instance of the <see cref="QueueItem"/> class.
  11. /// </summary>
  12. /// <param name="itemId">The item identifier.</param>
  13. /// <param name="playlistItemId">The playlist identifier of the item.</param>
  14. public QueueItem(Guid itemId, string playlistItemId)
  15. {
  16. ItemId = itemId;
  17. PlaylistItemId = playlistItemId;
  18. }
  19. /// <summary>
  20. /// Gets the item identifier.
  21. /// </summary>
  22. /// <value>The item identifier.</value>
  23. public Guid ItemId { get; }
  24. /// <summary>
  25. /// Gets the playlist identifier of the item.
  26. /// </summary>
  27. /// <value>The playlist identifier of the item.</value>
  28. public string PlaylistItemId { get; }
  29. }
  30. }