aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Data/Queries/ActivityLogQuery.cs
diff options
context:
space:
mode:
authorBaronGreenback <jimcartlidge@yahoo.co.uk>2020-10-14 19:05:57 +0100
committerGitHub <noreply@github.com>2020-10-14 19:05:57 +0100
commit5b8349b4426b2eaa5ac812bf86a89eb3febd2c40 (patch)
tree893d00fddfdd52ba1ff69f56e3d2d5bce1bdb74a /Jellyfin.Data/Queries/ActivityLogQuery.cs
parenta8cee0bd36278035135bf871f25c126a12fde9ef (diff)
parentd54de29485cc622a64c17884b39c9bc65e33af29 (diff)
Merge branch 'master' into fordiscussion
Diffstat (limited to 'Jellyfin.Data/Queries/ActivityLogQuery.cs')
-rw-r--r--Jellyfin.Data/Queries/ActivityLogQuery.cs30
1 files changed, 30 insertions, 0 deletions
diff --git a/Jellyfin.Data/Queries/ActivityLogQuery.cs b/Jellyfin.Data/Queries/ActivityLogQuery.cs
new file mode 100644
index 000000000..92919d3a5
--- /dev/null
+++ b/Jellyfin.Data/Queries/ActivityLogQuery.cs
@@ -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; }
+ }
+}