« lib/Net/Async/Spotify/Object/Generated/LinkedTrack.pm
↑ Summary
lib/Net/Async/Spotify/Object/Generated/PlayHistory.pm »
| 1 | package Net::Async::Spotify::Object::Generated::Paging; | ||
| 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::Paging - Package representing Spotify Paging 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 Paging Object attributes: | ||
| 27 | |||
| 28 | =over 4 | ||
| 29 | |||
| 30 | =item href | ||
| 31 | |||
| 32 | Type:String | ||
| 33 | Description:A link to the Web API endpoint returning the full result of the request | ||
| 34 | |||
| 35 | =item items | ||
| 36 | |||
| 37 | Type:Array[Object] | ||
| 38 | Description:The requested data. | ||
| 39 | |||
| 40 | =item limit | ||
| 41 | |||
| 42 | Type:Integer | ||
| 43 | Description:The maximum number of items in the response (as set in the query or by default). | ||
| 44 | |||
| 45 | =item next | ||
| 46 | |||
| 47 | Type:String | ||
| 48 | Description:URL to the next page of items. ( null if none) | ||
| 49 | |||
| 50 | =item offset | ||
| 51 | |||
| 52 | Type:Integer | ||
| 53 | Description:The offset of the items returned (as set in the query or by default) | ||
| 54 | |||
| 55 | =item previous | ||
| 56 | |||
| 57 | Type:String | ||
| 58 | Description:URL to the previous page of items. ( null if none) | ||
| 59 | |||
| 60 | =item total | ||
| 61 | |||
| 62 | Type:Integer | ||
| 63 | Description:The total number of items available to return. | ||
| 64 | |||
| 65 | =back | ||
| 66 | |||
| 67 | =cut | ||
| 68 | |||
| 69 | 0 | ▶ | sub new { |
|
Subroutine
new: not called CC=1 SCAR=6.9
Pod
undocumented
| |||
| 70 | 0 | my ($class, %args) = @_; | |
| 71 | |||
| 72 | 0 | my $fields = { | |
| 73 | href => 'String', | ||
| 74 | items => 'Array[Object]', | ||
| 75 | limit => 'Integer', | ||
| 76 | next => 'String', | ||
| 77 | offset => 'Integer', | ||
| 78 | previous => 'String', | ||
| 79 | total => 'Integer', | ||
| 80 | }; | ||
| 81 | |||
| 82 | 0 | my $obj = next::method($class, $fields, %args); | |
| 83 | |||
| 84 | 0 | return $obj; | |
| 85 | } | ||
| 86 | |||
| 87 | 32 | 1; | |