aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller/Entities/InternalPeopleQuery.cs
blob: b2d6a46091495cd0c8e5b0df7bed287d27412ad2 (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
39
#nullable disable

#pragma warning disable CS1591

using System;
using Jellyfin.Data.Entities;

namespace MediaBrowser.Controller.Entities
{
    public class InternalPeopleQuery
    {
        /// <summary>
        /// Gets or sets the maximum number 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 User User { get; set; }

        public bool? IsFavorite { get; set; }

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