jellyfin/MediaBrowser.Model/DTO/ItemsResult.cs
2013-02-20 20:33:05 -05:00

26 lines
653 B
C#

using ProtoBuf;
namespace MediaBrowser.Model.DTO
{
/// <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)]
public DtoBaseItem[] Items { get; set; }
/// <summary>
/// The total number of records available
/// </summary>
/// <value>The total record count.</value>
[ProtoMember(2)]
public int TotalRecordCount { get; set; }
}
}