ChannelInfo.cs 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. using MediaBrowser.Model.LiveTv;
  2. namespace MediaBrowser.Controller.LiveTv
  3. {
  4. /// <summary>
  5. /// Class ChannelInfo
  6. /// </summary>
  7. public class ChannelInfo
  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 number.
  16. /// </summary>
  17. /// <value>The number.</value>
  18. public string Number { get; set; }
  19. /// <summary>
  20. /// Get or sets the Id.
  21. /// </summary>
  22. /// <value>The id of the channel.</value>
  23. public string Id { get; set; }
  24. /// <summary>
  25. /// Gets or sets the type of the channel.
  26. /// </summary>
  27. /// <value>The type of the channel.</value>
  28. public ChannelType ChannelType { get; set; }
  29. /// <summary>
  30. /// Supply the image path if it can be accessed directly from the file system
  31. /// </summary>
  32. /// <value>The image path.</value>
  33. public string ImagePath { get; set; }
  34. /// <summary>
  35. /// Supply the image url if it can be downloaded
  36. /// </summary>
  37. /// <value>The image URL.</value>
  38. public string ImageUrl { get; set; }
  39. /// <summary>
  40. /// Gets or sets a value indicating whether this instance has image.
  41. /// </summary>
  42. /// <value><c>null</c> if [has image] contains no value, <c>true</c> if [has image]; otherwise, <c>false</c>.</value>
  43. public bool? HasImage { get; set; }
  44. /// <summary>
  45. /// Gets or sets a value indicating whether this instance is favorite.
  46. /// </summary>
  47. /// <value><c>null</c> if [is favorite] contains no value, <c>true</c> if [is favorite]; otherwise, <c>false</c>.</value>
  48. public bool? IsFavorite { get; set; }
  49. }
  50. }