line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package LINE::Bot::API::Response::RichMenu; |
2
|
47
|
|
|
47
|
|
136587
|
use strict; |
|
47
|
|
|
|
|
105
|
|
|
47
|
|
|
|
|
1297
|
|
3
|
47
|
|
|
47
|
|
225
|
use warnings; |
|
47
|
|
|
|
|
88
|
|
|
47
|
|
|
|
|
997
|
|
4
|
47
|
|
|
47
|
|
210
|
use utf8; |
|
47
|
|
|
|
|
96
|
|
|
47
|
|
|
|
|
222
|
|
5
|
47
|
|
|
47
|
|
1333
|
use parent 'LINE::Bot::API::Response::Common'; |
|
47
|
|
|
|
|
92
|
|
|
47
|
|
|
|
|
208
|
|
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
=head1 NAME |
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
LINE::Bot::API::Response::RichMenu |
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
=head1 DESCRIPTION |
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
This class correspond to the "Rich menu response object" as described in |
15
|
|
|
|
|
|
|
this page: L |
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
There is a method for each top-level properties, but values become |
18
|
|
|
|
|
|
|
simple perl variablse. Num, Str, HashRef, or ArrayRef -- instead of |
19
|
|
|
|
|
|
|
being objects all the way down. |
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
=cut |
22
|
|
|
|
|
|
|
|
23
|
1
|
|
|
1
|
0
|
4
|
sub richMenuId { $_[0]->{richMenuId} } |
24
|
0
|
|
|
0
|
0
|
0
|
sub chatBarText { $_[0]->{chatBarText} } |
25
|
0
|
|
|
0
|
0
|
0
|
sub size { $_[0]->{size} } |
26
|
0
|
|
|
0
|
0
|
0
|
sub selected { $_[0]->{selected} } |
27
|
0
|
|
|
0
|
0
|
0
|
sub name { $_[0]->{nam} } |
28
|
0
|
|
|
0
|
0
|
0
|
sub areas { $_[0]->{areas} } |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
# Aliases |
31
|
2
|
|
|
2
|
0
|
13
|
sub rich_menu_id { $_[0]->{richMenuId} } |
32
|
0
|
|
|
0
|
0
|
|
sub chat_bar_text { $_[0]->{chatBarText} } |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
1; |
35
|
|
|
|
|
|
|
|