Add device query class

This commit is contained in:
Patrick Barron 2021-05-20 20:48:53 -04:00
parent ab63a7745c
commit f4d1c3ef7a
1 changed files with 25 additions and 0 deletions

View File

@ -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; }
}
}