Spotify.NET/SpotifyAPI.Web/Models/Request/PlaylistReplaceItemsRequest.cs
Jonas Dellinger 7445d3ca0e 📘 More docs! #451
2020-05-31 00:11:05 +02:00

31 lines
773 B
C#

using System.Collections.Generic;
namespace SpotifyAPI.Web
{
public class PlaylistReplaceItemsRequest : RequestParams
{
/// <summary>
///
/// </summary>
/// <param name="uris">
/// A comma-separated list of Spotify URIs to set, can be track or episode URIs.
/// A maximum of 100 items can be set in one request.
/// </param>
public PlaylistReplaceItemsRequest(List<string> uris)
{
Ensure.ArgumentNotNull(uris, nameof(uris));
Uris = uris;
}
/// <summary>
/// A comma-separated list of Spotify URIs to set, can be track or episode URIs.
/// A maximum of 100 items can be set in one request.
/// </summary>
/// <value></value>
[BodyParam("uris")]
public IList<string> Uris { get; }
}
}