2013-03-10 05:36:39 +00:00
|
|
|
|
using MediaBrowser.Model.Dto;
|
2013-02-21 01:33:05 +00:00
|
|
|
|
|
2013-03-10 05:36:39 +00:00
|
|
|
|
namespace MediaBrowser.Model.Querying
|
2013-02-21 01:33:05 +00:00
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Represents the result of a query for items
|
|
|
|
|
/// </summary>
|
|
|
|
|
public class ItemsResult
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// The set of items returned based on sorting, paging, etc
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value>The items.</value>
|
2013-02-21 17:50:46 +00:00
|
|
|
|
public BaseItemDto[] Items { get; set; }
|
2013-02-21 01:33:05 +00:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// The total number of records available
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value>The total record count.</value>
|
|
|
|
|
public int TotalRecordCount { get; set; }
|
2013-04-21 01:17:59 +00:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Initializes a new instance of the <see cref="ItemsResult"/> class.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public ItemsResult()
|
|
|
|
|
{
|
|
|
|
|
Items = new BaseItemDto[] { };
|
|
|
|
|
}
|
2013-02-21 01:33:05 +00:00
|
|
|
|
}
|
|
|
|
|
}
|