The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

The following documentation is automatically generated. Please do not edit this file, but rather the original, inline with Net::Async::Spotify::Object::Generated::Device at lib/Net/Async/Spotify/Object/Generated/Device.pm (on the system that originally ran this). If you do edit this file, and don't want your changes to be removed, make sure you change the first line.

NAME

Net::Async::Spotify::Object::Generated::Device - Package representing Spotify Device Object

DESCRIPTION

Autogenerated module. Based on https://developer.spotify.com/documentation/web-api/reference/#objects-index Check crawl-api-doc.pl for more information.

PARAMETERS

Those are Spotify Device Object attributes:

id

Type:String Description:The device ID. This may be null.

is_active

Type:Boolean Description:If this device is the currently active device.

is_private_session

Type:Boolean Description:If this device is currently in a private session.

is_restricted

Type:Boolean Description:Whether controlling this device is restricted. At present if this is “true” then no Web API commands will be accepted by this device.

name

Type:String Description:The name of the device.

type

Type:String Description:Device type, such as “computer”, “smartphone” or “speaker”.

volume_percent

Type:Integer Description:The current volume in percent. This may be null.

INHERITED METHODS

Net::Async::Spotify::Object::Base

apply_type, extra_fields, fields, generate, to_hash, to_human, to_json