BaseTimerInfoDto.cs 4.1 KB

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