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 artist count.
        /// 
        /// The artist count.
        public int ArtistCount { get; set; }
        /// 
        /// Gets or sets the program count.
        /// 
        /// The program count.
        public int ProgramCount { 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; }
        /// 
        /// Gets or sets the music video count.
        /// 
        /// The music video count.
        public int MusicVideoCount { get; set; }
        /// 
        /// Gets or sets the box set count.
        /// 
        /// The box set count.
        public int BoxSetCount { get; set; }
        /// 
        /// Gets or sets the book count.
        /// 
        /// The book count.
        public int BookCount { get; set; }
        /// 
        /// Gets or sets the item count.
        /// 
        /// The item count.
        public int ItemCount { get; set; }
        /// 
        /// Adds all counts.
        /// 
        /// The total of the counts.
        public int TotalItemCount()
        {
            return MovieCount + SeriesCount + EpisodeCount + ArtistCount + ProgramCount + TrailerCount + SongCount + AlbumCount + MusicVideoCount + BoxSetCount + BookCount;
        }
    }
}