mirror of
https://github.com/Sarsoo/Spotify.NET.git
synced 2024-12-25 15:36:26 +00:00
27 lines
660 B
C#
27 lines
660 B
C#
using System.Collections.Generic;
|
||
|
||
namespace SpotifyAPI.Web
|
||
{
|
||
public class LibrarySaveShowsRequest : RequestParams
|
||
{
|
||
/// <summary>
|
||
///
|
||
/// </summary>
|
||
/// <param name="ids">A comma-separated list of Spotify IDs for the shows to be added to the user’s library.</param>
|
||
public LibrarySaveShowsRequest(IList<string> ids)
|
||
{
|
||
Ensure.ArgumentNotNullOrEmptyList(ids, nameof(ids));
|
||
|
||
Ids = ids;
|
||
}
|
||
|
||
/// <summary>
|
||
/// A comma-separated list of Spotify IDs for the shows to be added to the user’s library.
|
||
/// </summary>
|
||
/// <value></value>
|
||
[QueryParam("ids")]
|
||
public IList<string> Ids { get; }
|
||
}
|
||
}
|
||
|