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

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