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

18 lines
315 B
C#
Raw Normal View History

2020-05-08 10:10:53 +01:00
using System.Collections.Generic;
namespace SpotifyAPI.Web
{
public class ArtistsRequest : RequestParams
{
public ArtistsRequest(IList<string> ids)
{
Ensure.ArgumentNotNullOrEmptyList(ids, nameof(ids));
Ids = ids;
}
[QueryParam("ids")]
public IList<string> Ids { get; }
}
}