mirror of
https://github.com/Sarsoo/Spotify.NET.git
synced 2024-12-24 23:16:28 +00:00
23 lines
435 B
C#
23 lines
435 B
C#
using System.Collections.Generic;
|
|
|
|
namespace SpotifyAPI.Web
|
|
{
|
|
public class ShowsRequest : RequestParams
|
|
{
|
|
public ShowsRequest(List<string> ids)
|
|
{
|
|
Ids = ids;
|
|
}
|
|
[QueryParam("ids")]
|
|
public List<string> Ids { get; set; }
|
|
|
|
[QueryParam("market")]
|
|
public string Market { get; set; }
|
|
|
|
protected override void CustomEnsure()
|
|
{
|
|
Ensure.ArgumentNotNullOrEmptyList(Ids, nameof(Ids));
|
|
}
|
|
}
|
|
}
|