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

filter: Statementstmt 0.0% 0 / 36 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 6 Podpod 0.0% 0 / 2 totaltotal 0.0% 0 / 44 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::Media;
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 %mediaId_of :ATTR(:get<mediaId>);
25 my %type_of :ATTR(:get<type>);
26 my %referenceId_of :ATTR(:get<referenceId>);
27 my %dimensions_of :ATTR(:get<dimensions>);
28 my %urls_of :ATTR(:get<urls>);
29 my %mimeType_of :ATTR(:get<mimeType>);
30 my %sourceUrl_of :ATTR(:get<sourceUrl>);
31 my %name_of :ATTR(:get<name>);
32 my %fileSize_of :ATTR(:get<fileSize>);
33 my %creationTime_of :ATTR(:get<creationTime>);
34 my %Media__Type_of :ATTR(:get<Media__Type>);
35  
36 __PACKAGE__->_factory(
37 [ qw( mediaId
38 type
39 referenceId
40 dimensions
41 urls
42 mimeType
43 sourceUrl
44 name
45 fileSize
46 creationTime
47 Media__Type
48  
49 ) ],
50 {
51 'mediaId' => \%mediaId_of,
52 'type' => \%type_of,
53 'referenceId' => \%referenceId_of,
54 'dimensions' => \%dimensions_of,
55 'urls' => \%urls_of,
56 'mimeType' => \%mimeType_of,
57 'sourceUrl' => \%sourceUrl_of,
58 'name' => \%name_of,
59 'fileSize' => \%fileSize_of,
60 'creationTime' => \%creationTime_of,
61 'Media__Type' => \%Media__Type_of,
62 },
63 {
64 'mediaId' => 'SOAP::WSDL::XSD::Typelib::Builtin::long',
65 'type' => 'Google::Ads::AdWords::v201309::Media::MediaType',
66 'referenceId' => 'SOAP::WSDL::XSD::Typelib::Builtin::long',
67 'dimensions' => 'Google::Ads::AdWords::v201309::Media_Size_DimensionsMapEntry',
68 'urls' => 'Google::Ads::AdWords::v201309::Media_Size_StringMapEntry',
69 'mimeType' => 'Google::Ads::AdWords::v201309::Media::MimeType',
70 'sourceUrl' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
71 'name' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
72 'fileSize' => 'SOAP::WSDL::XSD::Typelib::Builtin::long',
73 'creationTime' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
74 'Media__Type' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
75 },
76 {
77  
78 'mediaId' => 'mediaId',
79 'type' => 'type',
80 'referenceId' => 'referenceId',
81 'dimensions' => 'dimensions',
82 'urls' => 'urls',
83 'mimeType' => 'mimeType',
84 'sourceUrl' => 'sourceUrl',
85 'name' => 'name',
86 'fileSize' => 'fileSize',
87 'creationTime' => 'creationTime',
88 'Media__Type' => 'Media.Type',
89 }
90 );
91  
92 } # end BLOCK
93  
94  
95  
96  
97  
98  
99  
100 1;
101  
102  
103 =pod
104  
105 =head1 NAME
106  
107 Google::Ads::AdWords::v201309::Media
108  
109 =head1 DESCRIPTION
110  
111 Perl data type class for the XML Schema defined complexType
112 Media from the namespace https://adwords.google.com/api/adwords/cm/v201309.
113  
114 Represents some kind of media.
115  
116  
117  
118  
119 =head2 PROPERTIES
120  
121 The following properties may be accessed using get_PROPERTY / set_PROPERTY
122 methods:
123  
124 =over
125  
126 =item * mediaId
127  
128  
129 =item * type
130  
131  
132 =item * referenceId
133  
134  
135 =item * dimensions
136  
137  
138 =item * urls
139  
140  
141 =item * mimeType
142  
143  
144 =item * sourceUrl
145  
146  
147 =item * name
148  
149  
150 =item * fileSize
151  
152  
153 =item * creationTime
154  
155  
156 =item * Media__Type
157  
158 Note: The name of this property has been altered, because it didn't match
159 perl's notion of variable/subroutine names. The altered name is used in
160 perl code only, XML output uses the original name:
161  
162 Media.Type
163  
164  
165  
166  
167 =back
168  
169  
170 =head1 METHODS
171  
172 =head2 new
173  
174 Constructor. The following data structure may be passed to new():
175  
176  
177  
178  
179  
180  
181 =head1 AUTHOR
182  
183 Generated by SOAP::WSDL
184  
185 =cut
186