jellyfin/MediaBrowser.Model/Querying/ItemsResult.cs

31 lines
819 B
C#
Raw Normal View History

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>
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
}
}