Repository navigation
Expand file tree
/
Copy pathArtistsAlbumsRequest.cs
More file actions
58 lines (49 loc) · 1.73 KB
/
Copy pathArtistsAlbumsRequest.cs
File metadata and controls
58 lines (49 loc) · 1.73 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
53
54
55
56
57
using System;
namespace SpotifyAPI.Web
{
public class ArtistsAlbumsRequest : RequestParams
{
/// <summary>
/// A comma-separated list of keywords that will be used to filter the response.
/// If not supplied, all album types will be returned.
/// </summary>
/// <value></value>
[QueryParam("include_groups")]
public IncludeGroups? IncludeGroupsParam { get; set; }
/// <summary>
/// Synonym for country. An ISO 3166-1 alpha-2 country code or the string from_token.
/// Supply this parameter to limit the response to one particular geographical market.
/// For example, for albums available in Sweden: market=SE.
/// If not given, results will be returned for all markets and you are likely to get duplicate results per album,
/// one for each market in which the album is available!
/// </summary>
/// <value></value>
[QueryParam("market")]
public string? Market { get; set; }
/// <summary>
/// The number of album objects to return. Default: 20. Minimum: 1. Maximum: 50. For example: limit=2
/// </summary>
/// <value></value>
[QueryParam("limit")]
public int? Limit { get; set; }
/// <summary>
/// The index of the first album to return. Default: 0 (i.e., the first album). Use with limit to get the next set of albums.
/// </summary>
/// <value></value>
[QueryParam("offset")]
public int? Offset { get; set; }
[Flags]
public enum IncludeGroups
{
[String("album")]
Album = 1,
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1720")]
[String("single")]
Single = 2,
[String("appears_on")]
AppearsOn = 4,
[String("compilation")]
Compilation = 8,
}
}
}