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

26 lines
460 B
C#
Raw Normal View History

2020-05-04 22:02:53 +01:00
namespace SpotifyAPI.Web
{
public class FollowOfCurrentUserRequest : RequestParams
{
public FollowOfCurrentUserRequest(Type type = Type.Artist)
2020-05-04 22:02:53 +01:00
{
TypeParam = type;
2020-05-04 22:02:53 +01:00
}
[QueryParam("type")]
public Type TypeParam { get; set; }
2020-05-04 22:02:53 +01:00
[QueryParam("limit")]
public int? Limit { get; set; }
[QueryParam("after")]
public string After { get; set; }
public enum Type
2020-05-04 22:02:53 +01:00
{
[String("artist")]
Artist
}
}
}