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

25 lines
624 B
C#
Raw Permalink Normal View History

2020-05-08 10:10:53 +01:00
namespace SpotifyAPI.Web
{
public class ArtistsTopTracksRequest : RequestParams
{
2020-05-28 15:30:17 +01:00
/// <summary>
/// An ISO 3166-1 alpha-2 country code or the string from_token. Synonym for country.
/// </summary>
/// <param name="market"></param>
2020-05-08 10:10:53 +01:00
public ArtistsTopTracksRequest(string market)
{
Ensure.ArgumentNotNullOrEmptyString(market, nameof(market));
Market = market;
}
2020-05-28 15:30:17 +01:00
/// <summary>
/// An ISO 3166-1 alpha-2 country code or the string from_token. Synonym for country.
/// </summary>
/// <value></value>
2020-05-08 10:10:53 +01:00
[QueryParam("market")]
public string Market { get; }
}
}
2020-05-25 17:00:38 +01:00