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

17 lines
318 B
C#
Raw Normal View History

2020-05-07 17:03:20 +01:00
namespace SpotifyAPI.Web
{
public class PlayerSeekToRequest : RequestParams
{
public PlayerSeekToRequest(long positionMs)
{
PositonMs = positionMs;
}
[QueryParam("position_ms")]
public long PositonMs { get; }
[QueryParam("device_id")]
public string DeviceId { get; set; }
}
}