2021-08-10 21:17:51 +01:00
|
|
|
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>
|
2022-11-27 12:07:50 +00:00
|
|
|
/// A comma-separated list of the Spotify IDs.
|
2021-08-10 21:17:51 +01:00
|
|
|
/// Maximum: 50 IDs.
|
|
|
|
/// </summary>
|
|
|
|
/// <value></value>
|
|
|
|
[QueryParam("ids")]
|
|
|
|
public IList<string> Ids { get; }
|
|
|
|
}
|
|
|
|
}
|