blib/lib/Paws/SESv2/Contact.pm untested

filter: Statementstmt 0.0% 0 / 8 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 9 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 # Generated by default/object.tt
2 package Paws::SESv2::Contact;
3 use Moose;
4 has EmailAddress => (is => 'ro', isa => 'Str');
5 has LastUpdatedTimestamp => (is => 'ro', isa => 'Str');
6 has TopicDefaultPreferences => (is => 'ro', isa => 'ArrayRef[Paws::SESv2::TopicPreference]');
7 has TopicPreferences => (is => 'ro', isa => 'ArrayRef[Paws::SESv2::TopicPreference]');
8 has UnsubscribeAll => (is => 'ro', isa => 'Bool');
9  
10 1;
11  
12 ### main pod documentation begin ###
13  
14 =head1 NAME
15  
16 Paws::SESv2::Contact
17  
18 =head1 USAGE
19  
20 This class represents one of two things:
21  
22 =head3 Arguments in a call to a service
23  
24 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
25 Each attribute should be used as a named argument in the calls that expect this type of object.
26  
27 As an example, if Att1 is expected to be a Paws::SESv2::Contact object:
28  
29 $service_obj->Method(Att1 => { EmailAddress => $value, ..., UnsubscribeAll => $value });
30  
31 =head3 Results returned from an API call
32  
33 Use accessors for each attribute. If Att1 is expected to be an Paws::SESv2::Contact object:
34  
35 $result = $service_obj->Method(...);
36 $result->Att1->EmailAddress
37  
38 =head1 DESCRIPTION
39  
40 A contact is the end-user who is receiving the email.
41  
42 =head1 ATTRIBUTES
43  
44  
45 =head2 EmailAddress => Str
46  
47 The contact's email address.
48  
49  
50 =head2 LastUpdatedTimestamp => Str
51  
52 A timestamp noting the last time the contact's information was updated.
53  
54  
55 =head2 TopicDefaultPreferences => ArrayRef[L<Paws::SESv2::TopicPreference>]
56  
57 The default topic preferences applied to the contact.
58  
59  
60 =head2 TopicPreferences => ArrayRef[L<Paws::SESv2::TopicPreference>]
61  
62 The contact's preference for being opted-in to or opted-out of a topic.
63  
64  
65 =head2 UnsubscribeAll => Bool
66  
67 A boolean value status noting if the contact is unsubscribed from all
68 contact list topics.
69  
70  
71  
72 =head1 SEE ALSO
73  
74 This class forms part of L<Paws>, describing an object used in L<Paws::SESv2>
75  
76 =head1 BUGS and CONTRIBUTIONS
77  
78 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
79  
80 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
81  
82 =cut
83