Spotify.NET/SpotifyAPI.Web/Models/Request/LibrarySaveEpisodesRequest.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

27 lines
583 B
C#

using System.Collections.Generic;
namespace SpotifyAPI.Web
{
public class LibrarySaveEpisodesRequest : RequestParams
{
/// <summary>
/// Request for SaveEpisodes.
/// </summary>
/// <param name="ids"></param>
public LibrarySaveEpisodesRequest(IList<string> ids)
{
Ensure.ArgumentNotNullOrEmptyList(ids, nameof(ids));
Ids = ids;
}
/// <summary>
/// A comma-separated list of the Spotify IDs.
/// Maximum: 50 IDs.
/// </summary>
/// <value></value>
[QueryParam("ids")]
public IList<string> Ids { get; }
}
}