5a8e972952
Analyzers are only run in debug build, so setting TreatWarningsAsErrors for release build will catch the compiler warnings until we resolve all analyzer warnings.
50 lines
1.4 KiB
C#
50 lines
1.4 KiB
C#
using System.Collections.Generic;
|
|
|
|
namespace Emby.Naming.AudioBook
|
|
{
|
|
/// <summary>
|
|
/// Represents a complete video, including all parts and subtitles.
|
|
/// </summary>
|
|
public class AudioBookInfo
|
|
{
|
|
/// <summary>
|
|
/// Initializes a new instance of the <see cref="AudioBookInfo" /> class.
|
|
/// </summary>
|
|
public AudioBookInfo()
|
|
{
|
|
Files = new List<AudioBookFileInfo>();
|
|
Extras = new List<AudioBookFileInfo>();
|
|
AlternateVersions = new List<AudioBookFileInfo>();
|
|
}
|
|
|
|
/// <summary>
|
|
/// Gets or sets the name.
|
|
/// </summary>
|
|
/// <value>The name.</value>
|
|
public string Name { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the year.
|
|
/// </summary>
|
|
public int? Year { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the files.
|
|
/// </summary>
|
|
/// <value>The files.</value>
|
|
public List<AudioBookFileInfo> Files { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the extras.
|
|
/// </summary>
|
|
/// <value>The extras.</value>
|
|
public List<AudioBookFileInfo> Extras { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the alternate versions.
|
|
/// </summary>
|
|
/// <value>The alternate versions.</value>
|
|
public List<AudioBookFileInfo> AlternateVersions { get; set; }
|
|
}
|
|
}
|