blib/lib/Google/Ads/AdWords/v201402/Proximity.pm untested

filter: Statementstmt 0.0% 0 / 35 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 7 Podpod 0.0% 0 / 2 totaltotal 0.0% 0 / 44 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::v201402::Proximity;
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/v201402' };
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  
18 use base qw(Google::Ads::AdWords::v201402::Criterion);
19 # Variety: sequence
20 use Class::Std::Fast::Storable constructor => 'none';
21 use base qw(Google::Ads::SOAP::Typelib::ComplexType);
22  
23 Class::Std::initialize();
24  
25 { # BLOCK to scope variables
26  
27 my %id_of :ATTR(:get<id>);
28 my %type_of :ATTR(:get<type>);
29 my %Criterion__Type_of :ATTR(:get<Criterion__Type>);
30 my %geoPoint_of :ATTR(:get<geoPoint>);
31 my %radiusDistanceUnits_of :ATTR(:get<radiusDistanceUnits>);
32 my %radiusInUnits_of :ATTR(:get<radiusInUnits>);
33 my %address_of :ATTR(:get<address>);
34  
35 __PACKAGE__->_factory(
36 [ qw( id
37 type
38 Criterion__Type
39 geoPoint
40 radiusDistanceUnits
41 radiusInUnits
42 address
43  
44 ) ],
45 {
46 'id' => \%id_of,
47 'type' => \%type_of,
48 'Criterion__Type' => \%Criterion__Type_of,
49 'geoPoint' => \%geoPoint_of,
50 'radiusDistanceUnits' => \%radiusDistanceUnits_of,
51 'radiusInUnits' => \%radiusInUnits_of,
52 'address' => \%address_of,
53 },
54 {
55 'id' => 'SOAP::WSDL::XSD::Typelib::Builtin::long',
56 'type' => 'Google::Ads::AdWords::v201402::Criterion::Type',
57 'Criterion__Type' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
58 'geoPoint' => 'Google::Ads::AdWords::v201402::GeoPoint',
59 'radiusDistanceUnits' => 'Google::Ads::AdWords::v201402::Proximity::DistanceUnits',
60 'radiusInUnits' => 'SOAP::WSDL::XSD::Typelib::Builtin::double',
61 'address' => 'Google::Ads::AdWords::v201402::Address',
62 },
63 {
64  
65 'id' => 'id',
66 'type' => 'type',
67 'Criterion__Type' => 'Criterion.Type',
68 'geoPoint' => 'geoPoint',
69 'radiusDistanceUnits' => 'radiusDistanceUnits',
70 'radiusInUnits' => 'radiusInUnits',
71 'address' => 'address',
72 }
73 );
74  
75 } # end BLOCK
76  
77  
78  
79  
80  
81  
82  
83 1;
84  
85  
86 =pod
87  
88 =head1 NAME
89  
90 Google::Ads::AdWords::v201402::Proximity
91  
92 =head1 DESCRIPTION
93  
94 Perl data type class for the XML Schema defined complexType
95 Proximity from the namespace https://adwords.google.com/api/adwords/cm/v201402.
96  
97 Represents a Proximity Criterion. A proximity is an area within a certain radius of a point with the center point being described by a lat/long pair. The caller may also alternatively provide address fields which will be geocoded into a lat/long pair. Note: If a geoPoint value is provided, the address is not used for calculating the lat/long to target. <p> A criterion of this type is only targetable. <span class="constraint AdxEnabled">This is enabled for AdX.</span>
98  
99  
100  
101  
102 =head2 PROPERTIES
103  
104 The following properties may be accessed using get_PROPERTY / set_PROPERTY
105 methods:
106  
107 =over
108  
109 =item * geoPoint
110  
111  
112 =item * radiusDistanceUnits
113  
114  
115 =item * radiusInUnits
116  
117  
118 =item * address
119  
120  
121  
122  
123 =back
124  
125  
126 =head1 METHODS
127  
128 =head2 new
129  
130 Constructor. The following data structure may be passed to new():
131  
132  
133  
134  
135  
136  
137 =head1 AUTHOR
138  
139 Generated by SOAP::WSDL
140  
141 =cut
142