Spotify.NET/SpotifyAPI.Web/Models/Request/LibrarySaveShowsRequest.cs
2020-05-28 16:30:17 +02:00

27 lines
660 B
C#
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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 users 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 users library.
/// </summary>
/// <value></value>
[QueryParam("ids")]
public IList<string> Ids { get; }
}
}