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

filter: Statementstmt 0.0% 0 / 10 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 11 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::WriteTreatmentResource;
3 use Moose;
4 has CustomDeliveryConfiguration => (is => 'ro', isa => 'Paws::Pinpoint::CustomDeliveryConfiguration');
5 has MessageConfiguration => (is => 'ro', isa => 'Paws::Pinpoint::MessageConfiguration');
6 has Schedule => (is => 'ro', isa => 'Paws::Pinpoint::Schedule');
7 has SizePercent => (is => 'ro', isa => 'Int', required => 1);
8 has TemplateConfiguration => (is => 'ro', isa => 'Paws::Pinpoint::TemplateConfiguration');
9 has TreatmentDescription => (is => 'ro', isa => 'Str');
10 has TreatmentName => (is => 'ro', isa => 'Str');
11  
12 1;
13  
14 ### main pod documentation begin ###
15  
16 =head1 NAME
17  
18 Paws::Pinpoint::WriteTreatmentResource
19  
20 =head1 USAGE
21  
22 This class represents one of two things:
23  
24 =head3 Arguments in a call to a service
25  
26 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
27 Each attribute should be used as a named argument in the calls that expect this type of object.
28  
29 As an example, if Att1 is expected to be a Paws::Pinpoint::WriteTreatmentResource object:
30  
31 $service_obj->Method(Att1 => { CustomDeliveryConfiguration => $value, ..., TreatmentName => $value });
32  
33 =head3 Results returned from an API call
34  
35 Use accessors for each attribute. If Att1 is expected to be an Paws::Pinpoint::WriteTreatmentResource object:
36  
37 $result = $service_obj->Method(...);
38 $result->Att1->CustomDeliveryConfiguration
39  
40 =head1 DESCRIPTION
41  
42 Specifies the settings for a campaign treatment. A I<treatment> is a
43 variation of a campaign that's used for A/B testing of a campaign.
44  
45 =head1 ATTRIBUTES
46  
47  
48 =head2 CustomDeliveryConfiguration => L<Paws::Pinpoint::CustomDeliveryConfiguration>
49  
50 The delivery configuration settings for sending the treatment through a
51 custom channel. This object is required if the MessageConfiguration
52 object for the treatment specifies a CustomMessage object.
53  
54  
55 =head2 MessageConfiguration => L<Paws::Pinpoint::MessageConfiguration>
56  
57 The message configuration settings for the treatment.
58  
59  
60 =head2 Schedule => L<Paws::Pinpoint::Schedule>
61  
62 The schedule settings for the treatment.
63  
64  
65 =head2 B<REQUIRED> SizePercent => Int
66  
67 The allocated percentage of users (segment members) to send the
68 treatment to.
69  
70  
71 =head2 TemplateConfiguration => L<Paws::Pinpoint::TemplateConfiguration>
72  
73 The message template to use for the treatment.
74  
75  
76 =head2 TreatmentDescription => Str
77  
78 A custom description of the treatment.
79  
80  
81 =head2 TreatmentName => Str
82  
83 A custom name for the treatment.
84  
85  
86  
87 =head1 SEE ALSO
88  
89 This class forms part of L<Paws>, describing an object used in L<Paws::Pinpoint>
90  
91 =head1 BUGS and CONTRIBUTIONS
92  
93 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
94  
95 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
96  
97 =cut
98