MovieRecommendationQuery.cs 1.1 KB

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