#pragma warning disable CS1591
using System;
using MediaBrowser.Model.Entities;
namespace MediaBrowser.Model.Querying
{
public class LatestItemsQuery
{
///
/// The user to localize search results for
///
/// The user id.
public Guid UserId { get; set; }
///
/// 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; }
///
/// Skips over a given number of items within the results. Use for paging.
///
/// The start index.
public int? StartIndex { get; set; }
///
/// The maximum number of items to return
///
/// The limit.
public int? Limit { get; set; }
///
/// 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 string[] 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; }
public LatestItemsQuery()
{
EnableImageTypes = new ImageType[] { };
}
}
}