aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Api/Models/SyncPlayDtos/QueueRequestDto.cs
blob: 2b187f443fdbe7ea3af84088a708c5dcd958a6b7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
using System;
using System.Collections.Generic;
using MediaBrowser.Model.SyncPlay;

namespace Jellyfin.Api.Models.SyncPlayDtos
{
    /// <summary>
    /// Class QueueRequestDto.
    /// </summary>
    public class QueueRequestDto
    {
        /// <summary>
        /// Initializes a new instance of the <see cref="QueueRequestDto"/> class.
        /// </summary>
        public QueueRequestDto()
        {
            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; }
    }
}