mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-06-05 07:18:47 +01:00
updated nuget
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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()
|
||||
{
|
||||
|
||||
@@ -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" />
|
||||
|
||||
21
MediaBrowser.Model/Querying/ItemCountsQuery.cs
Normal file
21
MediaBrowser.Model/Querying/ItemCountsQuery.cs
Normal 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; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user