lib/Google/Ads/AdWords/v201809/ManagedCustomerOperation.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/ManagedCustomerLabelOperation.pm ↑ Summary lib/Google/Ads/AdWords/v201809/ManagedCustomerPage.pm »
1 package Google::Ads::AdWords::v201809::ManagedCustomerOperation;
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/mcm/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::Operation);
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 %operator_of :ATTR(:get<operator>);
26 my %Operation__Type_of :ATTR(:get<Operation__Type>);
27 my %operand_of :ATTR(:get<operand>);
28 my %inviteeEmail_of :ATTR(:get<inviteeEmail>);
29 my %inviteeRole_of :ATTR(:get<inviteeRole>);
30  
31 __PACKAGE__->_factory(
32 [ qw( operator
33 Operation__Type
34 operand
35 inviteeEmail
36 inviteeRole
37  
38 ) ],
39 {
40 'operator' => \%operator_of,
41 'Operation__Type' => \%Operation__Type_of,
42 'operand' => \%operand_of,
43 'inviteeEmail' => \%inviteeEmail_of,
44 'inviteeRole' => \%inviteeRole_of,
45 },
46 {
47 'operator' => 'Google::Ads::AdWords::v201809::Operator',
48 'Operation__Type' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
49 'operand' => 'Google::Ads::AdWords::v201809::ManagedCustomer',
50 'inviteeEmail' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
51 'inviteeRole' => 'Google::Ads::AdWords::v201809::AccessRole',
52 },
53 {
54  
55 'operator' => 'operator',
56 'Operation__Type' => 'Operation.Type',
57 'operand' => 'operand',
58 'inviteeEmail' => 'inviteeEmail',
59 'inviteeRole' => 'inviteeRole',
60 }
61 );
62  
63 } # end BLOCK
64  
65  
66  
67  
68  
69  
70  
71 1;
72  
73  
74 =pod
75  
76 =head1 NAME
77  
78 Google::Ads::AdWords::v201809::ManagedCustomerOperation
79  
80 =head1 DESCRIPTION
81  
82 Perl data type class for the XML Schema defined complexType
83 ManagedCustomerOperation from the namespace https://adwords.google.com/api/adwords/mcm/v201809.
84  
85 An operation to create or modify a managed customer. <p><b>Note:</b> The {@code REMOVE} operator is not supported.
86  
87  
88  
89  
90 =head2 PROPERTIES
91  
92 The following properties may be accessed using get_PROPERTY / set_PROPERTY
93 methods:
94  
95 =over
96  
97 =item * operand
98  
99  
100 =item * inviteeEmail
101  
102  
103 =item * inviteeRole
104  
105  
106  
107  
108 =back
109  
110  
111 =head1 METHODS
112  
113 =head2 new
114  
115 Constructor. The following data structure may be passed to new():
116  
117  
118  
119  
120  
121  
122 =head1 AUTHOR
123  
124 Generated by SOAP::WSDL
125  
126 =cut
127  
« lib/Google/Ads/AdWords/v201809/ManagedCustomerLabelOperation.pm ↑ Summary lib/Google/Ads/AdWords/v201809/ManagedCustomerPage.pm »