diff --git a/SpotifyAPI.Web/Models/FullAlbum.cs b/SpotifyAPI.Web/Models/FullAlbum.cs index b22e4f2d..9447a11c 100644 --- a/SpotifyAPI.Web/Models/FullAlbum.cs +++ b/SpotifyAPI.Web/Models/FullAlbum.cs @@ -56,6 +56,9 @@ namespace SpotifyAPI.Web.Models [JsonProperty("restrictions")] public Dictionary Restrictions { get; set; } + [JsonProperty("total_tracks")] + public int TotalTracks { get; set; } + [JsonProperty("type")] public string Type { get; set; } diff --git a/SpotifyAPI.Web/Models/SimpleAlbum.cs b/SpotifyAPI.Web/Models/SimpleAlbum.cs index 2e2aa0fe..c90bbf88 100644 --- a/SpotifyAPI.Web/Models/SimpleAlbum.cs +++ b/SpotifyAPI.Web/Models/SimpleAlbum.cs @@ -41,6 +41,9 @@ namespace SpotifyAPI.Web.Models [JsonProperty("restrictions")] public Dictionary Restrictions { get; set; } + [JsonProperty("total_tracks")] + public int TotalTracks { get; set; } + [JsonProperty("type")] public string Type { get; set; }