Repository navigation
Expand file tree
/
Copy pathFollowGetCurrentUserRequest.cs
More file actions
53 lines (47 loc) · 1.55 KB
/
Copy pathFollowGetCurrentUserRequest.cs
File metadata and controls
53 lines (47 loc) · 1.55 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
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 desired language, consisting of an ISO 639-1 language code and an ISO 3166-1 alpha-2 country code,
/// joined by an underscore. For example: es_MX, meaning "Spanish (Mexico)".
/// Provide this parameter if you want the category strings returned in a particular language.
/// Note that, if locale is not supplied, or if the specified language is not available,
/// the category strings returned will be in the Spotify default language (American English).
/// </summary>
/// <value></value>
[QueryParam("locale")]
public string? Locale { 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
}
}
}