| | | 1 | | #nullable disable |
| | | 2 | | |
| | | 3 | | #pragma warning disable CS1591 |
| | | 4 | | |
| | | 5 | | using System; |
| | | 6 | | using System.Collections.Generic; |
| | | 7 | | using Jellyfin.Database.Implementations.Entities; |
| | | 8 | | |
| | | 9 | | namespace MediaBrowser.Controller.Entities |
| | | 10 | | { |
| | | 11 | | public class InternalPeopleQuery |
| | | 12 | | { |
| | | 13 | | public InternalPeopleQuery() |
| | 0 | 14 | | : this(Array.Empty<string>(), Array.Empty<string>()) |
| | | 15 | | { |
| | 0 | 16 | | } |
| | | 17 | | |
| | | 18 | | public InternalPeopleQuery(IReadOnlyList<string> personTypes, IReadOnlyList<string> excludePersonTypes) |
| | | 19 | | { |
| | | 20 | | PersonTypes = personTypes; |
| | | 21 | | ExcludePersonTypes = excludePersonTypes; |
| | 0 | 22 | | } |
| | | 23 | | |
| | | 24 | | /// <summary> |
| | | 25 | | /// Gets or sets the maximum number of items the query should return. |
| | | 26 | | /// </summary> |
| | | 27 | | public int Limit { get; set; } |
| | | 28 | | |
| | | 29 | | public Guid ItemId { get; set; } |
| | | 30 | | |
| | | 31 | | public IReadOnlyList<string> PersonTypes { get; } |
| | | 32 | | |
| | | 33 | | public IReadOnlyList<string> ExcludePersonTypes { get; } |
| | | 34 | | |
| | | 35 | | public int? MaxListOrder { get; set; } |
| | | 36 | | |
| | | 37 | | public Guid AppearsInItemId { get; set; } |
| | | 38 | | |
| | | 39 | | public string NameContains { get; set; } |
| | | 40 | | |
| | | 41 | | public User User { get; set; } |
| | | 42 | | |
| | | 43 | | public bool? IsFavorite { get; set; } |
| | | 44 | | } |
| | | 45 | | } |