mirror of
https://github.com/Sarsoo/Spotify.NET.git
synced 2024-12-25 15:36:26 +00:00
17 lines
333 B
C#
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; }
|
||
|
}
|
||
|
}
|