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

28 lines
694 B
C#
Raw Permalink Normal View History

using System.Collections.Generic;
namespace SpotifyAPI.Web
{
public class LibraryRemoveEpisodesRequest : RequestParams
{
/// <summary>
///
/// </summary>
/// <param name="ids">
/// A comma-separated list of Spotify IDs for the shows to be deleted from the users library.
/// </param>
public LibraryRemoveEpisodesRequest(IList<string> ids)
{
Ensure.ArgumentNotNullOrEmptyList(ids, nameof(ids));
Ids = ids;
}
/// <summary>
/// A comma-separated list of Spotify IDs for the shows to be deleted from the users library.
/// </summary>
/// <value></value>
[BodyParam("ids")]
public IList<string> Ids { get; }
}
}