瀏覽代碼

Add device query class

Patrick Barron 4 年之前
父節點
當前提交
f4d1c3ef7a
共有 1 個文件被更改,包括 25 次插入0 次删除
  1. 25 0
      Jellyfin.Data/Queries/DeviceQuery.cs

+ 25 - 0
Jellyfin.Data/Queries/DeviceQuery.cs

@@ -0,0 +1,25 @@
+using System;
+
+namespace Jellyfin.Data.Queries
+{
+    /// <summary>
+    /// A query to retrieve devices.
+    /// </summary>
+    public class DeviceQuery : PaginatedQuery
+    {
+        /// <summary>
+        /// Gets or sets the user id of the device.
+        /// </summary>
+        public Guid? UserId { get; set; }
+
+        /// <summary>
+        /// Gets or sets the device id.
+        /// </summary>
+        public string? DeviceId { get; set; }
+
+        /// <summary>
+        /// Gets or sets the access token.
+        /// </summary>
+        public string? AccessToken { get; set; }
+    }
+}