< Summary - Jellyfin

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

#LineLine coverage
 1using System.ComponentModel.DataAnnotations;
 2
 3namespace Jellyfin.Data.Entities.Libraries
 4{
 5    /// <summary>
 6    /// An entity containing metadata for an <see cref="Episode"/>.
 7    /// </summary>
 8    public class EpisodeMetadata : ItemMetadata
 9    {
 10        /// <summary>
 11        /// Initializes a new instance of the <see cref="EpisodeMetadata"/> 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 EpisodeMetadata(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        /// <summary>
 30        /// Gets or sets the plot.
 31        /// </summary>
 32        /// <remarks>
 33        /// Max length = 65535.
 34        /// </remarks>
 35        [MaxLength(65535)]
 36        [StringLength(65535)]
 37        public string? Plot { get; set; }
 38
 39        /// <summary>
 40        /// Gets or sets the tagline.
 41        /// </summary>
 42        /// <remarks>
 43        /// Max length = 1024.
 44        /// </remarks>
 45        [MaxLength(1024)]
 46        [StringLength(1024)]
 47        public string? Tagline { get; set; }
 48    }
 49}