aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Data/Queries/ActivityLogQuery.cs
diff options
context:
space:
mode:
authorBaronGreenback <jimcartlidge@yahoo.co.uk>2020-10-17 09:47:20 +0100
committerGitHub <noreply@github.com>2020-10-17 09:47:20 +0100
commit38da2ee26efb45ab8afc8aa692686ffe316a4ace (patch)
tree6b5a05b7a437bbb53da78062e869daa220a51762 /Jellyfin.Data/Queries/ActivityLogQuery.cs
parentee976bb47abe2f16b7d27cd2f789264c5a9ec8d0 (diff)
parent86090ab1f65c66958c897cacd04221c537053eb3 (diff)
Merge branch 'master' into update-plugin
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; }
+ }
+}