jellyfin/MediaBrowser.Controller/Entities/InternalPeopleQuery.cs

31 lines
736 B
C#
Raw Normal View History

using System;
2018-12-28 00:27:57 +01:00
namespace MediaBrowser.Controller.Entities
{
public class InternalPeopleQuery
{
2020-04-03 22:44:18 +02:00
/// <summary>
/// Gets or sets the maximum number of items the query should return.
2020-04-10 21:02:54 +02:00
/// </summary>
2020-04-03 17:30:01 +02:00
public int Limit { get; set; }
2018-12-28 00:27:57 +01:00
public Guid ItemId { get; set; }
2020-04-03 17:30:01 +02:00
2018-12-28 00:27:57 +01:00
public string[] PersonTypes { get; set; }
2020-04-03 17:30:01 +02:00
2018-12-28 00:27:57 +01:00
public string[] ExcludePersonTypes { get; set; }
2020-04-03 17:30:01 +02:00
2018-12-28 00:27:57 +01:00
public int? MaxListOrder { get; set; }
2020-04-03 17:30:01 +02:00
2018-12-28 00:27:57 +01:00
public Guid AppearsInItemId { get; set; }
2020-04-03 17:30:01 +02:00
2018-12-28 00:27:57 +01:00
public string NameContains { get; set; }
public InternalPeopleQuery()
{
2018-12-27 22:43:48 +01:00
PersonTypes = Array.Empty<string>();
ExcludePersonTypes = Array.Empty<string>();
2018-12-28 00:27:57 +01:00
}
}
}