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. public MovieRecommendationQuery()
  9. {
  10. ItemLimit = 10;
  11. CategoryLimit = 6;
  12. Fields = Array.Empty<ItemFields>();
  13. }
  14. /// <summary>
  15. /// Gets or sets the user identifier.
  16. /// </summary>
  17. /// <value>The user identifier.</value>
  18. public string UserId { get; set; }
  19. /// <summary>
  20. /// Gets or sets the parent identifier.
  21. /// </summary>
  22. /// <value>The parent identifier.</value>
  23. public string ParentId { get; set; }
  24. /// <summary>
  25. /// Gets or sets the item limit.
  26. /// </summary>
  27. /// <value>The item limit.</value>
  28. public int ItemLimit { get; set; }
  29. /// <summary>
  30. /// Gets or sets the category limit.
  31. /// </summary>
  32. /// <value>The category limit.</value>
  33. public int CategoryLimit { get; set; }
  34. /// <summary>
  35. /// Gets or sets the fields.
  36. /// </summary>
  37. /// <value>The fields.</value>
  38. public ItemFields[] Fields { get; set; }
  39. }
  40. }