diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2015-07-17 18:32:13 -0400 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2015-07-17 18:32:13 -0400 |
| commit | 78a25d2289fc35b34f2998a7f8c27ee221b83834 (patch) | |
| tree | 4eeeb755f4a65b196da145d0583425b67c9ed1c5 /MediaBrowser.Api/Reports/Model/ReportGroup.cs | |
| parent | fe3b4a1230c26d6ace23e97b5f718d209a170302 (diff) | |
| parent | 76d7953074d71b43090ae62dd68114b772852d02 (diff) | |
Merge branch 'dev' of https://github.com/MediaBrowser/MediaBrowser into dev
Diffstat (limited to 'MediaBrowser.Api/Reports/Model/ReportGroup.cs')
| -rw-r--r-- | MediaBrowser.Api/Reports/Model/ReportGroup.cs | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/MediaBrowser.Api/Reports/Model/ReportGroup.cs b/MediaBrowser.Api/Reports/Model/ReportGroup.cs new file mode 100644 index 000000000..49c76c7ba --- /dev/null +++ b/MediaBrowser.Api/Reports/Model/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; + } + } +} |
