mirror of
https://github.com/Sarsoo/Spotify.NET.git
synced 2024-12-25 15:36:26 +00:00
23 lines
449 B
C#
23 lines
449 B
C#
|
namespace SpotifyAPI.Web
|
||
|
{
|
||
|
public class PlaylistCreateRequest : RequestParams
|
||
|
{
|
||
|
public PlaylistCreateRequest(string name)
|
||
|
{
|
||
|
Name = name;
|
||
|
}
|
||
|
|
||
|
[BodyParam("name")]
|
||
|
public string Name { get; set; }
|
||
|
|
||
|
[BodyParam("public")]
|
||
|
public bool? Public { get; set; }
|
||
|
|
||
|
[BodyParam("collaborative")]
|
||
|
public bool? Collaborative { get; set; }
|
||
|
|
||
|
[BodyParam("description")]
|
||
|
public string Description { get; set; }
|
||
|
}
|
||
|
}
|