mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-06-13 03:00:25 +01:00
Add PaginatedQuery abstract class, change startIndex to skip
This commit is contained in:
18
Jellyfin.Data/Queries/PaginatedQuery.cs
Normal file
18
Jellyfin.Data/Queries/PaginatedQuery.cs
Normal file
@@ -0,0 +1,18 @@
|
||||
namespace Jellyfin.Data.Queries
|
||||
{
|
||||
/// <summary>
|
||||
/// An abstract class for paginated queries.
|
||||
/// </summary>
|
||||
public abstract class PaginatedQuery
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets or sets the index to start at.
|
||||
/// </summary>
|
||||
public int? Skip { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the maximum number of items to include.
|
||||
/// </summary>
|
||||
public int? Limit { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user