SeriesTimerInfoDto.cs 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126
  1. using System;
  2. using System.Collections.Generic;
  3. namespace MediaBrowser.Model.LiveTv
  4. {
  5. public class SeriesTimerInfoDto
  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. /// ChannelId of the recording.
  18. /// </summary>
  19. public string ChannelId { get; set; }
  20. /// <summary>
  21. /// Gets or sets the name of the service.
  22. /// </summary>
  23. /// <value>The name of the service.</value>
  24. public string ServiceName { get; set; }
  25. /// <summary>
  26. /// Gets or sets the external channel identifier.
  27. /// </summary>
  28. /// <value>The external channel identifier.</value>
  29. public string ExternalChannelId { get; set; }
  30. /// <summary>
  31. /// ChannelName of the recording.
  32. /// </summary>
  33. public string ChannelName { get; set; }
  34. /// <summary>
  35. /// Gets or sets the program identifier.
  36. /// </summary>
  37. /// <value>The program identifier.</value>
  38. public string ProgramId { get; set; }
  39. /// <summary>
  40. /// Gets or sets the external program identifier.
  41. /// </summary>
  42. /// <value>The external program identifier.</value>
  43. public string ExternalProgramId { get; set; }
  44. /// <summary>
  45. /// Name of the recording.
  46. /// </summary>
  47. public string Name { get; set; }
  48. /// <summary>
  49. /// Description of the recording.
  50. /// </summary>
  51. public string Overview { get; set; }
  52. /// <summary>
  53. /// The start date of the recording, in UTC.
  54. /// </summary>
  55. public DateTime StartDate { get; set; }
  56. /// <summary>
  57. /// The end date of the recording, in UTC.
  58. /// </summary>
  59. public DateTime EndDate { get; set; }
  60. /// <summary>
  61. /// Gets or sets the type of the recurrence.
  62. /// </summary>
  63. /// <value>The type of the recurrence.</value>
  64. public RecurrenceType RecurrenceType { get; set; }
  65. /// <summary>
  66. /// Gets or sets the days.
  67. /// </summary>
  68. /// <value>The days.</value>
  69. public List<DayOfWeek> Days { get; set; }
  70. /// <summary>
  71. /// Gets or sets the day pattern.
  72. /// </summary>
  73. /// <value>The day pattern.</value>
  74. public DayPattern? DayPattern { get; set; }
  75. /// <summary>
  76. /// Gets or sets the priority.
  77. /// </summary>
  78. /// <value>The priority.</value>
  79. public int Priority { get; set; }
  80. /// <summary>
  81. /// Gets or sets the requested pre padding seconds.
  82. /// </summary>
  83. /// <value>The requested pre padding seconds.</value>
  84. public int RequestedPrePaddingSeconds { get; set; }
  85. /// <summary>
  86. /// Gets or sets the requested post padding seconds.
  87. /// </summary>
  88. /// <value>The requested post padding seconds.</value>
  89. public int RequestedPostPaddingSeconds { get; set; }
  90. /// <summary>
  91. /// Gets or sets the required pre padding seconds.
  92. /// </summary>
  93. /// <value>The required pre padding seconds.</value>
  94. public int RequiredPrePaddingSeconds { get; set; }
  95. /// <summary>
  96. /// Gets or sets the required post padding seconds.
  97. /// </summary>
  98. /// <value>The required post padding seconds.</value>
  99. public int RequiredPostPaddingSeconds { get; set; }
  100. public SeriesTimerInfoDto()
  101. {
  102. Days = new List<DayOfWeek>();
  103. }
  104. }
  105. }