blib/lib/Google/Ads/AdWords/v201802/FrequencyCap.pm untested

filter: Statementstmt 0.0% 0 / 27 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 6 Podpod 0.0% 0 / 2 totaltotal 0.0% 0 / 35 CC 1 SCAR 6.9
CC
1
Cov
0%
get_xmlns
2.0
__get_attr_class
2.0
BEGIN
2.0
CRAP 2.0
1 package Google::Ads::AdWords::v201802::FrequencyCap;
2 use strict;
3 use warnings;
4  
5  
6 __PACKAGE__->_set_element_form_qualified(1);
7  
8 sub get_xmlns { 'https://adwords.google.com/api/adwords/cm/v201802' };
9  
10 our $XML_ATTRIBUTE_CLASS;
11 undef $XML_ATTRIBUTE_CLASS;
12  
13 sub __get_attr_class {
14 return $XML_ATTRIBUTE_CLASS;
15 }
16  
17 use Class::Std::Fast::Storable constructor => 'none';
18 use base qw(Google::Ads::SOAP::Typelib::ComplexType);
19  
20 { # BLOCK to scope variables
21  
22 my %impressions_of :ATTR(:get<impressions>);
23 my %timeUnit_of :ATTR(:get<timeUnit>);
24 my %level_of :ATTR(:get<level>);
25  
26 __PACKAGE__->_factory(
27 [ qw( impressions
28 timeUnit
29 level
30  
31 ) ],
32 {
33 'impressions' => \%impressions_of,
34 'timeUnit' => \%timeUnit_of,
35 'level' => \%level_of,
36 },
37 {
38 'impressions' => 'SOAP::WSDL::XSD::Typelib::Builtin::long',
39 'timeUnit' => 'Google::Ads::AdWords::v201802::TimeUnit',
40 'level' => 'Google::Ads::AdWords::v201802::Level',
41 },
42 {
43  
44 'impressions' => 'impressions',
45 'timeUnit' => 'timeUnit',
46 'level' => 'level',
47 }
48 );
49  
50 } # end BLOCK
51  
52  
53  
54  
55  
56  
57  
58 1;
59  
60  
61 =pod
62  
63 =head1 NAME
64  
65 Google::Ads::AdWords::v201802::FrequencyCap
66  
67 =head1 DESCRIPTION
68  
69 Perl data type class for the XML Schema defined complexType
70 FrequencyCap from the namespace https://adwords.google.com/api/adwords/cm/v201802.
71  
72 A frequency cap is the maximum number of times an ad (or some set of ads) can be shown to a user over a particular time period.
73  
74  
75  
76  
77 =head2 PROPERTIES
78  
79 The following properties may be accessed using get_PROPERTY / set_PROPERTY
80 methods:
81  
82 =over
83  
84 =item * impressions
85  
86  
87 =item * timeUnit
88  
89  
90 =item * level
91  
92  
93  
94  
95 =back
96  
97  
98 =head1 METHODS
99  
100 =head2 new
101  
102 Constructor. The following data structure may be passed to new():
103  
104  
105  
106  
107  
108  
109 =head1 AUTHOR
110  
111 Generated by SOAP::WSDL
112  
113 =cut
114