lib/Google/Ads/AdWords/Reports/ReportDefinition.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/Reports/Predicate.pm ↑ Summary lib/Google/Ads/AdWords/Reports/Selector.pm »
1 package Google::Ads::AdWords::Reports::ReportDefinition;
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/' };
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 %id_of :ATTR(:get<id>);
23 my %selector_of :ATTR(:get<selector>);
24 my %reportName_of :ATTR(:get<reportName>);
25 my %reportType_of :ATTR(:get<reportType>);
26 my %hasAttachment_of :ATTR(:get<hasAttachment>);
27 my %dateRangeType_of :ATTR(:get<dateRangeType>);
28 my %downloadFormat_of :ATTR(:get<downloadFormat>);
29 my %creationTime_of :ATTR(:get<creationTime>);
30  
31 __PACKAGE__->_factory(
32 [ qw( id
33 selector
34 reportName
35 reportType
36 hasAttachment
37 dateRangeType
38 downloadFormat
39 creationTime
40  
41 ) ],
42 {
43 'id' => \%id_of,
44 'selector' => \%selector_of,
45 'reportName' => \%reportName_of,
46 'reportType' => \%reportType_of,
47 'hasAttachment' => \%hasAttachment_of,
48 'dateRangeType' => \%dateRangeType_of,
49 'downloadFormat' => \%downloadFormat_of,
50 'creationTime' => \%creationTime_of,
51 },
52 {
53 'id' => 'SOAP::WSDL::XSD::Typelib::Builtin::long',
54 'selector' => 'Google::Ads::AdWords::Reports::Selector',
55 'reportName' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
56 'reportType' => 'Google::Ads::AdWords::Reports::ReportType',
57 'hasAttachment' => 'SOAP::WSDL::XSD::Typelib::Builtin::boolean',
58 'dateRangeType' => 'Google::Ads::AdWords::Reports::DateRangeType',
59 'downloadFormat' => 'Google::Ads::AdWords::Reports::DownloadFormat',
60 'creationTime' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
61 },
62 {
63  
64 'id' => 'id',
65 'selector' => 'selector',
66 'reportName' => 'reportName',
67 'reportType' => 'reportType',
68 'hasAttachment' => 'hasAttachment',
69 'dateRangeType' => 'dateRangeType',
70 'downloadFormat' => 'downloadFormat',
71 'creationTime' => 'creationTime',
72 }
73 );
74  
75 } # end BLOCK
76  
77  
78  
79  
80  
81  
82  
83 1;
84  
85  
86 =pod
87  
88 =head1 NAME
89  
90 Google::Ads::AdWords::Reports::ReportDefinition
91  
92 =head1 DESCRIPTION
93  
94 Perl data type class for the XML Schema defined complexType
95 ReportDefinition from the namespace https://adwords.google.com/api/adwords/cm/.
96  
97 Represents a report definition.
98  
99  
100  
101  
102 =head2 PROPERTIES
103  
104 The following properties may be accessed using get_PROPERTY / set_PROPERTY
105 methods:
106  
107 =over
108  
109 =item * id
110  
111  
112 =item * selector
113  
114  
115 =item * reportName
116  
117  
118 =item * reportType
119  
120  
121 =item * hasAttachment
122  
123  
124 =item * dateRangeType
125  
126  
127 =item * downloadFormat
128  
129  
130 =item * creationTime
131  
132  
133 =back
134  
135  
136 =head1 METHODS
137  
138 =head2 new
139  
140 Constructor. The following data structure may be passed to new():
141  
142 { # Google::Ads::AdWords::Reports::ReportDefinition
143 id => $some_value, # long
144 selector => $a_reference_to, # see Google::Ads::AdWords::Reports::Selector
145 reportName => $some_value, # string
146 reportType => $some_value, # ReportDefinition.ReportType
147 hasAttachment => $some_value, # boolean
148 dateRangeType => $some_value, # ReportDefinition.DateRangeType
149 downloadFormat => $some_value, # DownloadFormat
150 creationTime => $some_value, # string
151 },
152  
153  
154  
155  
156 =head1 AUTHOR
157  
158 Generated by SOAP::WSDL
159  
160 =cut
161  
« lib/Google/Ads/AdWords/Reports/Predicate.pm ↑ Summary lib/Google/Ads/AdWords/Reports/Selector.pm »