Spotify.NET/SpotifyAPI/Web/Models/CursorPaging.cs

27 lines
612 B
C#
Raw Normal View History

using Newtonsoft.Json;
using System;
using System.Collections.Generic;
namespace SpotifyAPI.Web.Models
{
2017-03-02 21:28:55 +00:00
public class CursorPaging<T> : BasicModel
{
[JsonProperty("href")]
2016-03-31 11:08:23 +01:00
public string Href { get; set; }
[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; }
[JsonProperty("cursors")]
public Cursor Cursors { get; set; }
[JsonProperty("total")]
public int Total { get; set; }
}
}