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

filter: Statementstmt 81.8% 9 / 11 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 60.0% 3 / 5 Podpod n/a totaltotal 75.0% 12 / 16 CC 1 SCAR 3.4
CC
1
Cov
82%
get_xmlns
2.0
__get_attr_class
2.0
BEGIN
1.0
CRAP 1.4
« lib/Google/Ads/AdWords/v201809/RangeError.pm ↑ Summary lib/Google/Ads/AdWords/v201809/ReadOnlyError.pm »
1 package Google::Ads::AdWords::v201809::RateExceededError;
2 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 1 ▶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  
18 1 ▶use base qw(Google::Ads::AdWords::v201809::ApiError);
Subroutine BEGIN: called CC=1 SCAR=0.0
19 # Variety: sequence
20 use Class::Std::Fast::Storable constructor => 'none';
21 use base qw(Google::Ads::SOAP::Typelib::ComplexType);
22  
23 { # BLOCK to scope variables
24  
25 my %fieldPath_of :ATTR(:get<fieldPath>);
26 my %fieldPathElements_of :ATTR(:get<fieldPathElements>);
27 my %trigger_of :ATTR(:get<trigger>);
28 my %errorString_of :ATTR(:get<errorString>);
29 my %ApiError__Type_of :ATTR(:get<ApiError__Type>);
30 my %reason_of :ATTR(:get<reason>);
31 my %rateName_of :ATTR(:get<rateName>);
32 my %rateScope_of :ATTR(:get<rateScope>);
33 my %retryAfterSeconds_of :ATTR(:get<retryAfterSeconds>);
34  
35 __PACKAGE__->_factory(
36 [ qw( fieldPath
37 fieldPathElements
38 trigger
39 errorString
40 ApiError__Type
41 reason
42 rateName
43 rateScope
44 retryAfterSeconds
45  
46 ) ],
47 {
48 'fieldPath' => \%fieldPath_of,
49 'fieldPathElements' => \%fieldPathElements_of,
50 'trigger' => \%trigger_of,
51 'errorString' => \%errorString_of,
52 'ApiError__Type' => \%ApiError__Type_of,
53 'reason' => \%reason_of,
54 'rateName' => \%rateName_of,
55 'rateScope' => \%rateScope_of,
56 'retryAfterSeconds' => \%retryAfterSeconds_of,
57 },
58 {
59 'fieldPath' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
60 'fieldPathElements' => 'Google::Ads::AdWords::v201809::FieldPathElement',
61 'trigger' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
62 'errorString' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
63 'ApiError__Type' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
64 'reason' => 'Google::Ads::AdWords::v201809::RateExceededError::Reason',
65 'rateName' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
66 'rateScope' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
67 'retryAfterSeconds' => 'SOAP::WSDL::XSD::Typelib::Builtin::int',
68 },
69 {
70  
71 'fieldPath' => 'fieldPath',
72 'fieldPathElements' => 'fieldPathElements',
73 'trigger' => 'trigger',
74 'errorString' => 'errorString',
75 'ApiError__Type' => 'ApiError.Type',
76 'reason' => 'reason',
77 'rateName' => 'rateName',
78 'rateScope' => 'rateScope',
79 'retryAfterSeconds' => 'retryAfterSeconds',
80 }
81 );
82  
83 } # end BLOCK
84  
85  
86  
87  
88  
89  
90  
91 1;
92  
93  
94 =pod
95  
96 =head1 NAME
97  
98 Google::Ads::AdWords::v201809::RateExceededError
99  
100 =head1 DESCRIPTION
101  
102 Perl data type class for the XML Schema defined complexType
103 RateExceededError from the namespace https://adwords.google.com/api/adwords/cm/v201809.
104  
105 Signals that a call failed because a measured rate exceeded.
106  
107  
108  
109  
110 =head2 PROPERTIES
111  
112 The following properties may be accessed using get_PROPERTY / set_PROPERTY
113 methods:
114  
115 =over
116  
117 =item * reason
118  
119  
120 =item * rateName
121  
122  
123 =item * rateScope
124  
125  
126 =item * retryAfterSeconds
127  
128  
129  
130  
131 =back
132  
133  
134 =head1 METHODS
135  
136 =head2 new
137  
138 Constructor. The following data structure may be passed to new():
139  
140  
141  
142  
143  
144  
145 =head1 AUTHOR
146  
147 Generated by SOAP::WSDL
148  
149 =cut
150  
« lib/Google/Ads/AdWords/v201809/RangeError.pm ↑ Summary lib/Google/Ads/AdWords/v201809/ReadOnlyError.pm »