using System.Collections.Generic; namespace SpotifyAPI.Web { public class FollowCheckCurrentUserRequest : RequestParams { /// /// /// /// The ID type: either artist or user. /// /// A list of the artist or the user Spotify IDs to check. /// For example: ids=74ASZWbe4lXaubB36ztrGX,08td7MxkoHQkXnWAYD8d6Q. /// A maximum of 50 IDs can be sent in one request. /// public FollowCheckCurrentUserRequest(Type type, IList ids) { Ensure.ArgumentNotNull(type, nameof(type)); Ensure.ArgumentNotNullOrEmptyList(ids, nameof(ids)); TypeParam = type; Ids = ids; } /// /// The ID type: either artist or user. /// /// [QueryParam("type")] public Type TypeParam { get; } /// /// A list of the artist or the user Spotify IDs to check. /// For example: ids=74ASZWbe4lXaubB36ztrGX,08td7MxkoHQkXnWAYD8d6Q. /// A maximum of 50 IDs can be sent in one request. /// /// [QueryParam("ids")] public IList Ids { get; } public enum Type { [String("artist")] Artist, [String("user")] User } } }