lib/Google/Ads/AdWords/v201809/MediaBundle.pm

filter: Statementstmt 81.8% 9 / 11 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 60.0% 3 / 5 Podpod n/a totaltotal 75.0% 12 / 16 CC 1 SCAR 3.4
CC
1
Cov
82%
get_xmlns
2.0
__get_attr_class
2.0
BEGIN
1.0
CRAP 1.4
« lib/Google/Ads/AdWords/v201809/MaximizeConversionsBiddingScheme.pm ↑ Summary lib/Google/Ads/AdWords/v201809/MediaBundleAsset.pm »
1 package Google::Ads::AdWords::v201809::MediaBundle;
2 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
4  
5  
6 __PACKAGE__->_set_element_form_qualified(1);
7  
8 0 ▶sub get_xmlns { 'https://adwords.google.com/api/adwords/cm/v201809' };
Subroutine get_xmlns: not called CC=1 SCAR=6.9
9  
10 our $XML_ATTRIBUTE_CLASS;
11 undef $XML_ATTRIBUTE_CLASS;
12  
13 0 ▶sub __get_attr_class {
Subroutine __get_attr_class: not called CC=1 SCAR=6.9
14 0 return $XML_ATTRIBUTE_CLASS;
15 }
16  
17  
18 1 ▶use base qw(Google::Ads::AdWords::v201809::Media);
Subroutine BEGIN: called CC=1 SCAR=0.0
19 # Variety: sequence
20 use Class::Std::Fast::Storable constructor => 'none';
21 use base qw(Google::Ads::SOAP::Typelib::ComplexType);
22  
23 { # BLOCK to scope variables
24  
25 my %mediaId_of :ATTR(:get<mediaId>);
26 my %type_of :ATTR(:get<type>);
27 my %referenceId_of :ATTR(:get<referenceId>);
28 my %dimensions_of :ATTR(:get<dimensions>);
29 my %urls_of :ATTR(:get<urls>);
30 my %mimeType_of :ATTR(:get<mimeType>);
31 my %sourceUrl_of :ATTR(:get<sourceUrl>);
32 my %name_of :ATTR(:get<name>);
33 my %fileSize_of :ATTR(:get<fileSize>);
34 my %creationTime_of :ATTR(:get<creationTime>);
35 my %Media__Type_of :ATTR(:get<Media__Type>);
36 my %data_of :ATTR(:get<data>);
37 my %mediaBundleUrl_of :ATTR(:get<mediaBundleUrl>);
38 my %entryPoint_of :ATTR(:get<entryPoint>);
39  
40 __PACKAGE__->_factory(
41 [ qw( mediaId
42 type
43 referenceId
44 dimensions
45 urls
46 mimeType
47 sourceUrl
48 name
49 fileSize
50 creationTime
51 Media__Type
52 data
53 mediaBundleUrl
54 entryPoint
55  
56 ) ],
57 {
58 'mediaId' => \%mediaId_of,
59 'type' => \%type_of,
60 'referenceId' => \%referenceId_of,
61 'dimensions' => \%dimensions_of,
62 'urls' => \%urls_of,
63 'mimeType' => \%mimeType_of,
64 'sourceUrl' => \%sourceUrl_of,
65 'name' => \%name_of,
66 'fileSize' => \%fileSize_of,
67 'creationTime' => \%creationTime_of,
68 'Media__Type' => \%Media__Type_of,
69 'data' => \%data_of,
70 'mediaBundleUrl' => \%mediaBundleUrl_of,
71 'entryPoint' => \%entryPoint_of,
72 },
73 {
74 'mediaId' => 'SOAP::WSDL::XSD::Typelib::Builtin::long',
75 'type' => 'Google::Ads::AdWords::v201809::Media::MediaType',
76 'referenceId' => 'SOAP::WSDL::XSD::Typelib::Builtin::long',
77 'dimensions' => 'Google::Ads::AdWords::v201809::Media_Size_DimensionsMapEntry',
78 'urls' => 'Google::Ads::AdWords::v201809::Media_Size_StringMapEntry',
79 'mimeType' => 'Google::Ads::AdWords::v201809::Media::LegacyMimeType',
80 'sourceUrl' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
81 'name' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
82 'fileSize' => 'SOAP::WSDL::XSD::Typelib::Builtin::long',
83 'creationTime' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
84 'Media__Type' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
85 'data' => 'SOAP::WSDL::XSD::Typelib::Builtin::base64Binary',
86 'mediaBundleUrl' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
87 'entryPoint' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
88 },
89 {
90  
91 'mediaId' => 'mediaId',
92 'type' => 'type',
93 'referenceId' => 'referenceId',
94 'dimensions' => 'dimensions',
95 'urls' => 'urls',
96 'mimeType' => 'mimeType',
97 'sourceUrl' => 'sourceUrl',
98 'name' => 'name',
99 'fileSize' => 'fileSize',
100 'creationTime' => 'creationTime',
101 'Media__Type' => 'Media.Type',
102 'data' => 'data',
103 'mediaBundleUrl' => 'mediaBundleUrl',
104 'entryPoint' => 'entryPoint',
105 }
106 );
107  
108 } # end BLOCK
109  
110  
111  
112  
113  
114  
115  
116 1;
117  
118  
119 =pod
120  
121 =head1 NAME
122  
123 Google::Ads::AdWords::v201809::MediaBundle
124  
125 =head1 DESCRIPTION
126  
127 Perl data type class for the XML Schema defined complexType
128 MediaBundle from the namespace https://adwords.google.com/api/adwords/cm/v201809.
129  
130 Represents a ZIP archive media the content of which contains HTML5 assets.
131  
132  
133  
134  
135 =head2 PROPERTIES
136  
137 The following properties may be accessed using get_PROPERTY / set_PROPERTY
138 methods:
139  
140 =over
141  
142 =item * data
143  
144  
145 =item * mediaBundleUrl
146  
147  
148 =item * entryPoint
149  
150  
151  
152  
153 =back
154  
155  
156 =head1 METHODS
157  
158 =head2 new
159  
160 Constructor. The following data structure may be passed to new():
161  
162  
163  
164  
165  
166  
167 =head1 AUTHOR
168  
169 Generated by SOAP::WSDL
170  
171 =cut
172  
« lib/Google/Ads/AdWords/v201809/MaximizeConversionsBiddingScheme.pm ↑ Summary lib/Google/Ads/AdWords/v201809/MediaBundleAsset.pm »