mirror of
https://github.com/Sarsoo/Spotify.NET.git
synced 2024-12-27 16:26:27 +00:00
b39941f523
* Adding support to Get a player queue * Update to return Tracks and Episodes
15 lines
377 B
C#
15 lines
377 B
C#
using System.Collections.Generic;
|
|
using Newtonsoft.Json;
|
|
|
|
namespace SpotifyAPI.Web
|
|
{
|
|
public class QueueResponse
|
|
{
|
|
[JsonConverter(typeof(PlayableItemConverter))]
|
|
public IPlayableItem CurrentlyPlaying { get; set; } = default!;
|
|
[JsonProperty(ItemConverterType = typeof(PlayableItemConverter))]
|
|
public List<IPlayableItem> Queue { get; set; } = default!;
|
|
}
|
|
}
|
|
|