mirror of
https://github.com/Sarsoo/Spotify.NET.git
synced 2024-12-24 23:16:28 +00:00
31 lines
607 B
C#
31 lines
607 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
|
|
namespace SpotifyAPI.Web
|
|
{
|
|
public class PlaylistGetRequest : RequestParams
|
|
{
|
|
public PlaylistGetRequest()
|
|
{
|
|
AdditionalTypes = AdditionalType.All;
|
|
}
|
|
|
|
/// <summary>
|
|
/// This is set to `"track", "episode"` by default.
|
|
/// </summary>
|
|
/// <value></value>
|
|
[QueryParam("additional_types")]
|
|
public AdditionalType AdditionalTypes { get; set; }
|
|
|
|
[Flags]
|
|
public enum AdditionalType
|
|
{
|
|
[String("track")]
|
|
Track = 0,
|
|
[String("episode")]
|
|
Episode = 1,
|
|
All = Track | Episode
|
|
}
|
|
}
|
|
}
|