52 lines
1.5 KiB
C#
52 lines
1.5 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>
|
|
/// <param name="name">Name of audiobook.</param>
|
|
public AudioBookInfo(string name)
|
|
{
|
|
Files = new List<AudioBookFileInfo>();
|
|
Extras = new List<AudioBookFileInfo>();
|
|
AlternateVersions = new List<AudioBookFileInfo>();
|
|
Name = name;
|
|
}
|
|
|
|
/// <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; }
|
|
}
|
|
}
|