2020-05-03 08:06:28 +01:00
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
|
|
namespace SpotifyAPI.Web
|
|
|
|
{
|
|
|
|
public class PlaylistReplaceItemsRequest : RequestParams
|
|
|
|
{
|
2020-05-30 23:11:05 +01:00
|
|
|
/// <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>
|
2020-05-05 14:30:00 +01:00
|
|
|
public PlaylistReplaceItemsRequest(List<string> uris)
|
2020-05-03 08:06:28 +01:00
|
|
|
{
|
2020-05-05 14:30:00 +01:00
|
|
|
Ensure.ArgumentNotNull(uris, nameof(uris));
|
|
|
|
|
|
|
|
Uris = uris;
|
2020-05-03 08:06:28 +01:00
|
|
|
}
|
2020-05-05 14:30:00 +01:00
|
|
|
|
2020-05-30 23:11:05 +01:00
|
|
|
/// <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>
|
2020-05-05 14:30:00 +01:00
|
|
|
[BodyParam("uris")]
|
|
|
|
public IList<string> Uris { get; }
|
2020-05-03 08:06:28 +01:00
|
|
|
}
|
|
|
|
}
|
2020-05-25 17:00:38 +01:00
|
|
|
|