namespace SpotifyAPI.Web
{
public class PlayerVolumeRequest : RequestParams
{
///
///
///
/// The volume to set. Must be a value from 0 to 100 inclusive.
public PlayerVolumeRequest(int volumePercent)
{
VolumePercent = volumePercent;
}
///
/// The volume to set. Must be a value from 0 to 100 inclusive.
///
///
[QueryParam("volume_percent")]
public int VolumePercent { get; }
///
/// The id of the device this command is targeting. If not supplied, the user’s currently active device is the target.
///
///
[QueryParam("device_id")]
public string? DeviceId { get; set; }
}
}