Spotify.NET/SpotifyAPI.Web/Models/Response/QueueResponse.cs
Gavin b39941f523
Adding Endpoint to get a User's Queue (#807)
* Adding support to Get a player queue

* Update to return Tracks and Episodes
2022-11-08 21:58:05 +01:00

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!;
}
}