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

15 lines
377 B
C#
Raw Normal View History

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