AudioBookInfo.cs 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. using System.Collections.Generic;
  2. namespace Emby.Naming.AudioBook
  3. {
  4. /// <summary>
  5. /// Represents a complete video, including all parts and subtitles.
  6. /// </summary>
  7. public class AudioBookInfo
  8. {
  9. /// <summary>
  10. /// Initializes a new instance of the <see cref="AudioBookInfo" /> class.
  11. /// </summary>
  12. public AudioBookInfo()
  13. {
  14. Files = new List<AudioBookFileInfo>();
  15. Extras = new List<AudioBookFileInfo>();
  16. AlternateVersions = new List<AudioBookFileInfo>();
  17. }
  18. /// <summary>
  19. /// Gets or sets the name.
  20. /// </summary>
  21. /// <value>The name.</value>
  22. public string Name { get; set; }
  23. /// <summary>
  24. /// Gets or sets the year.
  25. /// </summary>
  26. public int? Year { get; set; }
  27. /// <summary>
  28. /// Gets or sets the files.
  29. /// </summary>
  30. /// <value>The files.</value>
  31. public List<AudioBookFileInfo> Files { get; set; }
  32. /// <summary>
  33. /// Gets or sets the extras.
  34. /// </summary>
  35. /// <value>The extras.</value>
  36. public List<AudioBookFileInfo> Extras { get; set; }
  37. /// <summary>
  38. /// Gets or sets the alternate versions.
  39. /// </summary>
  40. /// <value>The alternate versions.</value>
  41. public List<AudioBookFileInfo> AlternateVersions { get; set; }
  42. }
  43. }