Spotify.NET/SpotifyAPI.Web/Models/Request/PlayerSeekToRequest.cs
2020-05-07 18:03:20 +02:00

17 lines
318 B
C#

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; }
}
}