< Summary - Jellyfin

Information
Class: Jellyfin.Api.Models.SyncPlayDtos.ReadyRequestDto
Assembly: Jellyfin.Api
File(s): /srv/git/jellyfin/Jellyfin.Api/Models/SyncPlayDtos/ReadyRequestDto.cs
Line coverage
0%
Covered lines: 0
Uncovered lines: 2
Coverable lines: 2
Total lines: 41
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/ReadyRequestDto.cs

#LineLine coverage
 1using System;
 2
 3namespace Jellyfin.Api.Models.SyncPlayDtos;
 4
 5/// <summary>
 6/// Class ReadyRequest.
 7/// </summary>
 8public class ReadyRequestDto
 9{
 10    /// <summary>
 11    /// Initializes a new instance of the <see cref="ReadyRequestDto"/> class.
 12    /// </summary>
 13    public ReadyRequestDto()
 14    {
 015        PlaylistItemId = Guid.Empty;
 016    }
 17
 18    /// <summary>
 19    /// Gets or sets when the request has been made by the client.
 20    /// </summary>
 21    /// <value>The date of the request.</value>
 22    public DateTime When { get; set; }
 23
 24    /// <summary>
 25    /// Gets or sets the position ticks.
 26    /// </summary>
 27    /// <value>The position ticks.</value>
 28    public long PositionTicks { get; set; }
 29
 30    /// <summary>
 31    /// Gets or sets a value indicating whether the client playback is unpaused.
 32    /// </summary>
 33    /// <value>The client playback status.</value>
 34    public bool IsPlaying { get; set; }
 35
 36    /// <summary>
 37    /// Gets or sets the playlist item identifier of the playing item.
 38    /// </summary>
 39    /// <value>The playlist item identifier.</value>
 40    public Guid PlaylistItemId { get; set; }
 41}

Methods/Properties

.ctor()