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

filter: Statementstmt 0.0% 0 / 9 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 10 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::AddressConfiguration;
3 use Moose;
4 has BodyOverride => (is => 'ro', isa => 'Str');
5 has ChannelType => (is => 'ro', isa => 'Str');
6 has Context => (is => 'ro', isa => 'Paws::Pinpoint::MapOf__string');
7 has RawContent => (is => 'ro', isa => 'Str');
8 has Substitutions => (is => 'ro', isa => 'Paws::Pinpoint::MapOfListOf__string');
9 has TitleOverride => (is => 'ro', isa => 'Str');
10  
11 1;
12  
13 ### main pod documentation begin ###
14  
15 =head1 NAME
16  
17 Paws::Pinpoint::AddressConfiguration
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::AddressConfiguration object:
29  
30 $service_obj->Method(Att1 => { BodyOverride => $value, ..., TitleOverride => $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::AddressConfiguration object:
35  
36 $result = $service_obj->Method(...);
37 $result->Att1->BodyOverride
38  
39 =head1 DESCRIPTION
40  
41 Specifies address-based configuration settings for a message that's
42 sent directly to an endpoint.
43  
44 =head1 ATTRIBUTES
45  
46  
47 =head2 BodyOverride => Str
48  
49 The message body to use instead of the default message body. This value
50 overrides the default message body.
51  
52  
53 =head2 ChannelType => Str
54  
55 The channel to use when sending the message.
56  
57  
58 =head2 Context => L<Paws::Pinpoint::MapOf__string>
59  
60 An object that maps custom attributes to attributes for the address and
61 is attached to the message. Attribute names are case sensitive.
62  
63 For a push notification, this payload is added to the data.pinpoint
64 object. For an email or text message, this payload is added to
65 email/SMS delivery receipt event attributes.
66  
67  
68 =head2 RawContent => Str
69  
70 The raw, JSON-formatted string to use as the payload for the message.
71 If specified, this value overrides all other values for the message.
72  
73  
74 =head2 Substitutions => L<Paws::Pinpoint::MapOfListOf__string>
75  
76 A map of the message variables to merge with the variables specified by
77 properties of the DefaultMessage object. The variables specified in
78 this map take precedence over all other variables.
79  
80  
81 =head2 TitleOverride => Str
82  
83 The message title to use instead of the default message title. This
84 value overrides the default message title.
85  
86  
87  
88 =head1 SEE ALSO
89  
90 This class forms part of L<Paws>, describing an object used in L<Paws::Pinpoint>
91  
92 =head1 BUGS and CONTRIBUTIONS
93  
94 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
95  
96 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
97  
98 =cut
99