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; }
|
2015-07-26 13:02:22 +01:00
|
|
|
|
|
2014-07-20 21:42:46 +01:00
|
|
|
|
[JsonProperty("items")]
|
|
|
|
|
public List<T> Items { get; set; }
|
2015-07-26 13:02:22 +01:00
|
|
|
|
|
2014-07-20 21:42:46 +01:00
|
|
|
|
[JsonProperty("limit")]
|
|
|
|
|
public int Limit { get; set; }
|
2015-07-26 13:02:22 +01:00
|
|
|
|
|
2014-07-20 21:42:46 +01:00
|
|
|
|
[JsonProperty("next")]
|
|
|
|
|
public String Next { get; set; }
|
2015-07-26 13:02:22 +01:00
|
|
|
|
|
2014-07-20 21:42:46 +01:00
|
|
|
|
[JsonProperty("offset")]
|
|
|
|
|
public int Offset { get; set; }
|
2015-07-26 13:02:22 +01:00
|
|
|
|
|
2014-07-20 21:42:46 +01:00
|
|
|
|
[JsonProperty("previous")]
|
|
|
|
|
public String Previous { get; set; }
|
2015-07-26 13:02:22 +01:00
|
|
|
|
|
2014-07-20 21:42:46 +01:00
|
|
|
|
[JsonProperty("total")]
|
|
|
|
|
public int Total { get; set; }
|
|
|
|
|
}
|
2015-07-26 13:02:22 +01:00
|
|
|
|
}
|