aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Api/Models/SyncPlayDtos/PlayRequestDto.cs
blob: 844388cd99d10840d3e82e440496980b121ba7c5 (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
33
34
35
36
37
using System;
using System.Collections.Generic;

namespace Jellyfin.Api.Models.SyncPlayDtos
{
    /// <summary>
    /// Class PlayRequestDto.
    /// </summary>
    public class PlayRequestDto
    {
        /// <summary>
        /// Initializes a new instance of the <see cref="PlayRequestDto"/> class.
        /// </summary>
        public PlayRequestDto()
        {
            PlayingQueue = Array.Empty<Guid>();
        }

        /// <summary>
        /// Gets or sets the playing queue.
        /// </summary>
        /// <value>The playing queue.</value>
        public IReadOnlyList<Guid> PlayingQueue { get; set; }

        /// <summary>
        /// Gets or sets the position of the playing item in the queue.
        /// </summary>
        /// <value>The playing item position.</value>
        public int PlayingItemPosition { get; set; }

        /// <summary>
        /// Gets or sets the start position ticks.
        /// </summary>
        /// <value>The start position ticks.</value>
        public long StartPositionTicks { get; set; }
    }
}