Added TotalTracks property to SimpleAlbum and FullAlbum (#367)

This commit is contained in:
stevenwdv 2019-08-04 14:09:09 +02:00 committed by Jonas Dellinger
parent fb11f0deb7
commit 37db6f2a9b
2 changed files with 6 additions and 0 deletions

View File

@ -56,6 +56,9 @@ namespace SpotifyAPI.Web.Models
[JsonProperty("restrictions")] [JsonProperty("restrictions")]
public Dictionary<string, string> Restrictions { get; set; } public Dictionary<string, string> Restrictions { get; set; }
[JsonProperty("total_tracks")]
public int TotalTracks { get; set; }
[JsonProperty("type")] [JsonProperty("type")]
public string Type { get; set; } public string Type { get; set; }

View File

@ -41,6 +41,9 @@ namespace SpotifyAPI.Web.Models
[JsonProperty("restrictions")] [JsonProperty("restrictions")]
public Dictionary<string, string> Restrictions { get; set; } public Dictionary<string, string> Restrictions { get; set; }
[JsonProperty("total_tracks")]
public int TotalTracks { get; set; }
[JsonProperty("type")] [JsonProperty("type")]
public string Type { get; set; } public string Type { get; set; }