2013-02-21 01:33:05 +00:00
|
|
|
|
using ProtoBuf;
|
|
|
|
|
|
2013-02-21 17:50:46 +00:00
|
|
|
|
namespace MediaBrowser.Model.Dto
|
2013-02-21 01:33:05 +00:00
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Represents the result of a query for items
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ProtoContract]
|
|
|
|
|
public class ItemsResult
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// The set of items returned based on sorting, paging, etc
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value>The items.</value>
|
|
|
|
|
[ProtoMember(1)]
|
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>
|
|
|
|
|
[ProtoMember(2)]
|
|
|
|
|
public int TotalRecordCount { get; set; }
|
|
|
|
|
}
|
|
|
|
|
}
|