using System.Collections.Generic; namespace MediaBrowser.Api.Reports { /// Encapsulates the result of a report. public class ReportResult { /// /// Initializes a new instance of the MediaBrowser.Api.Reports.ReportResult class. public ReportResult() { Rows = new List(); Headers = new List(); Groups = new List(); TotalRecordCount = 0; IsGrouped = false; } /// /// Initializes a new instance of the MediaBrowser.Api.Reports.ReportResult class. /// The headers. /// The rows. public ReportResult(List headers, List rows) { Rows = rows; Headers = headers; TotalRecordCount = 0; } /// Gets or sets the rows. /// The rows. public List Rows { get; set; } /// Gets or sets the headers. /// The headers. public List Headers { get; set; } /// Gets or sets the groups. /// The groups. public List Groups { get; set; } /// Gets or sets the number of total records. /// The total number of record count. public int TotalRecordCount { get; set; } /// Gets or sets the is grouped. /// The is grouped. public bool IsGrouped { get; set; } } }