1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2025-01-21 11:02:01 +02:00
Sonarr/NzbDrone.Api/PagingResource.cs

16 lines
425 B
C#
Raw Normal View History

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