LiveTvChannelQuery.cs 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. 
  2. namespace MediaBrowser.Model.LiveTv
  3. {
  4. /// <summary>
  5. /// Class ChannelQuery.
  6. /// </summary>
  7. public class LiveTvChannelQuery
  8. {
  9. /// <summary>
  10. /// Gets or sets the type of the channel.
  11. /// </summary>
  12. /// <value>The type of the channel.</value>
  13. public ChannelType? ChannelType { get; set; }
  14. /// <summary>
  15. /// Gets or sets a value indicating whether this instance is favorite.
  16. /// </summary>
  17. /// <value><c>null</c> if [is favorite] contains no value, <c>true</c> if [is favorite]; otherwise, <c>false</c>.</value>
  18. public bool? IsFavorite { get; set; }
  19. /// <summary>
  20. /// Gets or sets a value indicating whether this instance is liked.
  21. /// </summary>
  22. /// <value><c>null</c> if [is liked] contains no value, <c>true</c> if [is liked]; otherwise, <c>false</c>.</value>
  23. public bool? IsLiked { get; set; }
  24. /// <summary>
  25. /// Gets or sets a value indicating whether this instance is disliked.
  26. /// </summary>
  27. /// <value><c>null</c> if [is disliked] contains no value, <c>true</c> if [is disliked]; otherwise, <c>false</c>.</value>
  28. public bool? IsDisliked { get; set; }
  29. /// <summary>
  30. /// Gets or sets a value indicating whether [enable favorite sorting].
  31. /// </summary>
  32. /// <value><c>true</c> if [enable favorite sorting]; otherwise, <c>false</c>.</value>
  33. public bool EnableFavoriteSorting { get; set; }
  34. /// <summary>
  35. /// Gets or sets the user identifier.
  36. /// </summary>
  37. /// <value>The user identifier.</value>
  38. public string UserId { get; set; }
  39. /// <summary>
  40. /// Skips over a given number of items within the results. Use for paging.
  41. /// </summary>
  42. /// <value>The start index.</value>
  43. public int? StartIndex { get; set; }
  44. /// <summary>
  45. /// The maximum number of items to return
  46. /// </summary>
  47. /// <value>The limit.</value>
  48. public int? Limit { get; set; }
  49. /// <summary>
  50. /// Gets or sets a value indicating whether [add current program].
  51. /// </summary>
  52. /// <value><c>true</c> if [add current program]; otherwise, <c>false</c>.</value>
  53. public bool AddCurrentProgram { get; set; }
  54. }
  55. }