BaseTimerInfoDto.cs 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126
  1. using System;
  2. using MediaBrowser.Model.Dto;
  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 Guid 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. public string ChannelPrimaryImageTag { get; set; }
  36. /// <summary>
  37. /// Gets or sets the program identifier.
  38. /// </summary>
  39. /// <value>The program identifier.</value>
  40. public string ProgramId { get; set; }
  41. /// <summary>
  42. /// Gets or sets the external program identifier.
  43. /// </summary>
  44. /// <value>The external program identifier.</value>
  45. public string ExternalProgramId { get; set; }
  46. /// <summary>
  47. /// Name of the recording.
  48. /// </summary>
  49. public string Name { get; set; }
  50. /// <summary>
  51. /// Description of the recording.
  52. /// </summary>
  53. public string Overview { get; set; }
  54. /// <summary>
  55. /// The start date of the recording, in UTC.
  56. /// </summary>
  57. public DateTime StartDate { get; set; }
  58. /// <summary>
  59. /// The end date of the recording, in UTC.
  60. /// </summary>
  61. public DateTime EndDate { get; set; }
  62. /// <summary>
  63. /// Gets or sets the name of the service.
  64. /// </summary>
  65. /// <value>The name of the service.</value>
  66. public string ServiceName { get; set; }
  67. /// <summary>
  68. /// Gets or sets the priority.
  69. /// </summary>
  70. /// <value>The priority.</value>
  71. public int Priority { get; set; }
  72. /// <summary>
  73. /// Gets or sets the pre padding seconds.
  74. /// </summary>
  75. /// <value>The pre padding seconds.</value>
  76. public int PrePaddingSeconds { get; set; }
  77. /// <summary>
  78. /// Gets or sets the post padding seconds.
  79. /// </summary>
  80. /// <value>The post padding seconds.</value>
  81. public int PostPaddingSeconds { get; set; }
  82. /// <summary>
  83. /// Gets or sets a value indicating whether this instance is pre padding required.
  84. /// </summary>
  85. /// <value><c>true</c> if this instance is pre padding required; otherwise, <c>false</c>.</value>
  86. public bool IsPrePaddingRequired { get; set; }
  87. /// <summary>
  88. /// If the item does not have any backdrops, this will hold the Id of the Parent that has one.
  89. /// </summary>
  90. /// <value>The parent backdrop item id.</value>
  91. public string ParentBackdropItemId { get; set; }
  92. /// <summary>
  93. /// Gets or sets the parent backdrop image tags.
  94. /// </summary>
  95. /// <value>The parent backdrop image tags.</value>
  96. public string[] ParentBackdropImageTags { get; set; }
  97. /// <summary>
  98. /// Gets or sets a value indicating whether this instance is post padding required.
  99. /// </summary>
  100. /// <value><c>true</c> if this instance is post padding required; otherwise, <c>false</c>.</value>
  101. public bool IsPostPaddingRequired { get; set; }
  102. public KeepUntil KeepUntil { get; set; }
  103. }
  104. }