SeriesTimerInfo.cs 3.5 KB

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