MovieRecommendationQuery.cs 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. #pragma warning disable CS1591
  2. using System;
  3. namespace MediaBrowser.Model.Querying
  4. {
  5. public class MovieRecommendationQuery
  6. {
  7. /// <summary>
  8. /// Gets or sets the user identifier.
  9. /// </summary>
  10. /// <value>The user identifier.</value>
  11. public string UserId { get; set; }
  12. /// <summary>
  13. /// Gets or sets the parent identifier.
  14. /// </summary>
  15. /// <value>The parent identifier.</value>
  16. public string ParentId { get; set; }
  17. /// <summary>
  18. /// Gets or sets the item limit.
  19. /// </summary>
  20. /// <value>The item limit.</value>
  21. public int ItemLimit { get; set; }
  22. /// <summary>
  23. /// Gets or sets the category limit.
  24. /// </summary>
  25. /// <value>The category limit.</value>
  26. public int CategoryLimit { get; set; }
  27. /// <summary>
  28. /// Gets or sets the fields.
  29. /// </summary>
  30. /// <value>The fields.</value>
  31. public ItemFields[] Fields { get; set; }
  32. public MovieRecommendationQuery()
  33. {
  34. ItemLimit = 10;
  35. CategoryLimit = 6;
  36. Fields = Array.Empty<ItemFields>();
  37. }
  38. }
  39. }