BaseTimerInfoDto.cs 4.0 KB

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