2020-11-28 13:19:24 +00:00
|
|
|
using System;
|
|
|
|
using System.Collections.Generic;
|
2020-12-03 18:01:57 +00:00
|
|
|
using MediaBrowser.Model.SyncPlay;
|
2020-11-28 13:19:24 +00:00
|
|
|
|
2020-12-03 18:01:57 +00:00
|
|
|
namespace Jellyfin.Api.Models.SyncPlayDtos
|
2020-11-28 13:19:24 +00:00
|
|
|
{
|
|
|
|
/// <summary>
|
2020-12-03 18:01:57 +00:00
|
|
|
/// Class QueueRequestDto.
|
2020-11-28 13:19:24 +00:00
|
|
|
/// </summary>
|
2020-12-03 18:01:57 +00:00
|
|
|
public class QueueRequestDto
|
2020-11-28 13:19:24 +00:00
|
|
|
{
|
|
|
|
/// <summary>
|
2020-12-03 18:01:57 +00:00
|
|
|
/// Initializes a new instance of the <see cref="QueueRequestDto"/> class.
|
2020-11-28 13:19:24 +00:00
|
|
|
/// </summary>
|
2020-12-03 18:01:57 +00:00
|
|
|
public QueueRequestDto()
|
2020-11-28 13:19:24 +00:00
|
|
|
{
|
|
|
|
ItemIds = Array.Empty<Guid>();
|
|
|
|
}
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Gets or sets the items to enqueue.
|
|
|
|
/// </summary>
|
|
|
|
/// <value>The items to enqueue.</value>
|
|
|
|
public IReadOnlyList<Guid> ItemIds { get; set; }
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Gets or sets the mode in which to add the new items.
|
|
|
|
/// </summary>
|
|
|
|
/// <value>The enqueue mode.</value>
|
|
|
|
public GroupQueueMode Mode { get; set; }
|
|
|
|
}
|
|
|
|
}
|