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

31 lines
773 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
{
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>
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
}
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>
[BodyParam("uris")]
public IList<string> Uris { get; }
2020-05-03 08:06:28 +01:00
}
}
2020-05-25 17:00:38 +01:00