lib/Google/Ads/AdWords/v201809/PolicyTopicConstraint.pm

filter: Statementstmt 85.7% 12 / 14 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 66.6% 4 / 6 Podpod n/a totaltotal 80.0% 16 / 20 CC 1 SCAR 2.9
CC
1
Cov
86%
get_xmlns
2.0
__get_attr_class
2.0
BEGIN
1.0
CRAP 1.3
« lib/Google/Ads/AdWords/v201809/PolicySummaryInfo.pm ↑ Summary lib/Google/Ads/AdWords/v201809/PolicyTopicEntry.pm »
1 package Google::Ads::AdWords::v201809::PolicyTopicConstraint;
2 2 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 2 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
4  
5  
6 __PACKAGE__->_set_element_form_qualified(1);
7  
8 0 ▶sub get_xmlns { 'https://adwords.google.com/api/adwords/cm/v201809' };
Subroutine get_xmlns: not called CC=1 SCAR=6.9
9  
10 our $XML_ATTRIBUTE_CLASS;
11 undef $XML_ATTRIBUTE_CLASS;
12  
13 0 ▶sub __get_attr_class {
Subroutine __get_attr_class: not called CC=1 SCAR=6.9
14 0 return $XML_ATTRIBUTE_CLASS;
15 }
16  
17 2 ▶use Class::Std::Fast::Storable constructor => 'none';
Subroutine BEGIN: called CC=1 SCAR=0.0
18 2 ▶use base qw(Google::Ads::SOAP::Typelib::ComplexType);
Subroutine BEGIN: called CC=1 SCAR=0.0
19  
20 { # BLOCK to scope variables
21  
22 my %constraintType_of :ATTR(:get<constraintType>);
23 my %PolicyTopicConstraint__Type_of :ATTR(:get<PolicyTopicConstraint__Type>);
24  
25 __PACKAGE__->_factory(
26 [ qw( constraintType
27 PolicyTopicConstraint__Type
28  
29 ) ],
30 {
31 'constraintType' => \%constraintType_of,
32 'PolicyTopicConstraint__Type' => \%PolicyTopicConstraint__Type_of,
33 },
34 {
35 'constraintType' => 'Google::Ads::AdWords::v201809::PolicyTopicConstraint::PolicyTopicConstraintType',
36 'PolicyTopicConstraint__Type' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
37 },
38 {
39  
40 'constraintType' => 'constraintType',
41 'PolicyTopicConstraint__Type' => 'PolicyTopicConstraint.Type',
42 }
43 );
44  
45 } # end BLOCK
46  
47  
48  
49  
50  
51  
52  
53 1;
54  
55  
56 =pod
57  
58 =head1 NAME
59  
60 Google::Ads::AdWords::v201809::PolicyTopicConstraint
61  
62 =head1 DESCRIPTION
63  
64 Perl data type class for the XML Schema defined complexType
65 PolicyTopicConstraint from the namespace https://adwords.google.com/api/adwords/cm/v201809.
66  
67 A target which caused a policy finding.
68  
69  
70  
71  
72 =head2 PROPERTIES
73  
74 The following properties may be accessed using get_PROPERTY / set_PROPERTY
75 methods:
76  
77 =over
78  
79 =item * constraintType
80  
81  
82 =item * PolicyTopicConstraint__Type
83  
84 Note: The name of this property has been altered, because it didn't match
85 perl's notion of variable/subroutine names. The altered name is used in
86 perl code only, XML output uses the original name:
87  
88 PolicyTopicConstraint.Type
89  
90  
91  
92  
93 =back
94  
95  
96 =head1 METHODS
97  
98 =head2 new
99  
100 Constructor. The following data structure may be passed to new():
101  
102  
103  
104  
105  
106  
107 =head1 AUTHOR
108  
109 Generated by SOAP::WSDL
110  
111 =cut
112  
« lib/Google/Ads/AdWords/v201809/PolicySummaryInfo.pm ↑ Summary lib/Google/Ads/AdWords/v201809/PolicyTopicEntry.pm »