Spotify.NET/SpotifyAPI.Web/Models/IPaginatable.cs

22 lines
457 B
C#

using System.Collections.Generic;
namespace SpotifyAPI.Web
{
public interface IPaginatable<T>
{
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1716")]
string? Next { get; set; }
List<T>? Items { get; set; }
}
public interface IPaginatable<T, TNext>
{
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1716")]
string? Next { get; set; }
List<T>? Items { get; set; }
}
}