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

28 lines
974 B
C#
Raw Normal View History

using System.Collections.Generic;
2020-05-02 21:48:21 +01:00
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
namespace SpotifyAPI.Web
{
public class SimpleTrack
{
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> 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 string Name { 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))]
public ItemType Type { get; private set; }
public string Uri { get; private set; }
}
}