namespace SpotifyAPI.Web
{
public class PlayerAddToQueueRequest : RequestParams
{
///
///
///
/// The uri of the item to add to the queue. Must be a track or an episode uri.
public PlayerAddToQueueRequest(string uri)
{
Ensure.ArgumentNotNullOrEmptyString(uri, nameof(uri));
Uri = uri;
}
///
/// The uri of the item to add to the queue. Must be a track or an episode uri.
///
///
[QueryParam("uri")]
public string Uri { get; }
///
/// The id of the device this command is targeting.
/// If not supplied, the user’s currently active device is the target.
///
///
[QueryParam("device_id")]
public string? DeviceId { get; set; }
}
}