jellyfin/MediaBrowser.Model/Querying/MovieRecommendationQuery.cs
2018-12-27 18:27:57 -05:00

40 lines
1.1 KiB
C#

namespace MediaBrowser.Model.Querying
{
public class MovieRecommendationQuery
{
/// <summary>
/// Gets or sets the user identifier.
/// </summary>
/// <value>The user identifier.</value>
public string UserId { get; set; }
/// <summary>
/// Gets or sets the parent identifier.
/// </summary>
/// <value>The parent identifier.</value>
public string ParentId { get; set; }
/// <summary>
/// Gets or sets the item limit.
/// </summary>
/// <value>The item limit.</value>
public int ItemLimit { get; set; }
/// <summary>
/// Gets or sets the category limit.
/// </summary>
/// <value>The category limit.</value>
public int CategoryLimit { get; set; }
/// <summary>
/// Gets or sets the fields.
/// </summary>
/// <value>The fields.</value>
public ItemFields[] Fields { get; set; }
public MovieRecommendationQuery()
{
ItemLimit = 10;
CategoryLimit = 6;
Fields = new ItemFields[] { };
}
}
}