diff options
| author | crobibero <cody@robibe.ro> | 2020-10-27 13:35:46 -0600 |
|---|---|---|
| committer | crobibero <cody@robibe.ro> | 2020-10-27 13:35:46 -0600 |
| commit | 4f7c13ecf431004060d0d9eb6cda9bd2593394d0 (patch) | |
| tree | 68230bb7f4a3cd160b9959a714bc9c1764472a62 /Jellyfin.Data/Queries/ActivityLogQuery.cs | |
| parent | 69360b749a53bd41087530f7fbe2e0c7798f704b (diff) | |
| parent | be2f27a0695e5f3102f79a2e246e971682cff603 (diff) | |
Merge remote-tracking branch 'upstream/master' into query-fields
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; } + } +} |
