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

21 lines
389 B
C#
Raw Normal View History

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