ChannelQuery.cs 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  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. public AllChannelMediaQuery()
  40. {
  41. ChannelIds = new string[] { };
  42. }
  43. }
  44. }