« lib/Net/Async/Spotify/Object/Generated/PublicUser.pm
↑ Summary
lib/Net/Async/Spotify/Object/Generated/Recommendations.pm »
| 1 | package Net::Async::Spotify::Object::Generated::RecommendationSeed; | ||
| 2 | |||
| 3 | 32 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | 32 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | |||
| 6 | 32 | our $VERSION = '0.002'; # VERSION | |
| 7 | 32 | our $AUTHORITY = 'cpan:VNEALV'; # AUTHORITY | |
| 8 | |||
| 9 | 32 | ▶ | use mro; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 10 | 32 | ▶ | use parent qw(Net::Async::Spotify::Object::Base); |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 11 | |||
| 12 | =encoding utf8 | ||
| 13 | |||
| 14 | =head1 NAME | ||
| 15 | |||
| 16 | Net::Async::Spotify::Object::Generated::RecommendationSeed - Package representing Spotify RecommendationSeed Object | ||
| 17 | |||
| 18 | =head1 DESCRIPTION | ||
| 19 | |||
| 20 | Autogenerated module. | ||
| 21 | Based on https://developer.spotify.com/documentation/web-api/reference/#objects-index | ||
| 22 | Check C<crawl-api-doc.pl> for more information. | ||
| 23 | |||
| 24 | =head1 PARAMETERS | ||
| 25 | |||
| 26 | Those are Spotify RecommendationSeed Object attributes: | ||
| 27 | |||
| 28 | =over 4 | ||
| 29 | |||
| 30 | =item afterFilteringSize | ||
| 31 | |||
| 32 | Type:Integer | ||
| 33 | Description:The number of tracks available after min_* and max_* filters have been applied. | ||
| 34 | |||
| 35 | =item afterRelinkingSize | ||
| 36 | |||
| 37 | Type:Integer | ||
| 38 | Description:The number of tracks available after relinking for regional availability. | ||
| 39 | |||
| 40 | =item href | ||
| 41 | |||
| 42 | Type:String | ||
| 43 | Description:A link to the full track or artist data for this seed. For tracks this will be a link to a Track Object. For artists a link to an Artist Object. For genre seeds, this value will be null. | ||
| 44 | |||
| 45 | =item id | ||
| 46 | |||
| 47 | Type:String | ||
| 48 | Description:The id used to select this seed. This will be the same as the string used in the seed_artists, seed_tracks or seed_genres parameter. | ||
| 49 | |||
| 50 | =item initialPoolSize | ||
| 51 | |||
| 52 | Type:Integer | ||
| 53 | Description:The number of recommended tracks available for this seed. | ||
| 54 | |||
| 55 | =item type | ||
| 56 | |||
| 57 | Type:String | ||
| 58 | Description:The entity type of this seed. One of artist, track or genre. | ||
| 59 | |||
| 60 | =back | ||
| 61 | |||
| 62 | =cut | ||
| 63 | |||
| 64 | 0 | ▶ | sub new { |
|
Subroutine
new: not called CC=1 SCAR=6.9
Pod
undocumented
| |||
| 65 | 0 | my ($class, %args) = @_; | |
| 66 | |||
| 67 | 0 | my $fields = { | |
| 68 | afterFilteringSize => 'Integer', | ||
| 69 | afterRelinkingSize => 'Integer', | ||
| 70 | href => 'String', | ||
| 71 | id => 'String', | ||
| 72 | initialPoolSize => 'Integer', | ||
| 73 | type => 'String', | ||
| 74 | }; | ||
| 75 | |||
| 76 | 0 | my $obj = next::method($class, $fields, %args); | |
| 77 | |||
| 78 | 0 | return $obj; | |
| 79 | } | ||
| 80 | |||
| 81 | 32 | 1; | |