2015-10-16 23:44:35 +01:00
|
|
|
|
using Newtonsoft.Json;
|
|
|
|
|
using System;
|
2015-07-26 12:59:13 +01:00
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
|
|
|
|
namespace SpotifyAPI.Web.Models
|
|
|
|
|
{
|
2017-03-02 21:28:55 +00:00
|
|
|
|
public class CursorPaging<T> : BasicModel
|
2015-07-26 12:59:13 +01:00
|
|
|
|
{
|
|
|
|
|
[JsonProperty("href")]
|
2016-03-31 11:08:23 +01:00
|
|
|
|
public string Href { get; set; }
|
2015-07-26 12:59:13 +01:00
|
|
|
|
|
|
|
|
|
[JsonProperty("items")]
|
|
|
|
|
public List<T> Items { get; set; }
|
|
|
|
|
|
|
|
|
|
[JsonProperty("limit")]
|
|
|
|
|
public int Limit { get; set; }
|
|
|
|
|
|
|
|
|
|
[JsonProperty("next")]
|
2016-03-31 11:08:23 +01:00
|
|
|
|
public string Next { get; set; }
|
2015-07-26 12:59:13 +01:00
|
|
|
|
|
|
|
|
|
[JsonProperty("cursors")]
|
|
|
|
|
public Cursor Cursors { get; set; }
|
|
|
|
|
|
|
|
|
|
[JsonProperty("total")]
|
|
|
|
|
public int Total { get; set; }
|
|
|
|
|
}
|
|
|
|
|
}
|