File Coverage

blib/lib/LINE/Bot/API/Response/AudienceData.pm
Criterion Covered Total %
statement 23 29 79.3
branch n/a
condition n/a
subroutine 17 23 73.9
pod 0 20 0.0
total 40 72 55.5


line stmt bran cond sub pod time code
1             package LINE::Bot::API::Response::AudienceData;
2 9     9   60 use strict;
  9         16  
  9         294  
3 9     9   45 use warnings;
  9         17  
  9         215  
4 9     9   133 use parent 'LINE::Bot::API::Response::Common';
  9         20  
  9         48  
5              
6             =head1 NAME
7              
8             LINE::Bot::API::Response::AudienceData
9              
10             =head1 DESCRIPTION
11              
12             This class correspond to the "Get audience data" response as described in
13             this page : L
14              
15             =cut
16              
17 1     1 0 5 sub audienceGroupId { $_[0]->{audienceGroupId} }
18 1     1 0 5 sub type { $_[0]->{type} }
19 1     1 0 5 sub description { $_[0]->{description} }
20 1     1 0 5 sub status { $_[0]->{status} }
21 0     0 0 0 sub failedType { $_[0]->{failedType} }
22 1     1 0 5 sub audienceCount { $_[0]->{audienceCount} }
23 1     1 0 7 sub created { $_[0]->{created} }
24 0     0 0 0 sub requestId { $_[0]->{requestId} }
25 0     0 0 0 sub clickUrl { $_[0]->{clickUrl} }
26 1     1 0 4 sub isIfaAudience { $_[0]->{isIfaAudience} }
27 1     1 0 5 sub permission { $_[0]->{permission} }
28 1     1 0 5 sub createRoute { $_[0]->{createRoute} }
29 1     1 0 4 sub jobs { $_[0]->{jobs} }
30              
31             # Aliases
32 1     1 0 5 sub audience_group_id { $_[0]->{audienceGroupId} }
33 0     0 0 0 sub failed_type { $_[0]->{failedType} }
34 1     1 0 5 sub audience_count { $_[0]->{audienceCount} }
35 0     0 0 0 sub request_id { $_[0]->{requestId} }
36 0     0 0 0 sub click_url { $_[0]->{clickUrl} }
37 1     1 0 4 sub is_ifa_audience { $_[0]->{isIfaAudience} }
38 1     1 0 6 sub create_route { $_[0]->{createRoute} }
39              
40             1;
41