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

22 lines
382 B
C#
Raw Normal View History

2020-05-07 12:48:31 +01:00
using System.Collections.Generic;
namespace SpotifyAPI.Web
{
public class TracksRequest : RequestParams
{
public TracksRequest(IList<string> ids)
{
Ensure.ArgumentNotNullOrEmptyList(ids, nameof(ids));
Ids = ids;
}
[QueryParam("ids")]
public IList<string> Ids { get; }
[QueryParam("market")]
2020-05-25 17:00:38 +01:00
public string? Market { get; set; }
2020-05-07 12:48:31 +01:00
}
}
2020-05-25 17:00:38 +01:00