Skip to content

Commit 37db6f2

Browse files
stevenwdvJohnnyCrazy
authored andcommitted
Added TotalTracks property to SimpleAlbum and FullAlbum (JohnnyCrazy#367)
1 parent fb11f0d commit 37db6f2

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

‎SpotifyAPI.Web/Models/FullAlbum.cs‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,9 @@ public class FullAlbum : BasicModel
5656
[JsonProperty("restrictions")]
5757
public Dictionary<string, string> Restrictions { get; set; }
5858

59+
[JsonProperty("total_tracks")]
60+
public int TotalTracks { get; set; }
61+
5962
[JsonProperty("type")]
6063
public string Type { get; set; }
6164

‎SpotifyAPI.Web/Models/SimpleAlbum.cs‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,9 @@ public class SimpleAlbum : BasicModel
4141
[JsonProperty("restrictions")]
4242
public Dictionary<string, string> Restrictions { get; set; }
4343

44+
[JsonProperty("total_tracks")]
45+
public int TotalTracks { get; set; }
46+
4447
[JsonProperty("type")]
4548
public string Type { get; set; }
4649

0 commit comments

Comments
 (0)