lib/Net/Async/Spotify/Object/Generated/SavedTrack.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/SavedShow.pm ↑ Summary lib/Net/Async/Spotify/Object/Generated/Show.pm »
1 package Net::Async::Spotify::Object::Generated::SavedTrack;
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::SavedTrack - Package representing Spotify SavedTrack 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 SavedTrack Object attributes:
27  
28 =over 4
29  
30 =item added_at
31  
32 Type:Timestamp
33 Description:The date and time the track was saved.
34 Timestamps are returned in ISO 8601 format as Coordinated Universal Time (UTC) with a zero offset: YYYY-MM-DDTHH:MM:SSZ.
35 If the time is imprecise (for example, the date/time of an album release), an additional field indicates the precision; see for example, release_date in an album object.
36  
37 =item track
38  
39 Type:TrackObject
40 Description:Information about the track.
41  
42 =back
43  
44 =cut
45  
46 0 ▶sub new {
Subroutine new: not called CC=1 SCAR=6.9
Pod undocumented
47 0 my ($class, %args) = @_;
48  
49 0 my $fields = {
50 added_at => 'Timestamp',
51 track => 'TrackObject',
52 };
53  
54 0 my $obj = next::method($class, $fields, %args);
55  
56 0 return $obj;
57 }
58  
59 32 1;
« lib/Net/Async/Spotify/Object/Generated/SavedShow.pm ↑ Summary lib/Net/Async/Spotify/Object/Generated/Show.pm »