aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller/Entities/InternalPeopleQuery.cs
blob: 79b4d9444ba17c4a7fe6558f7112a532632f6c1f (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
using System;

namespace MediaBrowser.Controller.Entities
{
    public class InternalPeopleQuery
    {
        /// <summary>
        /// Gets or sets the maximum of items the query should return.
        /// <summary>
        public int Limit { get; set; }

        public Guid ItemId { get; set; }

        public string[] PersonTypes { get; set; }

        public string[] ExcludePersonTypes { get; set; }

        public int? MaxListOrder { get; set; }

        public Guid AppearsInItemId { get; set; }

        public string NameContains { get; set; }

        public InternalPeopleQuery()
        {
            PersonTypes = Array.Empty<string>();
            ExcludePersonTypes = Array.Empty<string>();
        }
    }
}