mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-11-16 10:29:01 -07:00
e3f55a0c54
Co-authored-by: Patrick Barron <18354464+barronpm@users.noreply.github.com>
46 lines
1.1 KiB
C#
46 lines
1.1 KiB
C#
#nullable disable
|
|
|
|
#pragma warning disable CS1591
|
|
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using Jellyfin.Data.Entities;
|
|
|
|
namespace MediaBrowser.Controller.Entities
|
|
{
|
|
public class InternalPeopleQuery
|
|
{
|
|
public InternalPeopleQuery()
|
|
: this(Array.Empty<string>(), Array.Empty<string>())
|
|
{
|
|
}
|
|
|
|
public InternalPeopleQuery(IReadOnlyList<string> personTypes, IReadOnlyList<string> excludePersonTypes)
|
|
{
|
|
PersonTypes = personTypes;
|
|
ExcludePersonTypes = excludePersonTypes;
|
|
}
|
|
|
|
/// <summary>
|
|
/// Gets or sets the maximum number of items the query should return.
|
|
/// </summary>
|
|
public int Limit { get; set; }
|
|
|
|
public Guid ItemId { get; set; }
|
|
|
|
public IReadOnlyList<string> PersonTypes { get; }
|
|
|
|
public IReadOnlyList<string> ExcludePersonTypes { get; }
|
|
|
|
public int? MaxListOrder { get; set; }
|
|
|
|
public Guid AppearsInItemId { get; set; }
|
|
|
|
public string NameContains { get; set; }
|
|
|
|
public User User { get; set; }
|
|
|
|
public bool? IsFavorite { get; set; }
|
|
}
|
|
}
|