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

filter: Statementstmt 0.0% 0 / 30 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 6 Podpod 0.0% 0 / 2 totaltotal 0.0% 0 / 38 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::AdGroupCriterion;
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 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 %adGroupId_of :ATTR(:get<adGroupId>);
25 my %criterionUse_of :ATTR(:get<criterionUse>);
26 my %criterion_of :ATTR(:get<criterion>);
27 my %forwardCompatibilityMap_of :ATTR(:get<forwardCompatibilityMap>);
28 my %AdGroupCriterion__Type_of :ATTR(:get<AdGroupCriterion__Type>);
29  
30 __PACKAGE__->_factory(
31 [ qw( adGroupId
32 criterionUse
33 criterion
34 forwardCompatibilityMap
35 AdGroupCriterion__Type
36  
37 ) ],
38 {
39 'adGroupId' => \%adGroupId_of,
40 'criterionUse' => \%criterionUse_of,
41 'criterion' => \%criterion_of,
42 'forwardCompatibilityMap' => \%forwardCompatibilityMap_of,
43 'AdGroupCriterion__Type' => \%AdGroupCriterion__Type_of,
44 },
45 {
46 'adGroupId' => 'SOAP::WSDL::XSD::Typelib::Builtin::long',
47 'criterionUse' => 'Google::Ads::AdWords::v201402::CriterionUse',
48 'criterion' => 'Google::Ads::AdWords::v201402::Criterion',
49 'forwardCompatibilityMap' => 'Google::Ads::AdWords::v201402::String_StringMapEntry',
50 'AdGroupCriterion__Type' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
51 },
52 {
53  
54 'adGroupId' => 'adGroupId',
55 'criterionUse' => 'criterionUse',
56 'criterion' => 'criterion',
57 'forwardCompatibilityMap' => 'forwardCompatibilityMap',
58 'AdGroupCriterion__Type' => 'AdGroupCriterion.Type',
59 }
60 );
61  
62 } # end BLOCK
63  
64  
65  
66  
67  
68  
69  
70 1;
71  
72  
73 =pod
74  
75 =head1 NAME
76  
77 Google::Ads::AdWords::v201402::AdGroupCriterion
78  
79 =head1 DESCRIPTION
80  
81 Perl data type class for the XML Schema defined complexType
82 AdGroupCriterion from the namespace https://adwords.google.com/api/adwords/cm/v201402.
83  
84 Represents a criterion in an ad group, used with AdGroupCriterionService.
85  
86  
87  
88  
89 =head2 PROPERTIES
90  
91 The following properties may be accessed using get_PROPERTY / set_PROPERTY
92 methods:
93  
94 =over
95  
96 =item * adGroupId
97  
98  
99 =item * criterionUse
100  
101  
102 =item * criterion
103  
104  
105 =item * forwardCompatibilityMap
106  
107  
108 =item * AdGroupCriterion__Type
109  
110 Note: The name of this property has been altered, because it didn't match
111 perl's notion of variable/subroutine names. The altered name is used in
112 perl code only, XML output uses the original name:
113  
114 AdGroupCriterion.Type
115  
116  
117  
118  
119 =back
120  
121  
122 =head1 METHODS
123  
124 =head2 new
125  
126 Constructor. The following data structure may be passed to new():
127  
128  
129  
130  
131  
132  
133 =head1 AUTHOR
134  
135 Generated by SOAP::WSDL
136  
137 =cut
138