2020-05-04 22:02:53 +01:00
|
|
|
namespace SpotifyAPI.Web
|
|
|
|
{
|
|
|
|
public class FollowOfCurrentUserRequest : RequestParams
|
|
|
|
{
|
2020-05-05 14:30:00 +01:00
|
|
|
public FollowOfCurrentUserRequest(Type type = Type.Artist)
|
2020-05-04 22:02:53 +01:00
|
|
|
{
|
2020-05-05 14:30:00 +01:00
|
|
|
TypeParam = type;
|
2020-05-04 22:02:53 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
[QueryParam("type")]
|
2020-05-05 14:30:00 +01:00
|
|
|
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; }
|
|
|
|
|
2020-05-05 14:30:00 +01:00
|
|
|
public enum Type
|
2020-05-04 22:02:53 +01:00
|
|
|
{
|
|
|
|
[String("artist")]
|
|
|
|
Artist
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|