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

29 lines
689 B
C#
Raw Normal View History

2020-05-20 07:48:08 +01:00
using System.Collections.Generic;
namespace SpotifyAPI.Web
{
public class LibraryRemoveShowsRequest : RequestParams
{
2020-05-28 15:30:17 +01:00
/// <summary>
///
/// </summary>
/// <param name="ids">
/// A comma-separated list of Spotify IDs for the shows to be deleted from the users library.
/// </param>
2020-05-20 07:48:08 +01:00
public LibraryRemoveShowsRequest(IList<string> ids)
{
Ensure.ArgumentNotNullOrEmptyList(ids, nameof(ids));
Ids = ids;
}
2020-05-28 15:30:17 +01:00
/// <summary>
/// A comma-separated list of Spotify IDs for the shows to be deleted from the users library.
/// </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