2020-05-20 07:48:08 +01:00
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
|
|
|
|
namespace SpotifyAPI.Web
|
|
|
|
|
{
|
|
|
|
|
public class LibrarySaveShowsRequest : RequestParams
|
|
|
|
|
{
|
2020-05-28 15:30:17 +01:00
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="ids">A comma-separated list of Spotify IDs for the shows to be added to the user’s library.</param>
|
2020-05-20 07:48:08 +01:00
|
|
|
|
public LibrarySaveShowsRequest(IList<string> ids)
|
|
|
|
|
{
|
|
|
|
|
Ensure.ArgumentNotNullOrEmptyList(ids, nameof(ids));
|
|
|
|
|
|
|
|
|
|
Ids = ids;
|
|
|
|
|
}
|
|
|
|
|
|
2020-05-28 15:30:17 +01:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// A comma-separated list of Spotify IDs for the shows to be added to the user’s library.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value></value>
|
2020-05-20 07:48:08 +01:00
|
|
|
|
[QueryParam("ids")]
|
|
|
|
|
public IList<string> Ids { get; }
|
|
|
|
|
}
|
|
|
|
|
}
|
2020-05-25 17:00:38 +01:00
|
|
|
|
|