ChannelQuery.cs 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. namespace MediaBrowser.Model.Channels
  2. {
  3. public class ChannelQuery
  4. {
  5. /// <summary>
  6. /// Gets or sets the user identifier.
  7. /// </summary>
  8. /// <value>The user identifier.</value>
  9. public string UserId { get; set; }
  10. /// <summary>
  11. /// Skips over a given number of items within the results. Use for paging.
  12. /// </summary>
  13. /// <value>The start index.</value>
  14. public int? StartIndex { get; set; }
  15. /// <summary>
  16. /// The maximum number of items to return
  17. /// </summary>
  18. /// <value>The limit.</value>
  19. public int? Limit { get; set; }
  20. }
  21. public class AllChannelMediaQuery
  22. {
  23. public string[] ChannelIds { get; set; }
  24. /// <summary>
  25. /// Gets or sets the user identifier.
  26. /// </summary>
  27. /// <value>The user identifier.</value>
  28. public string UserId { get; set; }
  29. /// <summary>
  30. /// Skips over a given number of items within the results. Use for paging.
  31. /// </summary>
  32. /// <value>The start index.</value>
  33. public int? StartIndex { get; set; }
  34. /// <summary>
  35. /// The maximum number of items to return
  36. /// </summary>
  37. /// <value>The limit.</value>
  38. public int? Limit { get; set; }
  39. /// <summary>
  40. /// Gets or sets the content types.
  41. /// </summary>
  42. /// <value>The content types.</value>
  43. public ChannelMediaContentType[] ContentTypes { get; set; }
  44. public AllChannelMediaQuery()
  45. {
  46. ChannelIds = new string[] { };
  47. ContentTypes = new ChannelMediaContentType[] { };
  48. }
  49. }
  50. }