2013-09-15 17:34:37 +00:00
|
|
|
|
using MediaBrowser.Model.Dto;
|
|
|
|
|
using MediaBrowser.Model.Entities;
|
|
|
|
|
using System;
|
2013-09-20 00:53:18 +00:00
|
|
|
|
using System.Collections.Generic;
|
2013-09-15 17:34:37 +00:00
|
|
|
|
|
|
|
|
|
namespace MediaBrowser.Api.DefaultTheme
|
|
|
|
|
{
|
|
|
|
|
public class ItemStub
|
|
|
|
|
{
|
|
|
|
|
public string Name { get; set; }
|
|
|
|
|
public string Id { get; set; }
|
|
|
|
|
public Guid ImageTag { get; set; }
|
|
|
|
|
public ImageType ImageType { get; set; }
|
|
|
|
|
}
|
|
|
|
|
|
2013-10-18 16:09:47 +00:00
|
|
|
|
public class MoviesView : BaseView
|
2013-09-15 17:34:37 +00:00
|
|
|
|
{
|
2013-09-20 00:53:18 +00:00
|
|
|
|
public List<ItemStub> MovieItems { get; set; }
|
|
|
|
|
public List<ItemStub> PeopleItems { get; set; }
|
2013-09-15 17:34:37 +00:00
|
|
|
|
|
2013-09-20 00:53:18 +00:00
|
|
|
|
public List<ItemStub> BoxSetItems { get; set; }
|
|
|
|
|
public List<ItemStub> TrailerItems { get; set; }
|
|
|
|
|
public List<ItemStub> HDItems { get; set; }
|
|
|
|
|
public List<ItemStub> ThreeDItems { get; set; }
|
2013-09-15 17:34:37 +00:00
|
|
|
|
|
2013-09-20 00:53:18 +00:00
|
|
|
|
public List<ItemStub> FamilyMovies { get; set; }
|
2013-09-15 17:34:37 +00:00
|
|
|
|
|
2013-09-20 00:53:18 +00:00
|
|
|
|
public List<ItemStub> RomanceItems { get; set; }
|
|
|
|
|
public List<ItemStub> ComedyItems { get; set; }
|
2013-09-15 17:34:37 +00:00
|
|
|
|
|
|
|
|
|
public double FamilyMoviePercentage { get; set; }
|
|
|
|
|
|
|
|
|
|
public double HDMoviePercentage { get; set; }
|
|
|
|
|
}
|
|
|
|
|
|
2013-10-18 16:09:47 +00:00
|
|
|
|
public class TvView : BaseView
|
2013-09-15 17:34:37 +00:00
|
|
|
|
{
|
2013-09-20 00:53:18 +00:00
|
|
|
|
public List<ItemStub> ShowsItems { get; set; }
|
|
|
|
|
public List<ItemStub> ActorItems { get; set; }
|
2013-09-15 17:34:37 +00:00
|
|
|
|
|
2013-09-20 00:53:18 +00:00
|
|
|
|
public List<ItemStub> RomanceItems { get; set; }
|
|
|
|
|
public List<ItemStub> ComedyItems { get; set; }
|
2013-11-03 16:19:33 +00:00
|
|
|
|
|
|
|
|
|
public int SeriesCount { get; set; }
|
|
|
|
|
public int FavoriteSeriesCount { get; set; }
|
|
|
|
|
public int TopCommunityRatedSeriesCount { get; set; }
|
|
|
|
|
public int InProgressSeriesCount { get; set; }
|
2013-09-15 17:34:37 +00:00
|
|
|
|
}
|
|
|
|
|
|
2013-10-18 16:09:47 +00:00
|
|
|
|
public class GamesView : BaseView
|
2013-09-15 19:33:23 +00:00
|
|
|
|
{
|
2013-10-06 01:04:41 +00:00
|
|
|
|
public List<ItemStub> MultiPlayerItems { get; set; }
|
2013-10-18 16:09:47 +00:00
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public class BaseView
|
|
|
|
|
{
|
2013-10-21 01:03:33 +00:00
|
|
|
|
public List<BaseItemDto> BackdropItems { get; set; }
|
2013-10-18 16:09:47 +00:00
|
|
|
|
public List<BaseItemDto> SpotlightItems { get; set; }
|
|
|
|
|
public List<BaseItemDto> MiniSpotlights { get; set; }
|
2013-09-15 19:33:23 +00:00
|
|
|
|
}
|
|
|
|
|
|
2013-10-21 01:03:33 +00:00
|
|
|
|
public class FavoritesView : BaseView
|
2013-09-15 17:34:37 +00:00
|
|
|
|
{
|
2013-10-21 01:03:33 +00:00
|
|
|
|
public List<BaseItemDto> Movies { get; set; }
|
|
|
|
|
public List<BaseItemDto> Series { get; set; }
|
|
|
|
|
public List<BaseItemDto> Episodes { get; set; }
|
|
|
|
|
public List<BaseItemDto> Games { get; set; }
|
|
|
|
|
public List<BaseItemDto> Books { get; set; }
|
|
|
|
|
public List<BaseItemDto> Albums { get; set; }
|
|
|
|
|
public List<BaseItemDto> Songs { get; set; }
|
|
|
|
|
public List<BaseItemDto> Artists { get; set; }
|
2013-09-15 17:34:37 +00:00
|
|
|
|
}
|
|
|
|
|
}
|