line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Yahoo::Marketing::APT::Contact; |
2
|
|
|
|
|
|
|
# Copyright (c) 2010 Yahoo! Inc. All rights reserved. |
3
|
|
|
|
|
|
|
# The copyrights to the contents of this file are licensed under the Perl Artistic License (ver. 15 Aug 1997) |
4
|
|
|
|
|
|
|
|
5
|
1
|
|
|
1
|
|
46411
|
use strict; use warnings; |
|
1
|
|
|
1
|
|
1
|
|
|
1
|
|
|
|
|
35
|
|
|
1
|
|
|
|
|
6
|
|
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
31
|
|
6
|
|
|
|
|
|
|
|
7
|
1
|
|
|
1
|
|
6
|
use base qw/Yahoo::Marketing::ComplexType/; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
801
|
|
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
=head1 NAME |
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
Yahoo::Marketing::APT::Contact - a data object to represent a Contact. |
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
=cut |
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
sub _user_setable_attributes { |
16
|
|
|
|
|
|
|
return ( qw/ |
17
|
|
|
|
|
|
|
ID |
18
|
|
|
|
|
|
|
createTimestamp |
19
|
|
|
|
|
|
|
email |
20
|
|
|
|
|
|
|
fax |
21
|
|
|
|
|
|
|
firstName |
22
|
|
|
|
|
|
|
firstNameFurigana |
23
|
|
|
|
|
|
|
homePhone |
24
|
|
|
|
|
|
|
isActive |
25
|
|
|
|
|
|
|
isPrimary |
26
|
|
|
|
|
|
|
lastName |
27
|
|
|
|
|
|
|
lastNameFurigana |
28
|
|
|
|
|
|
|
lastUpdateTimestamp |
29
|
|
|
|
|
|
|
locale |
30
|
|
|
|
|
|
|
middleInitial |
31
|
|
|
|
|
|
|
mobilePhone |
32
|
|
|
|
|
|
|
title |
33
|
|
|
|
|
|
|
username |
34
|
|
|
|
|
|
|
workPhone |
35
|
|
|
|
|
|
|
/ ); |
36
|
|
|
|
|
|
|
} |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
sub _read_only_attributes { |
39
|
|
|
|
|
|
|
return ( qw/ |
40
|
|
|
|
|
|
|
/ ); |
41
|
|
|
|
|
|
|
} |
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
__PACKAGE__->mk_accessors( __PACKAGE__->_user_setable_attributes, |
44
|
|
|
|
|
|
|
__PACKAGE__->_read_only_attributes |
45
|
|
|
|
|
|
|
); |
46
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
1; |
49
|
|
|
|
|
|
|
=head1 SYNOPSIS |
50
|
|
|
|
|
|
|
|
51
|
|
|
|
|
|
|
See L for documentation of the various data objects. |
52
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
=cut |
55
|
|
|
|
|
|
|
|
56
|
|
|
|
|
|
|
=head1 METHODS |
57
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
=head2 new |
59
|
|
|
|
|
|
|
|
60
|
|
|
|
|
|
|
Creates a new instance |
61
|
|
|
|
|
|
|
|
62
|
|
|
|
|
|
|
=head2 get/set methods |
63
|
|
|
|
|
|
|
|
64
|
|
|
|
|
|
|
=over 8 |
65
|
|
|
|
|
|
|
|
66
|
|
|
|
|
|
|
ID |
67
|
|
|
|
|
|
|
createTimestamp |
68
|
|
|
|
|
|
|
email |
69
|
|
|
|
|
|
|
fax |
70
|
|
|
|
|
|
|
firstName |
71
|
|
|
|
|
|
|
firstNameFurigana |
72
|
|
|
|
|
|
|
homePhone |
73
|
|
|
|
|
|
|
isActive |
74
|
|
|
|
|
|
|
isPrimary |
75
|
|
|
|
|
|
|
lastName |
76
|
|
|
|
|
|
|
lastNameFurigana |
77
|
|
|
|
|
|
|
lastUpdateTimestamp |
78
|
|
|
|
|
|
|
locale |
79
|
|
|
|
|
|
|
middleInitial |
80
|
|
|
|
|
|
|
mobilePhone |
81
|
|
|
|
|
|
|
title |
82
|
|
|
|
|
|
|
username |
83
|
|
|
|
|
|
|
workPhone |
84
|
|
|
|
|
|
|
|
85
|
|
|
|
|
|
|
=back |
86
|
|
|
|
|
|
|
|
87
|
|
|
|
|
|
|
=head2 get (read only) methods |
88
|
|
|
|
|
|
|
|
89
|
|
|
|
|
|
|
=over 8 |
90
|
|
|
|
|
|
|
|
91
|
|
|
|
|
|
|
|
92
|
|
|
|
|
|
|
=back |
93
|
|
|
|
|
|
|
|
94
|
|
|
|
|
|
|
=cut |
95
|
|
|
|
|
|
|
|