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

27 lines
770 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>
{
public string Href { get; private set; }
public List<T> Items { get; private set; }
public int Limit { get; private set; }
public string Next { get; private set; }
public int Offset { get; private set; }
public string Previous { get; private set; }
public int Total { get; private set; }
2020-05-01 19:05:28 +01:00
}
public class Paging<T, TNext>
{
public string Href { get; private set; }
public List<T> Items { get; private set; }
public int Limit { get; private set; }
public string Next { get; private set; }
public int Offset { get; private set; }
public string Previous { get; private set; }
public int Total { get; private set; }
}
2020-05-01 19:05:28 +01:00
}