Radarr/src/NzbDrone.Api/PagingResource.cs

18 lines
519 B
C#
Raw Normal View History

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