File Coverage

lib/Google/Ads/AdWords/v201702/TemplateElementField.pm
Criterion Covered Total %
statement 12 14 85.7
branch n/a
condition n/a
subroutine 4 6 66.6
pod n/a
total 16 20 80.0


line stmt bran cond sub pod time code
1             package Google::Ads::AdWords::v201702::TemplateElementField;
2 1     1   1945 use strict;
  1         2  
  1         25  
3 1     1   4 use warnings;
  1         2  
  1         77  
4              
5              
6             __PACKAGE__->_set_element_form_qualified(1);
7              
8 0     0     sub get_xmlns { 'https://adwords.google.com/api/adwords/cm/v201702' };
9              
10             our $XML_ATTRIBUTE_CLASS;
11             undef $XML_ATTRIBUTE_CLASS;
12              
13             sub __get_attr_class {
14 0     0     return $XML_ATTRIBUTE_CLASS;
15             }
16              
17 1     1   6 use Class::Std::Fast::Storable constructor => 'none';
  1         1  
  1         13  
18 1     1   163 use base qw(Google::Ads::SOAP::Typelib::ComplexType);
  1         2  
  1         118  
19              
20             { # BLOCK to scope variables
21              
22             my %name_of :ATTR(:get);
23             my %type_of :ATTR(:get);
24             my %fieldText_of :ATTR(:get);
25             my %fieldMedia_of :ATTR(:get);
26              
27             __PACKAGE__->_factory(
28             [ qw( name
29             type
30             fieldText
31             fieldMedia
32              
33             ) ],
34             {
35             'name' => \%name_of,
36             'type' => \%type_of,
37             'fieldText' => \%fieldText_of,
38             'fieldMedia' => \%fieldMedia_of,
39             },
40             {
41             'name' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
42             'type' => 'Google::Ads::AdWords::v201702::TemplateElementField::Type',
43             'fieldText' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
44             'fieldMedia' => 'Google::Ads::AdWords::v201702::Media',
45             },
46             {
47              
48             'name' => 'name',
49             'type' => 'type',
50             'fieldText' => 'fieldText',
51             'fieldMedia' => 'fieldMedia',
52             }
53             );
54              
55             } # end BLOCK
56              
57              
58              
59              
60              
61              
62              
63             1;
64              
65              
66             =pod
67              
68             =head1 NAME
69              
70             Google::Ads::AdWords::v201702::TemplateElementField
71              
72             =head1 DESCRIPTION
73              
74             Perl data type class for the XML Schema defined complexType
75             TemplateElementField from the namespace https://adwords.google.com/api/adwords/cm/v201702.
76              
77             Represents a field in a template element.
78              
79              
80              
81              
82             =head2 PROPERTIES
83              
84             The following properties may be accessed using get_PROPERTY / set_PROPERTY
85             methods:
86              
87             =over
88              
89             =item * name
90              
91              
92             =item * type
93              
94              
95             =item * fieldText
96              
97              
98             =item * fieldMedia
99              
100              
101              
102              
103             =back
104              
105              
106             =head1 METHODS
107              
108             =head2 new
109              
110             Constructor. The following data structure may be passed to new():
111              
112              
113              
114              
115              
116              
117             =head1 AUTHOR
118              
119             Generated by SOAP::WSDL
120              
121             =cut
122