aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Model/Querying/MovieRecommendationQuery.cs
blob: 52c13835582f399141f48c287f2d02d764446017 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
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[] { };
        }
    }
}