< Summary - Jellyfin

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

#LineLine coverage
 1using System.ComponentModel.DataAnnotations;
 2
 3namespace Jellyfin.Data.Entities.Libraries
 4{
 5    /// <summary>
 6    /// An entity that holds metadata for seasons.
 7    /// </summary>
 8    public class SeasonMetadata : ItemMetadata
 9    {
 10        /// <summary>
 11        /// Initializes a new instance of the <see cref="SeasonMetadata"/> class.
 12        /// </summary>
 13        /// <param name="title">The title or name of the object.</param>
 14        /// <param name="language">ISO-639-3 3-character language codes.</param>
 015        public SeasonMetadata(string title, string language) : base(title, language)
 16        {
 017        }
 18
 19        /// <summary>
 20        /// Gets or sets the outline.
 21        /// </summary>
 22        /// <remarks>
 23        /// Max length = 1024.
 24        /// </remarks>
 25        [MaxLength(1024)]
 26        [StringLength(1024)]
 27        public string? Outline { get; set; }
 28    }
 29}