mirror of
https://github.com/Sarsoo/Spotify.NET.git
synced 2024-12-25 15:36:26 +00:00
19 lines
266 B
C#
19 lines
266 B
C#
using Newtonsoft.Json;
|
|
using Newtonsoft.Json.Converters;
|
|
|
|
namespace SpotifyAPI.Web
|
|
{
|
|
public enum ItemType
|
|
{
|
|
Track,
|
|
Episode
|
|
}
|
|
|
|
public class BasePlayableItem
|
|
{
|
|
[JsonConverter(typeof(StringEnumConverter))]
|
|
public ItemType Type { get; }
|
|
}
|
|
}
|
|
|