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

22 lines
386 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")]
2020-05-25 17:00:38 +01:00
public IList<string> Ids { get; }
[QueryParam("market")]
2020-05-25 17:00:38 +01:00
public string? Market { get; set; }
}
}
2020-05-25 17:00:38 +01:00