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

16 lines
315 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
{
[BodyParam("uris")]
public List<string> Uris { get; set; }
protected override void CustomEnsure()
{
Ensure.ArgumentNotNullOrEmptyList(Uris, nameof(Uris));
}
}
}