lib/Google/Ads/AdWords/v201809/ImageAsset.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/ImageAd.pm ↑ Summary lib/Google/Ads/AdWords/v201809/ImageError.pm »
1 package Google::Ads::AdWords::v201809::ImageAsset;
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::Asset);
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 %assetId_of :ATTR(:get<assetId>);
26 my %assetName_of :ATTR(:get<assetName>);
27 my %assetSubtype_of :ATTR(:get<assetSubtype>);
28 my %assetStatus_of :ATTR(:get<assetStatus>);
29 my %Asset__Type_of :ATTR(:get<Asset__Type>);
30 my %imageData_of :ATTR(:get<imageData>);
31 my %imageFileSize_of :ATTR(:get<imageFileSize>);
32 my %imageMimeType_of :ATTR(:get<imageMimeType>);
33 my %fullSizeInfo_of :ATTR(:get<fullSizeInfo>);
34  
35 __PACKAGE__->_factory(
36 [ qw( assetId
37 assetName
38 assetSubtype
39 assetStatus
40 Asset__Type
41 imageData
42 imageFileSize
43 imageMimeType
44 fullSizeInfo
45  
46 ) ],
47 {
48 'assetId' => \%assetId_of,
49 'assetName' => \%assetName_of,
50 'assetSubtype' => \%assetSubtype_of,
51 'assetStatus' => \%assetStatus_of,
52 'Asset__Type' => \%Asset__Type_of,
53 'imageData' => \%imageData_of,
54 'imageFileSize' => \%imageFileSize_of,
55 'imageMimeType' => \%imageMimeType_of,
56 'fullSizeInfo' => \%fullSizeInfo_of,
57 },
58 {
59 'assetId' => 'SOAP::WSDL::XSD::Typelib::Builtin::long',
60 'assetName' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
61 'assetSubtype' => 'Google::Ads::AdWords::v201809::Asset::Type',
62 'assetStatus' => 'Google::Ads::AdWords::v201809::AssetStatus',
63 'Asset__Type' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
64 'imageData' => 'SOAP::WSDL::XSD::Typelib::Builtin::base64Binary',
65 'imageFileSize' => 'SOAP::WSDL::XSD::Typelib::Builtin::long',
66 'imageMimeType' => 'Google::Ads::AdWords::v201809::MediaMimeType',
67 'fullSizeInfo' => 'Google::Ads::AdWords::v201809::ImageDimensionInfo',
68 },
69 {
70  
71 'assetId' => 'assetId',
72 'assetName' => 'assetName',
73 'assetSubtype' => 'assetSubtype',
74 'assetStatus' => 'assetStatus',
75 'Asset__Type' => 'Asset.Type',
76 'imageData' => 'imageData',
77 'imageFileSize' => 'imageFileSize',
78 'imageMimeType' => 'imageMimeType',
79 'fullSizeInfo' => 'fullSizeInfo',
80 }
81 );
82  
83 } # end BLOCK
84  
85  
86  
87  
88  
89  
90  
91 1;
92  
93  
94 =pod
95  
96 =head1 NAME
97  
98 Google::Ads::AdWords::v201809::ImageAsset
99  
100 =head1 DESCRIPTION
101  
102 Perl data type class for the XML Schema defined complexType
103 ImageAsset from the namespace https://adwords.google.com/api/adwords/cm/v201809.
104  
105 Represents an image asset.
106  
107  
108  
109  
110 =head2 PROPERTIES
111  
112 The following properties may be accessed using get_PROPERTY / set_PROPERTY
113 methods:
114  
115 =over
116  
117 =item * imageData
118  
119  
120 =item * imageFileSize
121  
122  
123 =item * imageMimeType
124  
125  
126 =item * fullSizeInfo
127  
128  
129  
130  
131 =back
132  
133  
134 =head1 METHODS
135  
136 =head2 new
137  
138 Constructor. The following data structure may be passed to new():
139  
140  
141  
142  
143  
144  
145 =head1 AUTHOR
146  
147 Generated by SOAP::WSDL
148  
149 =cut
150  
« lib/Google/Ads/AdWords/v201809/ImageAd.pm ↑ Summary lib/Google/Ads/AdWords/v201809/ImageError.pm »