Spotify.NET/SpotifyAPI.Web/Models/Request/FollowCheckPlaylistRequest.cs

33 lines
820 B
C#
Raw Normal View History

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>
public FollowCheckPlaylistRequest(IList<string> ids)
2020-05-04 22:02:53 +01:00
{
Ensure.ArgumentNotNullOrEmptyList(ids, nameof(ids));
Ids = ids;
2020-05-04 22:02:53 +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>
[QueryParam("ids")]
public IList<string> Ids { get; }
2020-05-04 22:02:53 +01:00
}
}
2020-05-25 17:00:38 +01:00