2020-09-24 21:04:21 +00:00
|
|
|
using System;
|
|
|
|
|
|
|
|
namespace MediaBrowser.Model.SyncPlay
|
|
|
|
{
|
|
|
|
/// <summary>
|
|
|
|
/// Class QueueItem.
|
|
|
|
/// </summary>
|
|
|
|
public class QueueItem
|
|
|
|
{
|
|
|
|
/// <summary>
|
2020-11-14 22:40:01 +00:00
|
|
|
/// Initializes a new instance of the <see cref="QueueItem"/> class.
|
|
|
|
/// </summary>
|
|
|
|
/// <param name="itemId">The item identifier.</param>
|
2020-12-04 19:15:16 +00:00
|
|
|
public QueueItem(Guid itemId)
|
2020-11-14 22:40:01 +00:00
|
|
|
{
|
|
|
|
ItemId = itemId;
|
|
|
|
}
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Gets the item identifier.
|
2020-09-24 21:04:21 +00:00
|
|
|
/// </summary>
|
2020-10-21 14:42:57 +00:00
|
|
|
/// <value>The item identifier.</value>
|
2020-11-14 22:40:01 +00:00
|
|
|
public Guid ItemId { get; }
|
2020-09-24 21:04:21 +00:00
|
|
|
|
|
|
|
/// <summary>
|
2020-11-14 22:40:01 +00:00
|
|
|
/// Gets the playlist identifier of the item.
|
2020-09-24 21:04:21 +00:00
|
|
|
/// </summary>
|
2020-10-21 14:42:57 +00:00
|
|
|
/// <value>The playlist identifier of the item.</value>
|
2020-12-04 19:15:16 +00:00
|
|
|
public Guid PlaylistItemId { get; } = Guid.NewGuid();
|
2020-09-24 21:04:21 +00:00
|
|
|
}
|
|
|
|
}
|