using System.Collections.Generic; namespace SpotifyAPI.Web { public class PlayerTransferPlaybackRequest : RequestParams { public PlayerTransferPlaybackRequest(IList deviceIds) { Ensure.ArgumentNotNullOrEmptyList(deviceIds, nameof(deviceIds)); DeviceIds = deviceIds; } [BodyParam("device_ids")] public IList DeviceIds { get; } [BodyParam("play")] public bool? Play { get; set; } } }