RecordingInfoDto.cs 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. using System;
  2. using System.Collections.Generic;
  3. namespace MediaBrowser.Model.LiveTv
  4. {
  5. public class RecordingInfoDto
  6. {
  7. /// <summary>
  8. /// Id of the recording.
  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 program identifier.
  18. /// </summary>
  19. /// <value>The program identifier.</value>
  20. public string ProgramId { get; set; }
  21. /// <summary>
  22. /// ChannelId of the recording.
  23. /// </summary>
  24. public string ChannelId { get; set; }
  25. /// <summary>
  26. /// ChannelName of the recording.
  27. /// </summary>
  28. public string ChannelName { get; set; }
  29. /// <summary>
  30. /// Name of the recording.
  31. /// </summary>
  32. public string Name { get; set; }
  33. /// <summary>
  34. /// Gets or sets the path.
  35. /// </summary>
  36. /// <value>The path.</value>
  37. public string Path { get; set; }
  38. /// <summary>
  39. /// Description of the recording.
  40. /// </summary>
  41. public string Description { get; set; }
  42. /// <summary>
  43. /// The start date of the recording, in UTC.
  44. /// </summary>
  45. public DateTime StartDate { get; set; }
  46. /// <summary>
  47. /// The end date of the recording, in UTC.
  48. /// </summary>
  49. public DateTime EndDate { get; set; }
  50. /// <summary>
  51. /// Gets or sets the status.
  52. /// </summary>
  53. /// <value>The status.</value>
  54. public RecordingStatus Status { get; set; }
  55. /// <summary>
  56. /// Genre of the program.
  57. /// </summary>
  58. public List<string> Genres { get; set; }
  59. /// <summary>
  60. /// Gets or sets a value indicating whether this instance is repeat.
  61. /// </summary>
  62. /// <value><c>true</c> if this instance is repeat; otherwise, <c>false</c>.</value>
  63. public bool IsRepeat { get; set; }
  64. /// <summary>
  65. /// Gets or sets the episode title.
  66. /// </summary>
  67. /// <value>The episode title.</value>
  68. public string EpisodeTitle { get; set; }
  69. public RecordingInfoDto()
  70. {
  71. Genres = new List<string>();
  72. }
  73. }
  74. }