Spotify.NET/SpotifyAPI.Web/Models/Request/PlayerAddToQueueRequest.cs
2020-05-07 18:03:20 +02:00

19 lines
358 B
C#

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