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

filter: Statementstmt 0.0% 0 / 29 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 6 Podpod 0.0% 0 / 2 totaltotal 0.0% 0 / 37 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::TemplateElementField;
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/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 %name_of :ATTR(:get<name>);
25 my %type_of :ATTR(:get<type>);
26 my %fieldText_of :ATTR(:get<fieldText>);
27 my %fieldMedia_of :ATTR(:get<fieldMedia>);
28  
29 __PACKAGE__->_factory(
30 [ qw( name
31 type
32 fieldText
33 fieldMedia
34  
35 ) ],
36 {
37 'name' => \%name_of,
38 'type' => \%type_of,
39 'fieldText' => \%fieldText_of,
40 'fieldMedia' => \%fieldMedia_of,
41 },
42 {
43 'name' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
44 'type' => 'Google::Ads::AdWords::v201309::TemplateElementField::Type',
45 'fieldText' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
46 'fieldMedia' => 'Google::Ads::AdWords::v201309::Media',
47 },
48 {
49  
50 'name' => 'name',
51 'type' => 'type',
52 'fieldText' => 'fieldText',
53 'fieldMedia' => 'fieldMedia',
54 }
55 );
56  
57 } # end BLOCK
58  
59  
60  
61  
62  
63  
64  
65 1;
66  
67  
68 =pod
69  
70 =head1 NAME
71  
72 Google::Ads::AdWords::v201309::TemplateElementField
73  
74 =head1 DESCRIPTION
75  
76 Perl data type class for the XML Schema defined complexType
77 TemplateElementField from the namespace https://adwords.google.com/api/adwords/cm/v201309.
78  
79 Represents a field in a template element.
80  
81  
82  
83  
84 =head2 PROPERTIES
85  
86 The following properties may be accessed using get_PROPERTY / set_PROPERTY
87 methods:
88  
89 =over
90  
91 =item * name
92  
93  
94 =item * type
95  
96  
97 =item * fieldText
98  
99  
100 =item * fieldMedia
101  
102  
103  
104  
105 =back
106  
107  
108 =head1 METHODS
109  
110 =head2 new
111  
112 Constructor. The following data structure may be passed to new():
113  
114  
115  
116  
117  
118  
119 =head1 AUTHOR
120  
121 Generated by SOAP::WSDL
122  
123 =cut
124