mirror of
https://github.com/Sarsoo/Spotify.NET.git
synced 2024-12-26 16:06:27 +00:00
c4704abae4
* 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>
27 lines
583 B
C#
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; }
|
|
}
|
|
}
|