lib/Google/Ads/AdWords/v201809/FeedItemSchedule.pm

filter: Statementstmt 85.7% 12 / 14 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 66.6% 4 / 6 Podpod n/a totaltotal 80.0% 16 / 20 CC 1 SCAR 2.9
CC
1
Cov
86%
get_xmlns
2.0
__get_attr_class
2.0
BEGIN
1.0
CRAP 1.3
« lib/Google/Ads/AdWords/v201809/FeedItemGeoRestriction.pm ↑ Summary lib/Google/Ads/AdWords/v201809/FeedItemScheduling.pm »
1 package Google::Ads::AdWords::v201809::FeedItemSchedule;
2 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
4  
5  
6 __PACKAGE__->_set_element_form_qualified(1);
7  
8 0 ▶sub get_xmlns { 'https://adwords.google.com/api/adwords/cm/v201809' };
Subroutine get_xmlns: not called CC=1 SCAR=6.9
9  
10 our $XML_ATTRIBUTE_CLASS;
11 undef $XML_ATTRIBUTE_CLASS;
12  
13 0 ▶sub __get_attr_class {
Subroutine __get_attr_class: not called CC=1 SCAR=6.9
14 0 return $XML_ATTRIBUTE_CLASS;
15 }
16  
17 1 ▶use Class::Std::Fast::Storable constructor => 'none';
Subroutine BEGIN: called CC=1 SCAR=0.0
18 1 ▶use base qw(Google::Ads::SOAP::Typelib::ComplexType);
Subroutine BEGIN: called CC=1 SCAR=0.0
19  
20 { # BLOCK to scope variables
21  
22 my %dayOfWeek_of :ATTR(:get<dayOfWeek>);
23 my %startHour_of :ATTR(:get<startHour>);
24 my %startMinute_of :ATTR(:get<startMinute>);
25 my %endHour_of :ATTR(:get<endHour>);
26 my %endMinute_of :ATTR(:get<endMinute>);
27  
28 __PACKAGE__->_factory(
29 [ qw( dayOfWeek
30 startHour
31 startMinute
32 endHour
33 endMinute
34  
35 ) ],
36 {
37 'dayOfWeek' => \%dayOfWeek_of,
38 'startHour' => \%startHour_of,
39 'startMinute' => \%startMinute_of,
40 'endHour' => \%endHour_of,
41 'endMinute' => \%endMinute_of,
42 },
43 {
44 'dayOfWeek' => 'Google::Ads::AdWords::v201809::DayOfWeek',
45 'startHour' => 'SOAP::WSDL::XSD::Typelib::Builtin::int',
46 'startMinute' => 'Google::Ads::AdWords::v201809::MinuteOfHour',
47 'endHour' => 'SOAP::WSDL::XSD::Typelib::Builtin::int',
48 'endMinute' => 'Google::Ads::AdWords::v201809::MinuteOfHour',
49 },
50 {
51  
52 'dayOfWeek' => 'dayOfWeek',
53 'startHour' => 'startHour',
54 'startMinute' => 'startMinute',
55 'endHour' => 'endHour',
56 'endMinute' => 'endMinute',
57 }
58 );
59  
60 } # end BLOCK
61  
62  
63  
64  
65  
66  
67  
68 1;
69  
70  
71 =pod
72  
73 =head1 NAME
74  
75 Google::Ads::AdWords::v201809::FeedItemSchedule
76  
77 =head1 DESCRIPTION
78  
79 Perl data type class for the XML Schema defined complexType
80 FeedItemSchedule from the namespace https://adwords.google.com/api/adwords/cm/v201809.
81  
82 Represents a FeedItem schedule, which specifies a time interval on a given day when the feed item may serve. The FeedItemSchedule times are in the account's time zone.
83  
84  
85  
86  
87 =head2 PROPERTIES
88  
89 The following properties may be accessed using get_PROPERTY / set_PROPERTY
90 methods:
91  
92 =over
93  
94 =item * dayOfWeek
95  
96  
97 =item * startHour
98  
99  
100 =item * startMinute
101  
102  
103 =item * endHour
104  
105  
106 =item * endMinute
107  
108  
109  
110  
111 =back
112  
113  
114 =head1 METHODS
115  
116 =head2 new
117  
118 Constructor. The following data structure may be passed to new():
119  
120  
121  
122  
123  
124  
125 =head1 AUTHOR
126  
127 Generated by SOAP::WSDL
128  
129 =cut
130  
« lib/Google/Ads/AdWords/v201809/FeedItemGeoRestriction.pm ↑ Summary lib/Google/Ads/AdWords/v201809/FeedItemScheduling.pm »