Spotify.NET/SpotifyAPI.Web/Models/Request/AlbumsRequest.cs
2020-05-07 22:33:29 +02:00

21 lines
380 B
C#

using System.Collections.Generic;
namespace SpotifyAPI.Web
{
public class AlbumsRequest : RequestParams
{
public AlbumsRequest(IList<string> ids)
{
Ensure.ArgumentNotNullOrEmptyList(ids, nameof(ids));
Ids = ids;
}
[QueryParam("ids")]
public IList<string> Ids { get; }
[QueryParam("market")]
public string Market { get; set; }
}
}