diff options
| author | BaronGreenback <jimcartlidge@yahoo.co.uk> | 2020-10-17 09:54:09 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-10-17 09:54:09 +0100 |
| commit | 3ae37deea8a84edfc0281c984027f8a8145c7a9c (patch) | |
| tree | 184916aaaf750c1cc100a33e69d239a5c622f1f9 /Jellyfin.Data/Queries/ActivityLogQuery.cs | |
| parent | abfddba5684b59acd0fa74c18f3037b5c7cda4be (diff) | |
| parent | 86090ab1f65c66958c897cacd04221c537053eb3 (diff) | |
Merge pull request #82 from jellyfin/master
Refreshing image
Diffstat (limited to 'Jellyfin.Data/Queries/ActivityLogQuery.cs')
| -rw-r--r-- | Jellyfin.Data/Queries/ActivityLogQuery.cs | 30 |
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; } + } +} |
