LiveTvInfo.cs 882 B

12345678910111213141516171819202122232425262728293031
  1. using System;
  2. namespace MediaBrowser.Model.LiveTv
  3. {
  4. public class LiveTvInfo
  5. {
  6. /// <summary>
  7. /// Gets or sets the services.
  8. /// </summary>
  9. /// <value>The services.</value>
  10. public LiveTvServiceInfo[] Services { get; set; }
  11. /// <summary>
  12. /// Gets or sets a value indicating whether this instance is enabled.
  13. /// </summary>
  14. /// <value><c>true</c> if this instance is enabled; otherwise, <c>false</c>.</value>
  15. public bool IsEnabled { get; set; }
  16. /// <summary>
  17. /// Gets or sets the enabled users.
  18. /// </summary>
  19. /// <value>The enabled users.</value>
  20. public string[] EnabledUsers { get; set; }
  21. public LiveTvInfo()
  22. {
  23. Services = Array.Empty<LiveTvServiceInfo>();
  24. EnabledUsers = Array.Empty<string>();
  25. }
  26. }
  27. }