File Coverage

lib/Google/Ads/AdWords/v201710/CombinedRuleUserList.pm
Criterion Covered Total %
statement 9 11 81.8
branch n/a
condition n/a
subroutine 3 5 60.0
pod n/a
total 12 16 75.0


line stmt bran cond sub pod time code
1             package Google::Ads::AdWords::v201710::CombinedRuleUserList;
2 1     1   612 use strict;
  1         3  
  1         38  
3 1     1   8 use warnings;
  1         3  
  1         140  
4              
5              
6             __PACKAGE__->_set_element_form_qualified(1);
7              
8 0     0     sub get_xmlns { 'https://adwords.google.com/api/adwords/rm/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              
18 1     1   9 use base qw(Google::Ads::AdWords::v201710::RuleBasedUserList);
  1         4  
  1         292  
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 %id_of :ATTR(:get);
26             my %isReadOnly_of :ATTR(:get);
27             my %name_of :ATTR(:get);
28             my %description_of :ATTR(:get);
29             my %status_of :ATTR(:get);
30             my %integrationCode_of :ATTR(:get);
31             my %accessReason_of :ATTR(:get);
32             my %accountUserListStatus_of :ATTR(:get);
33             my %membershipLifeSpan_of :ATTR(:get);
34             my %size_of :ATTR(:get);
35             my %sizeRange_of :ATTR(:get);
36             my %sizeForSearch_of :ATTR(:get);
37             my %sizeRangeForSearch_of :ATTR(:get);
38             my %listType_of :ATTR(:get);
39             my %isEligibleForSearch_of :ATTR(:get);
40             my %isEligibleForDisplay_of :ATTR(:get);
41             my %closingReason_of :ATTR(:get);
42             my %UserList__Type_of :ATTR(:get);
43             my %prepopulationStatus_of :ATTR(:get);
44             my %leftOperand_of :ATTR(:get);
45             my %rightOperand_of :ATTR(:get);
46             my %ruleOperator_of :ATTR(:get);
47              
48             __PACKAGE__->_factory(
49             [ qw( id
50             isReadOnly
51             name
52             description
53             status
54             integrationCode
55             accessReason
56             accountUserListStatus
57             membershipLifeSpan
58             size
59             sizeRange
60             sizeForSearch
61             sizeRangeForSearch
62             listType
63             isEligibleForSearch
64             isEligibleForDisplay
65             closingReason
66             UserList__Type
67             prepopulationStatus
68             leftOperand
69             rightOperand
70             ruleOperator
71              
72             ) ],
73             {
74             'id' => \%id_of,
75             'isReadOnly' => \%isReadOnly_of,
76             'name' => \%name_of,
77             'description' => \%description_of,
78             'status' => \%status_of,
79             'integrationCode' => \%integrationCode_of,
80             'accessReason' => \%accessReason_of,
81             'accountUserListStatus' => \%accountUserListStatus_of,
82             'membershipLifeSpan' => \%membershipLifeSpan_of,
83             'size' => \%size_of,
84             'sizeRange' => \%sizeRange_of,
85             'sizeForSearch' => \%sizeForSearch_of,
86             'sizeRangeForSearch' => \%sizeRangeForSearch_of,
87             'listType' => \%listType_of,
88             'isEligibleForSearch' => \%isEligibleForSearch_of,
89             'isEligibleForDisplay' => \%isEligibleForDisplay_of,
90             'closingReason' => \%closingReason_of,
91             'UserList__Type' => \%UserList__Type_of,
92             'prepopulationStatus' => \%prepopulationStatus_of,
93             'leftOperand' => \%leftOperand_of,
94             'rightOperand' => \%rightOperand_of,
95             'ruleOperator' => \%ruleOperator_of,
96             },
97             {
98             'id' => 'SOAP::WSDL::XSD::Typelib::Builtin::long',
99             'isReadOnly' => 'SOAP::WSDL::XSD::Typelib::Builtin::boolean',
100             'name' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
101             'description' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
102             'status' => 'Google::Ads::AdWords::v201710::UserListMembershipStatus',
103             'integrationCode' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
104             'accessReason' => 'Google::Ads::AdWords::v201710::AccessReason',
105             'accountUserListStatus' => 'Google::Ads::AdWords::v201710::AccountUserListStatus',
106             'membershipLifeSpan' => 'SOAP::WSDL::XSD::Typelib::Builtin::long',
107             'size' => 'SOAP::WSDL::XSD::Typelib::Builtin::long',
108             'sizeRange' => 'Google::Ads::AdWords::v201710::SizeRange',
109             'sizeForSearch' => 'SOAP::WSDL::XSD::Typelib::Builtin::long',
110             'sizeRangeForSearch' => 'Google::Ads::AdWords::v201710::SizeRange',
111             'listType' => 'Google::Ads::AdWords::v201710::UserListType',
112             'isEligibleForSearch' => 'SOAP::WSDL::XSD::Typelib::Builtin::boolean',
113             'isEligibleForDisplay' => 'SOAP::WSDL::XSD::Typelib::Builtin::boolean',
114             'closingReason' => 'Google::Ads::AdWords::v201710::UserListClosingReason',
115             'UserList__Type' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
116             'prepopulationStatus' => 'Google::Ads::AdWords::v201710::RuleBasedUserList::PrepopulationStatus',
117             'leftOperand' => 'Google::Ads::AdWords::v201710::Rule',
118             'rightOperand' => 'Google::Ads::AdWords::v201710::Rule',
119             'ruleOperator' => 'Google::Ads::AdWords::v201710::CombinedRuleUserList::RuleOperator',
120             },
121             {
122              
123             'id' => 'id',
124             'isReadOnly' => 'isReadOnly',
125             'name' => 'name',
126             'description' => 'description',
127             'status' => 'status',
128             'integrationCode' => 'integrationCode',
129             'accessReason' => 'accessReason',
130             'accountUserListStatus' => 'accountUserListStatus',
131             'membershipLifeSpan' => 'membershipLifeSpan',
132             'size' => 'size',
133             'sizeRange' => 'sizeRange',
134             'sizeForSearch' => 'sizeForSearch',
135             'sizeRangeForSearch' => 'sizeRangeForSearch',
136             'listType' => 'listType',
137             'isEligibleForSearch' => 'isEligibleForSearch',
138             'isEligibleForDisplay' => 'isEligibleForDisplay',
139             'closingReason' => 'closingReason',
140             'UserList__Type' => 'UserList.Type',
141             'prepopulationStatus' => 'prepopulationStatus',
142             'leftOperand' => 'leftOperand',
143             'rightOperand' => 'rightOperand',
144             'ruleOperator' => 'ruleOperator',
145             }
146             );
147              
148             } # end BLOCK
149              
150              
151              
152              
153              
154              
155              
156             1;
157              
158              
159             =pod
160              
161             =head1 NAME
162              
163             Google::Ads::AdWords::v201710::CombinedRuleUserList
164              
165             =head1 DESCRIPTION
166              
167             Perl data type class for the XML Schema defined complexType
168             CombinedRuleUserList from the namespace https://adwords.google.com/api/adwords/rm/v201710.
169              
170             Users defined by combining two rules, left operand and right operand. There are two operators: AND where left operand and right operand have to be true; AND_NOT where left operand is true but right operand is false.
171              
172              
173              
174              
175             =head2 PROPERTIES
176              
177             The following properties may be accessed using get_PROPERTY / set_PROPERTY
178             methods:
179              
180             =over
181              
182             =item * leftOperand
183              
184              
185             =item * rightOperand
186              
187              
188             =item * ruleOperator
189              
190              
191              
192              
193             =back
194              
195              
196             =head1 METHODS
197              
198             =head2 new
199              
200             Constructor. The following data structure may be passed to new():
201              
202              
203              
204              
205              
206              
207             =head1 AUTHOR
208              
209             Generated by SOAP::WSDL
210              
211             =cut
212