MovieRecommendationQuery.cs 1.1 KB

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