2021-05-06 15:39:20 -07:00
|
|
|
#nullable disable
|
|
|
|
|
2020-08-22 12:56:24 -07:00
|
|
|
#pragma warning disable CS1591
|
|
|
|
|
2019-01-13 13:01:16 -07:00
|
|
|
using System;
|
2021-05-11 04:55:46 -07:00
|
|
|
using System.Collections.Generic;
|
2020-11-05 04:27:22 -07:00
|
|
|
using Jellyfin.Data.Entities;
|
2018-12-27 16:27:57 -07:00
|
|
|
|
|
|
|
namespace MediaBrowser.Controller.Entities
|
|
|
|
{
|
|
|
|
public class InternalPeopleQuery
|
|
|
|
{
|
2021-05-11 04:55:46 -07:00
|
|
|
public InternalPeopleQuery()
|
|
|
|
: this(Array.Empty<string>(), Array.Empty<string>())
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
public InternalPeopleQuery(IReadOnlyList<string> personTypes, IReadOnlyList<string> excludePersonTypes)
|
|
|
|
{
|
|
|
|
PersonTypes = personTypes;
|
|
|
|
ExcludePersonTypes = excludePersonTypes;
|
|
|
|
}
|
|
|
|
|
2020-04-03 13:44:18 -07:00
|
|
|
/// <summary>
|
2020-04-03 15:21:54 -07:00
|
|
|
/// Gets or sets the maximum number of items the query should return.
|
2020-04-10 12:02:54 -07:00
|
|
|
/// </summary>
|
2020-04-03 08:30:01 -07:00
|
|
|
public int Limit { get; set; }
|
|
|
|
|
2018-12-27 16:27:57 -07:00
|
|
|
public Guid ItemId { get; set; }
|
2020-04-03 08:30:01 -07:00
|
|
|
|
2021-05-11 04:55:46 -07:00
|
|
|
public IReadOnlyList<string> PersonTypes { get; }
|
2020-04-03 08:30:01 -07:00
|
|
|
|
2021-05-11 04:55:46 -07:00
|
|
|
public IReadOnlyList<string> ExcludePersonTypes { get; }
|
2020-04-03 08:30:01 -07:00
|
|
|
|
2018-12-27 16:27:57 -07:00
|
|
|
public int? MaxListOrder { get; set; }
|
2020-04-03 08:30:01 -07:00
|
|
|
|
2018-12-27 16:27:57 -07:00
|
|
|
public Guid AppearsInItemId { get; set; }
|
2020-04-03 08:30:01 -07:00
|
|
|
|
2018-12-27 16:27:57 -07:00
|
|
|
public string NameContains { get; set; }
|
|
|
|
|
2020-11-05 04:27:22 -07:00
|
|
|
public User User { get; set; }
|
|
|
|
|
|
|
|
public bool? IsFavorite { get; set; }
|
2018-12-27 16:27:57 -07:00
|
|
|
}
|
|
|
|
}
|