blib/lib/Google/Ads/AdWords/v201309/PolicyViolationError.pm untested

filter: Statementstmt 0.0% 0 / 38 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 7 Podpod 0.0% 0 / 2 totaltotal 0.0% 0 / 47 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::PolicyViolationError;
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  
18 use base qw(Google::Ads::AdWords::v201309::ApiError);
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 %fieldPath_of :ATTR(:get<fieldPath>);
28 my %trigger_of :ATTR(:get<trigger>);
29 my %errorString_of :ATTR(:get<errorString>);
30 my %ApiError__Type_of :ATTR(:get<ApiError__Type>);
31 my %key_of :ATTR(:get<key>);
32 my %externalPolicyName_of :ATTR(:get<externalPolicyName>);
33 my %externalPolicyUrl_of :ATTR(:get<externalPolicyUrl>);
34 my %externalPolicyDescription_of :ATTR(:get<externalPolicyDescription>);
35 my %isExemptable_of :ATTR(:get<isExemptable>);
36 my %violatingParts_of :ATTR(:get<violatingParts>);
37  
38 __PACKAGE__->_factory(
39 [ qw( fieldPath
40 trigger
41 errorString
42 ApiError__Type
43 key
44 externalPolicyName
45 externalPolicyUrl
46 externalPolicyDescription
47 isExemptable
48 violatingParts
49  
50 ) ],
51 {
52 'fieldPath' => \%fieldPath_of,
53 'trigger' => \%trigger_of,
54 'errorString' => \%errorString_of,
55 'ApiError__Type' => \%ApiError__Type_of,
56 'key' => \%key_of,
57 'externalPolicyName' => \%externalPolicyName_of,
58 'externalPolicyUrl' => \%externalPolicyUrl_of,
59 'externalPolicyDescription' => \%externalPolicyDescription_of,
60 'isExemptable' => \%isExemptable_of,
61 'violatingParts' => \%violatingParts_of,
62 },
63 {
64 'fieldPath' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
65 'trigger' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
66 'errorString' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
67 'ApiError__Type' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
68 'key' => 'Google::Ads::AdWords::v201309::PolicyViolationKey',
69 'externalPolicyName' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
70 'externalPolicyUrl' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
71 'externalPolicyDescription' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
72 'isExemptable' => 'SOAP::WSDL::XSD::Typelib::Builtin::boolean',
73 'violatingParts' => 'Google::Ads::AdWords::v201309::PolicyViolationError::Part',
74 },
75 {
76  
77 'fieldPath' => 'fieldPath',
78 'trigger' => 'trigger',
79 'errorString' => 'errorString',
80 'ApiError__Type' => 'ApiError.Type',
81 'key' => 'key',
82 'externalPolicyName' => 'externalPolicyName',
83 'externalPolicyUrl' => 'externalPolicyUrl',
84 'externalPolicyDescription' => 'externalPolicyDescription',
85 'isExemptable' => 'isExemptable',
86 'violatingParts' => 'violatingParts',
87 }
88 );
89  
90 } # end BLOCK
91  
92  
93  
94  
95  
96  
97  
98 1;
99  
100  
101 =pod
102  
103 =head1 NAME
104  
105 Google::Ads::AdWords::v201309::PolicyViolationError
106  
107 =head1 DESCRIPTION
108  
109 Perl data type class for the XML Schema defined complexType
110 PolicyViolationError from the namespace https://adwords.google.com/api/adwords/cm/v201309.
111  
112 Represents violations of a single policy by some text in a field. Violations of a single policy by the same string in multiple places within a field is reported in one instance of this class and only one exemption needs to be filed. Violations of a single policy by two different strings is reported as two separate instances of this class. e.g. If 'ACME' violates 'capitalization' and occurs twice in a text ad it would be represented by one instance. If the ad also contains 'INC' which also violates 'capitalization' it would be represented in a separate instance.
113  
114  
115  
116  
117 =head2 PROPERTIES
118  
119 The following properties may be accessed using get_PROPERTY / set_PROPERTY
120 methods:
121  
122 =over
123  
124 =item * key
125  
126  
127 =item * externalPolicyName
128  
129  
130 =item * externalPolicyUrl
131  
132  
133 =item * externalPolicyDescription
134  
135  
136 =item * isExemptable
137  
138  
139 =item * violatingParts
140  
141  
142  
143  
144 =back
145  
146  
147 =head1 METHODS
148  
149 =head2 new
150  
151 Constructor. The following data structure may be passed to new():
152  
153  
154  
155  
156  
157  
158 =head1 AUTHOR
159  
160 Generated by SOAP::WSDL
161  
162 =cut
163