2020-05-01 19:05:28 +01:00
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
|
|
namespace SpotifyAPI.Web
|
|
|
|
{
|
|
|
|
public class Paging<T>
|
|
|
|
{
|
2020-05-25 17:00:38 +01:00
|
|
|
public string Href { get; set; } = default!;
|
|
|
|
public List<T> Items { get; set; } = default!;
|
2020-05-08 09:25:33 +01:00
|
|
|
public int Limit { get; set; }
|
2020-05-25 17:00:38 +01:00
|
|
|
public string Next { get; set; } = default!;
|
2020-05-08 09:25:33 +01:00
|
|
|
public int Offset { get; set; }
|
2020-05-25 17:00:38 +01:00
|
|
|
public string Previous { get; set; } = default!;
|
2020-05-08 09:25:33 +01:00
|
|
|
public int Total { get; set; }
|
2020-05-01 19:05:28 +01:00
|
|
|
}
|
2020-05-05 16:52:23 +01:00
|
|
|
|
|
|
|
public class Paging<T, TNext>
|
|
|
|
{
|
2020-05-25 17:00:38 +01:00
|
|
|
public string Href { get; set; } = default!;
|
|
|
|
public List<T> Items { get; set; } = default!;
|
2020-05-08 09:25:33 +01:00
|
|
|
public int Limit { get; set; }
|
2020-05-25 17:00:38 +01:00
|
|
|
public string Next { get; set; } = default!;
|
2020-05-08 09:25:33 +01:00
|
|
|
public int Offset { get; set; }
|
2020-05-25 17:00:38 +01:00
|
|
|
public string Previous { get; set; } = default!;
|
2020-05-08 09:25:33 +01:00
|
|
|
public int Total { get; set; }
|
2020-05-05 16:52:23 +01:00
|
|
|
}
|
2020-05-01 19:05:28 +01:00
|
|
|
}
|
2020-05-25 17:00:38 +01:00
|
|
|
|