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

22 lines
578 B
C#
Raw Normal View History

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