BaseTimerInfoDto.cs 3.4 KB

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