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

23 lines
449 B
C#
Raw Normal View History

2020-05-03 00:00:35 +01:00
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; }
}
}