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

21 lines
380 B
C#
Raw Normal View History

2020-05-07 12:48:31 +01:00
using System.Collections.Generic;
namespace SpotifyAPI.Web
{
public class TracksRequest : RequestParams
{
public TracksRequest(IList<string> ids)
{
Ensure.ArgumentNotNullOrEmptyList(ids, nameof(ids));
Ids = ids;
}
[QueryParam("ids")]
public IList<string> Ids { get; }
[QueryParam("market")]
public string Market { get; set; }
}
}