lib/Google/Ads/AdWords/v201809/UserList.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/UserIdentifier.pm ↑ Summary lib/Google/Ads/AdWords/v201809/UserListConversionType.pm »
1 package Google::Ads::AdWords::v201809::UserList;
2 2 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 2 ▶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/rm/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 2 ▶use Class::Std::Fast::Storable constructor => 'none';
Subroutine BEGIN: called CC=1 SCAR=0.0
18 2 ▶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 %id_of :ATTR(:get<id>);
23 my %isReadOnly_of :ATTR(:get<isReadOnly>);
24 my %name_of :ATTR(:get<name>);
25 my %description_of :ATTR(:get<description>);
26 my %status_of :ATTR(:get<status>);
27 my %integrationCode_of :ATTR(:get<integrationCode>);
28 my %accessReason_of :ATTR(:get<accessReason>);
29 my %accountUserListStatus_of :ATTR(:get<accountUserListStatus>);
30 my %membershipLifeSpan_of :ATTR(:get<membershipLifeSpan>);
31 my %size_of :ATTR(:get<size>);
32 my %sizeRange_of :ATTR(:get<sizeRange>);
33 my %sizeForSearch_of :ATTR(:get<sizeForSearch>);
34 my %sizeRangeForSearch_of :ATTR(:get<sizeRangeForSearch>);
35 my %listType_of :ATTR(:get<listType>);
36 my %isEligibleForSearch_of :ATTR(:get<isEligibleForSearch>);
37 my %isEligibleForDisplay_of :ATTR(:get<isEligibleForDisplay>);
38 my %closingReason_of :ATTR(:get<closingReason>);
39 my %UserList__Type_of :ATTR(:get<UserList__Type>);
40  
41 __PACKAGE__->_factory(
42 [ qw( id
43 isReadOnly
44 name
45 description
46 status
47 integrationCode
48 accessReason
49 accountUserListStatus
50 membershipLifeSpan
51 size
52 sizeRange
53 sizeForSearch
54 sizeRangeForSearch
55 listType
56 isEligibleForSearch
57 isEligibleForDisplay
58 closingReason
59 UserList__Type
60  
61 ) ],
62 {
63 'id' => \%id_of,
64 'isReadOnly' => \%isReadOnly_of,
65 'name' => \%name_of,
66 'description' => \%description_of,
67 'status' => \%status_of,
68 'integrationCode' => \%integrationCode_of,
69 'accessReason' => \%accessReason_of,
70 'accountUserListStatus' => \%accountUserListStatus_of,
71 'membershipLifeSpan' => \%membershipLifeSpan_of,
72 'size' => \%size_of,
73 'sizeRange' => \%sizeRange_of,
74 'sizeForSearch' => \%sizeForSearch_of,
75 'sizeRangeForSearch' => \%sizeRangeForSearch_of,
76 'listType' => \%listType_of,
77 'isEligibleForSearch' => \%isEligibleForSearch_of,
78 'isEligibleForDisplay' => \%isEligibleForDisplay_of,
79 'closingReason' => \%closingReason_of,
80 'UserList__Type' => \%UserList__Type_of,
81 },
82 {
83 'id' => 'SOAP::WSDL::XSD::Typelib::Builtin::long',
84 'isReadOnly' => 'SOAP::WSDL::XSD::Typelib::Builtin::boolean',
85 'name' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
86 'description' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
87 'status' => 'Google::Ads::AdWords::v201809::UserListMembershipStatus',
88 'integrationCode' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
89 'accessReason' => 'Google::Ads::AdWords::v201809::AccessReason',
90 'accountUserListStatus' => 'Google::Ads::AdWords::v201809::AccountUserListStatus',
91 'membershipLifeSpan' => 'SOAP::WSDL::XSD::Typelib::Builtin::long',
92 'size' => 'SOAP::WSDL::XSD::Typelib::Builtin::long',
93 'sizeRange' => 'Google::Ads::AdWords::v201809::SizeRange',
94 'sizeForSearch' => 'SOAP::WSDL::XSD::Typelib::Builtin::long',
95 'sizeRangeForSearch' => 'Google::Ads::AdWords::v201809::SizeRange',
96 'listType' => 'Google::Ads::AdWords::v201809::UserListType',
97 'isEligibleForSearch' => 'SOAP::WSDL::XSD::Typelib::Builtin::boolean',
98 'isEligibleForDisplay' => 'SOAP::WSDL::XSD::Typelib::Builtin::boolean',
99 'closingReason' => 'Google::Ads::AdWords::v201809::UserListClosingReason',
100 'UserList__Type' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
101 },
102 {
103  
104 'id' => 'id',
105 'isReadOnly' => 'isReadOnly',
106 'name' => 'name',
107 'description' => 'description',
108 'status' => 'status',
109 'integrationCode' => 'integrationCode',
110 'accessReason' => 'accessReason',
111 'accountUserListStatus' => 'accountUserListStatus',
112 'membershipLifeSpan' => 'membershipLifeSpan',
113 'size' => 'size',
114 'sizeRange' => 'sizeRange',
115 'sizeForSearch' => 'sizeForSearch',
116 'sizeRangeForSearch' => 'sizeRangeForSearch',
117 'listType' => 'listType',
118 'isEligibleForSearch' => 'isEligibleForSearch',
119 'isEligibleForDisplay' => 'isEligibleForDisplay',
120 'closingReason' => 'closingReason',
121 'UserList__Type' => 'UserList.Type',
122 }
123 );
124  
125 } # end BLOCK
126  
127  
128  
129  
130  
131  
132  
133 1;
134  
135  
136 =pod
137  
138 =head1 NAME
139  
140 Google::Ads::AdWords::v201809::UserList
141  
142 =head1 DESCRIPTION
143  
144 Perl data type class for the XML Schema defined complexType
145 UserList from the namespace https://adwords.google.com/api/adwords/rm/v201809.
146  
147 Represents a UserList object that is sent over the wire. This is a list of users an account may target.
148  
149  
150  
151  
152 =head2 PROPERTIES
153  
154 The following properties may be accessed using get_PROPERTY / set_PROPERTY
155 methods:
156  
157 =over
158  
159 =item * id
160  
161  
162 =item * isReadOnly
163  
164  
165 =item * name
166  
167  
168 =item * description
169  
170  
171 =item * status
172  
173  
174 =item * integrationCode
175  
176  
177 =item * accessReason
178  
179  
180 =item * accountUserListStatus
181  
182  
183 =item * membershipLifeSpan
184  
185  
186 =item * size
187  
188  
189 =item * sizeRange
190  
191  
192 =item * sizeForSearch
193  
194  
195 =item * sizeRangeForSearch
196  
197  
198 =item * listType
199  
200  
201 =item * isEligibleForSearch
202  
203  
204 =item * isEligibleForDisplay
205  
206  
207 =item * closingReason
208  
209  
210 =item * UserList__Type
211  
212 Note: The name of this property has been altered, because it didn't match
213 perl's notion of variable/subroutine names. The altered name is used in
214 perl code only, XML output uses the original name:
215  
216 UserList.Type
217  
218  
219  
220  
221 =back
222  
223  
224 =head1 METHODS
225  
226 =head2 new
227  
228 Constructor. The following data structure may be passed to new():
229  
230  
231  
232  
233  
234  
235 =head1 AUTHOR
236  
237 Generated by SOAP::WSDL
238  
239 =cut
240  
« lib/Google/Ads/AdWords/v201809/UserIdentifier.pm ↑ Summary lib/Google/Ads/AdWords/v201809/UserListConversionType.pm »