jellyfin/Emby.Naming/AudioBook/AudioBookInfo.cs

47 lines
1.3 KiB
C#
Raw Normal View History

using System.Collections.Generic;
2018-09-12 17:26:21 +00:00
namespace Emby.Naming.AudioBook
{
/// <summary>
/// Represents a complete video, including all parts and subtitles
/// </summary>
public class AudioBookInfo
{
2019-05-10 18:37:42 +00:00
public AudioBookInfo()
{
Files = new List<AudioBookFileInfo>();
Extras = new List<AudioBookFileInfo>();
AlternateVersions = new List<AudioBookFileInfo>();
}
2018-09-12 17:26:21 +00:00
/// <summary>
/// Gets or sets the name.
/// </summary>
/// <value>The name.</value>
public string Name { get; set; }
2019-05-10 18:37:42 +00:00
/// <summary>
/// Gets or sets the year.
/// </summary>
2018-09-12 17:26:21 +00:00
public int? Year { get; set; }
2019-05-10 18:37:42 +00:00
2018-09-12 17:26:21 +00:00
/// <summary>
/// Gets or sets the files.
/// </summary>
/// <value>The files.</value>
public List<AudioBookFileInfo> Files { get; set; }
2019-05-10 18:37:42 +00:00
2018-09-12 17:26:21 +00:00
/// <summary>
/// Gets or sets the extras.
/// </summary>
/// <value>The extras.</value>
public List<AudioBookFileInfo> Extras { get; set; }
2019-05-10 18:37:42 +00:00
2018-09-12 17:26:21 +00:00
/// <summary>
/// Gets or sets the alternate versions.
/// </summary>
/// <value>The alternate versions.</value>
public List<AudioBookFileInfo> AlternateVersions { get; set; }
}
}