//
// Copyright (c) PlaceholderCompany. All rights reserved.
//
#nullable disable
#pragma warning disable CS1591
using System;
using Jellyfin.Data.Enums;
using Jellyfin.Database.Implementations.Entities;
using MediaBrowser.Model.Entities;
namespace MediaBrowser.Model.Querying
{
public class LatestItemsQuery
{
public LatestItemsQuery()
{
EnableImageTypes = Array.Empty();
}
///
/// Gets or sets the user to localize search results for.
///
/// The user id.
public User User { get; set; }
///
/// Gets or sets the parent id.
/// Specify this to localize the search to a specific item or folder. Omit to use the root.
///
/// The parent id.
public Guid ParentId { get; set; }
///
/// Gets or sets the start index. Used for paging.
///
/// The start index.
public int? StartIndex { get; set; }
///
/// Gets or sets the maximum number of items to return.
///
/// The limit.
public int? Limit { get; set; }
///
/// Gets or sets the fields to return within the items, in addition to basic information.
///
/// The fields.
public ItemFields[] Fields { get; set; }
///
/// Gets or sets the include item types.
///
/// The include item types.
public BaseItemKind[] IncludeItemTypes { get; set; }
///
/// Gets or sets a value indicating whether this instance is played.
///
/// null if [is played] contains no value, true if [is played]; otherwise, false.
public bool? IsPlayed { get; set; }
///
/// Gets or sets a value indicating whether [group items].
///
/// true if [group items]; otherwise, false.
public bool GroupItems { get; set; }
///
/// Gets or sets a value indicating whether [enable images].
///
/// null if [enable images] contains no value, true if [enable images]; otherwise, false.
public bool? EnableImages { get; set; }
///
/// Gets or sets the image type limit.
///
/// The image type limit.
public int? ImageTypeLimit { get; set; }
///
/// Gets or sets the enable image types.
///
/// The enable image types.
public ImageType[] EnableImageTypes { get; set; }
}
}