2020-05-04 22:02:53 +01:00
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
|
|
namespace SpotifyAPI.Web
|
|
|
|
{
|
|
|
|
public class FollowCheckPlaylistRequest : RequestParams
|
|
|
|
{
|
2020-05-28 15:30:17 +01:00
|
|
|
/// <summary>
|
|
|
|
///
|
|
|
|
/// </summary>
|
|
|
|
/// <param name="ids">
|
|
|
|
/// A comma-separated list of Spotify User IDs ;
|
|
|
|
/// the ids of the users that you want to check to see if they follow the playlist.
|
|
|
|
/// Maximum: 5 ids.
|
|
|
|
/// </param>
|
2020-05-05 14:30:00 +01:00
|
|
|
public FollowCheckPlaylistRequest(IList<string> ids)
|
2020-05-04 22:02:53 +01:00
|
|
|
{
|
2020-05-05 14:30:00 +01:00
|
|
|
Ensure.ArgumentNotNullOrEmptyList(ids, nameof(ids));
|
|
|
|
|
|
|
|
Ids = ids;
|
2020-05-04 22:02:53 +01:00
|
|
|
}
|
2020-05-05 14:30:00 +01:00
|
|
|
|
2020-05-28 15:30:17 +01:00
|
|
|
/// <summary>
|
|
|
|
/// A comma-separated list of Spotify User IDs ;
|
|
|
|
/// the ids of the users that you want to check to see if they follow the playlist.
|
|
|
|
/// Maximum: 5 ids.
|
|
|
|
/// </summary>
|
|
|
|
/// <value></value>
|
2020-05-05 14:30:00 +01:00
|
|
|
[QueryParam("ids")]
|
|
|
|
public IList<string> Ids { get; }
|
2020-05-04 22:02:53 +01:00
|
|
|
}
|
|
|
|
}
|
2020-05-25 17:00:38 +01:00
|
|
|
|