mirror of
https://github.com/Sarsoo/Spotify.NET.git
synced 2024-12-24 23:16:28 +00:00
Added various fields, fixes #289
This commit is contained in:
parent
70a57579cf
commit
6056fdf453
@ -54,6 +54,9 @@ namespace SpotifyAPI.Web.Models
|
|||||||
[JsonProperty("tracks")]
|
[JsonProperty("tracks")]
|
||||||
public Paging<SimpleTrack> Tracks { get; set; }
|
public Paging<SimpleTrack> Tracks { get; set; }
|
||||||
|
|
||||||
|
[JsonProperty("restrictions")]
|
||||||
|
public Dictionary<string, string> Restrictions { get; set; }
|
||||||
|
|
||||||
[JsonProperty("type")]
|
[JsonProperty("type")]
|
||||||
public string Type { get; set; }
|
public string Type { get; set; }
|
||||||
|
|
||||||
|
@ -48,6 +48,9 @@ namespace SpotifyAPI.Web.Models
|
|||||||
[JsonProperty("track_number")]
|
[JsonProperty("track_number")]
|
||||||
public int TrackNumber { get; set; }
|
public int TrackNumber { get; set; }
|
||||||
|
|
||||||
|
[JsonProperty("restrictions")]
|
||||||
|
public Dictionary<string, string> Restrictions { get; set; }
|
||||||
|
|
||||||
[JsonProperty("type")]
|
[JsonProperty("type")]
|
||||||
public string Type { get; set; }
|
public string Type { get; set; }
|
||||||
|
|
||||||
|
@ -6,9 +6,15 @@ namespace SpotifyAPI.Web.Models
|
|||||||
{
|
{
|
||||||
public class SimpleAlbum : BasicModel
|
public class SimpleAlbum : BasicModel
|
||||||
{
|
{
|
||||||
|
[JsonProperty("album_group")]
|
||||||
|
public string AlbumGroup { get; set; }
|
||||||
|
|
||||||
[JsonProperty("album_type")]
|
[JsonProperty("album_type")]
|
||||||
public string AlbumType { get; set; }
|
public string AlbumType { get; set; }
|
||||||
|
|
||||||
|
[JsonProperty("artists")]
|
||||||
|
public List<SimpleArtist> Artists { get; set; }
|
||||||
|
|
||||||
[JsonProperty("available_markets")]
|
[JsonProperty("available_markets")]
|
||||||
public List<string> AvailableMarkets { get; set; }
|
public List<string> AvailableMarkets { get; set; }
|
||||||
|
|
||||||
@ -33,6 +39,9 @@ namespace SpotifyAPI.Web.Models
|
|||||||
[JsonProperty("release_date_precision")]
|
[JsonProperty("release_date_precision")]
|
||||||
public string ReleaseDatePrecision { get; set; }
|
public string ReleaseDatePrecision { get; set; }
|
||||||
|
|
||||||
|
[JsonProperty("restrictions")]
|
||||||
|
public Dictionary<string, string> Restrictions { get; set; }
|
||||||
|
|
||||||
[JsonProperty("type")]
|
[JsonProperty("type")]
|
||||||
public string Type { get; set; }
|
public string Type { get; set; }
|
||||||
|
|
||||||
|
@ -39,6 +39,9 @@ namespace SpotifyAPI.Web.Models
|
|||||||
[JsonProperty("track_number")]
|
[JsonProperty("track_number")]
|
||||||
public int TrackNumber { get; set; }
|
public int TrackNumber { get; set; }
|
||||||
|
|
||||||
|
[JsonProperty("restrictions")]
|
||||||
|
public Dictionary<string, string> Restrictions { get; set; }
|
||||||
|
|
||||||
[JsonProperty("type")]
|
[JsonProperty("type")]
|
||||||
public string Type { get; set; }
|
public string Type { get; set; }
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user