2020-04-05 16:10:56 +00:00
|
|
|
#nullable disable
|
2020-02-04 00:49:27 +00:00
|
|
|
#pragma warning disable CS1591
|
|
|
|
|
|
|
|
using System;
|
|
|
|
|
2018-12-27 23:27:57 +00:00
|
|
|
namespace MediaBrowser.Model.Querying
|
|
|
|
{
|
|
|
|
public class MovieRecommendationQuery
|
|
|
|
{
|
2021-02-20 22:13:04 +00:00
|
|
|
public MovieRecommendationQuery()
|
|
|
|
{
|
|
|
|
ItemLimit = 10;
|
|
|
|
CategoryLimit = 6;
|
|
|
|
Fields = Array.Empty<ItemFields>();
|
|
|
|
}
|
|
|
|
|
2018-12-27 23:27:57 +00:00
|
|
|
/// <summary>
|
|
|
|
/// Gets or sets the user identifier.
|
|
|
|
/// </summary>
|
|
|
|
/// <value>The user identifier.</value>
|
|
|
|
public string UserId { get; set; }
|
2020-02-04 00:49:27 +00:00
|
|
|
|
2018-12-27 23:27:57 +00:00
|
|
|
/// <summary>
|
|
|
|
/// Gets or sets the parent identifier.
|
|
|
|
/// </summary>
|
|
|
|
/// <value>The parent identifier.</value>
|
|
|
|
public string ParentId { get; set; }
|
2020-02-04 00:49:27 +00:00
|
|
|
|
2018-12-27 23:27:57 +00:00
|
|
|
/// <summary>
|
|
|
|
/// Gets or sets the item limit.
|
|
|
|
/// </summary>
|
|
|
|
/// <value>The item limit.</value>
|
|
|
|
public int ItemLimit { get; set; }
|
2020-02-04 00:49:27 +00:00
|
|
|
|
2018-12-27 23:27:57 +00:00
|
|
|
/// <summary>
|
|
|
|
/// Gets or sets the category limit.
|
|
|
|
/// </summary>
|
|
|
|
/// <value>The category limit.</value>
|
|
|
|
public int CategoryLimit { get; set; }
|
2020-02-23 11:11:43 +00:00
|
|
|
|
2018-12-27 23:27:57 +00:00
|
|
|
/// <summary>
|
|
|
|
/// Gets or sets the fields.
|
|
|
|
/// </summary>
|
|
|
|
/// <value>The fields.</value>
|
|
|
|
public ItemFields[] Fields { get; set; }
|
|
|
|
}
|
|
|
|
}
|