1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-09-11 12:02:35 +02:00
Radarr/NzbDrone.Api/PagingResource.cs

16 lines
425 B
C#
Raw Normal View History

2013-07-19 05:47:55 +02:00
using System.Collections.Generic;
2013-05-13 08:12:19 +02:00
using NzbDrone.Core.Datastore;
2013-05-02 07:50:34 +02:00
namespace NzbDrone.Api
{
public class PagingResource<TModel>
{
public int Page { get; set; }
2013-05-13 08:12:19 +02:00
public int PageSize { get; set; }
2013-05-02 07:50:34 +02:00
public string SortKey { get; set; }
2013-05-13 08:12:19 +02:00
public SortDirection SortDirection { get; set; }
2013-05-02 07:50:34 +02:00
public int TotalRecords { get; set; }
public List<TModel> Records { get; set; }
}
}