File Coverage

lib/Google/Ads/AdWords/v201710/ListOperations.pm
Criterion Covered Total %
statement 12 14 85.7
branch n/a
condition n/a
subroutine 4 6 66.6
pod n/a
total 16 20 80.0


line stmt bran cond sub pod time code
1             package Google::Ads::AdWords::v201710::ListOperations;
2 1     1   2061 use strict;
  1         3  
  1         30  
3 1     1   4 use warnings;
  1         2  
  1         78  
4              
5              
6             __PACKAGE__->_set_element_form_qualified(1);
7              
8 0     0     sub get_xmlns { 'https://adwords.google.com/api/adwords/cm/v201710' };
9              
10             our $XML_ATTRIBUTE_CLASS;
11             undef $XML_ATTRIBUTE_CLASS;
12              
13             sub __get_attr_class {
14 0     0     return $XML_ATTRIBUTE_CLASS;
15             }
16              
17 1     1   5 use Class::Std::Fast::Storable constructor => 'none';
  1         2  
  1         7  
18 1     1   135 use base qw(Google::Ads::SOAP::Typelib::ComplexType);
  1         3  
  1         129  
19              
20             { # BLOCK to scope variables
21              
22             my %clear_of :ATTR(:get);
23             my %operators_of :ATTR(:get);
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::v201710::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::v201710::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/v201710.
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.

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