blib/lib/Google/Ads/AdWords/v201309/StatsEstimate.pm untested

filter: Statementstmt 0.0% 0 / 31 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 6 Podpod 0.0% 0 / 2 totaltotal 0.0% 0 / 39 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::v201309::StatsEstimate;
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/o/v201309' };
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 Class::Std::initialize();
21  
22 { # BLOCK to scope variables
23  
24 my %averageCpc_of :ATTR(:get<averageCpc>);
25 my %averagePosition_of :ATTR(:get<averagePosition>);
26 my %clicksPerDay_of :ATTR(:get<clicksPerDay>);
27 my %impressionsPerDay_of :ATTR(:get<impressionsPerDay>);
28 my %clickThroughRate_of :ATTR(:get<clickThroughRate>);
29 my %totalCost_of :ATTR(:get<totalCost>);
30  
31 __PACKAGE__->_factory(
32 [ qw( averageCpc
33 averagePosition
34 clicksPerDay
35 impressionsPerDay
36 clickThroughRate
37 totalCost
38  
39 ) ],
40 {
41 'averageCpc' => \%averageCpc_of,
42 'averagePosition' => \%averagePosition_of,
43 'clicksPerDay' => \%clicksPerDay_of,
44 'impressionsPerDay' => \%impressionsPerDay_of,
45 'clickThroughRate' => \%clickThroughRate_of,
46 'totalCost' => \%totalCost_of,
47 },
48 {
49 'averageCpc' => 'Google::Ads::AdWords::v201309::Money',
50 'averagePosition' => 'SOAP::WSDL::XSD::Typelib::Builtin::double',
51 'clicksPerDay' => 'SOAP::WSDL::XSD::Typelib::Builtin::float',
52 'impressionsPerDay' => 'SOAP::WSDL::XSD::Typelib::Builtin::float',
53 'clickThroughRate' => 'SOAP::WSDL::XSD::Typelib::Builtin::double',
54 'totalCost' => 'Google::Ads::AdWords::v201309::Money',
55 },
56 {
57  
58 'averageCpc' => 'averageCpc',
59 'averagePosition' => 'averagePosition',
60 'clicksPerDay' => 'clicksPerDay',
61 'impressionsPerDay' => 'impressionsPerDay',
62 'clickThroughRate' => 'clickThroughRate',
63 'totalCost' => 'totalCost',
64 }
65 );
66  
67 } # end BLOCK
68  
69  
70  
71  
72  
73  
74  
75 1;
76  
77  
78 =pod
79  
80 =head1 NAME
81  
82 Google::Ads::AdWords::v201309::StatsEstimate
83  
84 =head1 DESCRIPTION
85  
86 Perl data type class for the XML Schema defined complexType
87 StatsEstimate from the namespace https://adwords.google.com/api/adwords/o/v201309.
88  
89 Represents a set of stats for a traffic estimate.
90  
91  
92  
93  
94 =head2 PROPERTIES
95  
96 The following properties may be accessed using get_PROPERTY / set_PROPERTY
97 methods:
98  
99 =over
100  
101 =item * averageCpc
102  
103  
104 =item * averagePosition
105  
106  
107 =item * clicksPerDay
108  
109  
110 =item * impressionsPerDay
111  
112  
113 =item * clickThroughRate
114  
115  
116 =item * totalCost
117  
118  
119  
120  
121 =back
122  
123  
124 =head1 METHODS
125  
126 =head2 new
127  
128 Constructor. The following data structure may be passed to new():
129  
130  
131  
132  
133  
134  
135 =head1 AUTHOR
136  
137 Generated by SOAP::WSDL
138  
139 =cut
140