Spotify.NET/SpotifyAPI.Web/Models/Response/Paging.cs

28 lines
884 B
C#
Raw Normal View History

2020-05-01 19:05:28 +01:00
using System.Collections.Generic;
namespace SpotifyAPI.Web
{
public class Paging<T> : IPaginatable<T>
2020-05-01 19:05:28 +01:00
{
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!;
2020-05-01 19:05:28 +01:00
}
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!;
}
2020-05-01 19:05:28 +01:00
}
2020-05-25 17:00:38 +01:00