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

48 lines
1.2 KiB
C#
Raw Normal View History

using Newtonsoft.Json;
using System;
using System.Collections.Generic;
namespace SpotifyAPI.Web.Models
{
public class SimpleTrack : BasicModel
{
[JsonProperty("artist")]
public SimpleArtist Artist { get; set; }
2015-07-26 13:02:22 +01:00
[JsonProperty("available_markets")]
public List<String> AvailableMarkets { get; set; }
2015-07-26 13:02:22 +01:00
[JsonProperty("disc_number")]
public int DiscNumber { get; set; }
2015-07-26 13:02:22 +01:00
[JsonProperty("duration_ms")]
public int DurationMs { get; set; }
2015-07-26 13:02:22 +01:00
[JsonProperty("explicit")]
public Boolean Explicit { get; set; }
2015-07-26 13:02:22 +01:00
[JsonProperty("external_urls")]
public Dictionary<String, String> ExternUrls { get; set; }
2015-07-26 13:02:22 +01:00
[JsonProperty("href")]
public String Href { get; set; }
2015-07-26 13:02:22 +01:00
[JsonProperty("id")]
public String Id { get; set; }
2015-07-26 13:02:22 +01:00
[JsonProperty("name")]
public String Name { get; set; }
2015-07-26 13:02:22 +01:00
[JsonProperty("preview_url")]
public String PreviewUrl { get; set; }
2015-07-26 13:02:22 +01:00
[JsonProperty("track_number")]
public int TrackNumber { get; set; }
2015-07-26 13:02:22 +01:00
[JsonProperty("type")]
public String Type { get; set; }
2015-07-26 13:02:22 +01:00
[JsonProperty("uri")]
public String Uri { get; set; }
}
2015-07-26 13:02:22 +01:00
}