mirror of
https://github.com/Sarsoo/Spotify.NET.git
synced 2024-12-24 15:06:26 +00:00
Addition to last commit + Added snapshot_id to SimplePlaylist
This commit is contained in:
parent
382fdef3fa
commit
d36a3f3fd9
@ -77,7 +77,9 @@
|
||||
<Compile Include="Web\Models\Category.cs" />
|
||||
<Compile Include="Web\Models\CategoryList.cs" />
|
||||
<Compile Include="Web\Models\CategoryPlaylist.cs" />
|
||||
<Compile Include="Web\Models\CursorPaging.cs" />
|
||||
<Compile Include="Web\Models\FeaturedPlaylists.cs" />
|
||||
<Compile Include="Web\Models\FollowedArtists.cs" />
|
||||
<Compile Include="Web\Models\FullAlbum.cs" />
|
||||
<Compile Include="Web\Models\FullArtist.cs" />
|
||||
<Compile Include="Web\Models\FullTrack.cs" />
|
||||
|
@ -72,17 +72,17 @@ namespace SpotifyAPI.Web.Models
|
||||
return (Positions.Count > 0);
|
||||
}
|
||||
}
|
||||
public class SeveralTracks
|
||||
public class SeveralTracks : BasicModel
|
||||
{
|
||||
[JsonProperty("tracks")]
|
||||
public List<FullTrack> Tracks { get; set; }
|
||||
}
|
||||
public class SeveralArtists
|
||||
public class SeveralArtists : BasicModel
|
||||
{
|
||||
[JsonProperty("artists")]
|
||||
public List<FullArtist> Artists { get; set; }
|
||||
}
|
||||
public class SeveralAlbums
|
||||
public class SeveralAlbums : BasicModel
|
||||
{
|
||||
[JsonProperty("albums")]
|
||||
public List<FullAlbum> 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; }
|
||||
}
|
||||
}
|
||||
|
@ -8,24 +8,37 @@ namespace SpotifyAPI.Web.Models
|
||||
{
|
||||
[JsonProperty("collaborative")]
|
||||
public Boolean Collaborative { get; set; }
|
||||
|
||||
[JsonProperty("external_urls")]
|
||||
public Dictionary<string, string> ExternalUrls { get; set; }
|
||||
|
||||
[JsonProperty("href")]
|
||||
public String Href { get; set; }
|
||||
|
||||
[JsonProperty("id")]
|
||||
public String Id { get; set; }
|
||||
|
||||
[JsonProperty("images")]
|
||||
public List<Image> 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; }
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user