lib/Google/Ads/AdWords/v201809/ApiError.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/AddressInfo.pm ↑ Summary lib/Google/Ads/AdWords/v201809/AppUrl.pm »
1 package Google::Ads::AdWords::v201809::ApiError;
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 %fieldPath_of :ATTR(:get<fieldPath>);
23 my %fieldPathElements_of :ATTR(:get<fieldPathElements>);
24 my %trigger_of :ATTR(:get<trigger>);
25 my %errorString_of :ATTR(:get<errorString>);
26 my %ApiError__Type_of :ATTR(:get<ApiError__Type>);
27  
28 __PACKAGE__->_factory(
29 [ qw( fieldPath
30 fieldPathElements
31 trigger
32 errorString
33 ApiError__Type
34  
35 ) ],
36 {
37 'fieldPath' => \%fieldPath_of,
38 'fieldPathElements' => \%fieldPathElements_of,
39 'trigger' => \%trigger_of,
40 'errorString' => \%errorString_of,
41 'ApiError__Type' => \%ApiError__Type_of,
42 },
43 {
44 'fieldPath' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
45 'fieldPathElements' => 'Google::Ads::AdWords::v201809::FieldPathElement',
46 'trigger' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
47 'errorString' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
48 'ApiError__Type' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
49 },
50 {
51  
52 'fieldPath' => 'fieldPath',
53 'fieldPathElements' => 'fieldPathElements',
54 'trigger' => 'trigger',
55 'errorString' => 'errorString',
56 'ApiError__Type' => 'ApiError.Type',
57 }
58 );
59  
60 } # end BLOCK
61  
62  
63  
64  
65  
66  
67  
68 1;
69  
70  
71 =pod
72  
73 =head1 NAME
74  
75 Google::Ads::AdWords::v201809::ApiError
76  
77 =head1 DESCRIPTION
78  
79 Perl data type class for the XML Schema defined complexType
80 ApiError from the namespace https://adwords.google.com/api/adwords/cm/v201809.
81  
82 The API error base class that provides details about an error that occurred while processing a service request. <p>The OGNL field path is provided for parsers to identify the request data element that may have caused the error.</p>
83  
84  
85  
86  
87 =head2 PROPERTIES
88  
89 The following properties may be accessed using get_PROPERTY / set_PROPERTY
90 methods:
91  
92 =over
93  
94 =item * fieldPath
95  
96  
97 =item * fieldPathElements
98  
99  
100 =item * trigger
101  
102  
103 =item * errorString
104  
105  
106 =item * ApiError__Type
107  
108 Note: The name of this property has been altered, because it didn't match
109 perl's notion of variable/subroutine names. The altered name is used in
110 perl code only, XML output uses the original name:
111  
112 ApiError.Type
113  
114  
115  
116  
117 =back
118  
119  
120 =head1 METHODS
121  
122 =head2 new
123  
124 Constructor. The following data structure may be passed to new():
125  
126  
127  
128  
129  
130  
131 =head1 AUTHOR
132  
133 Generated by SOAP::WSDL
134  
135 =cut
136  
« lib/Google/Ads/AdWords/v201809/AddressInfo.pm ↑ Summary lib/Google/Ads/AdWords/v201809/AppUrl.pm »