aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller/Channels/ChannelItemResult.cs
blob: 9557c91964f2bff0403d8d67e03629d287b8ac1b (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
26
27
28
29
using System;
using System.Collections.Generic;

namespace MediaBrowser.Controller.Channels
{
    /// <summary>
    /// The result of a channel item query.
    /// </summary>
    public class ChannelItemResult
    {
        /// <summary>
        /// Initializes a new instance of the <see cref="ChannelItemResult"/> class.
        /// </summary>
        public ChannelItemResult()
        {
            Items = Array.Empty<ChannelItemInfo>();
        }

        /// <summary>
        /// Gets or sets the items.
        /// </summary>
        public IReadOnlyList<ChannelItemInfo> Items { get; set; }

        /// <summary>
        /// Gets or sets the total record count.
        /// </summary>
        public int? TotalRecordCount { get; set; }
    }
}