Spotify.NET/SpotifyAPI.Web/Models/Request/PlayerAddToQueueRequest.cs

19 lines
358 B
C#
Raw Normal View History

2020-05-07 17:03:20 +01:00
namespace SpotifyAPI.Web
{
public class PlayerAddToQueueRequest : RequestParams
{
public PlayerAddToQueueRequest(string uri)
{
Ensure.ArgumentNotNullOrEmptyString(uri, nameof(uri));
Uri = uri;
}
[QueryParam("uri")]
public string Uri { get; }
[QueryParam("device_id")]
public string DeviceId { get; set; }
}
}