2020-05-01 19:05:28 +01:00
|
|
|
using System.Collections.Generic;
|
2020-05-02 21:48:21 +01:00
|
|
|
using Newtonsoft.Json;
|
|
|
|
using Newtonsoft.Json.Converters;
|
2020-05-01 19:05:28 +01:00
|
|
|
|
|
|
|
namespace SpotifyAPI.Web
|
|
|
|
{
|
2020-05-02 21:48:21 +01:00
|
|
|
public class FullTrack : IPlaylistItem
|
2020-05-01 19:05:28 +01:00
|
|
|
{
|
2020-05-05 14:30:00 +01:00
|
|
|
public SimpleAlbum Album { get; private set; }
|
|
|
|
public List<SimpleArtist> Artists { get; private set; }
|
|
|
|
public List<string> AvailableMarkets { get; private set; }
|
|
|
|
public int DiscNumber { get; private set; }
|
|
|
|
public int DurationMs { get; private set; }
|
|
|
|
public bool Explicit { get; private set; }
|
|
|
|
public Dictionary<string, string> ExternalIds { get; private set; }
|
|
|
|
public Dictionary<string, string> ExternalUrls { get; private set; }
|
|
|
|
public string Href { get; private set; }
|
|
|
|
public string Id { get; private set; }
|
|
|
|
public bool IsPlayable { get; private set; }
|
|
|
|
public LinkedTrack LinkedFrom { get; private set; }
|
|
|
|
public Dictionary<string, string> Restrictions { get; private set; }
|
|
|
|
public string Name { get; private set; }
|
|
|
|
public int Popularity { get; private set; }
|
|
|
|
public string PreviewUrl { get; private set; }
|
|
|
|
public int TrackNumber { get; private set; }
|
2020-05-02 21:48:21 +01:00
|
|
|
|
|
|
|
[JsonConverter(typeof(StringEnumConverter))]
|
2020-05-05 14:30:00 +01:00
|
|
|
public ItemType Type { get; private set; }
|
|
|
|
public string Uri { get; private set; }
|
|
|
|
public bool IsLocal { get; private set; }
|
2020-05-01 19:05:28 +01:00
|
|
|
}
|
|
|
|
}
|