aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Data/Queries/ActivityLogQuery.cs
blob: 92919d3a51bbbfb3ee14336b280cf044257c9b03 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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; }
    }
}