blib/lib/Google/Ads/AdWords/v201309/CampaignCriterion.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::CampaignCriterion;
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 %campaignId_of :ATTR(:get<campaignId>);
25 my %isNegative_of :ATTR(:get<isNegative>);
26 my %criterion_of :ATTR(:get<criterion>);
27 my %bidModifier_of :ATTR(:get<bidModifier>);
28 my %forwardCompatibilityMap_of :ATTR(:get<forwardCompatibilityMap>);
29 my %CampaignCriterion__Type_of :ATTR(:get<CampaignCriterion__Type>);
30  
31 __PACKAGE__->_factory(
32 [ qw( campaignId
33 isNegative
34 criterion
35 bidModifier
36 forwardCompatibilityMap
37 CampaignCriterion__Type
38  
39 ) ],
40 {
41 'campaignId' => \%campaignId_of,
42 'isNegative' => \%isNegative_of,
43 'criterion' => \%criterion_of,
44 'bidModifier' => \%bidModifier_of,
45 'forwardCompatibilityMap' => \%forwardCompatibilityMap_of,
46 'CampaignCriterion__Type' => \%CampaignCriterion__Type_of,
47 },
48 {
49 'campaignId' => 'SOAP::WSDL::XSD::Typelib::Builtin::long',
50 'isNegative' => 'SOAP::WSDL::XSD::Typelib::Builtin::boolean',
51 'criterion' => 'Google::Ads::AdWords::v201309::Criterion',
52 'bidModifier' => 'SOAP::WSDL::XSD::Typelib::Builtin::double',
53 'forwardCompatibilityMap' => 'Google::Ads::AdWords::v201309::String_StringMapEntry',
54 'CampaignCriterion__Type' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
55 },
56 {
57  
58 'campaignId' => 'campaignId',
59 'isNegative' => 'isNegative',
60 'criterion' => 'criterion',
61 'bidModifier' => 'bidModifier',
62 'forwardCompatibilityMap' => 'forwardCompatibilityMap',
63 'CampaignCriterion__Type' => 'CampaignCriterion.Type',
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::CampaignCriterion
83  
84 =head1 DESCRIPTION
85  
86 Perl data type class for the XML Schema defined complexType
87 CampaignCriterion from the namespace https://adwords.google.com/api/adwords/cm/v201309.
88  
89 Represents a campaign level 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 * campaignId
102  
103  
104 =item * isNegative
105  
106  
107 =item * criterion
108  
109  
110 =item * bidModifier
111  
112  
113 =item * forwardCompatibilityMap
114  
115  
116 =item * CampaignCriterion__Type
117  
118 Note: The name of this property has been altered, because it didn't match
119 perl's notion of variable/subroutine names. The altered name is used in
120 perl code only, XML output uses the original name:
121  
122 CampaignCriterion.Type
123  
124  
125  
126  
127 =back
128  
129  
130 =head1 METHODS
131  
132 =head2 new
133  
134 Constructor. The following data structure may be passed to new():
135  
136  
137  
138  
139  
140  
141 =head1 AUTHOR
142  
143 Generated by SOAP::WSDL
144  
145 =cut
146