SeriesTimerInfoDto.cs 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138
  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 a value indicating whether [record any time].
  62. /// </summary>
  63. /// <value><c>true</c> if [record any time]; otherwise, <c>false</c>.</value>
  64. public bool RecordAnyTime { get; set; }
  65. /// <summary>
  66. /// Gets or sets a value indicating whether [record any channel].
  67. /// </summary>
  68. /// <value><c>true</c> if [record any channel]; otherwise, <c>false</c>.</value>
  69. public bool RecordAnyChannel { get; set; }
  70. /// <summary>
  71. /// Gets or sets a value indicating whether [record new only].
  72. /// </summary>
  73. /// <value><c>true</c> if [record new only]; otherwise, <c>false</c>.</value>
  74. public bool RecordNewOnly { get; set; }
  75. /// <summary>
  76. /// Gets or sets the days.
  77. /// </summary>
  78. /// <value>The days.</value>
  79. public List<DayOfWeek> Days { get; set; }
  80. /// <summary>
  81. /// Gets or sets the day pattern.
  82. /// </summary>
  83. /// <value>The day pattern.</value>
  84. public DayPattern? DayPattern { get; set; }
  85. /// <summary>
  86. /// Gets or sets the priority.
  87. /// </summary>
  88. /// <value>The priority.</value>
  89. public int Priority { get; set; }
  90. /// <summary>
  91. /// Gets or sets the pre padding seconds.
  92. /// </summary>
  93. /// <value>The pre padding seconds.</value>
  94. public int PrePaddingSeconds { get; set; }
  95. /// <summary>
  96. /// Gets or sets the post padding seconds.
  97. /// </summary>
  98. /// <value>The post padding seconds.</value>
  99. public int PostPaddingSeconds { get; set; }
  100. /// <summary>
  101. /// Gets or sets a value indicating whether this instance is pre padding required.
  102. /// </summary>
  103. /// <value><c>true</c> if this instance is pre padding required; otherwise, <c>false</c>.</value>
  104. public bool IsPrePaddingRequired { get; set; }
  105. /// <summary>
  106. /// Gets or sets a value indicating whether this instance is post padding required.
  107. /// </summary>
  108. /// <value><c>true</c> if this instance is post padding required; otherwise, <c>false</c>.</value>
  109. public bool IsPostPaddingRequired { get; set; }
  110. public SeriesTimerInfoDto()
  111. {
  112. Days = new List<DayOfWeek>();
  113. }
  114. }
  115. }