updated nuget

This commit is contained in:
Luke Pulverenti
2013-10-20 23:01:22 -04:00
parent 14d8f48f31
commit 9456886848
12 changed files with 142 additions and 126 deletions

View File

@@ -221,9 +221,9 @@ namespace MediaBrowser.Model.ApiClient
/// <summary>
/// Gets the item counts async.
/// </summary>
/// <param name="userId">The user id.</param>
/// <param name="query">The query.</param>
/// <returns>Task{ItemCounts}.</returns>
Task<ItemCounts> GetItemCountsAsync(string userId);
Task<ItemCounts> GetItemCountsAsync(ItemCountsQuery query);
/// <summary>
/// Queries for items

View File

@@ -1,5 +1,4 @@

using System.Collections.Generic;
using System.Collections.Generic;
namespace MediaBrowser.Model.Dto
{
@@ -70,55 +69,8 @@ namespace MediaBrowser.Model.Dto
/// <value>The unique types.</value>
public List<string> UniqueTypes { get; set; }
public int FavoriteAdultVideoCount { get; set; }
/// <summary>
/// Gets or sets the movie count.
/// </summary>
/// <value>The movie count.</value>
public int FavoriteMovieCount { get; set; }
/// <summary>
/// Gets or sets the series count.
/// </summary>
/// <value>The series count.</value>
public int FavoriteSeriesCount { get; set; }
/// <summary>
/// Gets or sets the episode count.
/// </summary>
/// <value>The episode count.</value>
public int FavoriteEpisodeCount { get; set; }
/// <summary>
/// Gets or sets the game count.
/// </summary>
/// <value>The game count.</value>
public int FavoriteGameCount { get; set; }
/// <summary>
/// Gets or sets the song count.
/// </summary>
/// <value>The song count.</value>
public int FavoriteSongCount { get; set; }
/// <summary>
/// Gets or sets the album count.
/// </summary>
/// <value>The album count.</value>
public int FavoriteAlbumCount { get; set; }
/// <summary>
/// Gets or sets the music video count.
/// </summary>
/// <value>The music video count.</value>
public int FavoriteMusicVideoCount { get; set; }
/// <summary>
/// Gets or sets the box set count.
/// </summary>
/// <value>The box set count.</value>
public int FavoriteBoxSetCount { get; set; }
/// <summary>
/// Gets or sets the book count.
/// </summary>
/// <value>The book count.</value>
public int FavoriteBookCount { get; set; }
public int FavoritePersonCount { get; set; }
public int FavoriteArtistCount { get; set; }
public int PersonCount { get; set; }
public int ArtistCount { get; set; }
public ItemCounts()
{

View File

@@ -82,6 +82,7 @@
<Compile Include="Notifications\NotificationResult.cs" />
<Compile Include="Notifications\NotificationsSummary.cs" />
<Compile Include="Querying\ArtistsQuery.cs" />
<Compile Include="Querying\ItemCountsQuery.cs" />
<Compile Include="Querying\ItemReviewsResult.cs" />
<Compile Include="Querying\ItemsByNameQuery.cs" />
<Compile Include="Entities\BaseItemInfo.cs" />

View File

@@ -0,0 +1,21 @@

namespace MediaBrowser.Model.Querying
{
/// <summary>
/// Class ItemCountsQuery
/// </summary>
public class ItemCountsQuery
{
/// <summary>
/// Gets or sets the user id.
/// </summary>
/// <value>The user id.</value>
public string UserId { get; set; }
/// <summary>
/// Gets or sets a value indicating whether this instance is favorite.
/// </summary>
/// <value><c>null</c> if [is favorite] contains no value, <c>true</c> if [is favorite]; otherwise, <c>false</c>.</value>
public bool? IsFavorite { get; set; }
}
}