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

17 lines
333 B
C#

namespace SpotifyAPI.Web
{
public class PlayerVolumeRequest : RequestParams
{
public PlayerVolumeRequest(int volumePercent)
{
VolumePercent = volumePercent;
}
[QueryParam("volume_percent")]
public int VolumePercent { get; }
[QueryParam("device_id")]
public string DeviceId { get; set; }
}
}