SeriesTimerInfo.cs 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  1. using MediaBrowser.Model.LiveTv;
  2. using System;
  3. using System.Collections.Generic;
  4. namespace MediaBrowser.Controller.LiveTv
  5. {
  6. public class SeriesTimerInfo
  7. {
  8. /// <summary>
  9. /// Id of the recording.
  10. /// </summary>
  11. public string Id { get; set; }
  12. /// <summary>
  13. /// ChannelId of the recording.
  14. /// </summary>
  15. public string ChannelId { get; set; }
  16. /// <summary>
  17. /// ChannelName of the recording.
  18. /// </summary>
  19. public string ChannelName { get; set; }
  20. /// <summary>
  21. /// Gets or sets the program identifier.
  22. /// </summary>
  23. /// <value>The program identifier.</value>
  24. public string ProgramId { get; set; }
  25. /// <summary>
  26. /// Name of the recording.
  27. /// </summary>
  28. public string Name { get; set; }
  29. /// <summary>
  30. /// Description of the recording.
  31. /// </summary>
  32. public string Overview { get; set; }
  33. /// <summary>
  34. /// The start date of the recording, in UTC.
  35. /// </summary>
  36. public DateTime StartDate { get; set; }
  37. /// <summary>
  38. /// The end date of the recording, in UTC.
  39. /// </summary>
  40. public DateTime EndDate { get; set; }
  41. /// <summary>
  42. /// Gets or sets a value indicating whether [record any time].
  43. /// </summary>
  44. /// <value><c>true</c> if [record any time]; otherwise, <c>false</c>.</value>
  45. public bool RecordAnyTime { get; set; }
  46. /// <summary>
  47. /// Gets or sets a value indicating whether [record any channel].
  48. /// </summary>
  49. /// <value><c>true</c> if [record any channel]; otherwise, <c>false</c>.</value>
  50. public bool RecordAnyChannel { get; set; }
  51. /// <summary>
  52. /// Gets or sets a value indicating whether [record new only].
  53. /// </summary>
  54. /// <value><c>true</c> if [record new only]; otherwise, <c>false</c>.</value>
  55. public bool RecordNewOnly { get; set; }
  56. /// <summary>
  57. /// Gets or sets the days.
  58. /// </summary>
  59. /// <value>The days.</value>
  60. public List<DayOfWeek> Days { get; set; }
  61. /// <summary>
  62. /// Gets or sets the priority.
  63. /// </summary>
  64. /// <value>The priority.</value>
  65. public int Priority { get; set; }
  66. /// <summary>
  67. /// Gets or sets the requested pre padding seconds.
  68. /// </summary>
  69. /// <value>The requested pre padding seconds.</value>
  70. public int RequestedPrePaddingSeconds { get; set; }
  71. /// <summary>
  72. /// Gets or sets the requested post padding seconds.
  73. /// </summary>
  74. /// <value>The requested post padding seconds.</value>
  75. public int RequestedPostPaddingSeconds { get; set; }
  76. /// <summary>
  77. /// Gets or sets the required pre padding seconds.
  78. /// </summary>
  79. /// <value>The required pre padding seconds.</value>
  80. public int RequiredPrePaddingSeconds { get; set; }
  81. /// <summary>
  82. /// Gets or sets the required post padding seconds.
  83. /// </summary>
  84. /// <value>The required post padding seconds.</value>
  85. public int RequiredPostPaddingSeconds { get; set; }
  86. public SeriesTimerInfo()
  87. {
  88. Days = new List<DayOfWeek>();
  89. }
  90. }
  91. }