jellyfin/MediaBrowser.Model/Querying/ItemsResult.cs

31 lines
819 B
C#
Raw Normal View History

2013-03-09 22:36:39 -07:00
using MediaBrowser.Model.Dto;
2013-02-20 18:33:05 -07:00
2013-03-09 22:36:39 -07:00
namespace MediaBrowser.Model.Querying
2013-02-20 18:33:05 -07: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>
public BaseItemDto[] Items { get; set; }
2013-02-20 18:33:05 -07:00
/// <summary>
/// The total number of records available
/// </summary>
/// <value>The total record count.</value>
public int TotalRecordCount { get; set; }
2013-04-20 18:17:59 -07:00
/// <summary>
/// Initializes a new instance of the <see cref="ItemsResult"/> class.
/// </summary>
public ItemsResult()
{
Items = new BaseItemDto[] { };
}
2013-02-20 18:33:05 -07:00
}
}