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

filter: Statementstmt 0.0% 0 / 34 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 7 Podpod 0.0% 0 / 2 totaltotal 0.0% 0 / 43 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::v201710::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/v201710' };
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::v201710::Criterion);
19 # Variety: sequence
20 use Class::Std::Fast::Storable constructor => 'none';
21 use base qw(Google::Ads::SOAP::Typelib::ComplexType);
22  
23 { # BLOCK to scope variables
24  
25 my %id_of :ATTR(:get<id>);
26 my %type_of :ATTR(:get<type>);
27 my %Criterion__Type_of :ATTR(:get<Criterion__Type>);
28 my %geoPoint_of :ATTR(:get<geoPoint>);
29 my %radiusDistanceUnits_of :ATTR(:get<radiusDistanceUnits>);
30 my %radiusInUnits_of :ATTR(:get<radiusInUnits>);
31 my %address_of :ATTR(:get<address>);
32  
33 __PACKAGE__->_factory(
34 [ qw( id
35 type
36 Criterion__Type
37 geoPoint
38 radiusDistanceUnits
39 radiusInUnits
40 address
41  
42 ) ],
43 {
44 'id' => \%id_of,
45 'type' => \%type_of,
46 'Criterion__Type' => \%Criterion__Type_of,
47 'geoPoint' => \%geoPoint_of,
48 'radiusDistanceUnits' => \%radiusDistanceUnits_of,
49 'radiusInUnits' => \%radiusInUnits_of,
50 'address' => \%address_of,
51 },
52 {
53 'id' => 'SOAP::WSDL::XSD::Typelib::Builtin::long',
54 'type' => 'Google::Ads::AdWords::v201710::Criterion::Type',
55 'Criterion__Type' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
56 'geoPoint' => 'Google::Ads::AdWords::v201710::GeoPoint',
57 'radiusDistanceUnits' => 'Google::Ads::AdWords::v201710::Proximity::DistanceUnits',
58 'radiusInUnits' => 'SOAP::WSDL::XSD::Typelib::Builtin::double',
59 'address' => 'Google::Ads::AdWords::v201710::Address',
60 },
61 {
62  
63 'id' => 'id',
64 'type' => 'type',
65 'Criterion__Type' => 'Criterion.Type',
66 'geoPoint' => 'geoPoint',
67 'radiusDistanceUnits' => 'radiusDistanceUnits',
68 'radiusInUnits' => 'radiusInUnits',
69 'address' => 'address',
70 }
71 );
72  
73 } # end BLOCK
74  
75  
76  
77  
78  
79  
80  
81 1;
82  
83  
84 =pod
85  
86 =head1 NAME
87  
88 Google::Ads::AdWords::v201710::Proximity
89  
90 =head1 DESCRIPTION
91  
92 Perl data type class for the XML Schema defined complexType
93 Proximity from the namespace https://adwords.google.com/api/adwords/cm/v201710.
94  
95 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>
96  
97  
98  
99  
100 =head2 PROPERTIES
101  
102 The following properties may be accessed using get_PROPERTY / set_PROPERTY
103 methods:
104  
105 =over
106  
107 =item * geoPoint
108  
109  
110 =item * radiusDistanceUnits
111  
112  
113 =item * radiusInUnits
114  
115  
116 =item * address
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