blib/lib/Google/Ads/AdWords/v201402/MutateJobService/mutate.pm untested

filter: Statementstmt 0.0% 0 / 35 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 7 Podpod 0.0% 0 / 2 totaltotal 0.0% 0 / 44 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  
2 package Google::Ads::AdWords::v201402::MutateJobService::mutate;
3 use strict;
4 use warnings;
5  
6 { # BLOCK to scope variables
7  
8 sub get_xmlns { 'https://adwords.google.com/api/adwords/cm/v201402' }
9  
10 __PACKAGE__->__set_name('mutate');
11 __PACKAGE__->__set_nillable();
12 __PACKAGE__->__set_minOccurs();
13 __PACKAGE__->__set_maxOccurs();
14 __PACKAGE__->__set_ref();
15  
16 use base qw(
17 SOAP::WSDL::XSD::Typelib::Element
18 Google::Ads::SOAP::Typelib::ComplexType
19 );
20  
21 our $XML_ATTRIBUTE_CLASS;
22 undef $XML_ATTRIBUTE_CLASS;
23  
24 sub __get_attr_class {
25 return $XML_ATTRIBUTE_CLASS;
26 }
27  
28 use Class::Std::Fast::Storable constructor => 'none';
29 use base qw(Google::Ads::SOAP::Typelib::ComplexType);
30  
31 Class::Std::initialize();
32  
33 { # BLOCK to scope variables
34  
35 my %operations_of :ATTR(:get<operations>);
36 my %policy_of :ATTR(:get<policy>);
37  
38 __PACKAGE__->_factory(
39 [ qw( operations
40 policy
41  
42 ) ],
43 {
44 'operations' => \%operations_of,
45 'policy' => \%policy_of,
46 },
47 {
48 'operations' => 'Google::Ads::AdWords::v201402::Operation',
49 'policy' => 'Google::Ads::AdWords::v201402::BulkMutateJobPolicy',
50 },
51 {
52  
53 'operations' => 'operations',
54 'policy' => 'policy',
55 }
56 );
57  
58 } # end BLOCK
59  
60  
61  
62  
63  
64  
65 } # end of BLOCK
66  
67  
68  
69 1;
70  
71  
72 =pod
73  
74 =head1 NAME
75  
76 Google::Ads::AdWords::v201402::MutateJobService::mutate
77  
78 =head1 DESCRIPTION
79  
80 Perl data type class for the XML Schema defined element
81 mutate from the namespace https://adwords.google.com/api/adwords/cm/v201402.
82  
83 Simplified way of submitting a mutation job. The provided list of operations, if valid, will create a new job with a unique id, which will be returned. This id can later be used in invocations of {@link #get} and {@link #getResult}. Policy can optionally be specified. <p>When this method returns with success, the job will be in {@code PROCESSING} or {@code PENDING} state and no further action is needed for the job to get executed.</p>
84  
85  
86  
87  
88  
89 =head1 PROPERTIES
90  
91 The following properties may be accessed using get_PROPERTY / set_PROPERTY
92 methods:
93  
94 =over
95  
96 =item * operations
97  
98 $element->set_operations($data);
99 $element->get_operations();
100  
101  
102  
103  
104 =item * policy
105  
106 $element->set_policy($data);
107 $element->get_policy();
108  
109  
110  
111  
112  
113 =back
114  
115  
116 =head1 METHODS
117  
118 =head2 new
119  
120 my $element = Google::Ads::AdWords::v201402::MutateJobService::mutate->new($data);
121  
122 Constructor. The following data structure may be passed to new():
123  
124 {
125 operations => $a_reference_to, # see Google::Ads::AdWords::v201402::Operation
126 policy => $a_reference_to, # see Google::Ads::AdWords::v201402::BulkMutateJobPolicy
127 },
128  
129 =head1 AUTHOR
130  
131 Generated by SOAP::WSDL
132  
133 =cut
134