aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Api/Reports/Model/ReportGroup.cs
blob: 49c76c7ba3bab791064514f7ea5204a00ef602b0 (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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
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;
		}
	}
}