RecordingInfoDto.cs 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131
  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. /// Overview of the recording.
  40. /// </summary>
  41. public string Overview { 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. /// <summary>
  70. /// Gets or sets the duration ms.
  71. /// </summary>
  72. /// <value>The duration ms.</value>
  73. public int DurationMs { get; set; }
  74. /// <summary>
  75. /// Gets or sets the type of the media.
  76. /// </summary>
  77. /// <value>The type of the media.</value>
  78. public string MediaType { get; set; }
  79. /// <summary>
  80. /// Gets or sets the type of the channel.
  81. /// </summary>
  82. /// <value>The type of the channel.</value>
  83. public ChannelType ChannelType { get; set; }
  84. /// <summary>
  85. /// Gets or sets the official rating.
  86. /// </summary>
  87. /// <value>The official rating.</value>
  88. public string OfficialRating { get; set; }
  89. /// <summary>
  90. /// Gets or sets the community rating.
  91. /// </summary>
  92. /// <value>The community rating.</value>
  93. public float? CommunityRating { get; set; }
  94. /// <summary>
  95. /// Gets or sets a value indicating whether this instance is hd.
  96. /// </summary>
  97. /// <value><c>true</c> if this instance is hd; otherwise, <c>false</c>.</value>
  98. public bool? IsHD { get; set; }
  99. /// <summary>
  100. /// Gets or sets the audio.
  101. /// </summary>
  102. /// <value>The audio.</value>
  103. public ProgramAudio? Audio { get; set; }
  104. public RecordingInfoDto()
  105. {
  106. Genres = new List<string>();
  107. }
  108. }
  109. }