TimerInfo.cs 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. using MediaBrowser.Model.LiveTv;
  2. using System;
  3. namespace MediaBrowser.Controller.LiveTv
  4. {
  5. public class TimerInfo
  6. {
  7. /// <summary>
  8. /// Id of the recording.
  9. /// </summary>
  10. public string Id { get; set; }
  11. /// <summary>
  12. /// Gets or sets the recurring timer identifier.
  13. /// </summary>
  14. /// <value>The recurring timer identifier.</value>
  15. public string RecurringTimerId { get; set; }
  16. /// <summary>
  17. /// ChannelId of the recording.
  18. /// </summary>
  19. public string ChannelId { get; set; }
  20. /// <summary>
  21. /// ChannelName of the recording.
  22. /// </summary>
  23. public string ChannelName { get; set; }
  24. /// <summary>
  25. /// Gets or sets the program identifier.
  26. /// </summary>
  27. /// <value>The program identifier.</value>
  28. public string ProgramId { get; set; }
  29. /// <summary>
  30. /// Name of the recording.
  31. /// </summary>
  32. public string Name { get; set; }
  33. /// <summary>
  34. /// Description of the recording.
  35. /// </summary>
  36. public string Description { get; set; }
  37. /// <summary>
  38. /// The start date of the recording, in UTC.
  39. /// </summary>
  40. public DateTime StartDate { get; set; }
  41. /// <summary>
  42. /// The end date of the recording, in UTC.
  43. /// </summary>
  44. public DateTime EndDate { get; set; }
  45. /// <summary>
  46. /// Gets or sets the status.
  47. /// </summary>
  48. /// <value>The status.</value>
  49. public RecordingStatus Status { get; set; }
  50. /// <summary>
  51. /// Gets or sets the pre padding seconds.
  52. /// </summary>
  53. /// <value>The pre padding seconds.</value>
  54. public int PrePaddingSeconds { get; set; }
  55. /// <summary>
  56. /// Gets or sets the post padding seconds.
  57. /// </summary>
  58. /// <value>The post padding seconds.</value>
  59. public int PostPaddingSeconds { get; set; }
  60. }
  61. }