BaseTimerInfoDto.cs 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125
  1. using MediaBrowser.Model.Dto;
  2. using System;
  3. using System.Collections.Generic;
  4. namespace MediaBrowser.Model.LiveTv
  5. {
  6. public class BaseTimerInfoDto : IHasServerId
  7. {
  8. /// <summary>
  9. /// Id of the recording.
  10. /// </summary>
  11. public string Id { get; set; }
  12. public string Type { get; set; }
  13. /// <summary>
  14. /// Gets or sets the server identifier.
  15. /// </summary>
  16. /// <value>The server identifier.</value>
  17. public string ServerId { get; set; }
  18. /// <summary>
  19. /// Gets or sets the external identifier.
  20. /// </summary>
  21. /// <value>The external identifier.</value>
  22. public string ExternalId { get; set; }
  23. /// <summary>
  24. /// ChannelId of the recording.
  25. /// </summary>
  26. public string ChannelId { get; set; }
  27. /// <summary>
  28. /// Gets or sets the external channel identifier.
  29. /// </summary>
  30. /// <value>The external channel identifier.</value>
  31. public string ExternalChannelId { get; set; }
  32. /// <summary>
  33. /// ChannelName of the recording.
  34. /// </summary>
  35. public string ChannelName { 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 List<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. }