lib/Net/Async/Spotify/Object/Generated/PublicUser.pm

filter: Statementstmt 78.9% 15 / 19 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 80.0% 4 / 5 Podpod 0.0% 0 / 1 totaltotal 76.0% 19 / 25 CC 1 SCAR 1.8
CC
1
Cov
79%
new
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.2
« lib/Net/Async/Spotify/Object/Generated/PrivateUser.pm ↑ Summary lib/Net/Async/Spotify/Object/Generated/RecommendationSeed.pm »
1 package Net::Async::Spotify::Object::Generated::PublicUser;
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::PublicUser - Package representing Spotify PublicUser 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 PublicUser Object attributes:
27  
28 =over 4
29  
30 =item display_name
31  
32 Type:String
33 Description:The name displayed on the user’s profile. null if not available.
34  
35 =item external_urls
36  
37 Type:ExternalUrlObject
38 Description:Known public external URLs for this user.
39  
40 =item followers
41  
42 Type:FollowersObject
43 Description:Information about the followers of this user.
44  
45 =item href
46  
47 Type:String
48 Description:A link to the Web API endpoint for this user.
49  
50 =item id
51  
52 Type:String
53 Description:The Spotify user ID for this user.
54  
55 =item images
56  
57 Type:Array[ImageObject]
58 Description:The user’s profile image.
59  
60 =item type
61  
62 Type:String
63 Description:The object type: “user”
64  
65 =item uri
66  
67 Type:String
68 Description:The Spotify URI for this user.
69  
70 =back
71  
72 =cut
73  
74 0 ▶sub new {
Subroutine new: not called CC=1 SCAR=6.9
Pod undocumented
75 0 my ($class, %args) = @_;
76  
77 0 my $fields = {
78 display_name => 'String',
79 external_urls => 'ExternalUrlObject',
80 followers => 'FollowersObject',
81 href => 'String',
82 id => 'String',
83 images => 'Array[ImageObject]',
84 type => 'String',
85 uri => 'String',
86 };
87  
88 0 my $obj = next::method($class, $fields, %args);
89  
90 0 return $obj;
91 }
92  
93 32 1;
« lib/Net/Async/Spotify/Object/Generated/PrivateUser.pm ↑ Summary lib/Net/Async/Spotify/Object/Generated/RecommendationSeed.pm »