using System.Collections.Generic; namespace Emby.Naming.AudioBook { /// /// Represents a complete video, including all parts and subtitles. /// public class AudioBookInfo { /// /// Initializes a new instance of the class. /// /// Name of audiobook. /// Year of audiobook release. /// List of files composing the actual audiobook. /// List of extra files. /// Alternative version of files. public AudioBookInfo(string name, int? year, List? files, List? extras, List? alternateVersions) { Name = name; Year = year; Files = files ?? new List(); Extras = extras ?? new List(); AlternateVersions = alternateVersions ?? new List(); } /// /// Gets or sets the name. /// /// The name. public string Name { get; set; } /// /// Gets or sets the year. /// public int? Year { get; set; } /// /// Gets or sets the files. /// /// The files. public List Files { get; set; } /// /// Gets or sets the extras. /// /// The extras. public List Extras { get; set; } /// /// Gets or sets the alternate versions. /// /// The alternate versions. public List AlternateVersions { get; set; } } }