blib/lib/Google/Ads/AdWords/v201309/DeprecatedAd.pm untested

filter: Statementstmt 0.0% 0 / 35 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 7 Podpod 0.0% 0 / 2 totaltotal 0.0% 0 / 44 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::v201309::DeprecatedAd;
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/v201309' };
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  
18 use base qw(Google::Ads::AdWords::v201309::Ad);
19 # Variety: sequence
20 use Class::Std::Fast::Storable constructor => 'none';
21 use base qw(Google::Ads::SOAP::Typelib::ComplexType);
22  
23 Class::Std::initialize();
24  
25 { # BLOCK to scope variables
26  
27 my %id_of :ATTR(:get<id>);
28 my %url_of :ATTR(:get<url>);
29 my %displayUrl_of :ATTR(:get<displayUrl>);
30 my %devicePreference_of :ATTR(:get<devicePreference>);
31 my %Ad__Type_of :ATTR(:get<Ad__Type>);
32 my %name_of :ATTR(:get<name>);
33 my %type_of :ATTR(:get<type>);
34  
35 __PACKAGE__->_factory(
36 [ qw( id
37 url
38 displayUrl
39 devicePreference
40 Ad__Type
41 name
42 type
43  
44 ) ],
45 {
46 'id' => \%id_of,
47 'url' => \%url_of,
48 'displayUrl' => \%displayUrl_of,
49 'devicePreference' => \%devicePreference_of,
50 'Ad__Type' => \%Ad__Type_of,
51 'name' => \%name_of,
52 'type' => \%type_of,
53 },
54 {
55 'id' => 'SOAP::WSDL::XSD::Typelib::Builtin::long',
56 'url' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
57 'displayUrl' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
58 'devicePreference' => 'SOAP::WSDL::XSD::Typelib::Builtin::long',
59 'Ad__Type' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
60 'name' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
61 'type' => 'Google::Ads::AdWords::v201309::DeprecatedAd::Type',
62 },
63 {
64  
65 'id' => 'id',
66 'url' => 'url',
67 'displayUrl' => 'displayUrl',
68 'devicePreference' => 'devicePreference',
69 'Ad__Type' => 'Ad.Type',
70 'name' => 'name',
71 'type' => 'type',
72 }
73 );
74  
75 } # end BLOCK
76  
77  
78  
79  
80  
81  
82  
83 1;
84  
85  
86 =pod
87  
88 =head1 NAME
89  
90 Google::Ads::AdWords::v201309::DeprecatedAd
91  
92 =head1 DESCRIPTION
93  
94 Perl data type class for the XML Schema defined complexType
95 DeprecatedAd from the namespace https://adwords.google.com/api/adwords/cm/v201309.
96  
97 Represents a deprecated ad. Deprecated ads can be deleted, but cannot be created. <span class="constraint AdxEnabled">This is disabled for AdX when it is contained within Operators: ADD, SET.</span>
98  
99  
100  
101  
102 =head2 PROPERTIES
103  
104 The following properties may be accessed using get_PROPERTY / set_PROPERTY
105 methods:
106  
107 =over
108  
109 =item * name
110  
111  
112 =item * 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