2020-05-01 19:05:28 +01:00
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
|
|
namespace SpotifyAPI.Web
|
|
|
|
{
|
|
|
|
public class Paging<T>
|
|
|
|
{
|
2020-05-05 14:30:00 +01:00
|
|
|
public string Href { get; private set; }
|
|
|
|
public List<T> Items { get; private set; }
|
|
|
|
public int Limit { get; private set; }
|
|
|
|
public string Next { get; private set; }
|
|
|
|
public int Offset { get; private set; }
|
|
|
|
public string Previous { get; private set; }
|
|
|
|
public int Total { get; private set; }
|
2020-05-01 19:05:28 +01:00
|
|
|
}
|
2020-05-05 16:52:23 +01:00
|
|
|
|
|
|
|
public class Paging<T, TNext>
|
|
|
|
{
|
|
|
|
public string Href { get; private set; }
|
|
|
|
public List<T> Items { get; private set; }
|
|
|
|
public int Limit { get; private set; }
|
|
|
|
public string Next { get; private set; }
|
|
|
|
public int Offset { get; private set; }
|
|
|
|
public string Previous { get; private set; }
|
|
|
|
public int Total { get; private set; }
|
|
|
|
}
|
2020-05-01 19:05:28 +01:00
|
|
|
}
|