jellyfin/MediaBrowser.Model/Querying/ItemsResult.cs

31 lines
819 B
C#
Raw Normal View History

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