File Coverage

blib/lib/Paws/Pinpoint/AddressConfiguration.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::AddressConfiguration;
2 1     1   497 use Moose;
  1         3  
  1         9  
3             has BodyOverride => (is => 'ro', isa => 'Str');
4             has ChannelType => (is => 'ro', isa => 'Str');
5             has Context => (is => 'ro', isa => 'Paws::Pinpoint::MapOf__string');
6             has RawContent => (is => 'ro', isa => 'Str');
7             has Substitutions => (is => 'ro', isa => 'Paws::Pinpoint::MapOfListOf__string');
8             has TitleOverride => (is => 'ro', isa => 'Str');
9             1;
10              
11             ### main pod documentation begin ###
12              
13             =head1 NAME
14              
15             Paws::Pinpoint::AddressConfiguration
16              
17             =head1 USAGE
18              
19             This class represents one of two things:
20              
21             =head3 Arguments in a call to a service
22              
23             Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
24             Each attribute should be used as a named argument in the calls that expect this type of object.
25              
26             As an example, if Att1 is expected to be a Paws::Pinpoint::AddressConfiguration object:
27              
28             $service_obj->Method(Att1 => { BodyOverride => $value, ..., TitleOverride => $value });
29              
30             =head3 Results returned from an API call
31              
32             Use accessors for each attribute. If Att1 is expected to be an Paws::Pinpoint::AddressConfiguration object:
33              
34             $result = $service_obj->Method(...);
35             $result->Att1->BodyOverride
36              
37             =head1 DESCRIPTION
38              
39             Address configuration.
40              
41             =head1 ATTRIBUTES
42              
43              
44             =head2 BodyOverride => Str
45              
46             Body override. If specified will override default body.
47              
48              
49             =head2 ChannelType => Str
50              
51             The channel type. Valid values: GCM | APNS | SMS | EMAIL
52              
53              
54             =head2 Context => L<Paws::Pinpoint::MapOf__string>
55              
56             A map of custom attributes to attributes to be attached to the message
57             for this address. This payload is added to the push notification's
58             'data.pinpoint' object or added to the email/sms delivery receipt event
59             attributes.
60              
61              
62             =head2 RawContent => Str
63              
64             The Raw JSON formatted string to be used as the payload. This value
65             overrides the message.
66              
67              
68             =head2 Substitutions => L<Paws::Pinpoint::MapOfListOf__string>
69              
70             A map of substitution values for the message to be merged with the
71             DefaultMessage's substitutions. Substitutions on this map take
72             precedence over the all other substitutions.
73              
74              
75             =head2 TitleOverride => Str
76              
77             Title override. If specified will override default title if applicable.
78              
79              
80              
81             =head1 SEE ALSO
82              
83             This class forms part of L<Paws>, describing an object used in L<Paws::Pinpoint>
84              
85             =head1 BUGS and CONTRIBUTIONS
86              
87             The source code is located here: https://github.com/pplu/aws-sdk-perl
88              
89             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
90              
91             =cut
92