using System;
using Jellyfin.Data.Enums;
namespace MediaBrowser.Controller.Library;
///
/// Query object for search providers.
///
public class SearchProviderQuery
{
///
/// Gets the search term.
///
public required string SearchTerm { get; init; }
///
/// Gets the user ID for user-specific searches.
///
public Guid? UserId { get; init; }
///
/// Gets the item types to include in the search.
///
public BaseItemKind[] IncludeItemTypes { get; init; } = [];
///
/// Gets the item types to exclude from the search.
///
public BaseItemKind[] ExcludeItemTypes { get; init; } = [];
///
/// Gets the media types to include in the search.
///
public MediaType[] MediaTypes { get; init; } = [];
///
/// Gets the maximum number of results to return.
///
public int? Limit { get; init; }
///
/// Gets the parent ID to scope the search.
///
public Guid? ParentId { get; init; }
}