mirror of
https://github.com/Sarsoo/Spotify.NET.git
synced 2024-12-26 16:06:27 +00:00
26 lines
740 B
C#
26 lines
740 B
C#
using System.Collections.Generic;
|
|
|
|
namespace SpotifyAPI.Web
|
|
{
|
|
public class CursorPaging<T> : IPaginatable<T>
|
|
{
|
|
public string Href { get; set; } = default!;
|
|
public List<T>? Items { get; set; } = default!;
|
|
public int Limit { get; set; }
|
|
public string? Next { get; set; } = default!;
|
|
public Cursor Cursors { get; set; } = default!;
|
|
public int Total { get; set; }
|
|
}
|
|
|
|
public class CursorPaging<T, TNext> : IPaginatable<T, TNext>
|
|
{
|
|
public string Href { get; set; } = default!;
|
|
public List<T>? Items { get; set; } = default!;
|
|
public int Limit { get; set; }
|
|
public string? Next { get; set; } = default!;
|
|
public Cursor Cursors { get; set; } = default!;
|
|
public int Total { get; set; }
|
|
}
|
|
}
|
|
|