blib/lib/Google/Ads/AdWords/v201309/LocationCriterion.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::LocationCriterion;
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/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 %location_of :ATTR(:get<location>);
25 my %canonicalName_of :ATTR(:get<canonicalName>);
26 my %reach_of :ATTR(:get<reach>);
27 my %locale_of :ATTR(:get<locale>);
28 my %searchTerm_of :ATTR(:get<searchTerm>);
29 my %countryCode_of :ATTR(:get<countryCode>);
30  
31 __PACKAGE__->_factory(
32 [ qw( location
33 canonicalName
34 reach
35 locale
36 searchTerm
37 countryCode
38  
39 ) ],
40 {
41 'location' => \%location_of,
42 'canonicalName' => \%canonicalName_of,
43 'reach' => \%reach_of,
44 'locale' => \%locale_of,
45 'searchTerm' => \%searchTerm_of,
46 'countryCode' => \%countryCode_of,
47 },
48 {
49 'location' => 'Google::Ads::AdWords::v201309::Location',
50 'canonicalName' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
51 'reach' => 'SOAP::WSDL::XSD::Typelib::Builtin::long',
52 'locale' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
53 'searchTerm' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
54 'countryCode' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
55 },
56 {
57  
58 'location' => 'location',
59 'canonicalName' => 'canonicalName',
60 'reach' => 'reach',
61 'locale' => 'locale',
62 'searchTerm' => 'searchTerm',
63 'countryCode' => 'countryCode',
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::LocationCriterion
83  
84 =head1 DESCRIPTION
85  
86 Perl data type class for the XML Schema defined complexType
87 LocationCriterion from the namespace https://adwords.google.com/api/adwords/cm/v201309.
88  
89 Represents data that encapsulates a location criterion.
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 * location
102  
103  
104 =item * canonicalName
105  
106  
107 =item * reach
108  
109  
110 =item * locale
111  
112  
113 =item * searchTerm
114  
115  
116 =item * countryCode
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