jellyfin/Jellyfin.Api/Models/SyncPlayDtos/PlayRequestDto.cs
2020-12-03 19:01:57 +01:00

38 lines
1.0 KiB
C#

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; }
}
}