ProgramInfoDto.cs 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. using System;
  2. using System.Collections.Generic;
  3. namespace MediaBrowser.Model.LiveTv
  4. {
  5. public class ProgramInfoDto
  6. {
  7. /// <summary>
  8. /// Id of the program.
  9. /// </summary>
  10. public string Id { get; set; }
  11. /// <summary>
  12. /// Gets or sets the external identifier.
  13. /// </summary>
  14. /// <value>The external identifier.</value>
  15. public string ExternalId { get; set; }
  16. /// <summary>
  17. /// Gets or sets the channel identifier.
  18. /// </summary>
  19. /// <value>The channel identifier.</value>
  20. public string ChannelId { get; set; }
  21. /// <summary>
  22. /// Gets or sets the recording identifier.
  23. /// </summary>
  24. /// <value>The recording identifier.</value>
  25. public string RecordingId { get; set; }
  26. /// <summary>
  27. /// Gets or sets the name of the service.
  28. /// </summary>
  29. /// <value>The name of the service.</value>
  30. public string ServiceName { get; set; }
  31. /// <summary>
  32. /// Name of the program
  33. /// </summary>
  34. public string Name { get; set; }
  35. /// <summary>
  36. /// Description of the progam.
  37. /// </summary>
  38. public string Description { get; set; }
  39. /// <summary>
  40. /// The start date of the program, in UTC.
  41. /// </summary>
  42. public DateTime StartDate { get; set; }
  43. /// <summary>
  44. /// The end date of the program, in UTC.
  45. /// </summary>
  46. public DateTime EndDate { get; set; }
  47. /// <summary>
  48. /// Genre of the program.
  49. /// </summary>
  50. public List<string> Genres { get; set; }
  51. public ProgramInfoDto()
  52. {
  53. Genres = new List<string>();
  54. }
  55. }
  56. }