Spotify.NET/SpotifyAPI.Web/Models/Request/LibraryRemoveTracksRequest.cs
2022-11-27 13:07:50 +01:00

31 lines
770 B
C#

using System.Collections.Generic;
namespace SpotifyAPI.Web
{
public class LibraryRemoveTracksRequest : RequestParams
{
/// <summary>
///
/// </summary>
/// <param name="ids">
/// A comma-separated list of the Spotify IDs. For example: ids=4iV5W9uYEdYUVa79Axb7Rh,1301WleyT98MSxVHPZCA6M.
/// Maximum: 20 IDs.
/// </param>
public LibraryRemoveTracksRequest(IList<string> ids)
{
Ensure.ArgumentNotNullOrEmptyList(ids, nameof(ids));
Ids = ids;
}
/// <summary>
/// A comma-separated list of the Spotify IDs. For example: ids=4iV5W9uYEdYUVa79Axb7Rh,1301WleyT98MSxVHPZCA6M.
/// Maximum: 20 IDs.
/// </summary>
/// <value></value>
[QueryParam("ids")]
public IList<string> Ids { get; }
}
}