Spotify.NET/SpotifyAPI.Web/Models/SimplePlaylist.cs

45 lines
1.1 KiB
C#
Raw Normal View History

using Newtonsoft.Json;
using System;
using System.Collections.Generic;
namespace SpotifyAPI.Web.Models
{
public class SimplePlaylist : BasicModel
{
[JsonProperty("collaborative")]
public Boolean Collaborative { get; set; }
[JsonProperty("external_urls")]
public Dictionary<string, string> ExternalUrls { get; set; }
[JsonProperty("href")]
2016-03-31 11:08:23 +01:00
public string Href { get; set; }
[JsonProperty("id")]
2016-03-31 11:08:23 +01:00
public string Id { get; set; }
[JsonProperty("images")]
public List<Image> Images { get; set; }
[JsonProperty("name")]
2016-03-31 11:08:23 +01:00
public string Name { get; set; }
[JsonProperty("owner")]
public PublicProfile Owner { get; set; }
[JsonProperty("public")]
public Boolean Public { get; set; }
[JsonProperty("snapshot_id")]
2016-03-31 11:08:23 +01:00
public string SnapshotId { get; set; }
[JsonProperty("tracks")]
public PlaylistTrackCollection Tracks { get; set; }
[JsonProperty("type")]
2016-03-31 11:08:23 +01:00
public string Type { get; set; }
[JsonProperty("uri")]
2016-03-31 11:08:23 +01:00
public string Uri { get; set; }
}
}