jellyfin/MediaBrowser.Controller/Entities/InternalPeopleQuery.cs

40 lines
904 B
C#
Raw Normal View History

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