ProgramInfo.cs 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. using System;
  2. using System.Collections.Generic;
  3. namespace MediaBrowser.Controller.LiveTv
  4. {
  5. public class ProgramInfo
  6. {
  7. /// <summary>
  8. /// Id of the program.
  9. /// </summary>
  10. public string Id { get; set; }
  11. /// <summary>
  12. /// Gets or sets the channel identifier.
  13. /// </summary>
  14. /// <value>The channel identifier.</value>
  15. public string ChannelId { get; set; }
  16. /// <summary>
  17. /// Name of the program
  18. /// </summary>
  19. public string Name { get; set; }
  20. /// <summary>
  21. /// Description of the progam.
  22. /// </summary>
  23. public string Description { get; set; }
  24. /// <summary>
  25. /// The start date of the program, in UTC.
  26. /// </summary>
  27. public DateTime StartDate { get; set; }
  28. /// <summary>
  29. /// The end date of the program, in UTC.
  30. /// </summary>
  31. public DateTime EndDate { get; set; }
  32. /// <summary>
  33. /// Genre of the program.
  34. /// </summary>
  35. public List<string> Genres { get; set; }
  36. public ProgramInfo()
  37. {
  38. Genres = new List<string>();
  39. }
  40. }
  41. }