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

17 lines
333 B
C#
Raw Normal View History

2020-05-07 17:03:20 +01:00
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; }
}
}