< Summary - Jellyfin

Information
Class: Jellyfin.Api.Models.SyncPlayDtos.PlayRequestDto
Assembly: Jellyfin.Api
File(s): /srv/git/jellyfin/Jellyfin.Api/Models/SyncPlayDtos/PlayRequestDto.cs
Line coverage
0%
Covered lines: 0
Uncovered lines: 2
Coverable lines: 2
Total lines: 36
Line coverage: 0%
Branch coverage
N/A
Covered branches: 0
Total branches: 0
Branch coverage: N/A
Method coverage

Feature is only available for sponsors

Upgrade to PRO version

Coverage history

Coverage history 0 25 50 75 100

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity Line coverage
.ctor()100%210%

File(s)

/srv/git/jellyfin/Jellyfin.Api/Models/SyncPlayDtos/PlayRequestDto.cs

#LineLine coverage
 1using System;
 2using System.Collections.Generic;
 3
 4namespace Jellyfin.Api.Models.SyncPlayDtos;
 5
 6/// <summary>
 7/// Class PlayRequestDto.
 8/// </summary>
 9public class PlayRequestDto
 10{
 11    /// <summary>
 12    /// Initializes a new instance of the <see cref="PlayRequestDto"/> class.
 13    /// </summary>
 14    public PlayRequestDto()
 15    {
 016        PlayingQueue = Array.Empty<Guid>();
 017    }
 18
 19    /// <summary>
 20    /// Gets or sets the playing queue.
 21    /// </summary>
 22    /// <value>The playing queue.</value>
 23    public IReadOnlyList<Guid> PlayingQueue { get; set; }
 24
 25    /// <summary>
 26    /// Gets or sets the position of the playing item in the queue.
 27    /// </summary>
 28    /// <value>The playing item position.</value>
 29    public int PlayingItemPosition { get; set; }
 30
 31    /// <summary>
 32    /// Gets or sets the start position ticks.
 33    /// </summary>
 34    /// <value>The start position ticks.</value>
 35    public long StartPositionTicks { get; set; }
 36}

Methods/Properties

.ctor()