diff --git a/SpotifyAPI/SpotifyAPI.csproj b/SpotifyAPI/SpotifyAPI.csproj index 020b55fc..76cd3221 100644 --- a/SpotifyAPI/SpotifyAPI.csproj +++ b/SpotifyAPI/SpotifyAPI.csproj @@ -77,7 +77,9 @@ + + diff --git a/SpotifyAPI/Web/Models/GeneralModels.cs b/SpotifyAPI/Web/Models/GeneralModels.cs index b8eb7de2..e0469781 100644 --- a/SpotifyAPI/Web/Models/GeneralModels.cs +++ b/SpotifyAPI/Web/Models/GeneralModels.cs @@ -72,17 +72,17 @@ namespace SpotifyAPI.Web.Models return (Positions.Count > 0); } } - public class SeveralTracks + public class SeveralTracks : BasicModel { [JsonProperty("tracks")] public List Tracks { get; set; } } - public class SeveralArtists + public class SeveralArtists : BasicModel { [JsonProperty("artists")] public List Artists { get; set; } } - public class SeveralAlbums + public class SeveralAlbums : BasicModel { [JsonProperty("albums")] public List Albums { get; set; } @@ -116,4 +116,10 @@ namespace SpotifyAPI.Web.Models [JsonProperty("track")] public FullTrack Track { get; set; } } + + public class Cursor + { + [JsonProperty("after")] + public String After { get; set; } + } } diff --git a/SpotifyAPI/Web/Models/SimplePlaylist.cs b/SpotifyAPI/Web/Models/SimplePlaylist.cs index 5929d5a5..f6e9f497 100644 --- a/SpotifyAPI/Web/Models/SimplePlaylist.cs +++ b/SpotifyAPI/Web/Models/SimplePlaylist.cs @@ -8,25 +8,38 @@ namespace SpotifyAPI.Web.Models { [JsonProperty("collaborative")] public Boolean Collaborative { get; set; } + [JsonProperty("external_urls")] public Dictionary ExternalUrls { get; set; } + [JsonProperty("href")] public String Href { get; set; } + [JsonProperty("id")] public String Id { get; set; } + [JsonProperty("images")] public List Images { get; set; } + [JsonProperty("name")] public String Name { get; set; } + [JsonProperty("owner")] public PublicProfile Owner { get; set; } + [JsonProperty("public")] public Boolean Public { get; set; } + + [JsonProperty("snapshot_id")] + public String SnapshotId { get; set; } + [JsonProperty("tracks")] public PlaylistTrackCollection Tracks { get; set; } + [JsonProperty("type")] public String Type { get; set; } + [JsonProperty("uri")] public String Uri { get; set; } } -} +} \ No newline at end of file