ItemsByNameQuery.cs 1.8 KB

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