aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Model/DTO/ItemsResult.cs
blob: 623e04fdd2fb8d696b5dd128ec786ce362c4649d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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 BaseItemDto[] Items { get; set; }

        /// <summary>
        /// The total number of records available
        /// </summary>
        /// <value>The total record count.</value>
        [ProtoMember(2)]
        public int TotalRecordCount { get; set; }
    }
}