jellyfin/MediaBrowser.Model/Querying/ItemsByNameQuery.cs

84 lines
2.7 KiB
C#
Raw Normal View History

2013-03-11 05:06:55 +00:00
using MediaBrowser.Model.Entities;
2013-03-02 07:16:52 +00:00
2013-03-10 05:36:39 +00:00
namespace MediaBrowser.Model.Querying
2013-03-02 07:16:52 +00:00
{
/// <summary>
/// Class ItemsByNameQuery
/// </summary>
public class ItemsByNameQuery
{
/// <summary>
/// Gets or sets the user id.
/// </summary>
/// <value>The user id.</value>
public string UserId { get; set; }
2013-03-02 07:16:52 +00:00
/// <summary>
/// Gets or sets the start index.
/// </summary>
/// <value>The start index.</value>
public int? StartIndex { get; set; }
/// <summary>
/// Gets or sets the size of the page.
/// </summary>
/// <value>The size of the page.</value>
public int? Limit { get; set; }
2013-03-02 07:16:52 +00:00
/// <summary>
2013-04-21 01:17:59 +00:00
/// Gets or sets a value indicating whether this <see cref="ItemsByNameQuery" /> is recursive.
2013-03-02 07:16:52 +00:00
/// </summary>
/// <value><c>true</c> if recursive; otherwise, <c>false</c>.</value>
public bool Recursive { get; set; }
/// <summary>
/// Gets or sets the sort order.
/// </summary>
/// <value>The sort order.</value>
public SortOrder? SortOrder { get; set; }
/// <summary>
2013-03-11 05:06:55 +00:00
/// Gets or sets the parent id.
2013-03-02 07:16:52 +00:00
/// </summary>
2013-03-11 05:06:55 +00:00
/// <value>The parent id.</value>
public string ParentId { get; set; }
2013-03-02 07:16:52 +00:00
/// <summary>
/// Fields to return within the items, in addition to basic information
/// </summary>
/// <value>The fields.</value>
public ItemFields[] Fields { get; set; }
2013-04-21 01:17:59 +00:00
2013-04-24 22:34:38 +00:00
/// <summary>
/// Gets or sets the exclude item types.
/// </summary>
/// <value>The exclude item types.</value>
public string[] ExcludeItemTypes { get; set; }
/// <summary>
/// Gets or sets the include item types.
/// </summary>
/// <value>The include item types.</value>
public string[] IncludeItemTypes { get; set; }
/// <summary>
/// Gets or sets the media types.
/// </summary>
/// <value>The media types.</value>
public string[] MediaTypes { get; set; }
/// <summary>
/// What to sort the results by
/// </summary>
/// <value>The sort by.</value>
public string[] SortBy { get; set; }
2013-04-21 01:17:59 +00:00
/// <summary>
/// Initializes a new instance of the <see cref="ItemsByNameQuery"/> class.
/// </summary>
public ItemsByNameQuery()
{
Fields = new ItemFields[] {};
2013-04-24 22:34:38 +00:00
Recursive = true;
MediaTypes = new string[] { };
SortBy = new string[] { };
ExcludeItemTypes = new string[] { };
IncludeItemTypes = new string[] { };
2013-04-21 01:17:59 +00:00
}
2013-03-02 07:16:52 +00:00
}
}