mirror of
https://github.com/Sarsoo/Spotify.NET.git
synced 2024-12-27 00:16:26 +00:00
43 lines
981 B
C#
43 lines
981 B
C#
namespace SpotifyAPI.Web
|
|
{
|
|
public class FollowOfCurrentUserRequest : RequestParams
|
|
{
|
|
/// <summary>
|
|
/// The ID type: currently only artist is supported.
|
|
/// </summary>
|
|
/// <param name="type"></param>
|
|
public FollowOfCurrentUserRequest(Type type = Type.Artist)
|
|
{
|
|
TypeParam = type;
|
|
}
|
|
|
|
/// <summary>
|
|
/// The ID type: currently only artist is supported.
|
|
/// </summary>
|
|
/// <value></value>
|
|
[QueryParam("type")]
|
|
public Type TypeParam { get; set; }
|
|
|
|
/// <summary>
|
|
/// The maximum number of items to return. Default: 20. Minimum: 1. Maximum: 50.
|
|
/// </summary>
|
|
/// <value></value>
|
|
[QueryParam("limit")]
|
|
public int? Limit { get; set; }
|
|
|
|
/// <summary>
|
|
/// The last artist ID retrieved from the previous request.
|
|
/// </summary>
|
|
/// <value></value>
|
|
[QueryParam("after")]
|
|
public string? After { get; set; }
|
|
|
|
public enum Type
|
|
{
|
|
[String("artist")]
|
|
Artist
|
|
}
|
|
}
|
|
}
|
|
|