ChannelQuery.cs 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. 
  2. namespace MediaBrowser.Model.Channels
  3. {
  4. public class ChannelQuery
  5. {
  6. /// <summary>
  7. /// Gets or sets the user identifier.
  8. /// </summary>
  9. /// <value>The user identifier.</value>
  10. public string UserId { get; set; }
  11. /// <summary>
  12. /// Skips over a given number of items within the results. Use for paging.
  13. /// </summary>
  14. /// <value>The start index.</value>
  15. public int? StartIndex { get; set; }
  16. /// <summary>
  17. /// The maximum number of items to return
  18. /// </summary>
  19. /// <value>The limit.</value>
  20. public int? Limit { get; set; }
  21. }
  22. public class ChannelItemQuery
  23. {
  24. /// <summary>
  25. /// Gets or sets the channel identifier.
  26. /// </summary>
  27. /// <value>The channel identifier.</value>
  28. public string ChannelId { get; set; }
  29. /// <summary>
  30. /// Gets or sets the category identifier.
  31. /// </summary>
  32. /// <value>The category identifier.</value>
  33. public string CategoryId { 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. }
  50. }