blib/lib/Google/Ads/AdWords/v201402/AdSpec.pm untested

filter: Statementstmt 0.0% 0 / 28 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 6 Podpod 0.0% 0 / 2 totaltotal 0.0% 0 / 36 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::v201402::AdSpec;
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/v201402' };
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 %DisplayAdSpec_of :ATTR(:get<DisplayAdSpec>);
25 my %InStreamAdSpec_of :ATTR(:get<InStreamAdSpec>);
26 my %TextAdSpec_of :ATTR(:get<TextAdSpec>);
27  
28 __PACKAGE__->_factory(
29 [ qw( DisplayAdSpec
30 InStreamAdSpec
31 TextAdSpec
32  
33 ) ],
34 {
35 'DisplayAdSpec' => \%DisplayAdSpec_of,
36 'InStreamAdSpec' => \%InStreamAdSpec_of,
37 'TextAdSpec' => \%TextAdSpec_of,
38 },
39 {
40 'DisplayAdSpec' => 'Google::Ads::AdWords::v201402::DisplayAdSpec',
41 'InStreamAdSpec' => 'Google::Ads::AdWords::v201402::InStreamAdSpec',
42 'TextAdSpec' => 'Google::Ads::AdWords::v201402::TextAdSpec',
43 },
44 {
45  
46 'DisplayAdSpec' => 'DisplayAdSpec',
47 'InStreamAdSpec' => 'InStreamAdSpec',
48 'TextAdSpec' => 'TextAdSpec',
49 }
50 );
51  
52 } # end BLOCK
53  
54  
55  
56  
57  
58  
59  
60 1;
61  
62  
63 =pod
64  
65 =head1 NAME
66  
67 Google::Ads::AdWords::v201402::AdSpec
68  
69 =head1 DESCRIPTION
70  
71 Perl data type class for the XML Schema defined complexType
72 AdSpec from the namespace https://adwords.google.com/api/adwords/o/v201402.
73  
74 Interface for ad specifications to implement. See individual spec documentation for more details on how to use each type, and {@link AdSpecListSearchParameter} to understand what these specs are for.
75  
76  
77  
78  
79 =head2 PROPERTIES
80  
81 The following properties may be accessed using get_PROPERTY / set_PROPERTY
82 methods:
83  
84 =over
85  
86 =item * DisplayAdSpec
87  
88  
89 =item * InStreamAdSpec
90  
91  
92 =item * TextAdSpec
93  
94  
95  
96  
97 =back
98  
99  
100 =head1 METHODS
101  
102 =head2 new
103  
104 Constructor. The following data structure may be passed to new():
105  
106  
107  
108  
109  
110  
111 =head1 AUTHOR
112  
113 Generated by SOAP::WSDL
114  
115 =cut
116