2020-06-13 11:55:48 +01:00
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
|
|
namespace SpotifyAPI.Web
|
|
|
|
{
|
|
|
|
public interface IPaginatable<T>
|
|
|
|
{
|
|
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1716")]
|
2020-07-13 15:03:19 +01:00
|
|
|
string? Next { get; set; }
|
2020-06-13 11:55:48 +01:00
|
|
|
|
2020-07-13 15:03:19 +01:00
|
|
|
List<T>? Items { get; set; }
|
2020-06-13 11:55:48 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
public interface IPaginatable<T, TNext>
|
|
|
|
{
|
|
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1716")]
|
2020-07-13 15:03:19 +01:00
|
|
|
string? Next { get; set; }
|
2020-06-13 11:55:48 +01:00
|
|
|
|
2020-07-13 15:03:19 +01:00
|
|
|
List<T>? Items { get; set; }
|
2020-06-13 11:55:48 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|