File Coverage

blib/lib/Paws/Pinpoint/Schedule.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::Schedule;
2 1     1   519 use Moose;
  1         3  
  1         10  
3             has EndTime => (is => 'ro', isa => 'Str');
4             has Frequency => (is => 'ro', isa => 'Str');
5             has IsLocalTime => (is => 'ro', isa => 'Bool');
6             has QuietTime => (is => 'ro', isa => 'Paws::Pinpoint::QuietTime');
7             has StartTime => (is => 'ro', isa => 'Str');
8             has Timezone => (is => 'ro', isa => 'Str');
9             1;
10              
11             ### main pod documentation begin ###
12              
13             =head1 NAME
14              
15             Paws::Pinpoint::Schedule
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::Schedule object:
27              
28             $service_obj->Method(Att1 => { EndTime => $value, ..., Timezone => $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::Schedule object:
33              
34             $result = $service_obj->Method(...);
35             $result->Att1->EndTime
36              
37             =head1 DESCRIPTION
38              
39             Shcedule that defines when a campaign is run.
40              
41             =head1 ATTRIBUTES
42              
43              
44             =head2 EndTime => Str
45              
46             The scheduled time that the campaign ends in ISO 8601 format.
47              
48              
49             =head2 Frequency => Str
50              
51             How often the campaign delivers messages. Valid values: ONCE, HOURLY,
52             DAILY, WEEKLY, MONTHLY
53              
54              
55             =head2 IsLocalTime => Bool
56              
57             Indicates whether the campaign schedule takes effect according to each
58             user's local time.
59              
60              
61             =head2 QuietTime => L<Paws::Pinpoint::QuietTime>
62              
63             The time during which the campaign sends no messages.
64              
65              
66             =head2 StartTime => Str
67              
68             The scheduled time that the campaign begins in ISO 8601 format.
69              
70              
71             =head2 Timezone => Str
72              
73             The starting UTC offset for the schedule if the value for isLocalTime
74             is true Valid values: UTC UTC+01 UTC+02 UTC+03 UTC+03:30 UTC+04
75             UTC+04:30 UTC+05 UTC+05:30 UTC+05:45 UTC+06 UTC+06:30 UTC+07 UTC+08
76             UTC+09 UTC+09:30 UTC+10 UTC+10:30 UTC+11 UTC+12 UTC+13 UTC-02 UTC-03
77             UTC-04 UTC-05 UTC-06 UTC-07 UTC-08 UTC-09 UTC-10 UTC-11
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