« lib/Net/Async/Spotify/Object/Generated/Track.pm
↑ Summary
lib/Net/Async/Spotify/Object/Generated/TuneableTrack.pm »
| 1 | package Net::Async::Spotify::Object::Generated::TrackRestriction; | ||
| 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::TrackRestriction - Package representing Spotify TrackRestriction 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 TrackRestriction Object attributes: | ||
| 27 | |||
| 28 | =over 4 | ||
| 29 | |||
| 30 | =item reason | ||
| 31 | |||
| 32 | Type:String | ||
| 33 | Description:The reason for the restriction. Supported values: | ||
| 34 | |||
| 35 | =back | ||
| 36 | |||
| 37 | =cut | ||
| 38 | |||
| 39 | 0 | ▶ | sub new { |
|
Subroutine
new: not called CC=1 SCAR=6.9
Pod
undocumented
| |||
| 40 | 0 | my ($class, %args) = @_; | |
| 41 | |||
| 42 | 0 | my $fields = { | |
| 43 | reason => 'String', | ||
| 44 | }; | ||
| 45 | |||
| 46 | 0 | my $obj = next::method($class, $fields, %args); | |
| 47 | |||
| 48 | 0 | return $obj; | |
| 49 | } | ||
| 50 | |||
| 51 | 32 | 1; | |