The Free Software Media System - Server Backend & API
Add device query class
Patrick Barronf4d1c3ef7ab4
diff --git a/Jellyfin.Data/Queries/DeviceQuery.cs b/Jellyfin.Data/Queries/DeviceQuery.csnew file mode 100644index 0000000000..083e00548d--- /dev/null+++ b/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; }+ }+}