2020-11-28 06:19:24 -07:00
|
|
|
using System;
|
|
|
|
using System.Collections.Generic;
|
2020-12-03 11:01:57 -07:00
|
|
|
using MediaBrowser.Model.SyncPlay;
|
2020-11-28 06:19:24 -07:00
|
|
|
|
2020-12-03 11:01:57 -07:00
|
|
|
namespace Jellyfin.Api.Models.SyncPlayDtos
|
2020-11-28 06:19:24 -07:00
|
|
|
{
|
|
|
|
/// <summary>
|
2020-12-03 11:01:57 -07:00
|
|
|
/// Class QueueRequestDto.
|
2020-11-28 06:19:24 -07:00
|
|
|
/// </summary>
|
2020-12-03 11:01:57 -07:00
|
|
|
public class QueueRequestDto
|
2020-11-28 06:19:24 -07:00
|
|
|
{
|
|
|
|
/// <summary>
|
2020-12-03 11:01:57 -07:00
|
|
|
/// Initializes a new instance of the <see cref="QueueRequestDto"/> class.
|
2020-11-28 06:19:24 -07:00
|
|
|
/// </summary>
|
2020-12-03 11:01:57 -07:00
|
|
|
public QueueRequestDto()
|
2020-11-28 06:19:24 -07: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; }
|
|
|
|
}
|
|
|
|
}
|