diff options
| author | Patrick Barron <barronpm@gmail.com> | 2021-05-20 20:48:53 -0400 |
|---|---|---|
| committer | Patrick Barron <barronpm@gmail.com> | 2021-05-20 20:48:53 -0400 |
| commit | f4d1c3ef7ab46cb37f400ef7688dd328d5d1626e (patch) | |
| tree | 1af74e55a32476b69bbb725ebd79bb84152ccbd8 | |
| parent | ab63a7745ce43ddab8ab48dd04076773bebe69cd (diff) | |
Add device query class
| -rw-r--r-- | Jellyfin.Data/Queries/DeviceQuery.cs | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/Jellyfin.Data/Queries/DeviceQuery.cs b/Jellyfin.Data/Queries/DeviceQuery.cs new file mode 100644 index 000000000..083e00548 --- /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; } + } +} |
