File Coverage

blib/lib/Paws/Route53Domains/ContactDetail.pm
Criterion Covered Total %
statement 3 3 100.0
branch n/a
condition n/a
subroutine 1 1 100.0
pod n/a
total 4 4 100.0


line stmt bran cond sub pod time code
1             package Paws::Route53Domains::ContactDetail;
2 1     1   502 use Moose;
  1         4  
  1         10  
3             has AddressLine1 => (is => 'ro', isa => 'Str');
4             has AddressLine2 => (is => 'ro', isa => 'Str');
5             has City => (is => 'ro', isa => 'Str');
6             has ContactType => (is => 'ro', isa => 'Str');
7             has CountryCode => (is => 'ro', isa => 'Str');
8             has Email => (is => 'ro', isa => 'Str');
9             has ExtraParams => (is => 'ro', isa => 'ArrayRef[Paws::Route53Domains::ExtraParam]');
10             has Fax => (is => 'ro', isa => 'Str');
11             has FirstName => (is => 'ro', isa => 'Str');
12             has LastName => (is => 'ro', isa => 'Str');
13             has OrganizationName => (is => 'ro', isa => 'Str');
14             has PhoneNumber => (is => 'ro', isa => 'Str');
15             has State => (is => 'ro', isa => 'Str');
16             has ZipCode => (is => 'ro', isa => 'Str');
17             1;
18              
19             ### main pod documentation begin ###
20              
21             =head1 NAME
22              
23             Paws::Route53Domains::ContactDetail
24              
25             =head1 USAGE
26              
27             This class represents one of two things:
28              
29             =head3 Arguments in a call to a service
30              
31             Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
32             Each attribute should be used as a named argument in the calls that expect this type of object.
33              
34             As an example, if Att1 is expected to be a Paws::Route53Domains::ContactDetail object:
35              
36             $service_obj->Method(Att1 => { AddressLine1 => $value, ..., ZipCode => $value });
37              
38             =head3 Results returned from an API call
39              
40             Use accessors for each attribute. If Att1 is expected to be an Paws::Route53Domains::ContactDetail object:
41              
42             $result = $service_obj->Method(...);
43             $result->Att1->AddressLine1
44              
45             =head1 DESCRIPTION
46              
47             ContactDetail includes the following elements.
48              
49             =head1 ATTRIBUTES
50              
51              
52             =head2 AddressLine1 => Str
53              
54             First line of the contact's address.
55              
56              
57             =head2 AddressLine2 => Str
58              
59             Second line of contact's address, if any.
60              
61              
62             =head2 City => Str
63              
64             The city of the contact's address.
65              
66              
67             =head2 ContactType => Str
68              
69             Indicates whether the contact is a person, company, association, or
70             public organization. If you choose an option other than C<PERSON>, you
71             must enter an organization name, and you can't enable privacy
72             protection for the contact.
73              
74              
75             =head2 CountryCode => Str
76              
77             Code for the country of the contact's address.
78              
79              
80             =head2 Email => Str
81              
82             Email address of the contact.
83              
84              
85             =head2 ExtraParams => ArrayRef[L<Paws::Route53Domains::ExtraParam>]
86              
87             A list of name-value pairs for parameters required by certain top-level
88             domains.
89              
90              
91             =head2 Fax => Str
92              
93             Fax number of the contact.
94              
95             Constraints: Phone number must be specified in the format "+[country
96             dialing code].[number including any area code]". For example, a US
97             phone number might appear as C<"+1.1234567890">.
98              
99              
100             =head2 FirstName => Str
101              
102             First name of contact.
103              
104              
105             =head2 LastName => Str
106              
107             Last name of contact.
108              
109              
110             =head2 OrganizationName => Str
111              
112             Name of the organization for contact types other than C<PERSON>.
113              
114              
115             =head2 PhoneNumber => Str
116              
117             The phone number of the contact.
118              
119             Constraints: Phone number must be specified in the format "+[country
120             dialing code].[number including any area codeE<gt>]". For example, a US
121             phone number might appear as C<"+1.1234567890">.
122              
123              
124             =head2 State => Str
125              
126             The state or province of the contact's city.
127              
128              
129             =head2 ZipCode => Str
130              
131             The zip or postal code of the contact's address.
132              
133              
134              
135             =head1 SEE ALSO
136              
137             This class forms part of L<Paws>, describing an object used in L<Paws::Route53Domains>
138              
139             =head1 BUGS and CONTRIBUTIONS
140              
141             The source code is located here: https://github.com/pplu/aws-sdk-perl
142              
143             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
144              
145             =cut
146