Merge pull request #4274 from barronpm/activitylog-query

Rewrite Activity Log Backend
This commit is contained in:
Anthony Lavado
2020-10-09 20:12:26 -04:00
committed by GitHub
7 changed files with 69 additions and 43 deletions

View File

@@ -0,0 +1,30 @@
using System;
namespace Jellyfin.Data.Queries
{
/// <summary>
/// A class representing a query to the activity logs.
/// </summary>
public class ActivityLogQuery
{
/// <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>
public bool? HasUserId { get; set; }
/// <summary>
/// Gets or sets the minimum date to query for.
/// </summary>
public DateTime? MinDate { get; set; }
}
}