LiveTvServiceInfo.cs 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. using System;
  2. namespace MediaBrowser.Model.LiveTv
  3. {
  4. /// <summary>
  5. /// Class ServiceInfo
  6. /// </summary>
  7. public class LiveTvServiceInfo
  8. {
  9. /// <summary>
  10. /// Gets or sets the name.
  11. /// </summary>
  12. /// <value>The name.</value>
  13. public string Name { get; set; }
  14. /// <summary>
  15. /// Gets or sets the home page URL.
  16. /// </summary>
  17. /// <value>The home page URL.</value>
  18. public string HomePageUrl { get; set; }
  19. /// <summary>
  20. /// Gets or sets the status.
  21. /// </summary>
  22. /// <value>The status.</value>
  23. public LiveTvServiceStatus Status { get; set; }
  24. /// <summary>
  25. /// Gets or sets the status message.
  26. /// </summary>
  27. /// <value>The status message.</value>
  28. public string StatusMessage { get; set; }
  29. /// <summary>
  30. /// Gets or sets the version.
  31. /// </summary>
  32. /// <value>The version.</value>
  33. public string Version { get; set; }
  34. /// <summary>
  35. /// Gets or sets a value indicating whether this instance has update available.
  36. /// </summary>
  37. /// <value><c>true</c> if this instance has update available; otherwise, <c>false</c>.</value>
  38. public bool HasUpdateAvailable { get; set; }
  39. /// <summary>
  40. /// Gets or sets a value indicating whether this instance is visible.
  41. /// </summary>
  42. /// <value><c>true</c> if this instance is visible; otherwise, <c>false</c>.</value>
  43. public bool IsVisible { get; set; }
  44. public string[] Tuners { get; set; }
  45. public LiveTvServiceInfo()
  46. {
  47. Tuners = Array.Empty<string>();
  48. }
  49. }
  50. }