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

filter: Statementstmt 85.7% 12 / 14 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 66.6% 4 / 6 Podpod n/a totaltotal 80.0% 16 / 20 CC 1 SCAR 2.9
CC
1
Cov
86%
get_xmlns
2.0
__get_attr_class
2.0
BEGIN
1.0
CRAP 1.3
« lib/Google/Ads/AdWords/v201809/LevelOfDetail.pm ↑ Summary lib/Google/Ads/AdWords/v201809/ListReturnValue.pm »
1 package Google::Ads::AdWords::v201809::ListOperations;
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 1 ▶use Class::Std::Fast::Storable constructor => 'none';
Subroutine BEGIN: called CC=1 SCAR=0.0
18 1 ▶use base qw(Google::Ads::SOAP::Typelib::ComplexType);
Subroutine BEGIN: called CC=1 SCAR=0.0
19  
20 { # BLOCK to scope variables
21  
22 my %clear_of :ATTR(:get<clear>);
23 my %operators_of :ATTR(:get<operators>);
24  
25 __PACKAGE__->_factory(
26 [ qw( clear
27 operators
28  
29 ) ],
30 {
31 'clear' => \%clear_of,
32 'operators' => \%operators_of,
33 },
34 {
35 'clear' => 'SOAP::WSDL::XSD::Typelib::Builtin::boolean',
36 'operators' => 'Google::Ads::AdWords::v201809::ListOperations::ListOperator',
37 },
38 {
39  
40 'clear' => 'clear',
41 'operators' => 'operators',
42 }
43 );
44  
45 } # end BLOCK
46  
47  
48  
49  
50  
51  
52  
53 1;
54  
55  
56 =pod
57  
58 =head1 NAME
59  
60 Google::Ads::AdWords::v201809::ListOperations
61  
62 =head1 DESCRIPTION
63  
64 Perl data type class for the XML Schema defined complexType
65 ListOperations from the namespace https://adwords.google.com/api/adwords/cm/v201809.
66  
67 Describes the behavior of elements in a list. Instances of ListOperations will always be defined alongside some list in an API POJO. The number of operators in the ListOperations must be equal to the number of elements in the POJO list. Each operator, together with its corresponding list element, describe an intended change. <p>For example, if in a request Campaign.selectiveOptimization contains 2 conversionTypeIds, and the conversionTypeIdsOps is non-null, it must contain 2 operators. If those operators are {PUT, REMOVE} then the API will add the first conversionTypeId (if it doesn't already exist) and remove the second conversionTypeId (if it exists).
68  
69  
70  
71  
72 =head2 PROPERTIES
73  
74 The following properties may be accessed using get_PROPERTY / set_PROPERTY
75 methods:
76  
77 =over
78  
79 =item * clear
80  
81  
82 =item * operators
83  
84  
85  
86  
87 =back
88  
89  
90 =head1 METHODS
91  
92 =head2 new
93  
94 Constructor. The following data structure may be passed to new():
95  
96  
97  
98  
99  
100  
101 =head1 AUTHOR
102  
103 Generated by SOAP::WSDL
104  
105 =cut
106  
« lib/Google/Ads/AdWords/v201809/LevelOfDetail.pm ↑ Summary lib/Google/Ads/AdWords/v201809/ListReturnValue.pm »