line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package EWS::DistributionList::Mailbox; |
2
|
|
|
|
|
|
|
BEGIN { |
3
|
1
|
|
|
1
|
|
21
|
$EWS::DistributionList::Mailbox::VERSION = '1.143070'; |
4
|
|
|
|
|
|
|
} |
5
|
1
|
|
|
1
|
|
4
|
use Moose; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
6
|
|
6
|
1
|
|
|
1
|
|
4959
|
use Encode; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
222
|
|
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
has Name => ( |
9
|
|
|
|
|
|
|
is => 'ro', |
10
|
|
|
|
|
|
|
isa => 'Str', |
11
|
|
|
|
|
|
|
required => 1, |
12
|
|
|
|
|
|
|
); |
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
has EmailAddress => ( |
15
|
|
|
|
|
|
|
is => 'ro', |
16
|
|
|
|
|
|
|
isa => 'Str', |
17
|
|
|
|
|
|
|
required => 1, |
18
|
|
|
|
|
|
|
); |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
has MailboxType => ( |
21
|
|
|
|
|
|
|
is => 'ro', |
22
|
|
|
|
|
|
|
isa => 'Str', |
23
|
|
|
|
|
|
|
); |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
has RoutingType => ( |
26
|
|
|
|
|
|
|
is => 'ro', |
27
|
|
|
|
|
|
|
isa => 'Str', |
28
|
|
|
|
|
|
|
); |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
sub BUILDARGS { |
31
|
0
|
|
|
0
|
1
|
|
my ( $class, @rest ) = @_; |
32
|
0
|
0
|
|
|
|
|
my $params = ( scalar @rest == 1 ? $rest[0] : {@rest} ); |
33
|
|
|
|
|
|
|
|
34
|
0
|
|
|
|
|
|
foreach my $key ( keys %{$params} ) { |
|
0
|
|
|
|
|
|
|
35
|
0
|
0
|
|
|
|
|
if ( not ref $params->{$key} ) { |
36
|
0
|
|
|
|
|
|
$params->{$key} = Encode::encode( 'utf8', $params->{$key} ); |
37
|
|
|
|
|
|
|
} |
38
|
|
|
|
|
|
|
} |
39
|
|
|
|
|
|
|
|
40
|
0
|
|
|
|
|
|
return $params; |
41
|
|
|
|
|
|
|
} |
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
__PACKAGE__->meta->make_immutable; |
44
|
1
|
|
|
1
|
|
5
|
no Moose; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
8
|
|
45
|
|
|
|
|
|
|
1; |