TimerInfoDto.cs 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138
  1. using System;
  2. using System.ComponentModel;
  3. namespace MediaBrowser.Model.LiveTv
  4. {
  5. public class TimerInfoDto : INotifyPropertyChanged
  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 external channel identifier.
  22. /// </summary>
  23. /// <value>The external channel identifier.</value>
  24. public string ExternalChannelId { get; set; }
  25. /// <summary>
  26. /// ChannelName of the recording.
  27. /// </summary>
  28. public string ChannelName { get; set; }
  29. /// <summary>
  30. /// Gets or sets the name of the service.
  31. /// </summary>
  32. /// <value>The name of the service.</value>
  33. public string ServiceName { 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 status.
  62. /// </summary>
  63. /// <value>The status.</value>
  64. public RecordingStatus Status { get; set; }
  65. /// <summary>
  66. /// Gets or sets the series timer identifier.
  67. /// </summary>
  68. /// <value>The series timer identifier.</value>
  69. public string SeriesTimerId { get; set; }
  70. /// <summary>
  71. /// Gets or sets the external series timer identifier.
  72. /// </summary>
  73. /// <value>The external series timer identifier.</value>
  74. public string ExternalSeriesTimerId { get; set; }
  75. /// <summary>
  76. /// Gets or sets the pre padding seconds.
  77. /// </summary>
  78. /// <value>The pre padding seconds.</value>
  79. public int PrePaddingSeconds { get; set; }
  80. /// <summary>
  81. /// Gets or sets the post padding seconds.
  82. /// </summary>
  83. /// <value>The post padding seconds.</value>
  84. public int PostPaddingSeconds { get; set; }
  85. /// <summary>
  86. /// Gets or sets a value indicating whether this instance is pre padding required.
  87. /// </summary>
  88. /// <value><c>true</c> if this instance is pre padding required; otherwise, <c>false</c>.</value>
  89. public bool IsPrePaddingRequired { get; set; }
  90. /// <summary>
  91. /// Gets or sets a value indicating whether this instance is post padding required.
  92. /// </summary>
  93. /// <value><c>true</c> if this instance is post padding required; otherwise, <c>false</c>.</value>
  94. public bool IsPostPaddingRequired { get; set; }
  95. /// <summary>
  96. /// Gets or sets the run time ticks.
  97. /// </summary>
  98. /// <value>The run time ticks.</value>
  99. public long? RunTimeTicks { get; set; }
  100. /// <summary>
  101. /// Gets or sets the priority.
  102. /// </summary>
  103. /// <value>The priority.</value>
  104. public int Priority { get; set; }
  105. /// <summary>
  106. /// Gets or sets the program information.
  107. /// </summary>
  108. /// <value>The program information.</value>
  109. public ProgramInfoDto ProgramInfo { get; set; }
  110. /// <summary>
  111. /// Occurs when a property value changes.
  112. /// </summary>
  113. public event PropertyChangedEventHandler PropertyChanged;
  114. }
  115. }