< Summary - Jellyfin

Information
Class: Jellyfin.Data.Entities.Libraries.Series
Assembly: Jellyfin.Data
File(s): /srv/git/jellyfin/Jellyfin.Data/Entities/Libraries/Series.cs
Line coverage
0%
Covered lines: 0
Uncovered lines: 4
Coverable lines: 4
Total lines: 46
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.Data/Entities/Libraries/Series.cs

#LineLine coverage
 1using System;
 2using System.Collections.Generic;
 3
 4namespace Jellyfin.Data.Entities.Libraries
 5{
 6    /// <summary>
 7    /// An entity representing a a series.
 8    /// </summary>
 9    public class Series : LibraryItem
 10    {
 11        /// <summary>
 12        /// Initializes a new instance of the <see cref="Series"/> class.
 13        /// </summary>
 14        /// <param name="library">The library.</param>
 015        public Series(Library library) : base(library)
 16        {
 017            Seasons = new HashSet<Season>();
 018            SeriesMetadata = new HashSet<SeriesMetadata>();
 019        }
 20
 21        /// <summary>
 22        /// Gets or sets the days of week.
 23        /// </summary>
 24        public DayOfWeek? AirsDayOfWeek { get; set; }
 25
 26        /// <summary>
 27        /// Gets or sets the time the show airs, ignore the date portion.
 28        /// </summary>
 29        public DateTimeOffset? AirsTime { get; set; }
 30
 31        /// <summary>
 32        /// Gets or sets the date the series first aired.
 33        /// </summary>
 34        public DateTime? FirstAired { get; set; }
 35
 36        /// <summary>
 37        /// Gets a collection containing the series metadata.
 38        /// </summary>
 39        public virtual ICollection<SeriesMetadata> SeriesMetadata { get; private set; }
 40
 41        /// <summary>
 42        /// Gets a collection containing the seasons.
 43        /// </summary>
 44        public virtual ICollection<Season> Seasons { get; private set; }
 45    }
 46}