From d72235e42bc507e13f22e28507d1853ffdd875f4 Mon Sep 17 00:00:00 2001 From: muhmuhhum Date: Sat, 17 Apr 2021 23:38:59 +0200 Subject: [PATCH] Add TotalTracks to SimpleAlbum.cs and FullAlbum.cs (#597) --- SpotifyAPI.Web/Models/Response/FullAlbum.cs | 1 + SpotifyAPI.Web/Models/Response/SimpleAlbum.cs | 1 + 2 files changed, 2 insertions(+) diff --git a/SpotifyAPI.Web/Models/Response/FullAlbum.cs b/SpotifyAPI.Web/Models/Response/FullAlbum.cs index 1595a079..0439bf89 100644 --- a/SpotifyAPI.Web/Models/Response/FullAlbum.cs +++ b/SpotifyAPI.Web/Models/Response/FullAlbum.cs @@ -20,6 +20,7 @@ namespace SpotifyAPI.Web public string ReleaseDate { get; set; } = default!; public string ReleaseDatePrecision { get; set; } = default!; public Dictionary Restrictions { get; set; } = default!; + public int TotalTracks { get; set; } public Paging Tracks { get; set; } = default!; public string Type { get; set; } = default!; public string Uri { get; set; } = default!; diff --git a/SpotifyAPI.Web/Models/Response/SimpleAlbum.cs b/SpotifyAPI.Web/Models/Response/SimpleAlbum.cs index b9140b69..fb45bae6 100644 --- a/SpotifyAPI.Web/Models/Response/SimpleAlbum.cs +++ b/SpotifyAPI.Web/Models/Response/SimpleAlbum.cs @@ -16,6 +16,7 @@ namespace SpotifyAPI.Web public string ReleaseDate { get; set; } = default!; public string ReleaseDatePrecision { get; set; } = default!; public Dictionary Restrictions { get; set; } = default!; + public int TotalTracks { get; set; } public string Type { get; set; } = default!; public string Uri { get; set; } = default!; }