2013-03-10 22:06:55 -07:00
|
|
|
|
using MediaBrowser.Model.Entities;
|
2013-03-02 00:16:52 -07:00
|
|
|
|
using System;
|
|
|
|
|
|
2013-03-09 22:36:39 -07:00
|
|
|
|
namespace MediaBrowser.Model.Querying
|
2013-03-02 00:16:52 -07:00
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Class ItemsByNameQuery
|
|
|
|
|
/// </summary>
|
|
|
|
|
public class ItemsByNameQuery
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the user id.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value>The user id.</value>
|
|
|
|
|
public Guid UserId { get; set; }
|
|
|
|
|
/// <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>
|
2013-03-08 14:56:07 -07:00
|
|
|
|
public int? Limit { get; set; }
|
2013-03-02 00:16:52 -07:00
|
|
|
|
/// <summary>
|
2013-04-10 09:04:13 -07:00
|
|
|
|
/// Gets or sets a value indicating whether this <see cref="ItemsByNameQuery"/> is recursive.
|
2013-03-02 00:16:52 -07: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-10 22:06:55 -07:00
|
|
|
|
/// Gets or sets the parent id.
|
2013-03-02 00:16:52 -07:00
|
|
|
|
/// </summary>
|
2013-03-10 22:06:55 -07:00
|
|
|
|
/// <value>The parent id.</value>
|
|
|
|
|
public string ParentId { get; set; }
|
2013-03-02 00:16:52 -07:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Fields to return within the items, in addition to basic information
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value>The fields.</value>
|
|
|
|
|
public ItemFields[] Fields { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the person types.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value>The person types.</value>
|
|
|
|
|
public string[] PersonTypes { get; set; }
|
|
|
|
|
}
|
|
|
|
|
}
|