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

30 lines
761 B
C#
Raw Normal View History

2020-05-20 07:48:08 +01:00
using System.Collections.Generic;
namespace SpotifyAPI.Web
{
public class LibraryRemoveAlbumsRequest : RequestParams
{
2020-05-28 15:30:17 +01:00
/// <summary>
/// </summary>
/// <param name="ids">
/// A comma-separated list of the Spotify IDs.
/// For example: ids=4iV5W9uYEdYUVa79Axb7Rh,1301WleyT98MSxVHPZCA6M. Maximum: 50 IDs.
/// </param>
2020-05-20 07:48:08 +01:00
public LibraryRemoveAlbumsRequest(IList<string> ids)
{
Ensure.ArgumentNotNullOrEmptyList(ids, nameof(ids));
Ids = ids;
}
2020-05-28 15:30:17 +01:00
/// <summary>
/// A comma-separated list of the Spotify IDs.
/// For example: ids=4iV5W9uYEdYUVa79Axb7Rh,1301WleyT98MSxVHPZCA6M. Maximum: 50 IDs.
/// </summary>
/// <value></value>
2020-05-20 07:48:08 +01:00
[BodyParam("ids")]
public IList<string> Ids { get; }
}
}
2020-05-25 17:00:38 +01:00