using System.Collections.Generic;
namespace MediaBrowser.Api.Reports
{
/// A report stat group.
public class ReportStatGroup
{
///
/// Initializes a new instance of the MediaBrowser.Api.Reports.ReportStatGroup class.
public ReportStatGroup()
{
Items = new List();
TotalRecordCount = 0;
}
/// Gets or sets the header.
/// The header.
public string Header { get; set; }
/// Gets or sets the items.
/// The items.
public List Items { get; set; }
/// Gets or sets the number of total records.
/// The total number of record count.
public int TotalRecordCount { get; set; }
internal static string FormatedHeader(string header, int topItem)
{
return string.Format("Top {0} {1}", topItem, header);
}
}
}