BaseTimerInfoDto.cs 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  1. using MediaBrowser.Model.Dto;
  2. using MediaBrowser.Model.Extensions;
  3. using System;
  4. using System.ComponentModel;
  5. namespace MediaBrowser.Model.LiveTv
  6. {
  7. public class BaseTimerInfoDto : IHasPropertyChangedEvent, IHasServerId
  8. {
  9. /// <summary>
  10. /// Occurs when a property value changes.
  11. /// </summary>
  12. public event PropertyChangedEventHandler PropertyChanged;
  13. /// <summary>
  14. /// Id of the recording.
  15. /// </summary>
  16. public string Id { get; set; }
  17. /// <summary>
  18. /// Gets or sets the server identifier.
  19. /// </summary>
  20. /// <value>The server identifier.</value>
  21. public string ServerId { get; set; }
  22. /// <summary>
  23. /// Gets or sets the external identifier.
  24. /// </summary>
  25. /// <value>The external identifier.</value>
  26. public string ExternalId { get; set; }
  27. /// <summary>
  28. /// ChannelId of the recording.
  29. /// </summary>
  30. public string ChannelId { get; set; }
  31. /// <summary>
  32. /// Gets or sets the external channel identifier.
  33. /// </summary>
  34. /// <value>The external channel identifier.</value>
  35. public string ExternalChannelId { get; set; }
  36. /// <summary>
  37. /// ChannelName of the recording.
  38. /// </summary>
  39. public string ChannelName { get; set; }
  40. /// <summary>
  41. /// Gets or sets the program identifier.
  42. /// </summary>
  43. /// <value>The program identifier.</value>
  44. public string ProgramId { get; set; }
  45. /// <summary>
  46. /// Gets or sets the external program identifier.
  47. /// </summary>
  48. /// <value>The external program identifier.</value>
  49. public string ExternalProgramId { get; set; }
  50. /// <summary>
  51. /// Name of the recording.
  52. /// </summary>
  53. public string Name { get; set; }
  54. /// <summary>
  55. /// Description of the recording.
  56. /// </summary>
  57. public string Overview { get; set; }
  58. /// <summary>
  59. /// The start date of the recording, in UTC.
  60. /// </summary>
  61. public DateTime StartDate { get; set; }
  62. /// <summary>
  63. /// The end date of the recording, in UTC.
  64. /// </summary>
  65. public DateTime EndDate { get; set; }
  66. /// <summary>
  67. /// Gets or sets the name of the service.
  68. /// </summary>
  69. /// <value>The name of the service.</value>
  70. public string ServiceName { get; set; }
  71. /// <summary>
  72. /// Gets or sets the priority.
  73. /// </summary>
  74. /// <value>The priority.</value>
  75. public int Priority { get; set; }
  76. /// <summary>
  77. /// Gets or sets the pre padding seconds.
  78. /// </summary>
  79. /// <value>The pre padding seconds.</value>
  80. public int PrePaddingSeconds { get; set; }
  81. /// <summary>
  82. /// Gets or sets the post padding seconds.
  83. /// </summary>
  84. /// <value>The post padding seconds.</value>
  85. public int PostPaddingSeconds { get; set; }
  86. /// <summary>
  87. /// Gets or sets a value indicating whether this instance is pre padding required.
  88. /// </summary>
  89. /// <value><c>true</c> if this instance is pre padding required; otherwise, <c>false</c>.</value>
  90. public bool IsPrePaddingRequired { get; set; }
  91. /// <summary>
  92. /// Gets or sets a value indicating whether this instance is post padding required.
  93. /// </summary>
  94. /// <value><c>true</c> if this instance is post padding required; otherwise, <c>false</c>.</value>
  95. public bool IsPostPaddingRequired { get; set; }
  96. }
  97. }