Add PaginatedQuery abstract class, change startIndex to skip

This commit is contained in:
Patrick Barron
2021-05-20 20:48:41 -04:00
parent e1f7086077
commit ab63a7745c
4 changed files with 21 additions and 13 deletions

View File

@@ -5,18 +5,8 @@ namespace Jellyfin.Data.Queries
/// <summary>
/// A class representing a query to the activity logs.
/// </summary>
public class ActivityLogQuery
public class ActivityLogQuery : PaginatedQuery
{
/// <summary>
/// Gets or sets the index to start at.
/// </summary>
public int? StartIndex { get; set; }
/// <summary>
/// Gets or sets the maximum number of items to include.
/// </summary>
public int? Limit { get; set; }
/// <summary>
/// Gets or sets a value indicating whether to take entries with a user id.
/// </summary>