< Summary - Jellyfin

Information
Class: MediaBrowser.Model.SyncPlay.GroupInfoDto
Assembly: MediaBrowser.Model
File(s): /srv/git/jellyfin/MediaBrowser.Model/SyncPlay/GroupInfoDto.cs
Line coverage
0%
Covered lines: 0
Uncovered lines: 1
Coverable lines: 1
Total lines: 58
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/MediaBrowser.Model/SyncPlay/GroupInfoDto.cs

#LineLine coverage
 1using System;
 2using System.Collections.Generic;
 3
 4namespace MediaBrowser.Model.SyncPlay
 5{
 6    /// <summary>
 7    /// Class GroupInfoDto.
 8    /// </summary>
 9    public class GroupInfoDto
 10    {
 11        /// <summary>
 12        /// Initializes a new instance of the <see cref="GroupInfoDto"/> class.
 13        /// </summary>
 14        /// <param name="groupId">The group identifier.</param>
 15        /// <param name="groupName">The group name.</param>
 16        /// <param name="state">The group state.</param>
 17        /// <param name="participants">The participants.</param>
 18        /// <param name="lastUpdatedAt">The date when this DTO has been created.</param>
 19        public GroupInfoDto(Guid groupId, string groupName, GroupStateType state, IReadOnlyList<string> participants, Da
 20        {
 21            GroupId = groupId;
 22            GroupName = groupName;
 23            State = state;
 24            Participants = participants;
 25            LastUpdatedAt = lastUpdatedAt;
 026        }
 27
 28        /// <summary>
 29        /// Gets the group identifier.
 30        /// </summary>
 31        /// <value>The group identifier.</value>
 32        public Guid GroupId { get; }
 33
 34        /// <summary>
 35        /// Gets the group name.
 36        /// </summary>
 37        /// <value>The group name.</value>
 38        public string GroupName { get; }
 39
 40        /// <summary>
 41        /// Gets the group state.
 42        /// </summary>
 43        /// <value>The group state.</value>
 44        public GroupStateType State { get; }
 45
 46        /// <summary>
 47        /// Gets the participants.
 48        /// </summary>
 49        /// <value>The participants.</value>
 50        public IReadOnlyList<string> Participants { get; }
 51
 52        /// <summary>
 53        /// Gets the date when this DTO has been created.
 54        /// </summary>
 55        /// <value>The date when this DTO has been created.</value>
 56        public DateTime LastUpdatedAt { get; }
 57    }
 58}