blib/lib/Paws/Pinpoint/Event.pm untested

filter: Statementstmt 0.0% 0 / 13 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 14 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 # Generated by default/object.tt
2 package Paws::Pinpoint::Event;
3 use Moose;
4 has AppPackageName => (is => 'ro', isa => 'Str');
5 has AppTitle => (is => 'ro', isa => 'Str');
6 has AppVersionCode => (is => 'ro', isa => 'Str');
7 has Attributes => (is => 'ro', isa => 'Paws::Pinpoint::MapOf__string');
8 has ClientSdkVersion => (is => 'ro', isa => 'Str');
9 has EventType => (is => 'ro', isa => 'Str', required => 1);
10 has Metrics => (is => 'ro', isa => 'Paws::Pinpoint::MapOf__double');
11 has SdkName => (is => 'ro', isa => 'Str');
12 has Session => (is => 'ro', isa => 'Paws::Pinpoint::Session');
13 has Timestamp => (is => 'ro', isa => 'Str', required => 1);
14  
15 1;
16  
17 ### main pod documentation begin ###
18  
19 =head1 NAME
20  
21 Paws::Pinpoint::Event
22  
23 =head1 USAGE
24  
25 This class represents one of two things:
26  
27 =head3 Arguments in a call to a service
28  
29 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
30 Each attribute should be used as a named argument in the calls that expect this type of object.
31  
32 As an example, if Att1 is expected to be a Paws::Pinpoint::Event object:
33  
34 $service_obj->Method(Att1 => { AppPackageName => $value, ..., Timestamp => $value });
35  
36 =head3 Results returned from an API call
37  
38 Use accessors for each attribute. If Att1 is expected to be an Paws::Pinpoint::Event object:
39  
40 $result = $service_obj->Method(...);
41 $result->Att1->AppPackageName
42  
43 =head1 DESCRIPTION
44  
45 Specifies information about an event that reports data to Amazon
46 Pinpoint.
47  
48 =head1 ATTRIBUTES
49  
50  
51 =head2 AppPackageName => Str
52  
53 The package name of the app that's recording the event.
54  
55  
56 =head2 AppTitle => Str
57  
58 The title of the app that's recording the event.
59  
60  
61 =head2 AppVersionCode => Str
62  
63 The version number of the app that's recording the event.
64  
65  
66 =head2 Attributes => L<Paws::Pinpoint::MapOf__string>
67  
68 One or more custom attributes that are associated with the event.
69  
70  
71 =head2 ClientSdkVersion => Str
72  
73 The version of the SDK that's running on the client device.
74  
75  
76 =head2 B<REQUIRED> EventType => Str
77  
78 The name of the event.
79  
80  
81 =head2 Metrics => L<Paws::Pinpoint::MapOf__double>
82  
83 One or more custom metrics that are associated with the event.
84  
85  
86 =head2 SdkName => Str
87  
88 The name of the SDK that's being used to record the event.
89  
90  
91 =head2 Session => L<Paws::Pinpoint::Session>
92  
93 Information about the session in which the event occurred.
94  
95  
96 =head2 B<REQUIRED> Timestamp => Str
97  
98 The date and time, in ISO 8601 format, when the event occurred.
99  
100  
101  
102 =head1 SEE ALSO
103  
104 This class forms part of L<Paws>, describing an object used in L<Paws::Pinpoint>
105  
106 =head1 BUGS and CONTRIBUTIONS
107  
108 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
109  
110 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
111  
112 =cut
113