Net-Async-Spotify/lib/Net/Async/Spotify/Object/Generated/Device.pod
=encoding utf8
=for comment POD_DERIVED_INDEX_GENERATED
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.
=cut
=head1 NAME
Net::Async::Spotify::Object::Generated::Device - Package representing Spotify Device Object
=head1 DESCRIPTION
Autogenerated module.
Based on https://developer.spotify.com/documentation/web-api/reference/#objects-index
Check C<crawl-api-doc.pl> for more information.
=head1 PARAMETERS
Those are Spotify Device Object attributes:
=over 4
=item id
Type:String
Description:The device ID. This may be null.
=item is_active
Type:Boolean
Description:If this device is the currently active device.
=item is_private_session
Type:Boolean
Description:If this device is currently in a private session.
=item 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.
=item name
Type:String
Description:The name of the device.
=item type
Type:String
Description:Device type, such as “computer”, “smartphone” or “speaker”.
=item volume_percent
Type:Integer
Description:The current volume in percent. This may be null.
=back
=head1 INHERITED METHODS
=over 4
=item L<Net::Async::Spotify::Object::Base>
L<apply_type|Net::Async::Spotify::Object::Base/apply_type>, L<extra_fields|Net::Async::Spotify::Object::Base/extra_fields>, L<fields|Net::Async::Spotify::Object::Base/fields>, L<generate|Net::Async::Spotify::Object::Base/generate>, L<to_hash|Net::Async::Spotify::Object::Base/to_hash>, L<to_human|Net::Async::Spotify::Object::Base/to_human>, L<to_json|Net::Async::Spotify::Object::Base/to_json>
=back