aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Api/Reports/Data/ReportGroup.cs
diff options
context:
space:
mode:
authorLuke <luke.pulverenti@gmail.com>2015-05-26 16:06:31 -0400
committerLuke <luke.pulverenti@gmail.com>2015-05-26 16:06:31 -0400
commit8bd7055d1738f22e9f52cd80a79e7a4ac23d61ff (patch)
tree185830059da50b6c43f13ca528fe981c1266808f /MediaBrowser.Api/Reports/Data/ReportGroup.cs
parenta3d796cd54c809c7ec2783e5cab6c37b2950410d (diff)
parentb666c627c8def4d1236090372bd6795fec940979 (diff)
Merge pull request #1109 from MediaBrowser/dev
3.0.5621.3
Diffstat (limited to 'MediaBrowser.Api/Reports/Data/ReportGroup.cs')
-rw-r--r--MediaBrowser.Api/Reports/Data/ReportGroup.cs44
1 files changed, 44 insertions, 0 deletions
diff --git a/MediaBrowser.Api/Reports/Data/ReportGroup.cs b/MediaBrowser.Api/Reports/Data/ReportGroup.cs
new file mode 100644
index 000000000..49c76c7ba
--- /dev/null
+++ b/MediaBrowser.Api/Reports/Data/ReportGroup.cs
@@ -0,0 +1,44 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace MediaBrowser.Api.Reports
+{
+
+ /// <summary> A report group. </summary>
+ public class ReportGroup
+ {
+ /// <summary>
+ /// Initializes a new instance of the MediaBrowser.Api.Reports.ReportGroup class. </summary>
+ public ReportGroup()
+ {
+ Rows = new List<ReportRow>();
+ }
+
+ /// <summary>
+ /// Initializes a new instance of the MediaBrowser.Api.Reports.ReportGroup class. </summary>
+ /// <param name="rows"> The rows. </param>
+ public ReportGroup(List<ReportRow> rows)
+ {
+ Rows = rows;
+ }
+
+ /// <summary> Gets or sets the name. </summary>
+ /// <value> The name. </value>
+ public string Name { get; set; }
+
+ /// <summary> Gets or sets the rows. </summary>
+ /// <value> The rows. </value>
+ public List<ReportRow> Rows { get; set; }
+
+ /// <summary> Returns a string that represents the current object. </summary>
+ /// <returns> A string that represents the current object. </returns>
+ /// <seealso cref="M:System.Object.ToString()"/>
+ public override string ToString()
+ {
+ return Name;
+ }
+ }
+}