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

filter: Statementstmt 0.0% 0 / 36 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 7 Podpod 0.0% 0 / 2 totaltotal 0.0% 0 / 45 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::TextAd;
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/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  
18 use base qw(Google::Ads::AdWords::v201402::Ad);
19 # Variety: sequence
20 use Class::Std::Fast::Storable constructor => 'none';
21 use base qw(Google::Ads::SOAP::Typelib::ComplexType);
22  
23 Class::Std::initialize();
24  
25 { # BLOCK to scope variables
26  
27 my %id_of :ATTR(:get<id>);
28 my %url_of :ATTR(:get<url>);
29 my %displayUrl_of :ATTR(:get<displayUrl>);
30 my %devicePreference_of :ATTR(:get<devicePreference>);
31 my %Ad__Type_of :ATTR(:get<Ad__Type>);
32 my %headline_of :ATTR(:get<headline>);
33 my %description1_of :ATTR(:get<description1>);
34 my %description2_of :ATTR(:get<description2>);
35  
36 __PACKAGE__->_factory(
37 [ qw( id
38 url
39 displayUrl
40 devicePreference
41 Ad__Type
42 headline
43 description1
44 description2
45  
46 ) ],
47 {
48 'id' => \%id_of,
49 'url' => \%url_of,
50 'displayUrl' => \%displayUrl_of,
51 'devicePreference' => \%devicePreference_of,
52 'Ad__Type' => \%Ad__Type_of,
53 'headline' => \%headline_of,
54 'description1' => \%description1_of,
55 'description2' => \%description2_of,
56 },
57 {
58 'id' => 'SOAP::WSDL::XSD::Typelib::Builtin::long',
59 'url' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
60 'displayUrl' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
61 'devicePreference' => 'SOAP::WSDL::XSD::Typelib::Builtin::long',
62 'Ad__Type' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
63 'headline' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
64 'description1' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
65 'description2' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
66 },
67 {
68  
69 'id' => 'id',
70 'url' => 'url',
71 'displayUrl' => 'displayUrl',
72 'devicePreference' => 'devicePreference',
73 'Ad__Type' => 'Ad.Type',
74 'headline' => 'headline',
75 'description1' => 'description1',
76 'description2' => 'description2',
77 }
78 );
79  
80 } # end BLOCK
81  
82  
83  
84  
85  
86  
87  
88 1;
89  
90  
91 =pod
92  
93 =head1 NAME
94  
95 Google::Ads::AdWords::v201402::TextAd
96  
97 =head1 DESCRIPTION
98  
99 Perl data type class for the XML Schema defined complexType
100 TextAd from the namespace https://adwords.google.com/api/adwords/cm/v201402.
101  
102 Represents a TextAd. <span class="constraint AdxEnabled">This is disabled for AdX when it is contained within Operators: ADD, SET.</span>
103  
104  
105  
106  
107 =head2 PROPERTIES
108  
109 The following properties may be accessed using get_PROPERTY / set_PROPERTY
110 methods:
111  
112 =over
113  
114 =item * headline
115  
116  
117 =item * description1
118  
119  
120 =item * description2
121  
122  
123  
124  
125 =back
126  
127  
128 =head1 METHODS
129  
130 =head2 new
131  
132 Constructor. The following data structure may be passed to new():
133  
134  
135  
136  
137  
138  
139 =head1 AUTHOR
140  
141 Generated by SOAP::WSDL
142  
143 =cut
144