lib/Google/Ads/AdWords/v201809/BatchJobOpsService/BatchJobOpsServiceInterfacePort.pm

filter: Statementstmt 100% 15 / 15 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 5 / 5 Podpod n/a totaltotal 100% 20 / 20 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« lib/Google/Ads/AdWords/v201809/Attribute.pm ↑ Summary lib/Google/Ads/AdWords/v201809/BatchJobService/BatchJobServiceInterfacePort.pm »
1 package Google::Ads::AdWords::v201809::BatchJobOpsService::BatchJobOpsServiceInterfacePort;
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 1 ▶use Class::Std::Fast::Storable;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 1 ▶use Scalar::Util qw(blessed);
Subroutine BEGIN: called CC=1 SCAR=0.0
6 1 ▶use base qw(SOAP::WSDL::Client::Base);
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 # only load if it hasn't been loaded before
9 require Google::Ads::AdWords::v201809::TypeMaps::BatchJobOpsService
10 if not Google::Ads::AdWords::v201809::TypeMaps::BatchJobOpsService->can('get_class');
11  
12 sub START {
13 $_[0]->set_proxy('https://en.wikipedia.org/wiki/Null_device') if not $_[2]->{proxy};
14 $_[0]->set_class_resolver('Google::Ads::AdWords::v201809::TypeMaps::BatchJobOpsService')
15 if not $_[2]->{class_resolver};
16  
17 $_[0]->set_prefix($_[2]->{use_prefix}) if exists $_[2]->{use_prefix};
18 }
19  
20 sub mutate {
21 my ($self, $body, $header) = @_;
22 die "mutate must be called as object method (\$self is <$self>)" if not blessed($self);
23 return $self->SUPER::call({
24 operation => 'mutate',
25 soap_action => '',
26 style => 'document',
27 body => {
28
29  
30 'use' => 'literal',
31 namespace => 'http://schemas.xmlsoap.org/wsdl/soap/',
32 encodingStyle => '',
33 parts => [qw( Google::Ads::AdWords::v201809::BatchJobOpsService::mutate )],
34 },
35 header => {
36
37 },
38 headerfault => {
39
40 }
41 }, $body, $header);
42 }
43  
44  
45  
46  
47 1;
48  
49  
50  
51 __END__
52  
53 =pod
54  
55 =head1 NAME
56  
57 Google::Ads::AdWords::v201809::BatchJobOpsService::BatchJobOpsServiceInterfacePort - SOAP Interface for the BatchJobOpsService Web Service
58  
59 =head1 SYNOPSIS
60  
61 use Google::Ads::AdWords::v201809::BatchJobOpsService::BatchJobOpsServiceInterfacePort;
62 my $interface = Google::Ads::AdWords::v201809::BatchJobOpsService::BatchJobOpsServiceInterfacePort->new();
63  
64 my $response;
65 $response = $interface->mutate();
66  
67  
68  
69 =head1 DESCRIPTION
70  
71 SOAP Interface for the BatchJobOpsService web service
72 located at https://en.wikipedia.org/wiki/Null_device.
73  
74 =head1 SERVICE BatchJobOpsService
75  
76  
77  
78 =head2 Port BatchJobOpsServiceInterfacePort
79  
80  
81  
82 =head1 METHODS
83  
84 =head2 General methods
85  
86 =head3 new
87  
88 Constructor.
89  
90 All arguments are forwarded to L<SOAP::WSDL::Client|SOAP::WSDL::Client>.
91  
92 =head2 SOAP Service methods
93  
94 Method synopsis is displayed with hash refs as parameters.
95  
96 The commented class names in the method's parameters denote that objects
97 of the corresponding class can be passed instead of the marked hash ref.
98  
99 You may pass any combination of objects, hash and list refs to these
100 methods, as long as you meet the structure.
101  
102 List items (i.e. multiple occurences) are not displayed in the synopsis.
103 You may generally pass a list ref of hash refs (or objects) instead of a hash
104 ref - this may result in invalid XML if used improperly, though. Note that
105 SOAP::WSDL always expects list references at maximum depth position.
106  
107 XML attributes are not displayed in this synopsis and cannot be set using
108 hash refs. See the respective class' documentation for additional information.
109  
110  
111  
112 =head3 mutate
113  
114  
115  
116 Returns a L<Google::Ads::AdWords::v201809::BatchJobOpsService::mutateResponse|Google::Ads::AdWords::v201809::BatchJobOpsService::mutateResponse> object.
117  
118 $response = $interface->mutate( {
119 operations => $a_reference_to, # see Google::Ads::AdWords::v201809::Operation
120 },,
121 );
122  
123  
124  
125 =head1 AUTHOR
126  
127 Generated by SOAP::WSDL on Thu Sep 20 11:08:05 2018
128  
129 =cut
« lib/Google/Ads/AdWords/v201809/Attribute.pm ↑ Summary lib/Google/Ads/AdWords/v201809/BatchJobService/BatchJobServiceInterfacePort.pm »