From ae4c4c6ce50c03d0e7bcfe1d2b6eca715dd2f0ff Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Tue, 14 May 2013 01:36:36 -0400 Subject: #247 - Web client - Hide views that have no content --- MediaBrowser.Model/Dto/ItemCounts.cs | 45 ++++++++++++++++++++++++++++ MediaBrowser.Model/MediaBrowser.Model.csproj | 1 + 2 files changed, 46 insertions(+) create mode 100644 MediaBrowser.Model/Dto/ItemCounts.cs (limited to 'MediaBrowser.Model') diff --git a/MediaBrowser.Model/Dto/ItemCounts.cs b/MediaBrowser.Model/Dto/ItemCounts.cs new file mode 100644 index 000000000..7f0a91e91 --- /dev/null +++ b/MediaBrowser.Model/Dto/ItemCounts.cs @@ -0,0 +1,45 @@ + +namespace MediaBrowser.Model.Dto +{ + /// + /// Class LibrarySummary + /// + public class ItemCounts + { + /// + /// Gets or sets the movie count. + /// + /// The movie count. + public int MovieCount { get; set; } + /// + /// Gets or sets the series count. + /// + /// The series count. + public int SeriesCount { get; set; } + /// + /// Gets or sets the episode count. + /// + /// The episode count. + public int EpisodeCount { get; set; } + /// + /// Gets or sets the game count. + /// + /// The game count. + public int GameCount { get; set; } + /// + /// Gets or sets the trailer count. + /// + /// The trailer count. + public int TrailerCount { get; set; } + /// + /// Gets or sets the song count. + /// + /// The song count. + public int SongCount { get; set; } + /// + /// Gets or sets the album count. + /// + /// The album count. + public int AlbumCount { get; set; } + } +} diff --git a/MediaBrowser.Model/MediaBrowser.Model.csproj b/MediaBrowser.Model/MediaBrowser.Model.csproj index dc7f09f2d..bc70dbc13 100644 --- a/MediaBrowser.Model/MediaBrowser.Model.csproj +++ b/MediaBrowser.Model/MediaBrowser.Model.csproj @@ -47,6 +47,7 @@ + -- cgit v1.2.3