aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Api/Models/SyncPlayDtos/QueueRequestDto.cs
blob: c2c2fba04406d1e0ee1f804c28e045b675fae50f (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
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; }
}