blib/lib/Google/Ads/AdWords/v201309/InStreamAdInfo.pm untested

filter: Statementstmt 0.0% 0 / 31 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 6 Podpod 0.0% 0 / 2 totaltotal 0.0% 0 / 39 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::v201309::InStreamAdInfo;
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/o/v201309' };
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 %maxAdDuration_of :ATTR(:get<maxAdDuration>);
25 my %minAdDuration_of :ATTR(:get<minAdDuration>);
26 my %medianAdDuration_of :ATTR(:get<medianAdDuration>);
27 my %preRollPercent_of :ATTR(:get<preRollPercent>);
28 my %midRollPercent_of :ATTR(:get<midRollPercent>);
29 my %postRollPercent_of :ATTR(:get<postRollPercent>);
30  
31 __PACKAGE__->_factory(
32 [ qw( maxAdDuration
33 minAdDuration
34 medianAdDuration
35 preRollPercent
36 midRollPercent
37 postRollPercent
38  
39 ) ],
40 {
41 'maxAdDuration' => \%maxAdDuration_of,
42 'minAdDuration' => \%minAdDuration_of,
43 'medianAdDuration' => \%medianAdDuration_of,
44 'preRollPercent' => \%preRollPercent_of,
45 'midRollPercent' => \%midRollPercent_of,
46 'postRollPercent' => \%postRollPercent_of,
47 },
48 {
49 'maxAdDuration' => 'SOAP::WSDL::XSD::Typelib::Builtin::int',
50 'minAdDuration' => 'SOAP::WSDL::XSD::Typelib::Builtin::int',
51 'medianAdDuration' => 'SOAP::WSDL::XSD::Typelib::Builtin::int',
52 'preRollPercent' => 'SOAP::WSDL::XSD::Typelib::Builtin::double',
53 'midRollPercent' => 'SOAP::WSDL::XSD::Typelib::Builtin::double',
54 'postRollPercent' => 'SOAP::WSDL::XSD::Typelib::Builtin::double',
55 },
56 {
57  
58 'maxAdDuration' => 'maxAdDuration',
59 'minAdDuration' => 'minAdDuration',
60 'medianAdDuration' => 'medianAdDuration',
61 'preRollPercent' => 'preRollPercent',
62 'midRollPercent' => 'midRollPercent',
63 'postRollPercent' => 'postRollPercent',
64 }
65 );
66  
67 } # end BLOCK
68  
69  
70  
71  
72  
73  
74  
75 1;
76  
77  
78 =pod
79  
80 =head1 NAME
81  
82 Google::Ads::AdWords::v201309::InStreamAdInfo
83  
84 =head1 DESCRIPTION
85  
86 Perl data type class for the XML Schema defined complexType
87 InStreamAdInfo from the namespace https://adwords.google.com/api/adwords/o/v201309.
88  
89 Information specific to the instream ad format. Instream ads are video ads which play as part of the delivery of video content, either before, during, or after the content itself.
90  
91  
92  
93  
94 =head2 PROPERTIES
95  
96 The following properties may be accessed using get_PROPERTY / set_PROPERTY
97 methods:
98  
99 =over
100  
101 =item * maxAdDuration
102  
103  
104 =item * minAdDuration
105  
106  
107 =item * medianAdDuration
108  
109  
110 =item * preRollPercent
111  
112  
113 =item * midRollPercent
114  
115  
116 =item * postRollPercent
117  
118  
119  
120  
121 =back
122  
123  
124 =head1 METHODS
125  
126 =head2 new
127  
128 Constructor. The following data structure may be passed to new():
129  
130  
131  
132  
133  
134  
135 =head1 AUTHOR
136  
137 Generated by SOAP::WSDL
138  
139 =cut
140