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

18 lines
335 B
C#
Raw Normal View History

2020-05-03 08:06:28 +01:00
using System.Collections.Generic;
namespace SpotifyAPI.Web
{
public class PlaylistReplaceItemsRequest : RequestParams
{
public PlaylistReplaceItemsRequest(List<string> uris)
2020-05-03 08:06:28 +01:00
{
Ensure.ArgumentNotNull(uris, nameof(uris));
Uris = uris;
2020-05-03 08:06:28 +01:00
}
[BodyParam("uris")]
public IList<string> Uris { get; }
2020-05-03 08:06:28 +01:00
}
}