mirror of
https://github.com/Sarsoo/Spotify.NET.git
synced 2024-12-25 23:46:27 +00:00
25 lines
624 B
C#
25 lines
624 B
C#
namespace SpotifyAPI.Web
|
|
{
|
|
public class ArtistsTopTracksRequest : RequestParams
|
|
{
|
|
/// <summary>
|
|
/// An ISO 3166-1 alpha-2 country code or the string from_token. Synonym for country.
|
|
/// </summary>
|
|
/// <param name="market"></param>
|
|
public ArtistsTopTracksRequest(string market)
|
|
{
|
|
Ensure.ArgumentNotNullOrEmptyString(market, nameof(market));
|
|
|
|
Market = market;
|
|
}
|
|
|
|
/// <summary>
|
|
/// An ISO 3166-1 alpha-2 country code or the string from_token. Synonym for country.
|
|
/// </summary>
|
|
/// <value></value>
|
|
[QueryParam("market")]
|
|
public string Market { get; }
|
|
}
|
|
}
|
|
|