2020-05-02 12:04:26 +01:00
|
|
|
using System.Collections.Generic;
|
2020-05-02 21:48:21 +01:00
|
|
|
using Newtonsoft.Json;
|
|
|
|
using Newtonsoft.Json.Converters;
|
2020-05-02 12:04:26 +01:00
|
|
|
|
|
|
|
namespace SpotifyAPI.Web
|
|
|
|
{
|
|
|
|
public class SimpleTrack
|
|
|
|
{
|
2020-05-08 09:25:33 +01:00
|
|
|
public List<SimpleArtist> Artists { get; set; }
|
|
|
|
public List<string> AvailableMarkets { get; set; }
|
|
|
|
public int DiscNumber { get; set; }
|
|
|
|
public int DurationMs { get; set; }
|
|
|
|
public bool Explicit { get; set; }
|
|
|
|
public Dictionary<string, string> ExternalUrls { get; set; }
|
|
|
|
public string Href { get; set; }
|
|
|
|
public string Id { get; set; }
|
|
|
|
public bool IsPlayable { get; set; }
|
|
|
|
public LinkedTrack LinkedFrom { get; set; }
|
|
|
|
public string Name { get; set; }
|
|
|
|
public string PreviewUrl { get; set; }
|
|
|
|
public int TrackNumber { get; set; }
|
2020-05-02 21:48:21 +01:00
|
|
|
|
|
|
|
[JsonConverter(typeof(StringEnumConverter))]
|
2020-05-08 09:25:33 +01:00
|
|
|
public ItemType Type { get; set; }
|
|
|
|
public string Uri { get; set; }
|
2020-05-02 12:04:26 +01:00
|
|
|
}
|
|
|
|
}
|