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

21 lines
380 B
C#
Raw Normal View History

2020-05-07 21:33:29 +01:00
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; }
}
}