ItemsByNameQuery.cs 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. using MediaBrowser.Model.Entities;
  2. using System;
  3. namespace MediaBrowser.Model.Querying
  4. {
  5. /// <summary>
  6. /// Class ItemsByNameQuery
  7. /// </summary>
  8. public class ItemsByNameQuery
  9. {
  10. /// <summary>
  11. /// Gets or sets the user id.
  12. /// </summary>
  13. /// <value>The user id.</value>
  14. public Guid UserId { get; set; }
  15. /// <summary>
  16. /// Gets or sets the start index.
  17. /// </summary>
  18. /// <value>The start index.</value>
  19. public int? StartIndex { get; set; }
  20. /// <summary>
  21. /// Gets or sets the size of the page.
  22. /// </summary>
  23. /// <value>The size of the page.</value>
  24. public int? Limit { get; set; }
  25. /// <summary>
  26. /// Gets or sets a value indicating whether this <see cref="GetItemsByName" /> is recursive.
  27. /// </summary>
  28. /// <value><c>true</c> if recursive; otherwise, <c>false</c>.</value>
  29. public bool Recursive { get; set; }
  30. /// <summary>
  31. /// Gets or sets the sort order.
  32. /// </summary>
  33. /// <value>The sort order.</value>
  34. public SortOrder? SortOrder { get; set; }
  35. /// <summary>
  36. /// Gets or sets the parent id.
  37. /// </summary>
  38. /// <value>The parent id.</value>
  39. public string ParentId { get; set; }
  40. /// <summary>
  41. /// Fields to return within the items, in addition to basic information
  42. /// </summary>
  43. /// <value>The fields.</value>
  44. public ItemFields[] Fields { get; set; }
  45. /// <summary>
  46. /// Gets or sets the person types.
  47. /// </summary>
  48. /// <value>The person types.</value>
  49. public string[] PersonTypes { get; set; }
  50. }
  51. }