You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
jellyfin/Jellyfin.Api/Models/SyncPlayDtos/PlayRequestDto.cs

38 lines
1.0 KiB

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