lib/Google/Ads/AdWords/v201809/Video.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/Vertical.pm ↑ Summary lib/Google/Ads/AdWords/v201809/VideoError.pm »
1 package Google::Ads::AdWords::v201809::Video;
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 %durationMillis_of :ATTR(:get<durationMillis>);
37 my %streamingUrl_of :ATTR(:get<streamingUrl>);
38 my %readyToPlayOnTheWeb_of :ATTR(:get<readyToPlayOnTheWeb>);
39 my %industryStandardCommercialIdentifier_of :ATTR(:get<industryStandardCommercialIdentifier>);
40 my %advertisingId_of :ATTR(:get<advertisingId>);
41 my %youTubeVideoIdString_of :ATTR(:get<youTubeVideoIdString>);
42  
43 __PACKAGE__->_factory(
44 [ qw( mediaId
45 type
46 referenceId
47 dimensions
48 urls
49 mimeType
50 sourceUrl
51 name
52 fileSize
53 creationTime
54 Media__Type
55 durationMillis
56 streamingUrl
57 readyToPlayOnTheWeb
58 industryStandardCommercialIdentifier
59 advertisingId
60 youTubeVideoIdString
61  
62 ) ],
63 {
64 'mediaId' => \%mediaId_of,
65 'type' => \%type_of,
66 'referenceId' => \%referenceId_of,
67 'dimensions' => \%dimensions_of,
68 'urls' => \%urls_of,
69 'mimeType' => \%mimeType_of,
70 'sourceUrl' => \%sourceUrl_of,
71 'name' => \%name_of,
72 'fileSize' => \%fileSize_of,
73 'creationTime' => \%creationTime_of,
74 'Media__Type' => \%Media__Type_of,
75 'durationMillis' => \%durationMillis_of,
76 'streamingUrl' => \%streamingUrl_of,
77 'readyToPlayOnTheWeb' => \%readyToPlayOnTheWeb_of,
78 'industryStandardCommercialIdentifier' => \%industryStandardCommercialIdentifier_of,
79 'advertisingId' => \%advertisingId_of,
80 'youTubeVideoIdString' => \%youTubeVideoIdString_of,
81 },
82 {
83 'mediaId' => 'SOAP::WSDL::XSD::Typelib::Builtin::long',
84 'type' => 'Google::Ads::AdWords::v201809::Media::MediaType',
85 'referenceId' => 'SOAP::WSDL::XSD::Typelib::Builtin::long',
86 'dimensions' => 'Google::Ads::AdWords::v201809::Media_Size_DimensionsMapEntry',
87 'urls' => 'Google::Ads::AdWords::v201809::Media_Size_StringMapEntry',
88 'mimeType' => 'Google::Ads::AdWords::v201809::Media::LegacyMimeType',
89 'sourceUrl' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
90 'name' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
91 'fileSize' => 'SOAP::WSDL::XSD::Typelib::Builtin::long',
92 'creationTime' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
93 'Media__Type' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
94 'durationMillis' => 'SOAP::WSDL::XSD::Typelib::Builtin::long',
95 'streamingUrl' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
96 'readyToPlayOnTheWeb' => 'SOAP::WSDL::XSD::Typelib::Builtin::boolean',
97 'industryStandardCommercialIdentifier' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
98 'advertisingId' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
99 'youTubeVideoIdString' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
100 },
101 {
102  
103 'mediaId' => 'mediaId',
104 'type' => 'type',
105 'referenceId' => 'referenceId',
106 'dimensions' => 'dimensions',
107 'urls' => 'urls',
108 'mimeType' => 'mimeType',
109 'sourceUrl' => 'sourceUrl',
110 'name' => 'name',
111 'fileSize' => 'fileSize',
112 'creationTime' => 'creationTime',
113 'Media__Type' => 'Media.Type',
114 'durationMillis' => 'durationMillis',
115 'streamingUrl' => 'streamingUrl',
116 'readyToPlayOnTheWeb' => 'readyToPlayOnTheWeb',
117 'industryStandardCommercialIdentifier' => 'industryStandardCommercialIdentifier',
118 'advertisingId' => 'advertisingId',
119 'youTubeVideoIdString' => 'youTubeVideoIdString',
120 }
121 );
122  
123 } # end BLOCK
124  
125  
126  
127  
128  
129  
130  
131 1;
132  
133  
134 =pod
135  
136 =head1 NAME
137  
138 Google::Ads::AdWords::v201809::Video
139  
140 =head1 DESCRIPTION
141  
142 Perl data type class for the XML Schema defined complexType
143 Video from the namespace https://adwords.google.com/api/adwords/cm/v201809.
144  
145 Encapsulates a Video media identified by a MediaId.
146  
147  
148  
149  
150 =head2 PROPERTIES
151  
152 The following properties may be accessed using get_PROPERTY / set_PROPERTY
153 methods:
154  
155 =over
156  
157 =item * durationMillis
158  
159  
160 =item * streamingUrl
161  
162  
163 =item * readyToPlayOnTheWeb
164  
165  
166 =item * industryStandardCommercialIdentifier
167  
168  
169 =item * advertisingId
170  
171  
172 =item * youTubeVideoIdString
173  
174  
175  
176  
177 =back
178  
179  
180 =head1 METHODS
181  
182 =head2 new
183  
184 Constructor. The following data structure may be passed to new():
185  
186  
187  
188  
189  
190  
191 =head1 AUTHOR
192  
193 Generated by SOAP::WSDL
194  
195 =cut
196  
« lib/Google/Ads/AdWords/v201809/Vertical.pm ↑ Summary lib/Google/Ads/AdWords/v201809/VideoError.pm »