BaseTimerInfoDto.cs 3.4 KB

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