LiveTvTunerInfoDto.cs 2.3 KB

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