LiveTvServiceStatusInfo.cs 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. using System.Collections.Generic;
  2. using MediaBrowser.Model.LiveTv;
  3. namespace MediaBrowser.Controller.LiveTv
  4. {
  5. public class LiveTvServiceStatusInfo
  6. {
  7. /// <summary>
  8. /// Gets or sets the status.
  9. /// </summary>
  10. /// <value>The status.</value>
  11. public LiveTvServiceStatus Status { get; set; }
  12. /// <summary>
  13. /// Gets or sets the status message.
  14. /// </summary>
  15. /// <value>The status message.</value>
  16. public string StatusMessage { get; set; }
  17. /// <summary>
  18. /// Gets or sets the version.
  19. /// </summary>
  20. /// <value>The version.</value>
  21. public string Version { get; set; }
  22. /// <summary>
  23. /// Gets or sets a value indicating whether this instance has update available.
  24. /// </summary>
  25. /// <value><c>true</c> if this instance has update available; otherwise, <c>false</c>.</value>
  26. public bool HasUpdateAvailable { get; set; }
  27. /// <summary>
  28. /// Gets or sets the tuners.
  29. /// </summary>
  30. /// <value>The tuners.</value>
  31. public List<LiveTvTunerInfo> Tuners { get; set; }
  32. /// <summary>
  33. /// Gets or sets a value indicating whether this instance is visible.
  34. /// </summary>
  35. /// <value><c>true</c> if this instance is visible; otherwise, <c>false</c>.</value>
  36. public bool IsVisible { get; set; }
  37. public LiveTvServiceStatusInfo()
  38. {
  39. Tuners = new List<LiveTvTunerInfo>();
  40. IsVisible = true;
  41. }
  42. }
  43. }