« lib/Net/Async/Spotify/Object/Generated/PlaylistTracksRef.pm
↑ Summary
lib/Net/Async/Spotify/Object/Generated/PublicUser.pm »
| 1 | package Net::Async::Spotify::Object::Generated::PrivateUser; | ||
| 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::PrivateUser - Package representing Spotify PrivateUser 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 PrivateUser Object attributes: | ||
| 27 | |||
| 28 | =over 4 | ||
| 29 | |||
| 30 | =item country | ||
| 31 | |||
| 32 | Type:String | ||
| 33 | Description:The country of the user, as set in the user’s account profile. An ISO 3166-1 alpha-2 country code. This field is only available when the current user has granted access to the user-read-private scope. | ||
| 34 | |||
| 35 | =item display_name | ||
| 36 | |||
| 37 | Type:String | ||
| 38 | Description:The name displayed on the user’s profile. null if not available. | ||
| 39 | |||
| 40 | =item email | ||
| 41 | |||
| 42 | Type:String | ||
| 43 | Description:The user’s email address, as entered by the user when creating their account. Important! This email address is unverified; there is no proof that it actually belongs to the user. This field is only available when the current user has granted access to the user-read-email scope. | ||
| 44 | |||
| 45 | =item explicit_content | ||
| 46 | |||
| 47 | Type:ExplicitContentSettingsObject | ||
| 48 | Description:The user’s explicit content settings. This field is only available when the current user has granted access to the user-read-private scope. | ||
| 49 | |||
| 50 | =item external_urls | ||
| 51 | |||
| 52 | Type:ExternalUrlObject | ||
| 53 | Description:Known external URLs for this user. | ||
| 54 | |||
| 55 | =item followers | ||
| 56 | |||
| 57 | Type:FollowersObject | ||
| 58 | Description:Information about the followers of the user. | ||
| 59 | |||
| 60 | =item href | ||
| 61 | |||
| 62 | Type:String | ||
| 63 | Description:A link to the Web API endpoint for this user. | ||
| 64 | |||
| 65 | =item id | ||
| 66 | |||
| 67 | Type:String | ||
| 68 | Description:The Spotify user ID for the user. | ||
| 69 | |||
| 70 | =item images | ||
| 71 | |||
| 72 | Type:Array[ImageObject] | ||
| 73 | Description:The user’s profile image. | ||
| 74 | |||
| 75 | =item product | ||
| 76 | |||
| 77 | Type:String | ||
| 78 | Description:The user’s Spotify subscription level: “premium”, “free”, etc. (The subscription level “open” can be considered the same as “free”.) This field is only available when the current user has granted access to the user-read-private scope. | ||
| 79 | |||
| 80 | =item type | ||
| 81 | |||
| 82 | Type:String | ||
| 83 | Description:The object type: “user” | ||
| 84 | |||
| 85 | =item uri | ||
| 86 | |||
| 87 | Type:String | ||
| 88 | Description:The Spotify URI for the user. | ||
| 89 | |||
| 90 | =back | ||
| 91 | |||
| 92 | =cut | ||
| 93 | |||
| 94 | 0 | ▶ | sub new { |
|
Subroutine
new: not called CC=1 SCAR=6.9
Pod
undocumented
| |||
| 95 | 0 | my ($class, %args) = @_; | |
| 96 | |||
| 97 | 0 | my $fields = { | |
| 98 | country => 'String', | ||
| 99 | display_name => 'String', | ||
| 100 | email => 'String', | ||
| 101 | explicit_content => 'ExplicitContentSettingsObject', | ||
| 102 | external_urls => 'ExternalUrlObject', | ||
| 103 | followers => 'FollowersObject', | ||
| 104 | href => 'String', | ||
| 105 | id => 'String', | ||
| 106 | images => 'Array[ImageObject]', | ||
| 107 | product => 'String', | ||
| 108 | type => 'String', | ||
| 109 | uri => 'String', | ||
| 110 | }; | ||
| 111 | |||
| 112 | 0 | my $obj = next::method($class, $fields, %args); | |
| 113 | |||
| 114 | 0 | return $obj; | |
| 115 | } | ||
| 116 | |||
| 117 | 32 | 1; | |