LatestItemsQuery.cs 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. 
  2. namespace MediaBrowser.Model.Querying
  3. {
  4. public class LatestItemsQuery
  5. {
  6. /// <summary>
  7. /// The user to localize search results for
  8. /// </summary>
  9. /// <value>The user id.</value>
  10. public string UserId { get; set; }
  11. /// <summary>
  12. /// Specify this to localize the search to a specific item or folder. Omit to use the root.
  13. /// </summary>
  14. /// <value>The parent id.</value>
  15. public string ParentId { get; set; }
  16. /// <summary>
  17. /// Skips over a given number of items within the results. Use for paging.
  18. /// </summary>
  19. /// <value>The start index.</value>
  20. public int? StartIndex { get; set; }
  21. /// <summary>
  22. /// The maximum number of items to return
  23. /// </summary>
  24. /// <value>The limit.</value>
  25. public int? Limit { get; set; }
  26. /// <summary>
  27. /// Fields to return within the items, in addition to basic information
  28. /// </summary>
  29. /// <value>The fields.</value>
  30. public ItemFields[] Fields { get; set; }
  31. /// <summary>
  32. /// Gets or sets the include item types.
  33. /// </summary>
  34. /// <value>The include item types.</value>
  35. public string[] IncludeItemTypes { get; set; }
  36. /// <summary>
  37. /// Gets or sets a value indicating whether this instance is played.
  38. /// </summary>
  39. /// <value><c>null</c> if [is played] contains no value, <c>true</c> if [is played]; otherwise, <c>false</c>.</value>
  40. public bool? IsPlayed { get; set; }
  41. /// <summary>
  42. /// Gets or sets a value indicating whether [group items].
  43. /// </summary>
  44. /// <value><c>true</c> if [group items]; otherwise, <c>false</c>.</value>
  45. public bool GroupItems { get; set; }
  46. }
  47. }