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

36 lines
621 B
C#
Raw Normal View History

2020-05-08 10:10:53 +01:00
using System;
namespace SpotifyAPI.Web
{
public class ArtistsAlbumsRequest : RequestParams
{
[QueryParam("include_groups")]
public IncludeGroups? IncludeGroupsParam { get; set; }
[QueryParam("market")]
public string Market { get; set; }
[QueryParam("limit")]
public int? Limit { get; set; }
[QueryParam("offset")]
public int? Offset { get; set; }
[Flags]
public enum IncludeGroups
{
[String("album")]
Album,
[String("single")]
Single,
[String("appears_on")]
AppearsOn,
[String("compilation")]
Compilation
}
}
}