blib/lib/Google/Ads/AdWords/v201402/Location.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::Location;
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 %locationName_of :ATTR(:get<locationName>);
31 my %displayType_of :ATTR(:get<displayType>);
32 my %targetingStatus_of :ATTR(:get<targetingStatus>);
33 my %parentLocations_of :ATTR(:get<parentLocations>);
34  
35 __PACKAGE__->_factory(
36 [ qw( id
37 type
38 Criterion__Type
39 locationName
40 displayType
41 targetingStatus
42 parentLocations
43  
44 ) ],
45 {
46 'id' => \%id_of,
47 'type' => \%type_of,
48 'Criterion__Type' => \%Criterion__Type_of,
49 'locationName' => \%locationName_of,
50 'displayType' => \%displayType_of,
51 'targetingStatus' => \%targetingStatus_of,
52 'parentLocations' => \%parentLocations_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 'locationName' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
59 'displayType' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
60 'targetingStatus' => 'Google::Ads::AdWords::v201402::LocationTargetingStatus',
61 'parentLocations' => 'Google::Ads::AdWords::v201402::Location',
62 },
63 {
64  
65 'id' => 'id',
66 'type' => 'type',
67 'Criterion__Type' => 'Criterion.Type',
68 'locationName' => 'locationName',
69 'displayType' => 'displayType',
70 'targetingStatus' => 'targetingStatus',
71 'parentLocations' => 'parentLocations',
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::Location
91  
92 =head1 DESCRIPTION
93  
94 Perl data type class for the XML Schema defined complexType
95 Location from the namespace https://adwords.google.com/api/adwords/cm/v201402.
96  
97 Represents Location criterion. <p>A criterion of this type can only be created using an ID. A criterion of this type can be either targeted or excluded. <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 * locationName
110  
111  
112 =item * displayType
113  
114  
115 =item * targetingStatus
116  
117  
118 =item * parentLocations
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