blib/lib/Google/Ads/AdWords/Reports/ReportDefinition.pm untested

filter: Statementstmt 0.0% 0 / 34 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 6 Podpod 0.0% 0 / 2 totaltotal 0.0% 0 / 42 CC 1 SCAR 6.9
CC
1
Cov
0%
get_xmlns
2.0
__get_attr_class
2.0
BEGIN
2.0
CRAP 2.0
1 package Google::Ads::AdWords::Reports::ReportDefinition;
2 use strict;
3 use warnings;
4  
5  
6 __PACKAGE__->_set_element_form_qualified(1);
7  
8 sub get_xmlns { 'https://adwords.google.com/api/adwords/cm/' };
9  
10 our $XML_ATTRIBUTE_CLASS;
11 undef $XML_ATTRIBUTE_CLASS;
12  
13 sub __get_attr_class {
14 return $XML_ATTRIBUTE_CLASS;
15 }
16  
17 use Class::Std::Fast::Storable constructor => 'none';
18 use base qw(Google::Ads::SOAP::Typelib::ComplexType);
19  
20 Class::Std::initialize();
21  
22 { # BLOCK to scope variables
23  
24 my %id_of :ATTR(:get<id>);
25 my %selector_of :ATTR(:get<selector>);
26 my %reportName_of :ATTR(:get<reportName>);
27 my %reportType_of :ATTR(:get<reportType>);
28 my %hasAttachment_of :ATTR(:get<hasAttachment>);
29 my %dateRangeType_of :ATTR(:get<dateRangeType>);
30 my %downloadFormat_of :ATTR(:get<downloadFormat>);
31 my %creationTime_of :ATTR(:get<creationTime>);
32 my %includeZeroImpressions_of :ATTR(:get<includeZeroImpressions>);
33  
34 __PACKAGE__->_factory(
35 [ qw( id
36 selector
37 reportName
38 reportType
39 hasAttachment
40 dateRangeType
41 downloadFormat
42 creationTime
43 includeZeroImpressions
44  
45 ) ],
46 {
47 'id' => \%id_of,
48 'selector' => \%selector_of,
49 'reportName' => \%reportName_of,
50 'reportType' => \%reportType_of,
51 'hasAttachment' => \%hasAttachment_of,
52 'dateRangeType' => \%dateRangeType_of,
53 'downloadFormat' => \%downloadFormat_of,
54 'creationTime' => \%creationTime_of,
55 'includeZeroImpressions' => \%includeZeroImpressions_of,
56 },
57 {
58 'id' => 'SOAP::WSDL::XSD::Typelib::Builtin::long',
59 'selector' => 'Google::Ads::AdWords::Reports::Selector',
60 'reportName' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
61 'reportType' => 'Google::Ads::AdWords::Reports::ReportType',
62 'hasAttachment' => 'SOAP::WSDL::XSD::Typelib::Builtin::boolean',
63 'dateRangeType' => 'Google::Ads::AdWords::Reports::DateRangeType',
64 'downloadFormat' => 'Google::Ads::AdWords::Reports::DownloadFormat',
65 'creationTime' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
66 'includeZeroImpressions' => 'SOAP::WSDL::XSD::Typelib::Builtin::boolean',
67 },
68 {
69  
70 'id' => 'id',
71 'selector' => 'selector',
72 'reportName' => 'reportName',
73 'reportType' => 'reportType',
74 'hasAttachment' => 'hasAttachment',
75 'dateRangeType' => 'dateRangeType',
76 'downloadFormat' => 'downloadFormat',
77 'creationTime' => 'creationTime',
78 'includeZeroImpressions' => 'includeZeroImpressions',
79 }
80 );
81  
82 } # end BLOCK
83  
84  
85  
86  
87  
88  
89  
90 1;
91  
92  
93 =pod
94  
95 =head1 NAME
96  
97 Google::Ads::AdWords::Reports::ReportDefinition
98  
99 =head1 DESCRIPTION
100  
101 Perl data type class for the XML Schema defined complexType
102 ReportDefinition from the namespace https://adwords.google.com/api/adwords/cm/.
103  
104 Represents a report definition.
105  
106  
107  
108  
109 =head2 PROPERTIES
110  
111 The following properties may be accessed using get_PROPERTY / set_PROPERTY
112 methods:
113  
114 =over
115  
116 =item * id
117  
118  
119 =item * selector
120  
121  
122 =item * reportName
123  
124  
125 =item * reportType
126  
127  
128 =item * hasAttachment
129  
130  
131 =item * dateRangeType
132  
133  
134 =item * downloadFormat
135  
136  
137 =item * creationTime
138  
139  
140 =item * includeZeroImpressions
141  
142  
143  
144  
145 =back
146  
147  
148 =head1 METHODS
149  
150 =head2 new
151  
152 Constructor. The following data structure may be passed to new():
153  
154 { # Google::Ads::AdWords::Reports::ReportDefinition
155 id => $some_value, # long
156 selector => $a_reference_to, # see Google::Ads::AdWords::Reports::Selector
157 reportName => $some_value, # string
158 reportType => $some_value, # ReportDefinition.ReportType
159 hasAttachment => $some_value, # boolean
160 dateRangeType => $some_value, # ReportDefinition.DateRangeType
161 downloadFormat => $some_value, # DownloadFormat
162 creationTime => $some_value, # string
163 includeZeroImpressions => $some_value, # boolean
164 },
165  
166  
167  
168  
169 =head1 AUTHOR
170  
171 Generated by SOAP::WSDL
172  
173 =cut
174