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

66 lines
1.8 KiB
C#
Raw Normal View History

using Newtonsoft.Json;
using System.Collections.Generic;
namespace SpotifyAPI.Web.Models
{
public class FullAlbum : BasicModel
{
[JsonProperty("album_type")]
2016-03-31 11:08:23 +01:00
public string AlbumType { get; set; }
2015-07-26 13:02:22 +01:00
[JsonProperty("artists")]
public List<SimpleArtist> Artists { get; set; }
2015-07-26 13:02:22 +01:00
[JsonProperty("available_markets")]
2016-03-31 11:08:23 +01:00
public List<string> AvailableMarkets { get; set; }
2015-07-26 13:02:22 +01:00
[JsonProperty("copyrights")]
public List<Copyright> Copyrights { get; set; }
2015-07-26 13:02:22 +01:00
[JsonProperty("external_ids")]
2016-03-31 11:08:23 +01:00
public Dictionary<string, string> ExternalIds { get; set; }
2015-07-26 13:02:22 +01:00
[JsonProperty("external_urls")]
2016-03-31 11:08:23 +01:00
public Dictionary<string, string> ExternalUrls { get; set; }
2015-07-26 13:02:22 +01:00
[JsonProperty("genres")]
2016-03-31 11:08:23 +01:00
public List<string> Genres { get; set; }
2015-07-26 13:02:22 +01:00
[JsonProperty("href")]
2016-03-31 11:08:23 +01:00
public string Href { get; set; }
2015-07-26 13:02:22 +01:00
[JsonProperty("id")]
2016-03-31 11:08:23 +01:00
public string Id { get; set; }
2015-07-26 13:02:22 +01:00
[JsonProperty("images")]
public List<Image> Images { get; set; }
[JsonProperty("label")]
public string Label { get; set; }
2015-07-26 13:02:22 +01:00
[JsonProperty("name")]
2016-03-31 11:08:23 +01:00
public string Name { get; set; }
2015-07-26 13:02:22 +01:00
[JsonProperty("popularity")]
public int Popularity { get; set; }
2015-07-26 13:02:22 +01:00
[JsonProperty("release_date")]
2016-03-31 11:08:23 +01:00
public string ReleaseDate { get; set; }
2015-07-26 13:02:22 +01:00
[JsonProperty("release_date_precision")]
2016-03-31 11:08:23 +01:00
public string ReleaseDatePrecision { get; set; }
2015-07-26 13:02:22 +01:00
[JsonProperty("tracks")]
public Paging<SimpleTrack> Tracks { get; set; }
2015-07-26 13:02:22 +01:00
2018-09-21 13:51:30 +01:00
[JsonProperty("restrictions")]
public Dictionary<string, string> Restrictions { get; set; }
[JsonProperty("type")]
2016-03-31 11:08:23 +01:00
public string Type { get; set; }
2015-07-26 13:02:22 +01:00
[JsonProperty("uri")]
2016-03-31 11:08:23 +01:00
public string Uri { get; set; }
}
}