File Coverage

blib/lib/Paws/Pinpoint/DirectMessageConfiguration.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::Pinpoint::DirectMessageConfiguration;
2 1     1   443 use Moose;
  1         3  
  1         8  
3             has ADMMessage => (is => 'ro', isa => 'Paws::Pinpoint::ADMMessage');
4             has APNSMessage => (is => 'ro', isa => 'Paws::Pinpoint::APNSMessage');
5             has BaiduMessage => (is => 'ro', isa => 'Paws::Pinpoint::BaiduMessage');
6             has DefaultMessage => (is => 'ro', isa => 'Paws::Pinpoint::DefaultMessage');
7             has DefaultPushNotificationMessage => (is => 'ro', isa => 'Paws::Pinpoint::DefaultPushNotificationMessage');
8             has EmailMessage => (is => 'ro', isa => 'Paws::Pinpoint::EmailMessage');
9             has GCMMessage => (is => 'ro', isa => 'Paws::Pinpoint::GCMMessage');
10             has SMSMessage => (is => 'ro', isa => 'Paws::Pinpoint::SMSMessage');
11             1;
12              
13             ### main pod documentation begin ###
14              
15             =head1 NAME
16              
17             Paws::Pinpoint::DirectMessageConfiguration
18              
19             =head1 USAGE
20              
21             This class represents one of two things:
22              
23             =head3 Arguments in a call to a service
24              
25             Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
26             Each attribute should be used as a named argument in the calls that expect this type of object.
27              
28             As an example, if Att1 is expected to be a Paws::Pinpoint::DirectMessageConfiguration object:
29              
30             $service_obj->Method(Att1 => { ADMMessage => $value, ..., SMSMessage => $value });
31              
32             =head3 Results returned from an API call
33              
34             Use accessors for each attribute. If Att1 is expected to be an Paws::Pinpoint::DirectMessageConfiguration object:
35              
36             $result = $service_obj->Method(...);
37             $result->Att1->ADMMessage
38              
39             =head1 DESCRIPTION
40              
41             The message configuration.
42              
43             =head1 ATTRIBUTES
44              
45              
46             =head2 ADMMessage => L<Paws::Pinpoint::ADMMessage>
47              
48             The message to ADM channels. Overrides the default push notification
49             message.
50              
51              
52             =head2 APNSMessage => L<Paws::Pinpoint::APNSMessage>
53              
54             The message to APNS channels. Overrides the default push notification
55             message.
56              
57              
58             =head2 BaiduMessage => L<Paws::Pinpoint::BaiduMessage>
59              
60             The message to Baidu GCM channels. Overrides the default push
61             notification message.
62              
63              
64             =head2 DefaultMessage => L<Paws::Pinpoint::DefaultMessage>
65              
66             The default message for all channels.
67              
68              
69             =head2 DefaultPushNotificationMessage => L<Paws::Pinpoint::DefaultPushNotificationMessage>
70              
71             The default push notification message for all push channels.
72              
73              
74             =head2 EmailMessage => L<Paws::Pinpoint::EmailMessage>
75              
76             The message to Email channels. Overrides the default message.
77              
78              
79             =head2 GCMMessage => L<Paws::Pinpoint::GCMMessage>
80              
81             The message to GCM channels. Overrides the default push notification
82             message.
83              
84              
85             =head2 SMSMessage => L<Paws::Pinpoint::SMSMessage>
86              
87             The message to SMS channels. Overrides the default message.
88              
89              
90              
91             =head1 SEE ALSO
92              
93             This class forms part of L<Paws>, describing an object used in L<Paws::Pinpoint>
94              
95             =head1 BUGS and CONTRIBUTIONS
96              
97             The source code is located here: https://github.com/pplu/aws-sdk-perl
98              
99             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
100              
101             =cut
102