2014-07-20 21:42:46 +01:00
|
|
|
using System.Collections.Generic;
|
2020-03-09 19:47:39 +00:00
|
|
|
using Newtonsoft.Json;
|
2014-07-20 21:42:46 +01:00
|
|
|
|
2015-07-07 17:11:11 +01:00
|
|
|
namespace SpotifyAPI.Web.Models
|
2014-07-20 21:42:46 +01:00
|
|
|
{
|
2020-03-09 19:47:39 +00:00
|
|
|
public class SimpleAlbum : BasicModel
|
|
|
|
{
|
|
|
|
[JsonProperty("album_group")]
|
|
|
|
public string AlbumGroup { get; set; }
|
2018-09-21 13:51:30 +01:00
|
|
|
|
2020-03-09 19:47:39 +00:00
|
|
|
[JsonProperty("album_type")]
|
|
|
|
public string AlbumType { get; set; }
|
2015-07-26 13:02:22 +01:00
|
|
|
|
2020-03-09 19:47:39 +00:00
|
|
|
[JsonProperty("artists")]
|
|
|
|
public List<SimpleArtist> Artists { get; set; }
|
2018-09-21 13:51:30 +01:00
|
|
|
|
2020-03-09 19:47:39 +00:00
|
|
|
[JsonProperty("available_markets")]
|
|
|
|
public List<string> AvailableMarkets { get; set; }
|
2015-07-26 13:02:22 +01:00
|
|
|
|
2020-03-09 19:47:39 +00:00
|
|
|
[JsonProperty("external_urls")]
|
|
|
|
public Dictionary<string, string> ExternalUrls { get; set; }
|
2015-07-26 13:02:22 +01:00
|
|
|
|
2020-03-09 19:47:39 +00:00
|
|
|
[JsonProperty("href")]
|
|
|
|
public string Href { get; set; }
|
2015-07-26 13:02:22 +01:00
|
|
|
|
2020-03-09 19:47:39 +00:00
|
|
|
[JsonProperty("id")]
|
|
|
|
public string Id { get; set; }
|
2015-07-26 13:02:22 +01:00
|
|
|
|
2020-03-09 19:47:39 +00:00
|
|
|
[JsonProperty("images")]
|
|
|
|
public List<Image> Images { get; set; }
|
2015-07-26 13:02:22 +01:00
|
|
|
|
2020-03-09 19:47:39 +00:00
|
|
|
[JsonProperty("name")]
|
|
|
|
public string Name { get; set; }
|
2015-07-26 13:02:22 +01:00
|
|
|
|
2020-03-09 19:47:39 +00:00
|
|
|
[JsonProperty("release_date")]
|
|
|
|
public string ReleaseDate { get; set; }
|
2018-03-25 17:29:21 +01:00
|
|
|
|
2020-03-09 19:47:39 +00:00
|
|
|
[JsonProperty("release_date_precision")]
|
|
|
|
public string ReleaseDatePrecision { get; set; }
|
2018-03-25 17:29:21 +01:00
|
|
|
|
2020-03-09 19:47:39 +00:00
|
|
|
[JsonProperty("restrictions")]
|
|
|
|
public Dictionary<string, string> Restrictions { get; set; }
|
2018-09-21 13:51:30 +01:00
|
|
|
|
2020-03-09 19:47:39 +00:00
|
|
|
[JsonProperty("total_tracks")]
|
|
|
|
public int TotalTracks { get; set; }
|
2019-08-04 13:09:09 +01:00
|
|
|
|
2020-03-09 19:47:39 +00:00
|
|
|
[JsonProperty("type")]
|
|
|
|
public string Type { get; set; }
|
2015-07-26 13:02:22 +01:00
|
|
|
|
2020-03-09 19:47:39 +00:00
|
|
|
[JsonProperty("uri")]
|
|
|
|
public string Uri { get; set; }
|
|
|
|
}
|
2015-07-26 13:02:22 +01:00
|
|
|
}
|