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

filter: Statementstmt 0.0% 0 / 30 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 6 Podpod 0.0% 0 / 2 totaltotal 0.0% 0 / 38 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::FeedMapping;
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 %feedMappingId_of :ATTR(:get<feedMappingId>);
25 my %feedId_of :ATTR(:get<feedId>);
26 my %placeholderType_of :ATTR(:get<placeholderType>);
27 my %status_of :ATTR(:get<status>);
28 my %attributeFieldMappings_of :ATTR(:get<attributeFieldMappings>);
29  
30 __PACKAGE__->_factory(
31 [ qw( feedMappingId
32 feedId
33 placeholderType
34 status
35 attributeFieldMappings
36  
37 ) ],
38 {
39 'feedMappingId' => \%feedMappingId_of,
40 'feedId' => \%feedId_of,
41 'placeholderType' => \%placeholderType_of,
42 'status' => \%status_of,
43 'attributeFieldMappings' => \%attributeFieldMappings_of,
44 },
45 {
46 'feedMappingId' => 'SOAP::WSDL::XSD::Typelib::Builtin::long',
47 'feedId' => 'SOAP::WSDL::XSD::Typelib::Builtin::long',
48 'placeholderType' => 'SOAP::WSDL::XSD::Typelib::Builtin::int',
49 'status' => 'Google::Ads::AdWords::v201309::FeedMapping::Status',
50 'attributeFieldMappings' => 'Google::Ads::AdWords::v201309::AttributeFieldMapping',
51 },
52 {
53  
54 'feedMappingId' => 'feedMappingId',
55 'feedId' => 'feedId',
56 'placeholderType' => 'placeholderType',
57 'status' => 'status',
58 'attributeFieldMappings' => 'attributeFieldMappings',
59 }
60 );
61  
62 } # end BLOCK
63  
64  
65  
66  
67  
68  
69  
70 1;
71  
72  
73 =pod
74  
75 =head1 NAME
76  
77 Google::Ads::AdWords::v201309::FeedMapping
78  
79 =head1 DESCRIPTION
80  
81 Perl data type class for the XML Schema defined complexType
82 FeedMapping from the namespace https://adwords.google.com/api/adwords/cm/v201309.
83  
84 A FeedMapping represents a mapping between feed attributes in a specific feed and placeholder fields for a specific placeholder type. This will tell the ads serving system which parts of the feed item should be used when populating a placeholder. Without this mapping the placeholder cannot be populated and the extension can not be displayed. <p>For a list of feed placeholders, see <a href="/adwords/api/docs/appendix/placeholders"> https://developers.google.com/adwords/api/docs/appendix/placeholders </a></p>
85  
86  
87  
88  
89 =head2 PROPERTIES
90  
91 The following properties may be accessed using get_PROPERTY / set_PROPERTY
92 methods:
93  
94 =over
95  
96 =item * feedMappingId
97  
98  
99 =item * feedId
100  
101  
102 =item * placeholderType
103  
104  
105 =item * status
106  
107  
108 =item * attributeFieldMappings
109  
110  
111  
112  
113 =back
114  
115  
116 =head1 METHODS
117  
118 =head2 new
119  
120 Constructor. The following data structure may be passed to new():
121  
122  
123  
124  
125  
126  
127 =head1 AUTHOR
128  
129 Generated by SOAP::WSDL
130  
131 =cut
132