Add device query class
This commit is contained in:
parent
ab63a7745c
commit
f4d1c3ef7a
25
Jellyfin.Data/Queries/DeviceQuery.cs
Normal file
25
Jellyfin.Data/Queries/DeviceQuery.cs
Normal 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; }
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user