blib/lib/Paws/Pinpoint/CampaignSmsMessage.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::CampaignSmsMessage;
3 use Moose;
4 has Body => (is => 'ro', isa => 'Str');
5 has EntityId => (is => 'ro', isa => 'Str');
6 has MessageType => (is => 'ro', isa => 'Str');
7 has OriginationNumber => (is => 'ro', isa => 'Str');
8 has SenderId => (is => 'ro', isa => 'Str');
9 has TemplateId => (is => 'ro', isa => 'Str');
10  
11 1;
12  
13 ### main pod documentation begin ###
14  
15 =head1 NAME
16  
17 Paws::Pinpoint::CampaignSmsMessage
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::CampaignSmsMessage object:
29  
30 $service_obj->Method(Att1 => { Body => $value, ..., TemplateId => $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::CampaignSmsMessage object:
35  
36 $result = $service_obj->Method(...);
37 $result->Att1->Body
38  
39 =head1 DESCRIPTION
40  
41 Specifies the content and settings for an SMS message that's sent to
42 recipients of a campaign.
43  
44 =head1 ATTRIBUTES
45  
46  
47 =head2 Body => Str
48  
49 The body of the SMS message.
50  
51  
52 =head2 EntityId => Str
53  
54 The entity ID or Principal Entity (PE) id received from the regulatory
55 body for sending SMS in your country.
56  
57  
58 =head2 MessageType => Str
59  
60 The SMS message type. Valid values are TRANSACTIONAL (for messages that
61 are critical or time-sensitive, such as a one-time passwords) and
62 PROMOTIONAL (for messsages that aren't critical or time-sensitive, such
63 as marketing messages).
64  
65  
66 =head2 OriginationNumber => Str
67  
68 The long code to send the SMS message from. This value should be one of
69 the dedicated long codes that's assigned to your AWS account. Although
70 it isn't required, we recommend that you specify the long code using an
71 E.164 format to ensure prompt and accurate delivery of the message. For
72 example, +12065550100.
73  
74  
75 =head2 SenderId => Str
76  
77 The sender ID to display on recipients' devices when they receive the
78 SMS message.
79  
80  
81 =head2 TemplateId => Str
82  
83 The template ID received from the regulatory body for sending SMS in
84 your country.
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