mirror of
https://github.com/Sarsoo/Spotify.NET.git
synced 2024-12-23 22:56:25 +00:00
30 lines
758 B
C#
30 lines
758 B
C#
using System.Collections.Generic;
|
|
|
|
namespace SpotifyAPI.Web
|
|
{
|
|
public class LibrarySaveAlbumsRequest : RequestParams
|
|
{
|
|
/// <summary>
|
|
/// </summary>
|
|
/// <param name="ids">
|
|
/// A comma-separated list of the Spotify IDs.
|
|
/// For example: ids=4iV5W9uYEdYUVa79Axb7Rh,1301WleyT98MSxVHPZCA6M. Maximum: 50 IDs.
|
|
/// </param>
|
|
public LibrarySaveAlbumsRequest(IList<string> ids)
|
|
{
|
|
Ensure.ArgumentNotNullOrEmptyList(ids, nameof(ids));
|
|
|
|
Ids = ids;
|
|
}
|
|
|
|
/// <summary>
|
|
/// A comma-separated list of the Spotify IDs.
|
|
/// For example: ids=4iV5W9uYEdYUVa79Axb7Rh,1301WleyT98MSxVHPZCA6M. Maximum: 50 IDs.
|
|
/// </summary>
|
|
/// <value></value>
|
|
[QueryParam("ids")]
|
|
public IList<string> Ids { get; }
|
|
}
|
|
}
|
|
|