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

filter: Statementstmt 0.0% 0 / 27 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 6 Podpod 0.0% 0 / 2 totaltotal 0.0% 0 / 35 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::BulkMutateResult;
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 %partIndex_of :ATTR(:get<partIndex>);
25 my %operationStreamResults_of :ATTR(:get<operationStreamResults>);
26  
27 __PACKAGE__->_factory(
28 [ qw( partIndex
29 operationStreamResults
30  
31 ) ],
32 {
33 'partIndex' => \%partIndex_of,
34 'operationStreamResults' => \%operationStreamResults_of,
35 },
36 {
37 'partIndex' => 'SOAP::WSDL::XSD::Typelib::Builtin::int',
38 'operationStreamResults' => 'Google::Ads::AdWords::v201309::OperationStreamResult',
39 },
40 {
41  
42 'partIndex' => 'partIndex',
43 'operationStreamResults' => 'operationStreamResults',
44 }
45 );
46  
47 } # end BLOCK
48  
49  
50  
51  
52  
53  
54  
55 1;
56  
57  
58 =pod
59  
60 =head1 NAME
61  
62 Google::Ads::AdWords::v201309::BulkMutateResult
63  
64 =head1 DESCRIPTION
65  
66 Perl data type class for the XML Schema defined complexType
67 BulkMutateResult from the namespace https://adwords.google.com/api/adwords/cm/v201309.
68  
69 Represents a result part of a {@link BulkMutateJob}. <p>Once one or more mutate operations have been processed, the bulk mutate job will eventually be completed. This means that the job will have a result corresponding to each operation. The types of results for an operation are: <ul> <li>{@link ReturnValueResult}: the corresponding operation was successfully processed and this result contains the return value of that operation; </li> <li>{@link FailureResult} or {@link BatchFailureResult}: the corresponding operation was in a batch that failed with errors. Please inspect these errors to determine if the operation itself was faulty and if so what errors need to be fixed before you submit this operation as part of a future job.</li> <li>{@link LostResult}: the corresponding operation was processed - it was either successful and had a return value, or it was a part of a failed batch. Unfortunately, despite our best efforts, we were unable to durably save the result. You may have to retrieve the related state of your account to determine if this operation actually succeeded.</li> <li>{@link UnprocessedResult}: the corresponding operation was not processed because the job was aborted <i>Note: The job's status will be {@code COMPLETED}, signifying that although it may have some operations that were processed, it cannot be resumed.</i></li></p> <p>The results of a job are structured so that the each operation can be easily matched to its corresponding result. So for every {@link BulkMutateRequest} in a job, there is a corresponding {@code BulkMutateResult}; For every {@link OperationStream} in a request part, there is a corresponding {@link OperationStreamResult}; And, for every {@link Operation} in an operation stream, there is an {@link OperationResult}.</p> <p>Within an operation stream, the operations are processed in atomic batches. So even one faulty operation may cause its neighboring non-faulty operations to fail just because they happened to be processed in the same batch. It is important to keep this batch failure reporting scheme in mind when handling operation failures.</p> <p>There will be a single {@link ApiException} returned for each failing batch of operations, and it will have a similar structure and interpretation to the exceptions returned by the synchronous AdWords API services. This exception is returned in a {@link FailureResult} that corresponds to the first operation of the failing batch.</p> <p>The exception may contain multiple errors, and each error may have {@code OGNL path}s that identify the faulty operation(s) by index (or position within the batch). The first operation in the batch has an implicit index of 0. The subsequent operations in the batch have a corresponding {@link BatchFailureResult} which explicitly specifies the index of the operation within the batch.</p>
70  
71  
72  
73  
74 =head2 PROPERTIES
75  
76 The following properties may be accessed using get_PROPERTY / set_PROPERTY
77 methods:
78  
79 =over
80  
81 =item * partIndex
82  
83  
84 =item * operationStreamResults
85  
86  
87  
88  
89 =back
90  
91  
92 =head1 METHODS
93  
94 =head2 new
95  
96 Constructor. The following data structure may be passed to new():
97  
98  
99  
100  
101  
102  
103 =head1 AUTHOR
104  
105 Generated by SOAP::WSDL
106  
107 =cut
108