blib/lib/Paws/Route53Domains/ContactDetail.pm untested

filter: Statementstmt 0.0% 0 / 17 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 18 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 # Generated by default/object.tt
2 package Paws::Route53Domains::ContactDetail;
3 use Moose;
4 has AddressLine1 => (is => 'ro', isa => 'Str');
5 has AddressLine2 => (is => 'ro', isa => 'Str');
6 has City => (is => 'ro', isa => 'Str');
7 has ContactType => (is => 'ro', isa => 'Str');
8 has CountryCode => (is => 'ro', isa => 'Str');
9 has Email => (is => 'ro', isa => 'Str');
10 has ExtraParams => (is => 'ro', isa => 'ArrayRef[Paws::Route53Domains::ExtraParam]');
11 has Fax => (is => 'ro', isa => 'Str');
12 has FirstName => (is => 'ro', isa => 'Str');
13 has LastName => (is => 'ro', isa => 'Str');
14 has OrganizationName => (is => 'ro', isa => 'Str');
15 has PhoneNumber => (is => 'ro', isa => 'Str');
16 has State => (is => 'ro', isa => 'Str');
17 has ZipCode => (is => 'ro', isa => 'Str');
18  
19 1;
20  
21 ### main pod documentation begin ###
22  
23 =head1 NAME
24  
25 Paws::Route53Domains::ContactDetail
26  
27 =head1 USAGE
28  
29 This class represents one of two things:
30  
31 =head3 Arguments in a call to a service
32  
33 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
34 Each attribute should be used as a named argument in the calls that expect this type of object.
35  
36 As an example, if Att1 is expected to be a Paws::Route53Domains::ContactDetail object:
37  
38 $service_obj->Method(Att1 => { AddressLine1 => $value, ..., ZipCode => $value });
39  
40 =head3 Results returned from an API call
41  
42 Use accessors for each attribute. If Att1 is expected to be an Paws::Route53Domains::ContactDetail object:
43  
44 $result = $service_obj->Method(...);
45 $result->Att1->AddressLine1
46  
47 =head1 DESCRIPTION
48  
49 ContactDetail includes the following elements.
50  
51 =head1 ATTRIBUTES
52  
53  
54 =head2 AddressLine1 => Str
55  
56 First line of the contact's address.
57  
58  
59 =head2 AddressLine2 => Str
60  
61 Second line of contact's address, if any.
62  
63  
64 =head2 City => Str
65  
66 The city of the contact's address.
67  
68  
69 =head2 ContactType => Str
70  
71 Indicates whether the contact is a person, company, association, or
72 public organization. Note the following:
73  
74 =over
75  
76 =item *
77  
78 If you specify a value other than C<PERSON>, you must also specify a
79 value for C<OrganizationName>.
80  
81 =item *
82  
83 For some TLDs, the privacy protection available depends on the value
84 that you specify for C<Contact Type>. For the privacy protection
85 settings for your TLD, see Domains that You Can Register with Amazon
86 Route 53
87 (https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/registrar-tld-list.html)
88 in the I<Amazon Route 53 Developer Guide>
89  
90 =item *
91  
92 For .es domains, if you specify C<PERSON>, you must specify
93 C<INDIVIDUAL> for the value of C<ES_LEGAL_FORM>.
94  
95 =back
96  
97  
98  
99 =head2 CountryCode => Str
100  
101 Code for the country of the contact's address.
102  
103  
104 =head2 Email => Str
105  
106 Email address of the contact.
107  
108  
109 =head2 ExtraParams => ArrayRef[L<Paws::Route53Domains::ExtraParam>]
110  
111 A list of name-value pairs for parameters required by certain top-level
112 domains.
113  
114  
115 =head2 Fax => Str
116  
117 Fax number of the contact.
118  
119 Constraints: Phone number must be specified in the format "+[country
120 dialing code].[number including any area code]". For example, a US
121 phone number might appear as C<"+1.1234567890">.
122  
123  
124 =head2 FirstName => Str
125  
126 First name of contact.
127  
128  
129 =head2 LastName => Str
130  
131 Last name of contact.
132  
133  
134 =head2 OrganizationName => Str
135  
136 Name of the organization for contact types other than C<PERSON>.
137  
138  
139 =head2 PhoneNumber => Str
140  
141 The phone number of the contact.
142  
143 Constraints: Phone number must be specified in the format "+[country
144 dialing code].[number including any area codeE<gt>]". For example, a US
145 phone number might appear as C<"+1.1234567890">.
146  
147  
148 =head2 State => Str
149  
150 The state or province of the contact's city.
151  
152  
153 =head2 ZipCode => Str
154  
155 The zip or postal code of the contact's address.
156  
157  
158  
159 =head1 SEE ALSO
160  
161 This class forms part of L<Paws>, describing an object used in L<Paws::Route53Domains>
162  
163 =head1 BUGS and CONTRIBUTIONS
164  
165 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
166  
167 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
168  
169 =cut
170