Spotify.NET/SpotifyAPI.Web/Models/Response/Paging.cs
2020-05-25 18:00:47 +02:00

28 lines
755 B
C#

using System.Collections.Generic;
namespace SpotifyAPI.Web
{
public class Paging<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 int Offset { get; set; }
public string Previous { get; set; } = default!;
public int Total { get; set; }
}
public class Paging<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 int Offset { get; set; }
public string Previous { get; set; } = default!;
public int Total { get; set; }
}
}