mirror of
https://github.com/Sarsoo/Spotify.NET.git
synced 2024-12-25 23:46:27 +00:00
28 lines
884 B
C#
28 lines
884 B
C#
using System.Collections.Generic;
|
|
|
|
namespace SpotifyAPI.Web
|
|
{
|
|
public class Paging<T> : IPaginatable<T>
|
|
{
|
|
public string? Href { get; set; } = default!;
|
|
public List<T>? Items { get; set; } = default!;
|
|
public int? Limit { get; set; } = default!;
|
|
public string? Next { get; set; } = default!;
|
|
public int? Offset { get; set; } = default!;
|
|
public string? Previous { get; set; } = default!;
|
|
public int? Total { get; set; } = default!;
|
|
}
|
|
|
|
public class Paging<T, TNext> : IPaginatable<T, TNext>
|
|
{
|
|
public string? Href { get; set; } = default!;
|
|
public List<T>? Items { get; set; } = default!;
|
|
public int? Limit { get; set; } = default!;
|
|
public string? Next { get; set; } = default!;
|
|
public int? Offset { get; set; } = default!;
|
|
public string? Previous { get; set; } = default!;
|
|
public int? Total { get; set; } = default!;
|
|
}
|
|
}
|
|
|