BaseTimerInfoDto.cs 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  1. using MediaBrowser.Model.Dto;
  2. using System;
  3. namespace MediaBrowser.Model.LiveTv
  4. {
  5. public class BaseTimerInfoDto : IHasServerId
  6. {
  7. /// <summary>
  8. /// Id of the recording.
  9. /// </summary>
  10. public string Id { get; set; }
  11. public string Type { get; set; }
  12. /// <summary>
  13. /// Gets or sets the server identifier.
  14. /// </summary>
  15. /// <value>The server identifier.</value>
  16. public string ServerId { get; set; }
  17. /// <summary>
  18. /// Gets or sets the external identifier.
  19. /// </summary>
  20. /// <value>The external identifier.</value>
  21. public string ExternalId { get; set; }
  22. /// <summary>
  23. /// ChannelId of the recording.
  24. /// </summary>
  25. public string ChannelId { get; set; }
  26. /// <summary>
  27. /// Gets or sets the external channel identifier.
  28. /// </summary>
  29. /// <value>The external channel identifier.</value>
  30. public string ExternalChannelId { get; set; }
  31. /// <summary>
  32. /// ChannelName of the recording.
  33. /// </summary>
  34. public string ChannelName { get; set; }
  35. /// <summary>
  36. /// Gets or sets the program identifier.
  37. /// </summary>
  38. /// <value>The program identifier.</value>
  39. public string ProgramId { get; set; }
  40. /// <summary>
  41. /// Gets or sets the external program identifier.
  42. /// </summary>
  43. /// <value>The external program identifier.</value>
  44. public string ExternalProgramId { get; set; }
  45. /// <summary>
  46. /// Name of the recording.
  47. /// </summary>
  48. public string Name { get; set; }
  49. /// <summary>
  50. /// Description of the recording.
  51. /// </summary>
  52. public string Overview { get; set; }
  53. /// <summary>
  54. /// The start date of the recording, in UTC.
  55. /// </summary>
  56. public DateTime StartDate { get; set; }
  57. /// <summary>
  58. /// The end date of the recording, in UTC.
  59. /// </summary>
  60. public DateTime EndDate { get; set; }
  61. /// <summary>
  62. /// Gets or sets the name of the service.
  63. /// </summary>
  64. /// <value>The name of the service.</value>
  65. public string ServiceName { get; set; }
  66. /// <summary>
  67. /// Gets or sets the priority.
  68. /// </summary>
  69. /// <value>The priority.</value>
  70. public int Priority { get; set; }
  71. /// <summary>
  72. /// Gets or sets the pre padding seconds.
  73. /// </summary>
  74. /// <value>The pre padding seconds.</value>
  75. public int PrePaddingSeconds { get; set; }
  76. /// <summary>
  77. /// Gets or sets the post padding seconds.
  78. /// </summary>
  79. /// <value>The post padding seconds.</value>
  80. public int PostPaddingSeconds { get; set; }
  81. /// <summary>
  82. /// Gets or sets a value indicating whether this instance is pre padding required.
  83. /// </summary>
  84. /// <value><c>true</c> if this instance is pre padding required; otherwise, <c>false</c>.</value>
  85. public bool IsPrePaddingRequired { get; set; }
  86. /// <summary>
  87. /// Gets or sets a value indicating whether this instance is post padding required.
  88. /// </summary>
  89. /// <value><c>true</c> if this instance is post padding required; otherwise, <c>false</c>.</value>
  90. public bool IsPostPaddingRequired { get; set; }
  91. public KeepUntil KeepUntil { get; set; }
  92. }
  93. }