lib/Net/Async/Spotify/Object/Generated/Disallows.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/Devices.pm ↑ Summary lib/Net/Async/Spotify/Object/Generated/Episode.pm »
1 package Net::Async::Spotify::Object::Generated::Disallows;
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::Disallows - Package representing Spotify Disallows 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 Disallows Object attributes:
27  
28 =over 4
29  
30 =item interrupting_playback
31  
32 Type:Boolean
33 Description:Interrupting playback. Optional field.
34  
35 =item pausing
36  
37 Type:Boolean
38 Description:Pausing. Optional field.
39  
40 =item resuming
41  
42 Type:Boolean
43 Description:Resuming. Optional field.
44  
45 =item seeking
46  
47 Type:Boolean
48 Description:Seeking playback location. Optional field.
49  
50 =item skipping_next
51  
52 Type:Boolean
53 Description:Skipping to the next context. Optional field.
54  
55 =item skipping_prev
56  
57 Type:Boolean
58 Description:Skipping to the previous context. Optional field.
59  
60 =item toggling_repeat_context
61  
62 Type:Boolean
63 Description:Toggling repeat context flag. Optional field.
64  
65 =item toggling_repeat_track
66  
67 Type:Boolean
68 Description:Toggling repeat track flag. Optional field.
69  
70 =item toggling_shuffle
71  
72 Type:Boolean
73 Description:Toggling shuffle flag. Optional field.
74  
75 =item transferring_playback
76  
77 Type:Boolean
78 Description:Transfering playback between devices. Optional field.
79  
80 =back
81  
82 =cut
83  
84 0 ▶sub new {
Subroutine new: not called CC=1 SCAR=6.9
Pod undocumented
85 0 my ($class, %args) = @_;
86  
87 0 my $fields = {
88 interrupting_playback => 'Boolean',
89 pausing => 'Boolean',
90 resuming => 'Boolean',
91 seeking => 'Boolean',
92 skipping_next => 'Boolean',
93 skipping_prev => 'Boolean',
94 toggling_repeat_context => 'Boolean',
95 toggling_repeat_track => 'Boolean',
96 toggling_shuffle => 'Boolean',
97 transferring_playback => 'Boolean',
98 };
99  
100 0 my $obj = next::method($class, $fields, %args);
101  
102 0 return $obj;
103 }
104  
105 32 1;
« lib/Net/Async/Spotify/Object/Generated/Devices.pm ↑ Summary lib/Net/Async/Spotify/Object/Generated/Episode.pm »