2014-07-20 21:42:46 +01:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using Newtonsoft.Json;
|
|
|
|
|
|
2015-07-07 17:11:11 +01:00
|
|
|
|
namespace SpotifyAPI.Web.Models
|
2014-07-20 21:42:46 +01:00
|
|
|
|
{
|
|
|
|
|
public class Paging<T> : BasicModel
|
|
|
|
|
{
|
|
|
|
|
[JsonProperty("href")]
|
|
|
|
|
public String Href { get; set; }
|
|
|
|
|
[JsonProperty("items")]
|
|
|
|
|
public List<T> Items { get; set; }
|
|
|
|
|
[JsonProperty("limit")]
|
|
|
|
|
public int Limit { get; set; }
|
|
|
|
|
[JsonProperty("next")]
|
|
|
|
|
public String Next { get; set; }
|
|
|
|
|
[JsonProperty("offset")]
|
|
|
|
|
public int Offset { get; set; }
|
|
|
|
|
[JsonProperty("previous")]
|
|
|
|
|
public String Previous { get; set; }
|
|
|
|
|
[JsonProperty("total")]
|
|
|
|
|
public int Total { get; set; }
|
|
|
|
|
}
|
|
|
|
|
}
|