Spotify.NET/SpotifyAPI.Web/Models/Request/LibraryRemoveEpisodesRequest.cs
Pawel Bojkowski c4704abae4
Fixing #607 + Refactoring (#608)
* Fixing #607 + Refactoring

Added me/episodes and done some refactoring

* Fixing LibrarySaveEpisodesRequest #607

Fixing the remove of epsides.

* Fixed some issues after review #608

* Fixing some small issues

Co-authored-by: DEV-PBO-DEV <72922549+DEV-PBO-DEV@users.noreply.github.com>
2021-08-10 22:17:51 +02:00

28 lines
694 B
C#
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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; }
}
}