Spotify.NET/SpotifyAPI.Web/Models/Request/LibrarySaveEpisodesRequest.cs
2022-11-27 13:07:50 +01:00

27 lines
582 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; }
}
}