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

18 lines
418 B
C#
Raw Normal View History

2020-05-07 17:03:20 +01:00
using System;
using Newtonsoft.Json;
namespace SpotifyAPI.Web
{
public class CurrentlyPlaying
{
public Context Context { get; set; }
public string CurrentlyPlayingType { get; set; }
public bool IsPlaying { get; set; }
2020-05-07 17:03:20 +01:00
[JsonConverter(typeof(PlayableItemConverter))]
public IPlayableItem Item { get; set; }
public int? ProgressMs { get; set; }
public long Timestamp { get; set; }
2020-05-07 17:03:20 +01:00
}
}