2
0

MovieRecommendationQuery.cs 1.2 KB

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