LiveTvTunerInfo.cs 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. #nullable disable
  2. #pragma warning disable CS1591
  3. using System.Collections.Generic;
  4. using MediaBrowser.Model.LiveTv;
  5. namespace MediaBrowser.Controller.LiveTv
  6. {
  7. public class LiveTvTunerInfo
  8. {
  9. public LiveTvTunerInfo()
  10. {
  11. Clients = new List<string>();
  12. }
  13. /// <summary>
  14. /// Gets or sets the type of the source.
  15. /// </summary>
  16. /// <value>The type of the source.</value>
  17. public string SourceType { get; set; }
  18. /// <summary>
  19. /// Gets or sets the name.
  20. /// </summary>
  21. /// <value>The name.</value>
  22. public string Name { get; set; }
  23. /// <summary>
  24. /// Gets or sets the identifier.
  25. /// </summary>
  26. /// <value>The identifier.</value>
  27. public string Id { get; set; }
  28. /// <summary>
  29. /// Gets or sets the URL.
  30. /// </summary>
  31. /// <value>The URL.</value>
  32. public string Url { get; set; }
  33. /// <summary>
  34. /// Gets or sets the status.
  35. /// </summary>
  36. /// <value>The status.</value>
  37. public LiveTvTunerStatus Status { get; set; }
  38. /// <summary>
  39. /// Gets or sets the channel identifier.
  40. /// </summary>
  41. /// <value>The channel identifier.</value>
  42. public string ChannelId { get; set; }
  43. /// <summary>
  44. /// Gets or sets the recording identifier.
  45. /// </summary>
  46. /// <value>The recording identifier.</value>
  47. public string RecordingId { get; set; }
  48. /// <summary>
  49. /// Gets or sets the name of the program.
  50. /// </summary>
  51. /// <value>The name of the program.</value>
  52. public string ProgramName { get; set; }
  53. /// <summary>
  54. /// Gets or sets the clients.
  55. /// </summary>
  56. /// <value>The clients.</value>
  57. public List<string> Clients { get; set; }
  58. /// <summary>
  59. /// Gets or sets a value indicating whether this instance can reset.
  60. /// </summary>
  61. /// <value><c>true</c> if this instance can reset; otherwise, <c>false</c>.</value>
  62. public bool CanReset { get; set; }
  63. }
  64. }