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