lib/Google/Ads/AdWords/v201809/ReportDefinitionField.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/RemarketingSettings.pm ↑ Summary lib/Google/Ads/AdWords/v201809/Rule.pm »
1 package Google::Ads::AdWords::v201809::ReportDefinitionField;
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 %fieldName_of :ATTR(:get<fieldName>);
23 my %displayFieldName_of :ATTR(:get<displayFieldName>);
24 my %xmlAttributeName_of :ATTR(:get<xmlAttributeName>);
25 my %fieldType_of :ATTR(:get<fieldType>);
26 my %fieldBehavior_of :ATTR(:get<fieldBehavior>);
27 my %enumValues_of :ATTR(:get<enumValues>);
28 my %canSelect_of :ATTR(:get<canSelect>);
29 my %canFilter_of :ATTR(:get<canFilter>);
30 my %isEnumType_of :ATTR(:get<isEnumType>);
31 my %isBeta_of :ATTR(:get<isBeta>);
32 my %isZeroRowCompatible_of :ATTR(:get<isZeroRowCompatible>);
33 my %enumValuePairs_of :ATTR(:get<enumValuePairs>);
34 my %exclusiveFields_of :ATTR(:get<exclusiveFields>);
35  
36 __PACKAGE__->_factory(
37 [ qw( fieldName
38 displayFieldName
39 xmlAttributeName
40 fieldType
41 fieldBehavior
42 enumValues
43 canSelect
44 canFilter
45 isEnumType
46 isBeta
47 isZeroRowCompatible
48 enumValuePairs
49 exclusiveFields
50  
51 ) ],
52 {
53 'fieldName' => \%fieldName_of,
54 'displayFieldName' => \%displayFieldName_of,
55 'xmlAttributeName' => \%xmlAttributeName_of,
56 'fieldType' => \%fieldType_of,
57 'fieldBehavior' => \%fieldBehavior_of,
58 'enumValues' => \%enumValues_of,
59 'canSelect' => \%canSelect_of,
60 'canFilter' => \%canFilter_of,
61 'isEnumType' => \%isEnumType_of,
62 'isBeta' => \%isBeta_of,
63 'isZeroRowCompatible' => \%isZeroRowCompatible_of,
64 'enumValuePairs' => \%enumValuePairs_of,
65 'exclusiveFields' => \%exclusiveFields_of,
66 },
67 {
68 'fieldName' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
69 'displayFieldName' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
70 'xmlAttributeName' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
71 'fieldType' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
72 'fieldBehavior' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
73 'enumValues' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
74 'canSelect' => 'SOAP::WSDL::XSD::Typelib::Builtin::boolean',
75 'canFilter' => 'SOAP::WSDL::XSD::Typelib::Builtin::boolean',
76 'isEnumType' => 'SOAP::WSDL::XSD::Typelib::Builtin::boolean',
77 'isBeta' => 'SOAP::WSDL::XSD::Typelib::Builtin::boolean',
78 'isZeroRowCompatible' => 'SOAP::WSDL::XSD::Typelib::Builtin::boolean',
79 'enumValuePairs' => 'Google::Ads::AdWords::v201809::EnumValuePair',
80 'exclusiveFields' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
81 },
82 {
83  
84 'fieldName' => 'fieldName',
85 'displayFieldName' => 'displayFieldName',
86 'xmlAttributeName' => 'xmlAttributeName',
87 'fieldType' => 'fieldType',
88 'fieldBehavior' => 'fieldBehavior',
89 'enumValues' => 'enumValues',
90 'canSelect' => 'canSelect',
91 'canFilter' => 'canFilter',
92 'isEnumType' => 'isEnumType',
93 'isBeta' => 'isBeta',
94 'isZeroRowCompatible' => 'isZeroRowCompatible',
95 'enumValuePairs' => 'enumValuePairs',
96 'exclusiveFields' => 'exclusiveFields',
97 }
98 );
99  
100 } # end BLOCK
101  
102  
103  
104  
105  
106  
107  
108 1;
109  
110  
111 =pod
112  
113 =head1 NAME
114  
115 Google::Ads::AdWords::v201809::ReportDefinitionField
116  
117 =head1 DESCRIPTION
118  
119 Perl data type class for the XML Schema defined complexType
120 ReportDefinitionField from the namespace https://adwords.google.com/api/adwords/cm/v201809.
121  
122 Represents the fields that can be used to create a ReportDefinition. This class allows the user to query the list of fields applicable to a given report type. Consumers of reports will be able use the retrieved fields through the {@link ReportDefinitionService#getReportFields} api and run the corresponding reports.
123  
124  
125  
126  
127 =head2 PROPERTIES
128  
129 The following properties may be accessed using get_PROPERTY / set_PROPERTY
130 methods:
131  
132 =over
133  
134 =item * fieldName
135  
136  
137 =item * displayFieldName
138  
139  
140 =item * xmlAttributeName
141  
142  
143 =item * fieldType
144  
145  
146 =item * fieldBehavior
147  
148  
149 =item * enumValues
150  
151  
152 =item * canSelect
153  
154  
155 =item * canFilter
156  
157  
158 =item * isEnumType
159  
160  
161 =item * isBeta
162  
163  
164 =item * isZeroRowCompatible
165  
166  
167 =item * enumValuePairs
168  
169  
170 =item * exclusiveFields
171  
172  
173  
174  
175 =back
176  
177  
178 =head1 METHODS
179  
180 =head2 new
181  
182 Constructor. The following data structure may be passed to new():
183  
184  
185  
186  
187  
188  
189 =head1 AUTHOR
190  
191 Generated by SOAP::WSDL
192  
193 =cut
194  
« lib/Google/Ads/AdWords/v201809/RemarketingSettings.pm ↑ Summary lib/Google/Ads/AdWords/v201809/Rule.pm »