TrailerInfo.cs 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. using MediaBrowser.Controller.Entities;
  2. using System;
  3. namespace MediaBrowser.Plugins.Trailers
  4. {
  5. /// <summary>
  6. /// This is a stub class used to hold information about a trailer
  7. /// </summary>
  8. public class TrailerInfo
  9. {
  10. /// <summary>
  11. /// Gets or sets the video.
  12. /// </summary>
  13. /// <value>The video.</value>
  14. public Trailer Video { get; set; }
  15. /// <summary>
  16. /// Gets or sets the image URL.
  17. /// </summary>
  18. /// <value>The image URL.</value>
  19. public string ImageUrl { get; set; }
  20. /// <summary>
  21. /// Gets or sets the hd image URL.
  22. /// </summary>
  23. /// <value>The hd image URL.</value>
  24. public string HdImageUrl { get; set; }
  25. /// <summary>
  26. /// Gets or sets the trailer URL.
  27. /// </summary>
  28. /// <value>The trailer URL.</value>
  29. public string TrailerUrl { get; set; }
  30. /// <summary>
  31. /// Gets or sets the post date.
  32. /// </summary>
  33. /// <value>The post date.</value>
  34. public DateTime PostDate { get; set; }
  35. /// <summary>
  36. /// Initializes a new instance of the <see cref="TrailerInfo" /> class.
  37. /// </summary>
  38. public TrailerInfo()
  39. {
  40. Video = new Trailer();
  41. }
  42. }
  43. }