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

filter: Statementstmt 100% 12 / 12 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 4 / 4 Podpod n/a totaltotal 100% 16 / 16 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« lib/Google/Ads/AdWords/v201809/ApiException.pm ↑ Summary lib/Google/Ads/AdWords/v201809/AssetService/AssetServiceInterfacePort.pm »
1 package Google::Ads::AdWords::v201809::Asset;
2 2 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 2 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
4  
5  
6 __PACKAGE__->_set_element_form_qualified(1);
7  
8 sub get_xmlns { 'https://adwords.google.com/api/adwords/cm/v201809' };
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 2 ▶use Class::Std::Fast::Storable constructor => 'none';
Subroutine BEGIN: called CC=1 SCAR=0.0
18 2 ▶use base qw(Google::Ads::SOAP::Typelib::ComplexType);
Subroutine BEGIN: called CC=1 SCAR=0.0
19  
20 { # BLOCK to scope variables
21  
22 my %assetId_of :ATTR(:get<assetId>);
23 my %assetName_of :ATTR(:get<assetName>);
24 my %assetSubtype_of :ATTR(:get<assetSubtype>);
25 my %assetStatus_of :ATTR(:get<assetStatus>);
26 my %Asset__Type_of :ATTR(:get<Asset__Type>);
27  
28 __PACKAGE__->_factory(
29 [ qw( assetId
30 assetName
31 assetSubtype
32 assetStatus
33 Asset__Type
34  
35 ) ],
36 {
37 'assetId' => \%assetId_of,
38 'assetName' => \%assetName_of,
39 'assetSubtype' => \%assetSubtype_of,
40 'assetStatus' => \%assetStatus_of,
41 'Asset__Type' => \%Asset__Type_of,
42 },
43 {
44 'assetId' => 'SOAP::WSDL::XSD::Typelib::Builtin::long',
45 'assetName' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
46 'assetSubtype' => 'Google::Ads::AdWords::v201809::Asset::Type',
47 'assetStatus' => 'Google::Ads::AdWords::v201809::AssetStatus',
48 'Asset__Type' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
49 },
50 {
51  
52 'assetId' => 'assetId',
53 'assetName' => 'assetName',
54 'assetSubtype' => 'assetSubtype',
55 'assetStatus' => 'assetStatus',
56 'Asset__Type' => 'Asset.Type',
57 }
58 );
59  
60 } # end BLOCK
61  
62  
63  
64  
65  
66  
67  
68 1;
69  
70  
71 =pod
72  
73 =head1 NAME
74  
75 Google::Ads::AdWords::v201809::Asset
76  
77 =head1 DESCRIPTION
78  
79 Perl data type class for the XML Schema defined complexType
80 Asset from the namespace https://adwords.google.com/api/adwords/cm/v201809.
81  
82 Represents an asset.
83  
84  
85  
86  
87 =head2 PROPERTIES
88  
89 The following properties may be accessed using get_PROPERTY / set_PROPERTY
90 methods:
91  
92 =over
93  
94 =item * assetId
95  
96  
97 =item * assetName
98  
99  
100 =item * assetSubtype
101  
102  
103 =item * assetStatus
104  
105  
106 =item * Asset__Type
107  
108 Note: The name of this property has been altered, because it didn't match
109 perl's notion of variable/subroutine names. The altered name is used in
110 perl code only, XML output uses the original name:
111  
112 Asset.Type
113  
114  
115  
116  
117 =back
118  
119  
120 =head1 METHODS
121  
122 =head2 new
123  
124 Constructor. The following data structure may be passed to new():
125  
126  
127  
128  
129  
130  
131 =head1 AUTHOR
132  
133 Generated by SOAP::WSDL
134  
135 =cut
136  
« lib/Google/Ads/AdWords/v201809/ApiException.pm ↑ Summary lib/Google/Ads/AdWords/v201809/AssetService/AssetServiceInterfacePort.pm »