mirror of
https://github.com/Sarsoo/Spotify.NET.git
synced 2024-12-24 23:16:28 +00:00
33 lines
1.1 KiB
C#
33 lines
1.1 KiB
C#
using System.Collections.Generic;
|
|
using Newtonsoft.Json;
|
|
using Newtonsoft.Json.Converters;
|
|
|
|
namespace SpotifyAPI.Web
|
|
{
|
|
public class FullTrack : IPlayableItem
|
|
{
|
|
public SimpleAlbum Album { get; set; }
|
|
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> ExternalIds { 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 Dictionary<string, string> Restrictions { get; set; }
|
|
public string Name { get; set; }
|
|
public int Popularity { get; set; }
|
|
public string PreviewUrl { get; set; }
|
|
public int TrackNumber { get; set; }
|
|
|
|
[JsonConverter(typeof(StringEnumConverter))]
|
|
public ItemType Type { get; set; }
|
|
public string Uri { get; set; }
|
|
public bool IsLocal { get; set; }
|
|
}
|
|
}
|